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 PaulMohn, Today, 05:00 AM
        0 responses
        8 views
        0 likes
        Last Post PaulMohn  
        Started by ZenCortexAuCost, Today, 04:24 AM
        0 responses
        6 views
        0 likes
        Last Post ZenCortexAuCost  
        Started by ZenCortexAuCost, Today, 04:22 AM
        0 responses
        3 views
        0 likes
        Last Post ZenCortexAuCost  
        Started by SantoshXX, Today, 03:09 AM
        0 responses
        16 views
        0 likes
        Last Post SantoshXX  
        Started by DanielTynera, Today, 01:14 AM
        0 responses
        5 views
        0 likes
        Last Post DanielTynera  
        Working...
        X