Dear FxDreema,
Here is my program:
https://fxdreema.com/shared/vDWxunSV
Please, lets take a closer look on it. It's not working AT ALL. I mean I don't know if I'am still a n00b on this and I'am not understanding anything, or none of the condition blocks just don't work for MT5.
Let me explain the bugs I'am facing:
block 1> Time filter for the trades: the EA works from 10:00 until 17:55. %(#FF0040)[<NOT WORKING>]
explanation: when the condition is FALSE (after 17:55), It's not closing any of my trades (positions) as it should do (blocks 23 and 22).
blocks 10 and 9 > Blocks which calculate the S/L and T/P of the trades%(#40FF00)[ <WORKING>]
block 24 > Filter to only have ONE trade at a TIME. %(#FF0040)[<NOT WORKING>]
explanation: I want my EA to only have ONE trade at a time, not more than one. The block 24 should prevent it from opening more than ONE position at a time, right? The problem is, the EA keeps opening a vast a mount of trades one after another without closing the previous. Why is it?
blocks 4,12,14 and 19 > Condition to open the trades. %(#FF0040)[<NOT WORKING>]
explanation: my strategy is very simple: if, at any giving time of the day, if the price crosses above the high of the first HOURLY candle of the day (10:00h candle). It buys 1000 pieces. If the price crosses down through the low of this candle, it shorts 1000 pieces. The same goes to the blocks 14 and 19, which make a hand shift, I mean, if for exemple I got a LONG position opened and the price cracks through the low of the 10:00h candle at any giving time of the day, the EA should close the losing LONG position and open a SHORT. The problem is, It's not working. It seems that the EA is opening positions RAMDOMLY, and not closing positions for the hand shift. not following the strategy I just told you. Basicly, NOTHING is working here. How we can explain that?
Thank you.