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

Custom indicator disappearing

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

    Custom indicator disappearing

    I made a custom indicator that only stays in a chart for maybe a few minutes then disappears and the chart scaling changes to 0 to 1. Repeatedly pressing F5 brings it back momentarily, sometimes.
    Last edited by sampras010; 10-31-2017, 01:01 PM.

    #2
    Hello Sampras010,

    Thanks for writing in to our Support team.

    Your NinjaScript / C# Code will always be logically processed and evaluate according to your set logic – this can of course lead to unexpected results at times, thus we would suggest to simplify and debug your code to better understand the event sequence it would go through - unfortunately we cannot offer such debug or code modification services here, but please see the provided resources below to help you proceed productively :

    First of all you would want to use Print() statements to verify values are what you expect for any user defined variables - Debugging your NinjaScript code

    It may also help to add drawing objects to your chart for signal and condition confirmation - Drawing Objects

    If you would prefer the debug assist of a professional NinjaScript consultant, please check into the following listings - Click here for a list of certified NinjaScript Consultants

    Lastly, often times there are helpful error messages contained in the Log tab of the Control Center window that will give you a better idea as to what is causing the error. The Log tab is the last tab available in the Control Center window, next to the Account Performance tab.

    Please let me know if I may be of any further assistance.
    Alan S.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by algospoke, Today, 06:40 PM
    0 responses
    4 views
    0 likes
    Last Post algospoke  
    Started by maybeimnotrader, Today, 05:46 PM
    0 responses
    7 views
    0 likes
    Last Post maybeimnotrader  
    Started by quantismo, Today, 05:13 PM
    0 responses
    6 views
    0 likes
    Last Post quantismo  
    Started by AttiM, 02-14-2024, 05:20 PM
    8 responses
    168 views
    0 likes
    Last Post jeronymite  
    Started by cre8able, Today, 04:22 PM
    0 responses
    9 views
    0 likes
    Last Post cre8able  
    Working...
    X