Options Open/Close indicator on Underlying's Chart

BraveWampa

New member
I'm wondering if anyone has ever developed an indicator that would plot option open and close positions on the underlying stock chart.

For example what I'm trying to do is have the chart for ticker MSFT show an indicator (maybe just an arrow) when I opened an option position on .MSFTxxxxxxx and then another indicator showing where I closed the position on .MSFTxxxxxxx.

I just want to visually see the entry and exit of option positions on the underlying's chart.

Has anyone done anything like that before? I asked the ThinkScript Lounge if it would be possible, and they said if it was part of your own portfolio, then it should be possible.

Any thoughts or ideas on this at all? I don't want to reinvent the wheel if someone's already some something similar.
 
Solution
I'm wondering if anyone has ever developed an indicator that would plot option open and close positions on the underlying stock chart.

For example what I'm trying to do is have the chart for ticker MSFT show an indicator (maybe just an arrow) when I opened an option position on .MSFTxxxxxxx and then another indicator showing where I closed the position on .MSFTxxxxxxx.

I just want to visually see the entry and exit of option positions on the underlying's chart.

Has anyone done anything like that before? I asked the ThinkScript Lounge if it would be possible, and they said if it was part of your own portfolio, then it should be possible.

Any thoughts or ideas on this at all? I don't want to reinvent the wheel if someone's...
I'm wondering if anyone has ever developed an indicator that would plot option open and close positions on the underlying stock chart.

For example what I'm trying to do is have the chart for ticker MSFT show an indicator (maybe just an arrow) when I opened an option position on .MSFTxxxxxxx and then another indicator showing where I closed the position on .MSFTxxxxxxx.

I just want to visually see the entry and exit of option positions on the underlying's chart.

Has anyone done anything like that before? I asked the ThinkScript Lounge if it would be possible, and they said if it was part of your own portfolio, then it should be possible.

Any thoughts or ideas on this at all? I don't want to reinvent the wheel if someone's already some something similar.
Doesn't look like anyone has done this before, so I'll take a shot at it.
 
I'm wondering if anyone has ever developed an indicator that would plot option open and close positions on the underlying stock chart.

For example what I'm trying to do is have the chart for ticker MSFT show an indicator (maybe just an arrow) when I opened an option position on .MSFTxxxxxxx and then another indicator showing where I closed the position on .MSFTxxxxxxx.

I just want to visually see the entry and exit of option positions on the underlying's chart.

Has anyone done anything like that before? I asked the ThinkScript Lounge if it would be possible, and they said if it was part of your own portfolio, then it should be possible.

Any thoughts or ideas on this at all? I don't want to reinvent the wheel if someone's already some something similar.
Turns out there's no function or capability in ThinkScript that allows you to capture a trade execution time. I verified this with the ThinkScript chat in TOS. So this functionality is simply not possible, as there's no way to id when a trade happened so you obviously can't plot something that not able to be retrieved.
 
Solution
Ya know... I was about to post a very similar question. So instead of creating a new post, let's just resurrect this one. :)

I'm trying to figure out how to have ToS draw a price level line on the stock chart to show the stock price at the moment I purchased the option.

To go a step further I'd like it also draw a line at the price level showing my stop, and also my expected target limit order. Right now I'm doing it manually after my order fills. I use the "expected price" from the options page.

So lets say I buy an option contact @ $1.00, and I want a limit order to sell that contract when it reaches $1.80. Also I want a stop order set at .60 cents at the same time. Well using an OCO order that part is easy. The part that ****s is drawing the 3 lines on the stock chart. If I look at the "expected price" on the option when it hits either of my orders it will tell me the "ballpark" expected price of the stock when my option order should trigger. With that I can hop over and draw the price levels on the stock chart. Using the "expected price" from the option chain window is pretty accurate. Many times it is spot on.

Since we don't seem to be able to do it in a straight forward way I wonder if it's possible to have a script that you can click on to do that manual task for you AFTER you have opened a position. You could have it look at your OCO orders and using the "expected price" it could put the lines on the stock chart for you? Yes, I've been known to ask stupid questions in the past. Just hope this isn't one of them. lol.

R
 
You could have it look at your OCO orders and using the "expected price" it could put the lines on the stock chart for you? Yes, I've been known to ask stupid questions in the past. Just hope this isn't one of them. lol.

R
The ToS platform does not make order information available for scripting.
 
So I just went and made sure the "show orders" setting was enabled on the General tab. It wasn't. Arghhhh.......... WTH.....

Anyway, for indexes it does appear to be working because I'm in a trade on SPY and it's showing the options trades on the screen now, so maybe it works on indexes, just not actual stock symbols? It's showing a line for both my stop order and my limit order for my expected target profit. SWEET!!!!!
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
345 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top