Hi people,
i'm having a little problem with an MQL5 code.
i want to make it calculate the x = ((Close - Low) / (High - Low)) of the Last 10 Bars,
if the x value is less than 15 it opens a buy, then it sells when the value is 70 or higher.
the ea would buy maximum 3 times when the pattern happen (without selling the first one).
thanks, if anyone could help me on that.
cya