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

        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.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            80 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            46 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            29 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            66 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X