Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Export Addon Error

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

    Export Addon Error

    Hi,

    I am trying to export a custom indicator.
    The compilation is successful and the indicator is working as expected.

    When I export the indicator, I am getting the error "Error in compile process: Array dimensions exceeded supported range."
    I tired both export as compiled assembly and without. Same error.

    Please help.


    #2
    Hello pvincent,

    Thanks for your post.

    Please remove any logic that is not necessary for reproducing the issue and test again to confirm the behavior can still be reproduced.

    If the issue can still be reproduced, please send me the open source .CS file(s) so that I may investigate this matter further. Custom NinjaScript indicator files could be found in the Documents/NInjaTrader 8/bin/Custom/Indicators folder.

    I look forward to assisting further.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Hi Brandon,

      For testing purposes, I created a new Indicator using the strategy builder, added no logic and compiled successfully.
      After successful compilation, I tried to export and I am still getting the same error.

      I checked in the Control panel logs and the bin/logs, no other errors except the error "Error in compile process: Array dimensions exceeded supported range"


      I tried the same in another machine and it is getting exported.

      Comment


        #4
        Hello pvincent,

        Thanks for your note.

        Please share the reduced copy of the open source .CS file(s) here on the forums so that I may investigate this matter further. Custom NinjaScript indicator files could be found in the Documents/NinjaTrader 8/bin/Custom/Indicators folder.

        Note that a reduced copy refers to a copy of the script that contains the minimum amount of code needed to reproduce the issue. All other code is commented out or removed.

        To create a copy of your script to modify, open a New > NinjaScript Editor, select your script, right-click in the Editor, select 'Save as', name the script, and click OK.

        I look forward to further assisting.​
        Brandon H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ETFVoyageur, Today, 04:00 PM
        0 responses
        5 views
        0 likes
        Last Post ETFVoyageur  
        Started by AaronKTradingForum, Today, 03:44 PM
        1 response
        7 views
        0 likes
        Last Post AaronKTradingForum  
        Started by Felix Reichert, 04-26-2024, 02:12 PM
        11 responses
        77 views
        0 likes
        Last Post Felix Reichert  
        Started by junkone, 04-28-2024, 02:19 PM
        7 responses
        83 views
        1 like
        Last Post junkone
        by junkone
         
        Started by pechtri, 06-22-2023, 02:31 AM
        11 responses
        136 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Working...
        X