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
0
Andrey Khatimlianskyi
Quote from Ulises Cune

Andrey, 

I'm back with this. When I open another trade in the "anti-martingale" mode, it doesn't show the TakeProfit line, and I don't see the takeprofit setting on the second trade either. It does set the StopLoss.

Image 6560

manual_us500.set


You mix up Individual TP and Series TP. Line is for the Series TP.
And with `Allow TakeProfit for anti-martin trades` = false it cancels TP after opening anti-martin trade.

Avatar
0
Ulises Cune

I think it happens when you open a trade, then after a while, edit the properties and then manually open another trade by clicking on the GUI buttons every time.

Avatar
0
Ulises Cune

Andrey, 

I'm back with this. When I open another trade in the "anti-martingale" mode, it doesn't show the TakeProfit line, and I don't see the takeprofit setting on the second trade either. It does set the StopLoss.

Image 6560

manual_us500.set


Avatar
0
Andrey Khatimlianskyi
Quote from 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

It should remove all the objects itself. Please let me know if you still see duplicated objects.

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

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

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

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

Image 6541


Thank you!

Avatar
0
Ulises Cune

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