Welcome to NexusFi: the best trading community on the planet, with over 200,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- discounts are available after registering.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
yes, Tradestation is capable of executing orders intrabar when you set the IntrabarOrderGeneration = true in the code or enable it in the strategy settings.
If this is enabled "next bar" statements in orders will be evaluated as "next tick".
it might be helpful if you could include the exact error message. Based on the code you posted you are at least missing brackets around the Intrabarordergeneration attribute.
take a look at the online help file for the proper order syntax by highlighting the "Buy" command and pressing F1. This should steer you in the right direction.