NexusFi: Find Your Edge


Home Menu

 





Cross Strategy Comunication


Discussion in NinjaTrader

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




 
Search this Thread

Cross Strategy Comunication

  #1 (permalink)
 
quantismo's Avatar
 quantismo 
Waco TX.
 
Experience: Advanced
Platform: retired ...maybe
Trading: anything with the slightest edge..
Posts: 242 since Jul 2011
Thanks Given: 335
Thanks Received: 176

I was just wondering if anyone knows if it is possible to get one strategy to be able to manage another stragies LIVE position. I was thinking there might be some sort of way to do it using a ATM.

Quantismo...

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
Trade idea based off three indicators.
Traders Hideout
Better Renko Gaps
The Elite Circle
What broker to use for trading palladium futures
Commodities
ZombieSqueeze
Platforms and Indicators
 
  #3 (permalink)
kandlekid
College Point, NY (Queens)
 
Posts: 63 since Nov 2009
Thanks Given: 5
Thanks Received: 20



quantismo View Post
I was just wondering if anyone knows if it is possible to get one strategy to be able to manage another stragies LIVE position. I was thinking there might be some sort of way to do it using a ATM.

Quantismo...

I think the way to do it is to use a static variable, class, etc. A static can only have one instance, which each strategy accesses. Note that you don't instantiate a static, but you declare it.

example ....

public static int prevDivBarNoLong_LL_HL = -1;

Reply With Quote
Thanked by:




Last Updated on August 13, 2013


© 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