- Search Crypto Craft
-
rockit replied Feb 19, 2014Thanks. I will keep in mind. // SCRIPT #property strict #define PERIOD 20 struct Map { int key; double value; }; void OnStart() { Adrtop10(); } void Adrtop10() { int numsymbols = SymbolsTotal(true); Map symbolsmap[]; ArrayResize(symbolsmap, ...
Top 10 Pairs with Highest Daily Range
-
rockit replied Feb 18, 2014Here's my take on it: Make it a *script* and drop it onto a chart and it will print the pairs in the terminal window. It will only take into consideration the pairs that are currently in the market watch. Current day is excluded. Prerequisites: mt4 ...
Top 10 Pairs with Highest Daily Range
-
rockit replied Feb 18, 2014If you omit "#property strict" the compiler will behave more like the old compiler, meaning higher compatibility with old code; so, your code will likely do fine.
MT4: Accessing #property value?
-
rockit replied Feb 17, 2014You can read about it here ( where it refers to #property strict ): url
MT4: Accessing #property value?
-
rockit replied Feb 17, 2014It is really all explained here, under the section "Portable Mode": url Or in short: append /portable to the shortcut's "Target:" field, that points to terminal.exe. Now you have to copy all your indis and eas and so on, to the new directory, if ...
how to change file paths on mql5
-
rockit replied Feb 17, 2014I know that. I only stated the likely problem. Because I have tested the code now, and it works fine for me. So, the code is not the problem. To accommodate for slippage, introduce a slippage input parameter: input double SLPG = 10; Then, replace ...
I will code your EAs and Indicators for no charge
-
rockit replied Feb 16, 2014I do not see why the code would fail per se. However, the slippage parameter is set to zero. And I told you that there is a speed hit with this method. So, possibly this is an issue here, because mt4 is slow at execution, if price moves fast/jumps ...
I will code your EAs and Indicators for no charge
-
rockit replied Feb 16, 2014This thread does not quite make sense.. You cannot solve the problem of depending on proprietary software by just changing the software company. The only way to change that, is to use an open source software that itself uses only an API. In that, ...
Platform alternatives to Metatrader
-
rockit replied Feb 14, 2014[coder] pros: -mt5 is faster, allows asynchronous order send -mt5/mql5 makes life a lot easier because it much more event driven cons: -fifo
All about MT5 Program
-
rockit replied Feb 14, 2014Ok, here your code: // expert - test trade on set time input int HOUR = 21; // open hour input int MIN = 27; // open minute input int SEC = 33; // open second input double VOL = 0.01; // lots input double DIST = 10; // pip distance input double ...
I will code your EAs and Indicators for no charge
-
rockit replied Feb 14, 2014I am sorry to say that but I do not programm indicators. Again, I am sorry.
I will code your EAs and Indicators for no charge
-
rockit replied Feb 14, 2014Sure they can be kept "hidden", meaning that they remain in control of the expert, on the client's terminal, as opposed to reside on the server. However, this comes at the cost of speed, as the expert would have to place the close order itself; then ...
I will code your EAs and Indicators for no charge
-
rockit replied Feb 14, 2014While it is there, it is not mandatory to use at all. Who ever wishes so can pretty much code the same way as before. As I see it, concerning the prog. language itself, almost nothing has changed in a way that a programmer of old paradigm is forced ...
MT4 New build 600 is released
-
rockit replied Feb 14, 2014The expert will remove itself when it has done the job. Meaning, when the time for its action has come it will try to place the orders (it it fails so it will delete the failed order), then it will remove itself, because job done (time winodow has ...
I will code your EAs and Indicators for no charge
-
rockit replied Feb 14, 2014I know this code because you already posted it before. But it does not make sense for me to analise or try to modify that code. I have given you a code that I think should work; so if it works for you - good. There you can set the time, stoploss, ...
I will code your EAs and Indicators for no charge
-
rockit replied Feb 14, 2014Are you saying that on a mt4 build 600+ there is no item "Open Data Folder" in your terminal's "File" menu? What OS are you on? Just curious. As far as I remember, OS user account specific folders exist (at least) from win xp on. Anyway, most people ...
MT4 New build 600 is released
-
rockit replied Feb 14, 2014Why? It's very easy to find: in your terminal File > Open Data Folder You can even see the path in your explorer, if you choose so.
MT4 New build 600 is released
-
rockit replied Feb 14, 2014Where (and from where) to put the stops? I assume that the stops have to be put at a distance from the price that is current at the set time. State the exact input parameters, i.e. hours, minutes, seconds, sl, distance from current price, volume, ...
I will code your EAs and Indicators for no charge
-
rockit replied Feb 14, 2014I was under the impression that you want to set (initially) a SL when the order is at least 100 pip in profit. Therefore the expert did not expect a SL to begin with. I have corrected that now. New code: input double SL = 30; input double PROFIT = ...
I will code your EAs and Indicators for no charge
-
rockit replied Feb 13, 2014Indicators cannot place trades. Here a code fragment for checking conditions: bool b4 = Close[4] > Open[4]; bool b3 = Close[3] > Open[3]; bool b2 = Close[2] > Open[2]; bool b1 = Close[1] > Open[1]; bool d12 = (Close[1] - Open[1]) > (Close[2] - ...
Consecutive candles indi combined with volume & spread indi