ATR Stop-Loss
-
Hi,
I'm Ram贸n and my robot change the stop-loss only on the backtests, when I prove it on demo account it fails.
The programm is similar to this: https://fxdreema.com/shared/xQk5dfB2
Also, I have changed a few things:
1_ On fxdreema, the fixed pips on the sell/buy and write the atrbuy(variable) that is the result on pips that my robot must execute.
2_ On mt4, I have marked: allow live trading (obviously) and allow modification of signal settings (this I don't know what do).So I'll be very grateful if someone could help me, thanks and good trading!
-
The solution is a robot that modifies stops/buys on metatrader 4 and not just in backtesting. Thanks.

-
When something does not happen as expected, the first thing to do is to look at the error logs. Do you have errors?
By the way I don't like the left part of the project, those pink blocks are not connected properly. This is how they work: https://fxdreema.com/demo/mt4-loop-how-it-works
Also, you don't need this "Once per tick"
-
Thanks a lot. I have solved the problem on two ways. One is to change 'close' with 'break' and the second way is to put all the code on one column and not to use the 'for each trade'. So thank you, and good night.