Combined CE and PE Option Overlay with pending signals

consider that after a ce signal appears it is triggered when price crosses and closses the ce signal candle high; simialrly for pe signal if the price closes below the pe signal candle loe then the signal is considered triggered. now if a ce signal is triggerred and then the price reverses to create a pe signal but the pe signal is not triggered, and then again a new signal is generated that gets triggered then this new ce signal should be considered as the subsignal of previous ce signal and this signal label and lines should be orange in colour and both ce signals should be displayed. same vise a versa for pe signal
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact drgirisuraj directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact drgirisuraj directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.