OPEN-SOURCE SCRIPT

9:22 5 MIN 15 MIN BANKNIFTY

9:22 5 MIN 15 MIN BANKNIFTY Strategy with Additional Filters


The 9:22 5 MIN 15 MIN BANKNIFTY Strategy with Additional Filters is a trend-following strategy designed for trading the BANKNIFTY instrument on a 5-minute chart. It aims to capture potential price movements by generating buy and sell signals based on moving average crossovers, breakout confirmations, and additional filters.

Key Features:

  • Fast MA Length: 9
  • Slow MA Length: 22
  • ATR Length: 14
  • ATR Filter: 0.5
  • Trailing Stop Percentage: 1.5%
  • Pullback Threshold: 0.5
  • Minimum Candle Body Percentage: 0.5
  • Use Breakout Confirmation: Enabled


Additional Filters:

Volume Threshold: Set a minimum volume requirement for trades.
Trend Filter: Optionally enable a trend filter based on a higher timeframe moving average.
Momentum Filter: Optionally enable a momentum filter using the RSI indicator.
Support/Resistance Filter: Optionally enable a filter based on predefined support and resistance levels.
Buy and Sell Signals:

Buy Signal: A buy signal is generated when the fast moving average crosses above the slow moving average, with additional confirmation from breakout and volume criteria, along with optional trend, momentum, and support/resistance filters.
Sell Signal: A sell signal is generated when the fast moving average crosses below the slow moving average, with similar confirmation and filtering criteria as the buy signal.
Exit Strategy:
The strategy employs a trailing stop-loss mechanism based on a percentage of the average entry price. The stop-loss is dynamically adjusted to protect profits while allowing for potential upside.

Please note that this strategy should be thoroughly backtested and evaluated in different market conditions before applying it to live trading. It is also recommended to adjust the parameters and filters according to individual preferences and risk tolerance.

Feel free to customise and adapt the description as needed to suit your preferences and the specific details of your strategy.
BANKNIFTYbankniftytradesetupcrossovercrossovertradingExponential Moving Average (EMA)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer