// Downloaded From https://www.WiseStockTrader.com
_SECTION_BEGIN("Background_Setting");
SetChartBkGradientFill( ParamColor("BgTop", colorBlack),
ParamColor("BgBottom", colorDarkGrey),ParamColor("TitleBack",colorLightGrey)); 
SetChartBkColor(ParamColor("Outer Panel",colorPaleBlue));
_SECTION_END();

_SECTION_BEGIN("EMA");
Plot(EMA(Close,3),"EMA3",colorYellow, style=styleThick);
Plot(EMA(Close,6),"EMA6",colorGreen, style=styleThick);
Plot(EMA(Close,18),"EMA18",colorRed, style=styleThick);
_SECTION_END();

Buy=Cross(EMA(Close,3),EMA(Close,6));
Sell=Cross(EMA(Close,6),EMA(Close,3));
Short=Sell;
Cover=Buy;
shape = Buy * shapeSmallUpTriangle + Sell * shapeSmallDownTriangle;
PlotShapes( shape, IIf( Buy, colorWhite, colorWhite ), 0, IIf( Buy, Low, High ) );

Buy=Cross(EMA(Close,6),EMA(Close,18));
Sell=Cross(EMA(Close,18),EMA(Close,6));
Short=Sell;
Cover=Buy;
shape = Buy * shapeSmallUpTriangle + Sell * shapeSmallDownTriangle;
PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High ) );



_SECTION_BEGIN("Basic Chart");
Plot(Close,"Price",colorWhite, styleCandle);
SetChartOptions(0,chartShowArrows|chartShowDates);
_SECTION_END();