Welcome to NexusFi: the best trading community on the planet, with over 150,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 -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I don't know what can't do the "direct version", but if you can't add any custom indicator you're stuck.
If you can add a custom .dll, produced from a free/simulation Ninja, then you can easily write an indicator or a fake strategy which will do the job using NinjaTrader.Cbi.Globals.Accounts[].Orders[].
Another option, a bit ugly, which will work without any custom indicator, is to read Ninjatrader SQL Compact Edition database from an external program and check the order status.
I read the DB to see if the order was manually modified in the chart trader, that would make the robot
to be out-off-balance.. I have that working now. Took a bit of searching to understand the DB model
and the order reference is in a BLOB and not in a column.
From a performance point of view not the best possible solution...