Check and Change SL of specific Trade
-
Hello FXDREEMA,
This is my second payed month with this great software, congratulations this is really good, i highly recommend.
I need your help, i am trying to change and move SLs of specific trades already tried the Group number but no success...
What i need (Trade Example):
**(1st Trade) ** #1 - take one sell (Already Done - OK!)
** (2nd Trade) ** #2 - take a new sell if new lows. (Already Done - OK!)
**(SL Moving) **#3 - Move the stop of the previous trade to breakeven (1st Trade - in this example) (NEED HELP
)** (3rd Trade) **#4 - Take a fresh trade with new lows (Already Done - OK!)
**(SL Moving) **#5 - Move the stop of the previous one to breakeven (2nd Trade - in this example) (NEED HELP
)**(SL Moving) **#6 - And trades prior to that have their stops moved to the high of the candle one to the right of where their stop already is. (Only 1st Trade) (NEED HELP
)** (4th Trade) **#7 - Take a fresh trade with new lows (Already Done - OK!)
**(SL Moving) **#8 - Move the stop of the previous one to breakeven (3nd Trade - in this example) (NEED HELP
)**(SL Moving) **#9 - And trades prior to that have their stops moved to the high of the candle one to the right of where their stop already is. (1st Trade and 2nd Trade) (NEED HELP
)** (5th Trade) **#7 - Take a fresh trade with new lows (Already Done - OK!)
**(SL Moving) **#8 - Move the stop of the previous one to breakeven (4th Trade - in this example) (NEED HELP
)**(SL Moving) **#9 - And trades prior to that have their stops moved to the high of the candle one to the right of where their stop already is. (1st Trade and 2nd Trade and 3rd Trade) (NEED HELP
)and so on............
Thanks in advance for the patience and for the help
Regards,
Hugo -
Ok, and what did you tried?
-
-
This is your EA, but optimized a little bit. I still don't know what is going on in it, but I just simlified it - https://fxdreema.com/shared/aIKeoqCle
-
I'm not sure if I understand everything, but here is something. It's probably not exactly what you want, but it can give you some idea - https://fxdreema.com/shared/IrmAC41me
-
Thanks for the support!
Not quite... the opening trades part is ok, much simplier than mine

The idea of the SL's is to flow.... or by Step in other words (i think this not easy), the trades SL's are some how independent of each other, mainly you are always on market...
E.g.
1 - the SL of 1st trade should move do BE after 2nd Trade is open...
2 - After this ... Open one 3rd trade, SL of 2nd Trade goes to breakeven and the SL of 1st Trade should move to the HIGH of the Candle after where was open (30M candles - imagine the first trade open was open at 3pm then the SL should move the high of the candle of 3:30PM)
3 - Open 4th Trade, move to breakeven the 3rd trade, move the SL of 2nd Trade to next candle high where is was open, move also the SL of 1st Trade one step (candle forward)....and so on.....
Basically, we always move to breakeven the trade opened before the one we are opening, and move one step forward (one candle) to the candle high where the trade was open.
I already tried everyhing even Group Numbers, to divide the breakeven one from the others...
Can you help?
Thanks in advance!
Regards,
HG -
When you open a trade, at this moment you can look back and do something with the 1st, 2nd, 3rd trade that is older than the current one. Just look at the settings in these For each Trade blocks. So you should be able to pick specific trade and do something specific with it. Very similar to what I have in my lower Area.
That thing with the candle... not so easier at this moment. I will see tomorrow what can I do about this, maybe adding some parameter to get the Candle ID where Open Price of a given trade is.
-
I understand i will take one look on the skip the "n" part.
I hope you can change those parameters for us to control each trade and open time...
If you any news, can you update this topic?
Thanks in advance!