Hedge with 9 strikes OTM long positions on both the short positions for margin benefit.
Stop Loss of 40% on both PE and CE legs.
Trail stop loss after locking in 40% profit by 5% till exit.
Both CE side positions must be exited simulltaneiously, once stop loss is hit or at 3.10PM. Similarly for PE side positions.
Help me with the steps to create this algo on zerodha streak platform. Also provide me with a repository of ready made strategies for index trading on the Internet
For availing margin benefits, once alerts are triggered, the OTM contracts need to be bought first, followed by selling the ATM contracts. At present, this flow cannot be automated in the system.
Additionally, the target profit will be calculated on each individual contract rather than the overall strategy, and the requirements for applying a trailing stop-loss (TSL) cannot be implemented, hence you will need to add the SL as per your discretion.
We wont be able to help you with this specific query. However, we recommend exploring online resources where such information is commonly analyzed and discussed.