OPEN-SOURCE SCRIPT

MA Candles - Supertrend

Converting strategy to indicator for those who want to use it as indicator.

Concepts are simple:

  • Calculate moving average of High, Low, Open and Close and make candles of them
  • Calculate ATR and derive supertrend on the moving average candles.


Alerts:
  • Bullish Crossover - When supertrend turns green
  • Bearish Crossover - When supertrend turns red
  • Bullish Pullback - Supertrend is green but close crossed below Moving average high
  • Bearish Pullback - Supertrend is red but close crossed above Moving average low


Original strategy is present here:
MA Candles Supertrend Strategy
Average True Range (ATR)Moving AveragessupertrendTrend Analysis

開源腳本

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

想在圖表上使用此腳本?

免責聲明