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

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.

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by zstheorist, Today, 07:52 PM
        0 responses
        6 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        150 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        6 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        6 views
        0 likes
        Last Post tkaboris  
        Working...
        X