OPEN-SOURCE SCRIPT
Updated

MA Candles Supertrend Strategy

Simple strategy which is derived by below method:

1. Calculate moving average of High, Low, Open and Close and make candles of them.
2. Derive supertrend on the moving average candles.
3. Generate buy and sell signals based on supertrend direction combined with higher timeframe high-low condition
Release Notes
  • Corrected inDateRange condition.
  • Refined entry and exit to avoid premature trade in tight conditions
Release Notes
Convert to pine 5

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.