Page 1 of 38

Simple Expert Advisors (EA's) for MT4

Posted: Wed Feb 15, 2017 7:18 pm
by mladen
Simple Expert Advisors (EA's) for MT4

This thread will be used to post simple expert advisors

To repeat the already known
____________________________

The experts that are going to be posted here are not going to be complete trading systems - after all, building a trading system is much, much harder than the majority of traders want to admit it - but to post code for simply and reliable EA code that will help traders to do quick tests of single indicator performances with different parameter settings, that will help to see the usage of some indicators that are posted as ex4 files, and that will, possible help to be used as a basic frame that traders can use to develop their own systems and expert advisors.

Tests conducted will not be aimed to make the EA profitable, but to make sure that it works as intended.

Any other development (if something is proven to be interesting for further development based on a very simple set of rules), will be conducted in a separate thread.

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

Posted: Wed Feb 15, 2017 7:20 pm
by mladen
As simple as it gets simple moving averages cross expert advisor :  simple ma cross ea.mq4     __________________It opens an order on a cross of two averages. If an order of opposite direction exists, it is first closes that order. If it fails to close the opposite order it will attempt the same thing (if the signal still exists) on the next tick (new order opening is prevented if the opposite direction order close fails). Some extra built in (like current profit for opened order display - just for the sake of simpler usage and providing a bit more information - that will probably be extended in the future versions of any of the experts posted here).It is an easy to use frame that can be used for similar tasks and, as all can see, the code is as simple as it gets. There is no need for anything more complicated for this kind of tests

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

Posted: Wed Feb 15, 2017 9:07 pm
by mntiwana
mladen wrote:As simple as it gets simple moving averages cross expert advisor :  simple ma cross ea.mq4     __________________It opens an order on a cross of two averages. If an order of opposite direction exists, it is first closes that order. If it fails to close the opposite order it will attempt the same thing (if the signal still exists) on the next tick (new order opening is prevented if the opposite direction order close fails). Some extra built in (like current profit for opened order display - just for the sake of simpler usage and providing a bit more information - that will probably be extended in the future versions of any of the experts posted here).It is an easy to use frame that can be used for similar tasks and, as all can see, the code is as simple as it gets. There is no need for anything more complicated for this kind of tests
Dearest MLADEN
First,Thanks for opening this thread as many traders were requesting and requiring for it,then your kinds as always for posting your first sample EA as simple as its name
Not as for extending your job but as for possible suggestion i request you for addition of your time control snippet within from your next ea posting.
regards

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

Posted: Wed Feb 15, 2017 9:17 pm
by mntiwana
Hi traders
To keep all previous simple EAs at single one place here.
"simple (Hull variation) EA"

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

Posted: Wed Feb 15, 2017 9:20 pm
by mntiwana
An extended version using same indicator.
"simple (Hull variation) EA 1.1"

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

Posted: Wed Feb 15, 2017 9:30 pm
by mntiwana
Here is simple (stepma of rsi adaptive ema) EA
using StepMA of rsi adaptive ema 2.8 indicator,attached too.
in picture green magenta line

 

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

Posted: Wed Feb 15, 2017 9:43 pm
by mntiwana
An upgraded version of same above "simple (stepma of rsi adaptive ema 2.9) EA_1"
using extended version indicator "StepMA of rsi adaptive ema 2.9" indicator

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

Posted: Wed Feb 15, 2017 9:58 pm
by mntiwana
My favorite one an upgraded version EA on Tema "simple (stepma of rsi adaptive tema 1.1) EA"
using "StepMA of rsi adaptive tema 1.1  (indicator)"

 

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

Posted: Wed Feb 15, 2017 10:10 pm
by mladen
mntiwana wrote: Dearest MLADEN
First,Thanks for opening this thread as many traders were requesting and requiring for it,then your kinds as always for posting your first sample EA as simple as its name
Not as for extending your job but as for possible suggestion i request you for addition of your time control snippet within from your next ea posting.
regards
Here is a version with time filter added
What it does : if the time falls within the time filter it opens and closes orders as required. If the time is outside the time limits, it will not open new orders, but if there are orders that need to be closed, they will be closed (in order to prevent loses in cases of trend change)

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

Posted: Thu Feb 16, 2017 12:00 am
by mntiwana
mladen wrote:
Here is a version with time filter added
What it does : if the time falls within the time filter it opens and closes orders as required. If the time is outside the time limits, it will not open new orders, but if there are orders that need to be closed, they will be closed (in order to prevent loses in cases of trend change)

Dearest MLADENSo many thanks for your so early response then it is really fantastic function you added ... "but if there are orders that need to be closed, they will be closed (in order to prevent loses in cases of trend change)" what a art full coding
regards