Disliked{quote} ( FAST MovingAverage - Slow MovingAverage ) is practically MACD. you are asking line value of MACD/ATR macd = iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,i) - iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,i); atr = iATR(Symbol(),0,ATRPeriod,i); Buffer[i] = macd/atr; Just two lines needed for this. You can change MAs period and ATR period in options. {image} {file}Ignored
can you please make it like bars instead of line
with the ability to color the higher bars and the lower bars
thanks alot