ADX crossing lines EA

Custom MT4 expert advisors published here.

Moderator: admin

Re: ADX crossing lines EA

Postby tannos » Wed Feb 03, 2021 3:18 am

Hi Apprentice,

I disabled trailing and martingale and I tested each feature one by one.

Trailing is not working
2021.02.03 09:04:09.270 2020.04.09 10:26:10 ADX crossing lines EURUSD,H1: invalid stoploss for OrderModify function
2021.02.03 09:04:09.267 2020.04.09 10:26:10 ADX crossing lines EURUSD,H1: OrderModify error 4051

There is a bug in Martingaile. Look by your self
adx_martin.JPG

2021.02.03 09:09:04.953 2020.04.10 12:39:15 ADX crossing lines EURUSD,H1: open #6 buy 0.20 EURUSD at 1.09478 sl: 1.08478 tp: 1.10478 ok
2021.02.03 09:09:04.949 2020.04.10 12:39:15 ADX crossing lines EURUSD,H1: open #5 buy 0.20 EURUSD at 1.09478 sl: 1.08478 tp: 1.10478 ok
2021.02.03 09:09:04.949 2020.04.10 12:39:13 ADX crossing lines EURUSD,H1: open #4 buy 0.20 EURUSD at 1.09479 sl: 1.08479 tp: 1.10479 ok
2021.02.03 09:09:04.949 2020.04.10 12:39:11 ADX crossing lines EURUSD,H1: open #3 buy 0.20 EURUSD at 1.09478 sl: 1.08478 tp: 1.10478 ok2021.02.03 09:09:04.751 2020.04.10 10:14:54
2021.02.03 09:09:04.949 2020.04.10 12:39:09 ADX crossing lines EURUSD,H1: open #2 buy 0.10 EURUSD at 1.09479 sl: 1.08479 tp: 1.10479 ok Tester: stop loss #1 at 1.09520 (1.09518 / 1.09520)
2021.02.03 09:09:00.508 2020.04.09 09:01:16 ADX crossing lines EURUSD,H1: open #1 sell 0.10 EURUSD at 1.08520 sl: 1.09520 tp: 1.07520 ok


Can you fix these bugs please and make the martingale work the way I requested please
tannos
 
Posts: 21
Joined: Sat Nov 21, 2020 4:27 pm

Re: ADX crossing lines EA

Postby Apprentice » Thu Feb 04, 2021 7:39 am

Your request is added to the development list.
Development reference 144.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ADX crossing lines EA

Postby Apprentice » Sat Feb 06, 2021 10:57 am

invalid stoploss for OrderModify function


It's not a bug. Your broker refuses to move the stop loss as requested by trailing code. There is nothing we can do with that. Try to keep larger distance. Or your broker doesn't support some of the operations. Do you have an EA with trailing working on your account? Added logs
Found and fixed issue with martingale
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ADX crossing lines EA

Postby tannos » Tue Feb 09, 2021 6:15 am

Apprentice wrote:
invalid stoploss for OrderModify function


It's not a bug. Your broker refuses to move the stop loss as requested by trailing code. There is nothing we can do with that. Try to keep larger distance. Or your broker doesn't support some of the operations. Do you have an EA with trailing working on your account? Added logs
Found and fixed issue with martingale


Hi Apprentice
I am not sure the problem is about my broker. I'm on FBS and to answer to your question, yes I have other EA that works fine (trailing stop, breakeven and martingale)

My settings
adx_settings.JPG


The errors logs
adx_trailing.JPG


I did it like you requested: use a larger distance and the result is the same.
Can you fix it please

Apprentice wrote:Found and fixed issue with martingale

Where can I find the new version please
tannos
 
Posts: 21
Joined: Sat Nov 21, 2020 4:27 pm

Re: ADX crossing lines EA

Postby Apprentice » Sun Feb 14, 2021 3:05 am

I need the code of your EA then
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ADX crossing lines EA

Postby tannos » Mon Feb 15, 2021 10:54 am

Apprentice wrote:I need the code of your EA then


I am using your code sir. It's the first link on this post http://fxcodebase.com/code/download/file.php?id=31739
tannos
 
Posts: 21
Joined: Sat Nov 21, 2020 4:27 pm

Re: ADX crossing lines EA

Postby Apprentice » Tue Feb 16, 2021 2:41 pm

Your request is added to the development list.
Development reference 199.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ADX crossing lines EA

Postby tannos » Sun Mar 07, 2021 3:54 pm

Hi Apprentice
Any news of my request ?
tannos
 
Posts: 21
Joined: Sat Nov 21, 2020 4:27 pm

Re: ADX crossing lines EA

Postby tannos » Mon Mar 29, 2021 4:17 pm

Hi apprentice
3weeks ago I sent to you a request and I'm still waiting
tannos
 
Posts: 21
Joined: Sat Nov 21, 2020 4:27 pm

Re: ADX crossing lines EA

Postby Apprentice » Fri May 14, 2021 4:56 am

ADX_crossing_lines.mq4
(183.44 KiB) Downloaded 253 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Previous

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: Bing [Bot] and 21 guests