Page 19 of 19

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

Posted: Fri Feb 21, 2025 7:54 pm
by ionone
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 ?

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

Posted: Fri Feb 21, 2025 8:34 pm
by CrystalG
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

Posted: Fri Feb 21, 2025 8:42 pm
by ionone
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

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

Posted: Fri Feb 21, 2025 9:06 pm
by CrystalG
ionone wrote: Fri Feb 21, 2025 8:42 pm from what I've found in the code, TakeProfit is only taken into account if "UseATR" is set to False
I set it to false along with recovery tp. the settings I use is exactly like in screenshot

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

Posted: Fri Feb 21, 2025 9:29 pm
by ionone
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

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

Posted: Fri Feb 21, 2025 9:39 pm
by CrystalG
ionone wrote: Fri Feb 21, 2025 9:29 pm 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
appreciate it much brother
will test it...

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

Posted: Sat Feb 22, 2025 12:34 am
by CrystalG
ionone wrote: Fri Feb 21, 2025 9:29 pm 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
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!

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

Posted: Sat Feb 22, 2025 4:14 am
by ionone
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

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

Posted: Sat Feb 22, 2025 5:29 am
by CrystalG
ionone wrote: Sat Feb 22, 2025 4:14 am ok so I changed the code, the TP is not hardcoded anymore but everything is closed at TP
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.

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

Posted: Sat Feb 22, 2025 6:58 pm
by ionone
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