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

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności