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

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明