Moving Avrage as SL
-
i had 18 moving avrages and i want the EMA that is most away from buy or sell away for my sl point but how ?
-
@niills I'm afraid I don't fully understand what you exactly mean. Can you please provide some more detail?
-

you can see that my sl is at the lowest or highest EMA ? so that is what i need. i startet with 10 candles back to set sl but that loses too much possions
shared/QxqtNocKc -
@niills So what you want is that your SL is using the MA that is the maximum distance from the open price. Is that correct? Then why using so many MA and not just one?
-
because 18 MA`s is better for the signal to enter a trade. so i can use my programming skills to create a array and than the max price in the array is the sell sl and the min price is the sl for buy but how can i use my own text that i dont need to download the mql5 and than programm that all time in this to test the ex5
-
@niills Ok. I'm afraid arrays are my weak point. I'm not a programmer, sorry.
