// Downloaded From https://www.WiseStockTrader.com
_SECTION_BEGIN("Three Shift Indicator");

//-----------------------------------------------------------------------

// Formula Name: Three Shift Indicator - Daytrading

// Author/Uploader: Tommy Beard 

// E-mail: tab321@yahoo.com

// Date/Time Added: 2005-12-31 04:56:47

// Origin: 

// Keywords: Indicator, Trading System, EMA, MA, Crossovers

// Level: basic

// Flags: system,indicator

//

//-----------------------------------------------------------------------


//The Shifted EMA - Default is 3 Period and -3 Lead/Lag 

EMAPeriod = Param("Fast EMA",3,1,25,1);

DisplacementPeriod = Param("Shift",-3,-25,25,1);

//Plot the Lines

Plot(Ref(EMA(Close,EMAPeriod),-DisplacementPeriod),"DEMA1",colorWhite,styleLine);

Plot(EMA(Close, 5 ), "5 Wk EMA", colorBrightGreen, styleLine | styleThick);

Plot(EMA(Close, 15 ), "15 Wk EMA", colorDarkRed, styleLine | styleThick);

Title = Name() + " " + Date() + EncodeColor(colorIndigo) + " " + C + WriteVal(ROC( Close, 1) ) + "%" + EncodeColor(colorBlue) + " Three Shift Indicator ";

_SECTION_END();