mat_rapit / Publications
Forum
Open trade Buy/Sell at same or 1pips away from MA price.
double Var1 = iMA(NULL, PERIOD_M15, 5, 0, MODE_LWMA, PRICE_HIGH, 0); double Var2 = iMA(NULL, PERIOD_M15, 5, 0, MODE_LWMA, PRICE_LOW, 0); Hi, from above code i want to execute Buy on this condition: The current open candle are same or just 1pips higher from current Var2 iMA, and difference between