Take Profit and Stop Loss Lines with %,USD and Points

Avatar
  • updated
  • Completed

I'd like to make a suggestion regarding the Take Profit and Stop Loss lines.


Take Profit and Stop Loss lines with the values ​​for the Profit/Loss Percentage, the USD Gain/Loss, and the Points Distance from the Open Price.

Like the Position Size Calculator indicator or the EA.


It's useful to know these values ​​in real time when trading manually or when building a strategy.

The code could be taken from there.

Like This:

Image 6537

Also the Risk/Reward (0.71R in this case)

How would you rate the customer service you received?

Satisfaction mark by Ulises Cune 2 months ago

I like! Thank you

Add a comment about quality of support you received (optional):

Avatar
1
Andrey Khatimlianskyi
  • Planned (collecting votes)

Good idea!

Avatar
0
Jerome Powell
Quote from Andrey Khatimlianskyi

Good idea!

I agree. Thanks for that input Ulises 

Avatar
1
Andrey Khatimlianskyi
  • Started

I've added this info as an object description in the 3.1.5 (you need to check "Show object descriptions" in the chart settings to see it):

Image 6538


Image 6539

But it seems it should be moved to the right side of the line, and this is possible only with another text object.

Will improve it soon.

Avatar
1
Andrey Khatimlianskyi
  • Completed
Avatar
0
Ulises Cune

I'm going to be trying it out these days.

Avatar
0
Ulises Cune

Image 6541


Thank you!

Avatar
0
Ulises Cune

Andrey, when a new "anti-martingale" is opened, the TakeProfit line is removed and two "breakeven" lines are placed, one very far away.

Image 6547

The Breakeven Line, when listing all the objects had remained of CP 3.1.3 of another Chart that had before. List all objects and eliminated it. It disappeared.

Set File:

manual_us500.set

Avatar
0
Ulises Cune

What I've also noticed is that when opening an Anti-martingale, the TakeProfit line no longer appears. The StopLoss does.

Avatar
0
Andrey Khatimlianskyi
Quote from Ulises Cune

Andrey, when a new "anti-martingale" is opened, the TakeProfit line is removed and two "breakeven" lines are placed, one very far away.

Image 6547

The Breakeven Line, when listing all the objects had remained of CP 3.1.3 of another Chart that had before. List all objects and eliminated it. It disappeared.

Set File:

manual_us500.set

You use `Allow TakeProfit for anti-martin trades` = false.

And I don't see second BE line, where is it?

Avatar
0
Ulises Cune

I've already fixed it. There were some objects left over from version 3.1.3, and then when I used version 3.1.6, I noticed the breakeven issue. The yellow line between 6282.4 and 6286.3

I created this script that deletes all objects, and I've had no further problems. CP GUI regenerates when the timeframe changes.

Objects_All_Clean.mq5