NexusFi: Find Your Edge


Home Menu

 





Two Data Series in Ninjatrader 7 for Order confirmation


Discussion in NinjaTrader

Updated
    1. trending_up 2,261 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 arashtrader 
mohali punjab india
 
Experience: Beginner
Platform: ninja
Trading: muth
Posts: 2 since Sep 2014
Thanks Given: 0
Thanks Received: 0

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.


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
My Rant with AMP Futures
Trading Reviews and Vendors
No book, only a stair: journaling fills where price move …
Cryptocurrency
 
  #2 (permalink)
ellinas
Cyprus, Nico
 
Posts: 33 since Mar 2019
Thanks Given: 10
Thanks Received: 9


arashtrader View Post
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.

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


Reply With Quote
  #3 (permalink)
 arashtrader 
mohali punjab india
 
Experience: Beginner
Platform: ninja
Trading: muth
Posts: 2 since Sep 2014
Thanks Given: 0
Thanks Received: 0


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.

Thank you.


Started this thread Reply With Quote




Last Updated on July 7, 2020


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts