NexusFi: Find Your Edge


Home Menu

 





Two Data Series in Ninjatrader 7 for Order confirmation


Discussion in NinjaTrader

Updated
    1. trending_up 2,037 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?
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Zytrade: Devin Brady, CEO - Ask Me Anything (AMA)
Brokers
UMA Votes Tonight: Polymarkets $80M Strategy Bitcoin Bat …
Prediction Markets & Event Contracts
Wood Mackenzie Drops $200 Oil Forecast -- Airspace Expir …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #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