Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

History on Strategy Wizard

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

    History on Strategy Wizard

    When a strategy is started,, it takes into consideration historical trades. I understand that the solution to prevent this is to use

    if (Historical)
    return;

    Without having to unlock the code and editing the code, is there an option on the Wizard to do the same thing as above? Where is it located?

    #2
    Hello tambaa,
    Thanks for posting today.

    The method you are talking about can only be done inside the code. You would have to unlock the code to do this and insert the stated code in the OnBarsUpdate() method.

    Note, once you unlock the code you would not be able to edit that NinjaScript using the Wizard anymore.

    Please let us know if we may be of further assistance for anything NinjaTrader.
    Alex G.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the response. It would be great if the wizard could be expanded to start allowing for more development scenarios.

      Comment


        #4
        Hello tambaa,
        Thanks for the reply.

        I will pass this on to development as a feature request for future versions of NinjaTrader.

        NinjaTrader 8 will come with an enhanced development wizard with many new features. Here is a link to the Major Enhancements for NinjaTrader 8.
        http://www.ninjatrader.com/downloads...njaTrader8.pdf

        Please let us know if we may be of further assistance for anything NinjaTrader.
        Alex G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        155 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        90 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        137 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        130 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        107 views
        0 likes
        Last Post CarlTrading  
        Working...
        X