I have an ATR stop indicator I'd like the EA to take profit and stop loss according to. However I could not get it to work. I tried to configure it first with the buy and sell button, didn't work. Then I tried a block if trade-indicator logic-close trade. Still didn't work. Not only that, it messes up the EA in general it doesn't open and close trade according to logic anymore, it closes the trades immediately after open. However if I remove the tp/sl condition and use the simple fixed pips the ea works fine. so it is a question and a bug report I guess. Please help
Best posts made by mamabear
-
how to set TP/SL according to indicator?posted in Questions & Answers
Latest posts made by mamabear
-
about breakeven and trailing stopposted in Questions & Answers
Can I use both break even and Trailing stop in the same EA? If so how do I arrange the blocks since both of them should be "placed at top level of "on Tick" event "
-
RE: how to set TP/SL according to indicator?posted in Questions & Answers
OK I think I get it what was wrong, now I got the TP and SL to work according to the indicator but I have another problem. Perhaps it's a problem with the indicator but maybe it's how I defined it.
Basically the EA set the TP and SL according to indi but at the level where the trades were taken. I want the EA to follow the movement of the indi to close trades when the current price meets the current levels. Can it be done?
-
RE: how to set TP/SL according to indicator?posted in Questions & Answers
I selected price level, defined by indicator buffers. doesn't work. I even tried different indicators same problem, this time the EA does not open any trades.
-
RE: how to set TP/SL according to indicator?posted in Questions & Answers
Thanks for the response. I understand what you said (I think) but it does not do that if I left the TP/SL as fixed pips, the EA works fine.
It only changes behavior when I tried to change TP/SL to correspond with an indicator, then The EA loses it's mind. My problem is I can't get the EA to successfully set TP and SL according to an indicator.
-
how to set TP/SL according to indicator?posted in Questions & Answers
I have an ATR stop indicator I'd like the EA to take profit and stop loss according to. However I could not get it to work. I tried to configure it first with the buy and sell button, didn't work. Then I tried a block if trade-indicator logic-close trade. Still didn't work. Not only that, it messes up the EA in general it doesn't open and close trade according to logic anymore, it closes the trades immediately after open. However if I remove the tp/sl condition and use the simple fixed pips the ea works fine. so it is a question and a bug report I guess. Please help