Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.
rublizz
-
Content Count
3 -
Joined
-
Last visited
Posts posted by rublizz
-
-
Orders are placed on the next bar. That's is, the bar after the bar that just closed.This is how I would do it. After determining my buy level I turn on a flag. Each time the current bar closes and my order is not filled, the order is replaced. If order is filled, my flag is disabled. At the end of day, my flag is disabled and all unfilled orders canceled.
Let me know if you want me to post a code example.
I get the concept.
But how can I catch bar close event?
Code would be good.
-
Hi guys,
How to enter pending order that is valid all day or until canceled in Tradestation ?
Now "buy stop/limit" order are valid only one second bar and if not executes they are canceled.
Tradestation Pending Orders
in Automated Trading
Posted
Thanks Jeff65.
But isn't better to use "LimitOrder" function?