Gold Strategy By Trading Public School

Hello traders

This script is a Pinescript adaptation of this "Gold Strategy By Trading Public School" script

Draws a flexible number of moving averages between 1 and 5 - with a end result looking like a rainbow


Each Moving Average is defined as a Moving Average of the previous MA
The first MA is based on candle close

MA = MA of Price
MA = MA of MA
MA= MA of MA


You can select the MA type ( EMA , SMA , SMMA , TEMA , DEMA , TMA, ALMA , VWMA ) and the MA period shared across all the moving averages


If you have any issue with your scaling, you may follow this quick tutorial

Hope you'll like it because it looks nice on your chart : By Trading Public School

Protected script
This script is published closed-source and you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?