How to prevent a limit order from executing on the next bar if that bar gaps down?
Author: djmundus
Creation Date: 7/15/2018 12:31 AM
profile picture

djmundus

#1
I have very little development experience and none of it is in .NET, so I appreciate everyone's patience...

I have a strategy that uses limit orders for entry. I would like to create a filter so that the limit orders will only execute if the opening price of the next bar does not gap down X% below the close.

Is that possible to do for strategies that are based on daily data? If so, how do I do it?
profile picture

Eugene

#2
It's possible: the Quotes tool have a native Gap filter. Check out the Wealth-Lab User Guide > Quotes > Quotes Pane > Gap Filter and a code sample.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).