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?
 
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 ? :)
 
Last edited:
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' ;))
 
That one I need :( Here is a screenshots of MotiveWave vs Quantower (and many other platforms have this function):
 

Attachments

  • Screenshot 2024-09-18 at 12.57.08.png
    Screenshot 2024-09-18 at 12.57.08.png
    26.7 KB · Views: 13
  • Screenshot 2024-09-18 at 13.01.25.png
    Screenshot 2024-09-18 at 13.01.25.png
    53.7 KB · Views: 13
Top