NexusFi: Find Your Edge


Home Menu

 





Need to make access data from indicator in Strategy


Discussion in NinjaTrader

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




 
Search this Thread

Need to make access data from indicator in Strategy

  #1 (permalink)
 
prisonbreaker82's Avatar
 prisonbreaker82 
Rio de Janeiro
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire, IB
Trading: Equity & Futures
Posts: 312 since Jun 2010
Thanks Given: 58
Thanks Received: 141

Hello,

Are there a clever programmer who can help me with this?

Need to make these two variables public to be able to read values in these two list in my divergence strategy.

 
Code
#region DataSeries
        // Public =============================================================
        private BoolSeries upFlip;
        private BoolSeries dnFlip;
        // Private ============================================================
        private DataSeries abcSignals;
        private DataSeries entryLong;
        private DataSeries entryShort;
        private DataSeries entryLevelLine;
        
	public List<Swings> swingHighs = new List<Swings>();
        public List<Swings> swingLows = new List<Swings>();
        //=====================================================================
        #endregion
I tried to change from private List... to public List.. but ninjatrader does give me attached error.

"insanity is doing the same thing over and over again and expecting different results." - Albert Einstein
Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on December 12, 2012


© 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