OPEN-SOURCE SCRIPT
Updated

Moving Average - Intraday

4 571
Moving Average Intraday Strategy

Basic moving average strategy purpose built for intraday trading. It uses two simple moving averages & takes a positions on crossover.
Position is reversed when signal changes by using double quantity. Once the intraday session is over & if the position is open; it is squared off.
Users can define intraday session during which the strategy will run.

Parameters:
  • Intraday Session - Defines the duration for which the strategy should execute.
  • Short Term Moving Average Period
  • Long Term Moving Average Period

Release Notes
Upgrade to Pine Script Version 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.