Creating a custom step limit order for options trading


New member
Hey guys. New to the forum and I've been using TOS for a while but never got into the script side of things.

I have a unique need. I trade options that are more thinly traded and have wider bid ask spreads. On top of that I usually trade spreads not just single leg long or short calls /puts

What I end up having to do to get filed on my spreads is start at the mid price and work my way down or up. I have to do this work manually.Here's an example (simplified with a single leg)

Call 120 3/20
Bid: 3.00 x Ask: 4.00
Mid price : 3.50

So I enter my first order in with a limit price of 3.50 to go long this call. Ten seconds pass and the order hasn't filled. I cancel the order and place another limit order this time at 3.55 going up by .05 in my willingness to pay for the call basically. Another twenty seconds goes by and it's not filed so I have to manually cancel the order and enter another limit order at 3.60 and so on and so forth until I get filed.

I'm basically looking for a way to place a limit order that will start at the mid price and if it's not filed after 20 second or so then it cancels and bumps the limit price up or down by a few cents and enters in a new order and it keeps doing this until it gets filled.

Reason being that usually with wide bid ask spread you can actually counter offer the market maker who will decide to come down or up to your price. Usually it's a computer.

This kind of order can help get in our out of options trades when volatility is high esp these days
I believe there is an option in ToS to automatically have the slider (where you choose bid, mid, or ask) set and adjust to mid. Not sure about the timer thing. Don't know if that is possible.

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
145 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.