Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Builder Panel Series Error

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

    Strategy Builder Panel Series Error

    I am trying to start a new strategy with the strategy builder.

    I am trying to track down the following error.

    when I click add in the conditions and action window I get the error message below


    Click image for larger version

Name:	NT error.PNG
Views:	192
Size:	11.5 KB
ID:	1158638

    I have no logic or indicators in the action window it is completely empty.
    This is happening with any strategy in the strategy builder I open.

    I am guessing this is coming from another strategy than the one I am working on.

    I compiled the strategies I have in the NinjaScript Editor and receive no errors.

    Would this error be coming from a strategy within the strategy builder?
    Do strategies in the strategy builder also compile when I compile from the NinjaScript Editor?

    I do most of my coding in the NinjaScript editor I am just trying to do the basic construction before I unlock the code.

    Thank you

    #2
    Hello sdauteuil,
    You're getting this error in "StrategyPlotPanelSelectIndicator" & the variable "SeriesIndex" is causing it as its range is defined as 1 to 2 but either you've not set any value for this variable in SetDefaults or thru some calc its value is evaluating to 0 which would be invalid. Check this variable value & use print to understand, so you can easily fix it.
    Hope it helps!

    Comment


      #3
      Hello sdauteuil,

      Thanks for your post.

      Yes, all ninjscripts are compiled together at each compilation. An error in any file would prevent successful compilation. It sounds like you do not have a compilation error but something is affecting the strategy builder creation process,

      As a suggestion, I would use the Ninjscript editor explorer and locate the indicator "StrategyPlotPanelSelectIndicator", right mouse click on the file name and select "Exclude from compilation" and once the system recompiles to then test your strategy builder.

      Comment


        #4
        I downloaded a sample strategy example which referenced this indicator.

        I delete both the strategy and the indicator and that corrected the error.

        Thank you

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        93 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        138 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        123 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        73 views
        0 likes
        Last Post PaulMohn  
        Working...
        X