Experts: EA based on indicator SAR, ADX and SMA 100

 

EA based on indicator SAR, ADX and SMA 100:

This Expert Advisor is based on SMA, ADX and SAR indicators.

This EA is in MQL4 language and is based on:

I'm testing it now on period over 15 min in various crosses.

Author: Mauro Bracuti

 
can you share the test results ? I always prefer 15 mins time frames for Auto-Trading.
 

Your EA-idea GOOD!!! 

open BUY ok!

open SELL no work!? 

MoneyManagement function not for real trade :-( and corrupted. 

order close function (???) no working!

!!! "warnings"

 'masaradx.mq4' masaradx.mq4 
return value of 'OrderClose' should be checked masaradx.mq4 
return value of 'OrderClose' should be checked masaradx.mq4 
0 error(s), 2 warning(s) 

by  #property strict

 implicit conversion from 'number' to 'string' masaradx.mq4
implicit conversion from 'number' to 'string' masaradx.mq4 
possible loss of data due to type conversion masaradx.mq4
implicit conversion from 'number' to 'string' masaradx.mq4 
implicit conversion from 'number' to 'string' masaradx.mq4 
implicit conversion from 'number' to 'string' masaradx.mq4 
implicit conversion from 'number' to 'string' masaradx.mq4 
possible use of uninitialized variable 'orders' masaradx.mq4 
possible loss of data due to type conversion masaradx.mq4 
possible use of uninitialized variable 'losses' masaradx.mq4 
possible loss of data due to type conversion masaradx.mq4
possible loss of data due to type conversion masaradx.mq4
implicit conversion from 'number' to 'string' masaradx.mq4 
implicit conversion from 'number' to 'string' masaradx.mq4 
implicit conversion from 'number' to 'string' masaradx.mq4 
implicit conversion from 'number' to 'string' masaradx.mq4 
implicit conversion from 'number' to 'string' masaradx.mq4 
return value of 'OrderClose' should be checked masaradx.mq4 
return value of 'OrderClose' should be checked masaradx.mq4 

 
I tested on period 1H, quite good, but I dont know in the very volatile markets
 

Grazie :-). 

 
i tested with 1 hour its good but at fluctuated market need more focus 
 

Hi


I am testing this EA now


For me it seems to open a new trade everytime the conditions are on the edge, (if price moves above/below the MA) becomes a lot of small losses there


What can I do to avoid that?


Regards


Gabriel

 
22859:

Hi

I 'm testing this EA now

For me it seems to open a new trade everytime the conditions are on the edge, (if price moves above/below the MA) becomes a lot of small losses there

What can I do to avoid that?

Regards

Gabriel


I see the Prevent open new trade if the Same conditions is verifed by checking the last order Closed , We Just Published a code Base .

https://www.mql5.com/en/forum/62876

MQL4: Last Closed Order Checking condition
MQL4: Last Closed Order Checking condition
  • www.mql5.com
MQL4: Last Closed Order Checking condition. - - Category: expert advisors and automated trading
 
Thanks, I will try in Demo .... 
1.500 - XM,com . 
Reason: