Black Art

Trader
Mar 2, 2021
12
1
6
43
Hello Everyone !

Love the SL&TP Values indicator (attached).
However it does not calculate SL&TP correctly when the commission is involved.
Could someone pls help me with the code and make necessary adjustments in the way that commission is added or subtracted from the lost/ profit ?
Also it would be great to see a risk ratio on the TP line ;)
 

Attachments

wanorbit

Master Trader
Oct 11, 2010
393
11
49
Hello Everyone !

Love the SL&TP Values indicator (attached).
However it does not calculate SL&TP correctly when the commission is involved.
Could someone pls help me with the code and make necessary adjustments in the way that commission is added or subtracted from the lost/ profit ?
Also it would be great to see a risk ratio on the TP line ;)
i downloaded it to my MT4, i attached it to chart and nothing happened, most a trade be open for it to work?
 

Enivid

Administrator
Staff member
Nov 30, 2008
15,982
798
144
Odessa
www.earnforex.com
please find the attached mq4 indicator i want to be converted to mt5 bellow. If this is not the mq4 file you are requesting please tell me how to get it.
you meant this file?
No, you keep attaching an .ex4 file (which is already compiled and cannot be used for code modifications). A coder needs an .mq4 file to make any modifications to its code, including conversion from MT4 to MT5.