TradingView
Daveatt
6 Nis 2020 15:57

BEST Rainbow Chart 

Açıklama

Hello traders

This script is a Pinescript adaptation of this FXCM/LUA script

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

Formula

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

MA[1] = MA of Price
MA[2] = MA of MA[1]
....
MA[n]= MA of MA[n-1]


Bonus

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

Scaling

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 :)
Dave
Yorumlar
syrinxflunki
You've missed ALMA out xxx
Daveatt
@syrinxflunki, is that your way of asking me to add it :p ?
syrinxflunki
@Daveatt,
Well you have ALREADY ADDED IT as an option :D :D :D
Daveatt
@syrinxflunki, LMAO I'm so dumb
Thanks for spotting that out. Will fix it and republish
ICEKI
As always as I said "SIMPLE IS THE BEST"
Appreciated Daveatt =D
Daveatt
@ICEKI, this one is fun script :)
ICEKI
@Daveatt, nice fun script =D
syrinxflunki
Send it to the NHS :)
AMO4X
Really like this…good job!
arnellstewart8
What are the 5 moving averages listed 8 , 21, 50, 100, 200 …. ???
Daha Fazla