Re: Various Expert Advisors (EA's) for MT4

181
CrystalG wrote: Fri Feb 21, 2025 2:47 am Thanks very much Jeff, really appreciate ur efforts. I'm testing the ea.

I have one request please to ask u. there is zone recovery ea on the net and it's free from the author but it has some issues in it. everything is managable except one thing. the ea is from OGT and it is called OGT Zone Recovery 1.5. they share mql file too. is there any possibility whenever u have a time to fix that issue please? the issue is it has dynamic/floating TP. in the settings of the ea u have an option to adjust as per ur desire but does not have any effects on TP at all. I just need it to be fixed as per the setting I set. only this please...
there are two kinds of TP settings :
UseRecoveryTakeProfit
and
ATRTPFraction and ATRRecoveryZone

which one doesn't work ?
Scalping the Century TimeFrame since 1999


Re: Various Expert Advisors (EA's) for MT4

182
ionone wrote: Fri Feb 21, 2025 7:54 pm there are two kinds of TP settings :
UseRecoveryTakeProfit
and
ATRTPFraction and ATRRecoveryZone

which one doesn't work ?
I only adjust "Take Profit (Points)" option. the rest like recovery tp and atr I keep disabled. this is how I understood from their guide video. please guide me if I'm wrong.
I just need to have fixed tp and not floating one.

Re: Various Expert Advisors (EA's) for MT4

183
CrystalG wrote: Fri Feb 21, 2025 8:34 pm I only adjust "Take Profit (Points)" option. the rest like recovery tp and atr I keep disabled. this is how I understood from their guide video. please guide me if I'm wrong.
I just need to have fixed tp and not floating one.
from what I've found in the code, TakeProfit is only taken into account if "UseATR" is set to False
Scalping the Century TimeFrame since 1999

Re: Various Expert Advisors (EA's) for MT4

185
CrystalG wrote: Fri Feb 21, 2025 9:06 pm I set it to false along with recovery tp. the settings I use is exactly like in screenshot
ok so I modified the EA
and now if you set hardcodedTP to true, the tP will always be TakeProfit
it will replace any other TP.

Jeff
These users thanked the author ionone for the post:
CrystalG
Scalping the Century TimeFrame since 1999


Re: Various Expert Advisors (EA's) for MT4

188
CrystalG wrote: Sat Feb 22, 2025 12:34 am is there any possibility please to make all orders (open and pending) to close once any TP is hit? other than this the rest works like a charm. kudos bro!
ok so I changed the code, the TP is not hardcoded anymore but everything is closed at TP
These users thanked the author ionone for the post:
CrystalG
Scalping the Century TimeFrame since 1999

Re: Various Expert Advisors (EA's) for MT4

190
CrystalG wrote: Sat Feb 22, 2025 5:29 am thanks man for ur efforts but still wont close the pending/open orders once TP is hit. please have a look once again whenever u get a time.
ok I previously removed the closing of pending my bad
These users thanked the author ionone for the post (total 2):
CrystalG, Karvamaha
Scalping the Century TimeFrame since 1999