Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

My Code NT8 works only for one bar then stops

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

    My Code NT8 works only for one bar then stops

    Hi everyone,

    My indicator lasts only for the length of one bar then it disappears
    it only get back to work (for another bar) if i press F5

    please advice

    #2
    Hello xamer,

    Thanks for opening the thread.

    Is this an issue that is also observable in a system indicator? If so, could you provide more detail on how I can observe this as well?

    If the issue is only with your code, that indicator will have to be debugged to understand the issue at hand. Without the full code I’m unable to test on my end. Additionally, debugging customer code escapes the scope of services we may provide.

    First, I would check to see if there are any errors in the log tab of the Control Center.

    Next, I would recommend to debug your script with Prints to observe any values that your variables are passing that would break the logic.

    I would further suggest to comment out sections of the code to simplify the running logic until the code works, and then to uncomment sections until a problematic section of code is identified.

    We have some further tips on debugging found here:



    As well as additional tips for writing NinjaScript code here:



    If you have any additional questions on any errors received or about NinjaScript code in general, please don't hesitate to ask.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    648 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X