Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ChartControl.Strategies

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ChartControl.Strategies

    Hi,

    I'm compiling some cs files from NT6.5 to NT7

    in NT6.5 from the Indicator's code, I was able to access to all of the Strategies loaded in the current ChartControl by this:

    for ( int s=0 ; s<this.ChartControl.Strategies.Length; s++ )
    Strategy.StrategyBase str = this.ChartControl.Strategies[s];

    and by this code I was able, for example, to call the function:

    str.Position.GetProfitLoss(..........);

    Now, in NT7 ChartControl.Strategies is no more available.

    Have I to renounce to this or is there a new way in NT7 to obtain the same?

    I need to access to the strategies loaded in the same chart where the indicator is loaded.

    Thank you
    Antonio Raso ( www.FloorFinance.com )

    #2
    Hello Antonio79,

    Chartcontrol is outside our scope of support. Unfortunately there isn't a supported way of accessing strategies currently applied to a chart.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    596 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    343 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    556 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    554 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X