Skip to content

Quick-tip 22 | Trigger a strategy limit order over several bars

A Markplex user described a situation where he wanted to issue a limit order based on a condition becoming true but because the limit order might need several bars to be executed, he wanted to effectively keep the entry condition ‘alive’ for several bars. Furthermore, he wanted to store price information from when the entry condition first became true. In the quick-tip I modify tutorial 17 to demonstrate this functionality.

Gold Pass members may copy and paste the code below. Make sure that you are logged in with your Gold Pass details.


Gold Pass content

This content is for members only.