Support Board
Date/Time: Wed, 27 Nov 2024 23:39:24 +0000
Post From: Limit If Touched Order type
[2023-06-28 19:50:03] |
User900285 - Posts: 94 |
Limit If Touched is an advanced server side order type and not all trading services provide it. Teton doesn't have it yet. Interactive Brokers has this order type and it's held on their servers. You could run a client side condition in the form of an Advanced Custom Study that could do something similar. It still won't function like a Limit If Touched order because when you close Sierra Chart the study will stop working. It would be interesting if SC eventually provides a method to send orders by a program to your Teton account outside of Sierra Chart. A REST API is what I've seen being used a lot these days. If the strategy is short term then you could probably run it locally as an Advanced Custom Study without issues. To replicate what a Limit If Touched order does, you would need to access market data through ACSIL and set up some conditions around that. One study you could use as an example template is Trading: Bid/Ask Quantity Triggered Stop. This study requires the user to use the chart trading menu to place a line at the desired price to set up the order condition. When the market reaches the price and the other conditions are true, it submits the order. You would probably have to adjust the code to use a different trigger method than the one in that study. You could also change the order type being used since that study uses the Stop order type. |