OPEN-SOURCE SCRIPT

BEST Rainbow Chart

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
daveattExponential Moving Average (EMA)rainbowVolume Weighted Moving Average (VWMA)Weighted Moving Average (WMA)

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


⭐️ Listed as an Official TradingView Trusted TOP Pine Programmer

📧 Coding/Consulting Inquiries: dave@best-trading-indicator

Telegram: Daveatt

⏩ Course: best-trading-indicator.com

Twitter: twitter.com/bti_trading
Aussi sur:

Clause de non-responsabilité