Breakeven Line

siteid

Trader
Nov 19, 2023
18
4
19
41
I have recently encountered a major issue with using this indicator: it seems to default to a breakeven price based on balance calculation, but often we need to calculate real-time breakeven prices based on Equity.
Suggest adding an option in the parameter settings:
Calculation benchmark: balance or Equity.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,301
1,529
144
Odesa
www.earnforex.com
I have recently encountered a major issue with using this indicator: it seems to default to a breakeven price based on balance calculation, but often we need to calculate real-time breakeven prices based on Equity.
Suggest adding an option in the parameter settings:
Calculation benchmark: balance or Equity.
Not sure what you mean. Breakeven price is based on the current positions' profit and loss, not on the balance or equity.
 

siteid

Trader
Nov 19, 2023
18
4
19
41
There is no fixed plan. It will likely be only released in several months.
Is there a development plan for the explosion line indicator mentioned last time? I am looking forward to your new indicators, thank you.
 

siteid

Trader
Nov 19, 2023
18
4
19
41
Discuss Breakeven Line (an indicator that detects and displays a breakeven price for multiple trades) for MT4 and MT5 in this thread. You can ask any questions about this indicator here.

Suggest adding a feature to the breakeven line indicator that displays the level of account net worth。​

The indicator that displays the level of account net worth in the chart can be dragged along the horizontal line and real-time display the account net worth when the price reaches the set level in the future.
The significance of this indicator is that traders can have a clear understanding of their account funds when the price reaches the set price level, which facilitates effective fund management
 

EnrichWave

Master Trader
May 15, 2018
382
97
74
India
I have recently encountered a major issue with using this indicator: it seems to default to a breakeven price based on balance calculation, but often we need to calculate real-time breakeven prices based on Equity.
It seems you got confused with Account exposure vs Breakeven line.

It is good. Only upgrade needed with option Open position, Open position including pending..


Suggest adding a feature to the breakeven line indicator that displays the level of account net worth。​

The indicator that displays the level of account net worth in the chart can be dragged along the horizontal line and real-time display the account net worth when the price reaches the set level in the future.
The significance of this indicator is that traders can have a clear understanding of their account funds when the price reaches the set price level, which facilitates effective fund management

Again you got confused with account exposure....


PS: The BE line goes ups and downs little points..
View attachment BE Line.webm
 
Last edited:

EnrichWave

Master Trader
May 15, 2018
382
97
74
India
Hi @Enivid . The BE line is not including the commission because the commission Ticket is different from the position ticket (Kindly check below screenshots., Deals, Orders & Deals ).. I think it need different calculation to include the commission.

Running position on trade tab..
Running Order Trade tab.png

Running position on history tab - Deals (right click on history select the Deals)
Running order on History tab - Deals.png

Running positions on history tab - Orders & Deals (right click on history, select the Orders & Deals)
Running order History tab with Orders & Deals.png

Closed position on history tab - Deals
Cloed Trade on History tab - Deals.png

Closed position on history tab - Orders & Deals
Closed trade on History tab - Orders & Deals.png

BR
 
Last edited:
  • ℹ️
Reactions: Enivid

EnrichWave

Master Trader
May 15, 2018
382
97
74
India
To calculate exact commission there is two way..

1st method is get from the History Order IN (If suppose the commissions calculated after the order close, I don't know how it will get right commission, we also need commission method one way or two way)

The second method.. Get the commission information from the Symbol Specification (We also need to get the commission type one way or two way),
Then multiplying with the position size will give the position size commission...

Some brokers charging commission in % too.. ..
 
Last edited:

EnrichWave

Master Trader
May 15, 2018
382
97
74
India
I altered the MQL5 Code to Calculate with Commission + SWAP
But I don't know how it will calculate when the Commission+ SWAP comes to positive..
 

Attachments

  • BreakevenLine1.01.mq5
    11.4 KB · Views: 2

siteid

Trader
Nov 19, 2023
18
4
19
41
I understood that It's very difficult to add the Pending Orders include the Open Positions as the commission and swaps calculation need to be calculated. So,.. BreakEven for open position is only fine...
Can you try to modify it?
 

EnrichWave

Master Trader
May 15, 2018
382
97
74
India
@Enivid Kindly have option to enabled disabled on the initial stage (OBJ_NO_PERIODS). Because most of the time trader need it to be hidden... When trader drag any other symbol, it automatically changes enabled which is most of the time don't want..