Just a reminder...this is NOT equity percent from balance...this is a RATIO.
mb
I am still testing this...but I think if you want 1% of your balance then you type 1.1 as the input (Ratio =1.1:1)
mb
What's this for?
ulong m_magic=15489; // magic number
ulong m_slippage=50; // slippage
I haven't seen on MT-5 with closing by magic or by symbol yet - if you have seen it, please tell me in private.
What's that for?
ulong m_magic=15489; // magic number
ulong m_slippage=50; // slippage
I haven't seen on MT-5 with closing by magic or by symbol yet - if you have seen it, please tell me in private.
So it is not the first year already

- 2016.04.01
- MetaQuotes Software Corp.
- www.metatrader5.com
for 1% you must enter 1.01
for 1/2% you must enter 1.005
It is not per cent, it is per ratio.
To use 0.5% enter 1.005.
To use 1% enter 1.01.
NOTE. Once the EA reaches the specified profit percentage and closes the positions, this trade will be repeated after reaching the target profit percentage for each new position, right?
There is no repetition. The EA only closes positions.
(If I am wrong, please correct me).

- www.metatrader5.com
(If I am wrong, please correct me).
I plan to make these improvements on the basis of Close Balance Equity - the closing algorithm is better built there.

- www.mql5.com

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Close by Equity Percent:
Author: Vladimir Karputov