Download MetaTrader 5

How to code this strategy ?

To add comments, please log in or register
Write articles and earn money. We pay 200 USD for them!
abu520
89
abu520 2016.09.10 10:18 

As the image attached.

Buy on lowest of each candle, and sell on highest of each candle. 

Files:
AudCad.png 27 kb
Sergey Golubev
Moderator
93688
Bernhard Schweigert
5799
Bernhard Schweigert 2016.09.12 14:09  
abu520:

As the image attached.

Buy on lowest of each candle, and sell on highest of each candle. 

Okey than tell me please, how do we know if a live candle is at the high? You do only know at the time when the candle closed. If you solved this riddle you made the holy grail :)
abu520
89
abu520 2016.09.13 08:36  
Bernhard Schweigert:
Okey than tell me please, how do we know if a live candle is at the high? You do only know at the time when the candle closed. If you solved this riddle you made the holy grail :)
CurHighestMax = high[ArrayMaximum (high, i, 0)];
CurLowestMin = low[ArrayMinimum (low, i, 0)];

isnt this ??

 

just lose big on manual trade,  would like to try auto trading. 

To add comments, please log in or register