NexusFi: Find Your Edge


Home Menu

 





Two Data Series in Ninjatrader 7 for Order confirmation


Discussion in NinjaTrader

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




 
Search this Thread

Two Data Series in Ninjatrader 7 for Order confirmation

  #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?
Cheap historycal L1 data for stocks
Stocks and ETFs
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
Strategy stop orders partially filled
EasyLanguage Programming
What broker to use for trading palladium futures
Commodities
 
  #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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts