OPEN-SOURCE SCRIPT
Mis à jour Ratio To Average - The Quant Science

Ratio To Average - The Quant Science is a quantitative indicator that calculates the percentage ratio of the market price in relation to a reference average. The indicator allows the calculation of the ratio using four different types of averages: SMA, EMA, WMA, and HMA. The ratio is represented by a series of histograms that highlight periods when the ratio is positive (in green) and periods when the ratio is negative (in red).
https://www.tradingview.com/x/2frlVNR0/
What is the Ratio to Average?
The Ratio to Average is a measure that tracks the price movements with one of its averages, calculating how much the price is above or below its own average, in percentage terms.
https://www.tradingview.com/x/CeOvky77/
USER INTERFACE
Lenght: it adjusts the number of bars to include in the calculation of the average.
https://www.tradingview.com/x/oVPR1tT9/
Moving Average: it allows you to choose the type of average to use.
https://www.tradingview.com/x/ihiuj30K/
Color Up/Color Down: it allows you to choose the color of the indicator for positive and negative ratios.
https://www.tradingview.com/x/37b2zPAV/
https://www.tradingview.com/x/2frlVNR0/
What is the Ratio to Average?
The Ratio to Average is a measure that tracks the price movements with one of its averages, calculating how much the price is above or below its own average, in percentage terms.
https://www.tradingview.com/x/CeOvky77/
USER INTERFACE
Lenght: it adjusts the number of bars to include in the calculation of the average.
https://www.tradingview.com/x/oVPR1tT9/
Moving Average: it allows you to choose the type of average to use.
https://www.tradingview.com/x/ihiuj30K/
Color Up/Color Down: it allows you to choose the color of the indicator for positive and negative ratios.
https://www.tradingview.com/x/37b2zPAV/
Notes de version
Code update to Pine Script V6Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Pour un accès rapide sur un graphique, ajoutez ce script à vos favoris - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Pour un accès rapide sur un graphique, ajoutez ce script à vos favoris - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.