// Downloaded From https://www.WiseStockTrader.com
/*

Reference to:

BreakThroughs in Technical Analysis
Keller, Bloomberg

Composite Index,tweaked to 30 day average instead of 14 day
to be used only for trading in the Bullion market as lunar cycle is considered and 50 day cycle is 
suggested. 

*/

A=RSI() - Ref(RSI(30),-19)+ MA(RSI(3),3);
Plot(A,"Composite Index",colorBlack,styleThick);
Plot(100,"",colorRed,styleDots,styleArea);
Plot(0,"",colorGreen,styleDots,styleArea);
Overbought=100;
Oversold=0;
Plot(100,"",colorWhite,styleArea);
Plot(120,"",colorBlack,styleHistogram);
Plot(120,"",colorRed,styleArea);
Plot(-20,"",colorBlack,styleHistogram);
Plot(-20,"",colorGreen,styleArea);
Overbought=100;
Oversold=-0;