Pinescript code to add an alert in the [login to view URL] to automate entry and exit of the trades in Indian stock market. Index trading.
Based on the signal of uptrend or downtrend, select a strike price in weekly options.
Add stop loss in the script, add trailing stop loss and add target. Everything automated.
Lot of scripts are there for giving signals. Need to get the code to take the proper strike price. Entry and exit will have to be indicated by the indicator. And using some automated alto platform this should run on its own. There should be a parameter to change the time frames.
The code should be generic and reusable.
Proper technical detailed explanation of the code via documents or comments in each section to explain the code fully.