// Downloaded From https://www.WiseStockTrader.com _SECTION_BEGIN("Background_Setting"); SetChartBkGradientFill( ParamColor("BgTop", colorBlack), ParamColor("BgBottom", colorBlack),ParamColor("titleblock",colorWhite )); _SECTION_END(); _SECTION_BEGIN("Intraday template"); /* Intraday template */ GraphXSpace = 3 ; /* These are the calcs for the oscilator values and plots the paint bars*/ Osc = EMA(C,8) - EMA(C,34); acc = Osc - EMA(Osc,13); col = IIf(Osc > Ref(Osc,-1) AND acc > Ref(acc,-1),colorGreen, IIf(Osc < Ref(Osc,-1) AND acc < Ref(acc,-1),colorRed,colorBlue)); barcolor= 1;// this sets the color of the body of the candlesticks to default Plot( Close, "Intraday Template" ,col/barcolor, styleCandle); //--------------------------------------------------------------------------------- /* This is the code for the exponential moving average flipper */ mov = 13; hi = EMA(H,mov); lo = EMA(L,mov) ; x1 = IIf(C>Ref(hi,-1),1,IIf(C