Show profit or loss on the order fill buttons, doable?

funk101

Member
Joined
Nov 19, 2023
Posts
11
Likes
0
When I'm in a trade, ie: bracket order, is it possible to show what the "p/l" would be on the "Stop loss" button and the "Target button"?
For instance, if I tighten my stop loss during a trade that is showing a profit, can the "potential" profit be shown right on the button itself?
 

Spin

Well-known member
Joined
May 22, 2019
Posts
480
Likes
192
Please clarify about which buttons we're talking here (buttons you plot yourself to show up in a chart corner or buttons MW draws automatically ?)

Screenshot ? :)
 

Ghome

Well-known member
Joined
Mar 29, 2023
Posts
85
Likes
24
Yes please exactly what I have been asking for.

+1
 

Ghome

Well-known member
Joined
Mar 29, 2023
Posts
85
Likes
24
Last edited:

Spin

Well-known member
Joined
May 22, 2019
Posts
480
Likes
192
Please refer to screenshot

View attachment 2184
Aha, I see.

In that case, my answer would be: not doable.
(since those buttons cannot be altered by means of the SDK. A workaround might be to write a Study that draws boxes at the same levels, that do update with the numbers a user wants)
(for this, a coder would use 'onTick' ;))
 
Top