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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    54 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    25 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    17 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    24 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X