Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

General question

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

    General question

    Hello,
    This is going to be a very unspecific question. I'll do the best I can to explain myself. I have a situation with an indicator I've created where occasional it will print my dot without all the conditions being satisfied. Is there a way (like TraceOrder) to track down a specific instance of an indicator?
    Thanks

    #2
    Hello,

    Thanks for the note.

    It is best to use the below technique to debug your code and figure out what is causing it.



    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      Thanks for the information. I printed a string message in the Output Window, but there was no time or date. I looked in Help, but couldn't find the info I was hoping for. Can you give me an example of how to combine the string with a date and time? Thanks.

      Comment


        #4
        Hello,

        Sure,

        Print(Time[0] + " I Worked ");

        You can use Time[0] and use a + between variables or strings to concatenate them together.

        Let me know if I can be of further assistance.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        637 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        366 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        107 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        569 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        571 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X