Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninja Script

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

    Ninja Script

    Using a simulated account, and trying to run a ninja script I have the following occur:

    I enable the ninjascript strategy before the time at which I say the market opens. Upon market opening (ES, ER), simulated trades are opened and closed according to strategy.

    So far so good.

    However, If I stop the script and resume it, (for example from noon to 1:00pm) there are trades that appear on the chart as if they were entered during the period in which ninja wasnt running. Furthermore, once I resume the strategy no more trades are entered for the rest of the day even though the conditions are met.

    Thanks
    Mike

    #2
    Hello,

    Thank you for your post.

    Yes, when you apply a strategy on the chart it will plot executions on the historical data showing where it would have traded.

    Regarding the stoppage of trading, I would visit this link for strategy vs. account position:


    ...and also check your strategy logic.
    DenNinjaTrader Customer Service

    Comment


      #3
      "on bar update" or "plot" method

      Please check the "on bar update" or "plot" method

      the index was outside the bounds of the array.


      Hi

      Im getting this eror regarding the
      Volume Level Max_history nijascript

      its says "error on plotting" Volume LEvel Max_History


      charts are freezing

      _________________________________

      Comment


        #4
        laredo, this would mean you would need to debug the script to check where the array bounds for access are not respected by the index - http://www.ninjatrader-support2.com/...ead.php?t=3418
        BertrandNinjaTrader Customer Service

        Comment


          #5
          IS there any other thing i can do to get the program working.

          REmove the indicator from the machine?

          How do I do this?

          or other thing.

          Im not a progammer and need the machine.

          Comment


            #6
            Hi laredo, removing the indicator from the chart you use should do it, if you want to delete it completey off the machine, go to Tools > Edit NinjaScript indicator and delete it.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            59 views
            0 likes
            Last Post DynamicTest  
            Started by ScottWalsh, Today, 06:52 PM
            4 responses
            36 views
            0 likes
            Last Post ScottWalsh  
            Started by olisav57, Today, 07:39 PM
            0 responses
            7 views
            0 likes
            Last Post olisav57  
            Started by trilliantrader, Today, 03:01 PM
            2 responses
            22 views
            0 likes
            Last Post helpwanted  
            Started by cre8able, Today, 07:24 PM
            0 responses
            10 views
            0 likes
            Last Post cre8able  
            Working...
            X