Re: EAs or indicators from the Russian Forex community are posted here

21
mrtools wrote: Mon Jan 16, 2023 5:28 am Thanks Honje for starting this thread, found these partial close EA's from Vladimir Khlystov and his explanation about them:


1.The EA tracks open positions for all or a given instrument.

2 When the specified profit is reached, closes part of the position. You can specify 4 levels of closing positions. For example, after 50 points close 50% After 100 points close another 30? After 150 points close 1% and after 250 points close the remaining 10%

3 At the first partial closure, the EA transfers the position to breakeven + NoLoss profit points. For example, NoLoss=10 g then, when reaching 100 p profit, the EA will close 50% of the position and put SL above (for buy) the opening price by 10 points
I've tried this ea, is there any newer version of this ea? Or anyone would help me to elaborate the code, since I have some adjustment, improvement to be added.
Many thanks.


Re: EAs or indicators from the Russian Forex community are posted here

22
mrtools wrote: Mon Jan 16, 2023 5:28 am Thanks Honje for starting this thread, found these partial close EA's from Vladimir Khlystov and his explanation about them:


1.The EA tracks open positions for all or a given instrument.

2 When the specified profit is reached, closes part of the position. You can specify 4 levels of closing positions. For example, after 50 points close 50% After 100 points close another 30? After 150 points close 1% and after 250 points close the remaining 10%

3 At the first partial closure, the EA transfers the position to breakeven + NoLoss profit points. For example, NoLoss=10 g then, when reaching 100 p profit, the EA will close 50% of the position and put SL above (for buy) the opening price by 10 points
Hi Great coders,

could anyone help by simply adding stop loss feature to this EA ? both mt4 and mt5 version.
many thanks.

Re: EAs or indicators from the Russian Forex community are posted here

24
moey_dw wrote: Sun Jun 23, 2024 5:12 pmWhy?
Because market direction are not always in our favor.
And beside of initial stop loss added, another feature to be added is another Breakeven level.
As current ea only put BE based on input noloss=0, if we put value 10 it put the level BE+10 points. And this feature active when percent 1 executed.
Can we added another BE level activated upon percent 2 exceuted, and last BE level upon percent 3.

In short we could have 3 level of partial close, but also have 3 stop loss moving along with percent level activated.

I dont know if anyone would accomodate my selfish idea, but I have zero experience with coding, try my luck with chatgpt and gemini by paste the code, well i just got another headache.

Regards