Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

OnRender method

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

    OnRender method

    I have made an attachment of OnRender()

    I have errors in it.

    Can anyone help me to resolve those errors.

    Error Message:
    Indicator 'DTPVolumeProfileSuit2': Error on calling 'OnRender' method on bar 0: You are accessing an index with a value that is invalid since it is out-of-range. I.E. accessing a series [barsAgo] with a value of 5 when there are only 4 bars on the chart.
    Attached Files
    Last edited by [email protected]; 08-09-2017, 10:39 PM.

    #2
    Hello,

    Thank you for the post.

    Would you be able to instead provide a sample script that includes variable names and using declarations?

    In this sample, you have missing variables and also namespaces that are not present in a standard indicator (likely sharpdx). If you could instead provide a complete sample I could review it to see what errors are being listed.

    Alternatively, because you already have this on your end in a complete version, if you can provide the specific errors you are stuck on that go with this syntax, that would also be helpful.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thank You for your reply
      Can you please give your mail Id.So that I can share my code to your mail

      Comment


        #4
        Hello,

        You can email our platform support [at] ninjatrader.com address in reference to this post. If you could include a link to this post in your email that would be helpful as well.

        Please let me know if I may be of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CortexZenUSA, Today, 12:53 AM
        0 responses
        2 views
        0 likes
        Last Post CortexZenUSA  
        Started by CortexZenUSA, Today, 12:46 AM
        0 responses
        1 view
        0 likes
        Last Post CortexZenUSA  
        Started by usazencortex, Today, 12:43 AM
        0 responses
        5 views
        0 likes
        Last Post usazencortex  
        Started by sidlercom80, 10-28-2023, 08:49 AM
        168 responses
        2,266 views
        0 likes
        Last Post sidlercom80  
        Started by Barry Milan, Yesterday, 10:35 PM
        3 responses
        13 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Working...
        X