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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        160 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        307 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        244 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        348 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        178 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X