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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    291 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    188 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    185 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    271 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    219 views
    0 likes
    Last Post CarlTrading  
    Working...
    X