Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Data of Control Center / Strategies

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

    Data of Control Center / Strategies

    Hi,

    I am testing some strategies at the same time, and I would like to record a log with some parameters of how, or where the strategy is running.

    Is there any function to get the data that exist in the ControlCenter/Strategies? I need the Strategy, DataSeries and Account.

    I would like to use these in my strategy to to record in my log with others parameters of my setups

    Is this possible?

    Thanks...

    #2
    Hello sasil,

    It would be possible to send this information to the Log using the Log() method.

    For example:

    Code:
    protected override void OnStartUp()
    {
    Log(string.Format("{0} | {1} {2} {3} | {4}", Name, Instrument.FullName, BarsPeriod.Value, BarsPeriod.Id, Account.Name), LogLevel.Information);
    }
    Log(string message, LogLevel logLevel)
    http://ninjatrader.com/support/helpGuides/nt7/log.htm
    Last edited by NinjaTrader_ChelseaB; 06-20-2016, 08:54 AM.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    571 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    548 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    549 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X