Hello,
I would like to create a study that will automatically plot a "price level" line at the strike price of any options for which I currently hold a position.
For example, if the current symbol is MSFT, and I have one or more PUT options for MSFT, it would plot a price level at the strike price for each of those options. If this is possible, it would also be nice to be able to use different colors based on the expiration date of the option in question.
I've studied the ThinkScript docs and it appears that "GetStrike()" only works when the current symbol is an option. In my case, I'll be looking at a chart for the underlying symbol, and want to see price levels for the strike price of all options I currently hold on that symbol.
Possible?
I would like to create a study that will automatically plot a "price level" line at the strike price of any options for which I currently hold a position.
For example, if the current symbol is MSFT, and I have one or more PUT options for MSFT, it would plot a price level at the strike price for each of those options. If this is possible, it would also be nice to be able to use different colors based on the expiration date of the option in question.
I've studied the ThinkScript docs and it appears that "GetStrike()" only works when the current symbol is an option. In my case, I'll be looking at a chart for the underlying symbol, and want to see price levels for the strike price of all options I currently hold on that symbol.
Possible?