Forum

3 Color Candle based on indicator conditions (i.e. momentum, MA positions etc)

Hi, I like to ask to some expert so kind to modify an indicator of mine. Actually the indicator posted (KPHighlights) does not exactly paint the candles in an orthodox way, it just paints some fat colored vert lines (histogram) under the candles but this is enough for my need. Now Im wondering if

Buff MA - help to code(translate) it

Hi, as I'm not well-versed in MT4 coding I need help with a simple formula called Buff MA; I've the corresponding formula in Metastock language as the following one: BUFF:=Sum(V*C, 32) / (Cum(V) - Ref( Cum(V), -32)); BUFF If someone could compile it for MT4 I'd be glad. Buff MA helps in determining