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)
Two Data Series in Ninjatrader 7 for Order confirmation
I am trying to place an*order in the 2nd data series*based on the order fill confirmation from the First data series. For example, if my order in Russell (TF) gets filled then at the same time I want to place a market order in Emini (ES). *Is it possible to achieve this and if yes then please show the way to proceed
Thank you.
Can you help answer these questions from other members on NexusFi?
Hello,
this is easy. You may use a variable(bool). For example : If Tf gets filled set var1=true. Then in the Enter conditions of the ES (second Bar series) include if (...&& var1) then Enter ES. After the confirmation that ES got filled reset the var1=false, so this variable to be ready again (in a false condition) for the next round when the TF gets filled again, and so on.
Thank you
Today, 07:15 AM #2 (permalink) bookmark_borderreport
Hi ellinas, Thanks for your response.
The Logic part I had figure out, what I need is some help or sample code, about how to use two data series in ninja script coding.