Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Individual order flag identification

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

    Individual order flag identification

    There is an issue with how the cost average is calculated. Because of that I would like to be able to identify the profit targets of each entry separately. As you know, all profit targets are green and stop limits are red (out of the box). Is there a way to code that would make the profit targets of entry 1 green, the profit targets of entry 2 yellow, etc? Averaging in gets to be convoluted quickly and it would help identify exactly where I am.

    Thank you for any input!

    #2
    Hello WynneIndustries,

    There is not a way to do that using the built in order lines that are produced by the chart trader, you can use drawing objects if you wanted to make some kind of custom display of order prices. You would use OnExecututionUpdate to observe the individual order fills and then draw the objects that you wanted for each fill.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    92 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    138 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
    122 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    73 views
    0 likes
    Last Post PaulMohn  
    Working...
    X