Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy - running in Strategy Analyser

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

    Strategy - running in Strategy Analyser

    Hello,
    I have strategy, which I add into chart. This strategy creates control panel (window)... I want to use this strategy in analyser to backtest results, but i do not want to show this wanted.
    Is there a way to detect, if strategy is running "in chart" or in "strategy analyser"?

    Thanks Paul

    #2
    Hi, the Category property will give you the information you need

    Comment


      #3
      Hello kujista,

      Thanks for posting.

      Any strategy enabled from a chart will appear in the Strategies tab of the Control Center. Strategies that are being backtested in the Strategy Analyzer do not appear in this tab. I've provided a link below with more information about the Strategy Analyzer:



      Please let me know if I may be of further assistance.
      Tyler M.NinjaTrader Customer Service

      Comment


        #4
        I meant something like
        if (startegy run in analyzer) { print runníng from analyzer}

        Comment


          #5
          Hello Paul,

          Thanks for your reply.

          You could check the account name:

          if (Account.Name == "Backtest")

          Print("In Strategy Analyzer");


          A non-automatic way, that would not be difficult either, would be to add an Input of the bool type that you set the default to true and when running in the market analyzer it would be a parameter that you could turn off with a simple uncheck of the check box.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          50 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          126 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          69 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X