Forum

Problems with MA indicator

Please help, I'm trying to code an indicator which will involve a MA. The coding I have come up with for the MA itself is the following: double ONEHRMA= iMA ( Symbol (), PERIOD_H1 , 200 , 0 , MODE_EMA , PRICE_CLOSE ,i); I then want it set a bearish indication on the screen if the price on close is

Engulfing indicator

Can anyone help with an engulfing indicator? I have one but it isn't indicating on all the candles for some reason. Thanks