The script has been updated with significant enhancements in both entry and exit strategies to improve trade efficiency and capture better profits from option premiums. Key updates include:
Entry Conditions Enhanced with RSI:
Long conditions are now valid only when:
RSI(Close, 14) < 85, and
The 14-period RSI Moving Average is increasing.
Short conditions are now valid only when:
RSI(Close, 14) > 15, and
The 14-period RSI Moving Average is decreasing.
SuperTrend Integrated for Exit Conditions:
Exits are triggered if the SuperTrend (25, 8) is not aligned with the trade direction, combined with RSI-based rules:
For long positions: Exit if RSI(Close, 12) > 85.
For short positions: Exit if RSI(Close, 12) < 15.
These updates refine the strategy, making it more robust by dynamically responding to RSI trends and using SuperTrend for better directional validation during exits.