OPEN-SOURCE SCRIPT

3 Moving Averages Crossover (High, Low, Close)

Moving Averages:

We calculate the 60-period simple moving averages (SMA) for the high, low, and close prices.
These moving averages are plotted on the chart:
Red for the high price.
Blue for the low price.
Green for the close price.
Trading Logic:

A long position is entered when the moving average of the close price crosses above both the high and low moving averages.
A short position is entered when the moving average of the close price crosses below both the high and low moving averages.
Moving AveragesPine utilitiesTrend Analysis

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 ?

Clause de non-responsabilité