// Downloaded From https://www.WiseStockTrader.com
GraphXSpace = 20;

PlotOHLC( Open,MA(Close, 20),MA (Close, 10), Close, "", IIf( MA(Close, 10) > MA(Close, 20), colorTeal , colorRose), styleCloud | styleClipMinMax);

Plot (MA(Close, 10), "MA10", colorTeal, styleThick|styleNoLabel);
Plot (MA(Close, 20), "MA20", colorRose, styleThick|styleNoLabel);
Plot (MA(Close, 50), "MA50", colorLightYellow, styleDashed);