Breakeven

Enivid

Administrator
Staff member
Nov 30, 2008
19,166
1,494
144
Odesa
www.earnforex.com
Will it calculate with Commission + Swap for position?. If No, Kindly implement

BR
No, it cannot do that. The problem with implementing that is that when the script runs, it can calculate the commission that has already been paid for the position and the swaps that have already been incurred and set the SL accordingly, but the SL will get triggered at some unknown point in the future, when more swaps might get applied, exit commission taken, and the currency pair's point value has changed, so the result might not be of the expected from a breakeven.
 

EnrichWave

Master Trader
May 15, 2018
353
86
74
India
the SL will get triggered at some unknown point in the future, when more swaps might get applied
Yeah, You are correct. So, The trader should drag the script again each end of the day (server time 00:00) to reset the SL. Which is fine Enivid.

BR
 

Jakey88

Trader
Sep 6, 2022
27
2
19
35
@Enivid , Sorry for posting here but I cant find the break even forum . I have been trying to install the break even script on MT5 but it will not work. I have deleted and tried again and again. Nothing I try is working. Please help .
 

Attachments

  • break even issue.PNG
    break even issue.PNG
    77.3 KB · Views: 2

Jakey88

Trader
Sep 6, 2022
27
2
19
35
@Enivid , Sorry for posting here but I cant find the break even forum . I have been trying to install the break even script on MT5 but it will not work. I have deleted and tried again and again. Nothing I try is working. Please help .
The same thing is happening with close all orders.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,166
1,494
144
Odesa
www.earnforex.com
@Enivid , Sorry for posting here but I cant find the break even forum . I have been trying to install the break even script on MT5 but it will not work. I have deleted and tried again and again. Nothing I try is working. Please help .
You are supposed to copy the two folders from the zip-archive directly to your MQL5 folder. This will put all the files to their appropriate location.
 

Jakey88

Trader
Sep 6, 2022
27
2
19
35
ahhh a huge relief. That was driving me crazy lol. Thank You once again Enivid
You are supposed to copy the two folders from the zip-archive directly to your MQL5 folder. This will put all the files to their appropriate location.
Post automatically merged:

Oh ok that's good to know . Thank You
@Jakey88 You can also just delete the #property icon line, the icon is just cosmetic.
 

yoovie

Trader
Feb 9, 2022
19
21
14
Man,,, whether it is indicator, script or EA, it is the like we give credit to the developer
The script is open source, anyone can do as they like to the source code. Again, it's up to you (or Jakey88) to keep the icon or not, if your or anyone prefer to keep the icon for sake of respecting the author, then just keep the icon.
 
  • 👍
Reactions: EnrichWave

Enivid

Administrator
Staff member
Nov 30, 2008
19,166
1,494
144
Odesa
www.earnforex.com
Up to you, the script (not indicator) is free btw.
Man,,, whether it is indicator, script or EA, it is the like we give credit to the developer
I don't mind people removing the icon in the code for their personal use. Doing so to distribute it publicly would be an ass move though.
 
  • 🎉
Reactions: EnrichWave