Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimization run vs Backtest?

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

    Optimization run vs Backtest?

    Hi,
    is IsInStrategyAnalyzer = true when both in Optimization and in Backtest? Is there a way to differentiate?

    Thanks!
    Momchil

    #2
    Hello Momchil,

    Code:
    if (State == State.Configure)
    {
        if (Category == Category.Optimize)
            Print("Strategy is running an optimization ");
    }
    https://ninjatrader.com/support/foru...223#post696223
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Chelsea -
      you rock thank you!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by WeyldFalcon, Today, 02:07 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ThomasC  
      Started by hfwiley, Today, 03:02 PM
      2 responses
      16 views
      0 likes
      Last Post hfwiley
      by hfwiley
       
      Started by pdennis, Today, 02:34 PM
      3 responses
      15 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by tonynt, Today, 01:47 PM
      3 responses
      17 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by WesFoster, Today, 12:39 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Dennis  
      Working...
      X