Plotting with 50 and 200 simple moving averages
// 4H Delta//Weekly Delta // By TheBullTrader-Use Daily Time frame // Trade Bullish when green is above red and Trade Short when green is below red study(title="DDA-Daily Delta Analysis ",overlay = false, shorttitle="Daily Delta Analysis ") D1 = sma(close-open,50) D2=sma(close-open,200) D3=ema(D1,50) D4=ema(D2,200) plot(D1,color=green) plot(D2,color=red) //plot(D3,color=green,style=histogram) //plot(D4,color=red,style=histogram)