Forum

how to code SL and TP as as the distance between price and specified MA

Hello fellow coders, can anyone of you give me a hint, how to code an EA, where the SL should be the amount of pips between open pric of the tradee and an identified MA value of the previous candle? and the same for TP? Thank you :)

High/Low EA with S/L at the opposite of previous candle?

Hey guys, I can't find an EA which trades breakouts at the high (for long positions) and the low (short) of the previous candle and sets the s/l at the opposite of the previous candle. With a mm function this ea is easy and profitable. Maybe one of you knows a good ea with this conditions. Greetings

Help needed with this H/L EA...

Hi! Could someone please add a stop loss to this ea please? I already tried to contact the guy who created this and posted the ea here, but I didn't receive an answer.. Thank you and greetings from Germany vitabo hilobar_2.mq4