// Downloaded From https://www.WiseStockTrader.com
PlotGrid(32, colorWhite, styleDashed);
PlotGrid(68, colorWhite, styleDashed);
PlotGrid(50, colorWhite, styleDashed);
m = StochK(13,3);
a = DEMA(m,2);
b = MA(a,7);
bh = DEMA(a,34)+2*(StDev(a,34));
bl = DEMA(a,34)-2*(StDev(a,34));
bm = (bh+bl)/2;

Plot(a, "", colorGreen, styleThick,StyleNoLabel);
Plot(b,"TDI", colorRed,styleThick, StyleNoLabel);

Plot(bm,"", colorYellow, styleThick, StyleNoLabel);