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.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    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.​
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by whomval, Today, 09:08 AM
        0 responses
        9 views
        0 likes
        Last Post whomval
        by whomval
         
        Started by herzogvladimir2, Yesterday, 08:10 PM
        0 responses
        16 views
        0 likes
        Last Post herzogvladimir2  
        Started by giogio1, 04-13-2025, 01:42 AM
        2 responses
        41 views
        0 likes
        Last Post giogio1
        by giogio1
         
        Started by mmenigma, 01-23-2024, 09:37 AM
        1 response
        92 views
        0 likes
        Last Post Nin8aTrender  
        Started by wbayne333, 02-22-2021, 01:18 PM
        6 responses
        417 views
        0 likes
        Last Post Nin8aTrender  
        Working...
        X