Hello. I'm a beginner coder and right now I'm trying code an ea which places a buy trade after price crossed a 40 period Smooth moving average upwards and formed 10 bars. The sell order is opened when price crossed 40 period Smooth moving average ...