NexusFi: Find Your Edge


Home Menu

 





Sync 2 strategies together using NinjaTrader


Discussion in NinjaTrader

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




 
Search this Thread

Sync 2 strategies together using NinjaTrader

  #1 (permalink)
 
spinnybobo's Avatar
 spinnybobo 
Crete, IL/USA
 
Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Trading: ES, CL, EUR/USD, TF
Posts: 173 since Aug 2009
Thanks Given: 105
Thanks Received: 61

Hello

Does anybody know if it is possible to sync a strategy to another strategy? Say for example you have CL trading on an already running strategy on sim. Is it possible to take those "execution.Order" or stuff from OnOrderUpdate to trigger another strategy trading on a different instrument like USO (oil ETF) ?

I asked Ninja and they said it is not possible to have one strategy talk to another one. Not sure if a workaround would be possible or easy? The only other idea I have is to attach the CL DataSeries inside of the USO strategy, but then the problem is I have to synch everything ---- like make up my own simulator as to when it would get long/short and keep track of everything inside of the code in the background, then use this to talk to the USO strategy

not sure if this makes sense.
basically it would be nice to run a strategy like CL on sim, but take all of the executions on USO. Everything would be the same except the targets and everything would be calibrated to USO, etc.

thanks for any advice and hope all is well.

Spencer

Follow me on Twitter 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
How to apply profiles
Traders Hideout
What broker to use for trading palladium futures
Commodities
ZombieSqueeze
Platforms and Indicators
MC PL editor upgrade
MultiCharts
 
  #2 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,633 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,426


spinnybobo View Post
Hello

Does anybody know if it is possible to sync a strategy to another strategy? Say for example you have CL trading on an already running strategy on sim. Is it possible to take those "execution.Order" or stuff from OnOrderUpdate to trigger another strategy trading on a different instrument like USO (oil ETF) ?

I asked Ninja and they said it is not possible to have one strategy talk to another one. Not sure if a workaround would be possible or easy? The only other idea I have is to attach the CL DataSeries inside of the USO strategy, but then the problem is I have to synch everything ---- like make up my own simulator as to when it would get long/short and keep track of everything inside of the code in the background, then use this to talk to the USO strategy

not sure if this makes sense.
basically it would be nice to run a strategy like CL on sim, but take all of the executions on USO. Everything would be the same except the targets and everything would be calibrated to USO, etc.

thanks for any advice and hope all is well.

Spencer

Done often, global variable(s) and careful coding are the words you want...


Travel Well
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on October 29, 2014


© 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