Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

TraceOrders in parameters

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

    TraceOrders in parameters

    how do I add TraceOrders as a parameter?

    #2
    Hello dibDab,

    TraceOrders is something that needs to be set in State.SetDefaults for an indicator. You would need to just enable trace orders in the indicators defaults.

    Comment


      #3
      thanks. can I add this to the parameters UI?

      Comment


        #4
        Hello dibDab,

        No you would have to just enable it as a default in the indicators code. You could make a user input such as a bool to control manually printing the trace orders output if you are trying to toggle it on or off from the UI.



        You could put a condition checking if your user input is true/false and only print based on your user input.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        89 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        135 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        119 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        69 views
        0 likes
        Last Post PaulMohn  
        Working...
        X