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 CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    185 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    344 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    266 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X