Page 21 of 44

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

Posted: Wed Feb 14, 2018 8:29 pm
by ptlindia
Hi Coders.
I have been manually trading a strategy since 2 years with great success.
I'm wondering if anyone will be interested to convert the strategy into an EA ...
It will benefit all of us ...

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

Posted: Fri Feb 16, 2018 3:36 am
by Desatar
ptlindia wrote: Wed Feb 14, 2018 8:29 pm Hi Coders.
I have been manually trading a strategy since 2 years with great success.
I'm wondering if anyone will be interested to convert the strategy into an EA ...
It will benefit all of us ...
Hey,

I checked out this strategy and it is really good.
Just a question to all coders, is there a chance to code this strategy into an EA.
Would be really great if that would work.

Thankx.
D

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

Posted: Fri Feb 16, 2018 10:10 am
by Julio
Julio wrote: Sun Feb 11, 2018 9:18 am

Hi Mladen and MrTools

I have found this EA that can serve my need. I would need some modifications from an expert codifier:

If Tipe order is equal to SELL, you must not open a new SELL order if the price goes against, you only have to open a new SELL order when you reach the profit with the possibility of selecting the Tipe Lot and so on.

In the same way for the rest of the type of orders.

It would be great to also add the Max Spread Pips function

Thanks for your help.
Hi Mladen and MrTools

Modification and I do not need, just need to add the Max Spread Pips EA function.

Thanks.

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

Posted: Thu May 24, 2018 9:13 pm
by mitzescu
MrPip wrote: Tue Aug 22, 2017 4:42 am Had some free time so...
Cleaned up the entry and exit logic, removed code for extra indicators, fixed _Point problem, fixed MagicNumber code to use StringFind instead of == to match symbols. Tested and appears to work by opening a trade on cross of main and signal at overbought or oversold areas with exit at opposite cross or reaching overbought or oversold or the usual SL TP exit.

Hello MrPip,

Thank you so much for this EA! Can you changed it to ignore OB and OS and just enter trade when crossover just happens and close the trade at the next crossover and open a new trade?

Thank you!!

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

Posted: Fri May 25, 2018 1:19 am
by mrtools
mitzescu wrote: Thu May 24, 2018 9:13 pm


Hello MrPip,

Thank you so much for this EA! Can you changed it to ignore OB and OS and just enter trade when crossover just happens and close the trade at the next crossover and open a new trade?

Not sure if MrPip is still visits here so removed the OB and OS.

Thank you!!

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

Posted: Fri May 25, 2018 7:34 am
by mitzescu
Thank you so much. The EA works great and the results of my parameters are average.
I will try to make find better values for stochastic.
Now i'm trying a dual stochastic with manual trade. Entering at 2nd signal if 1st was the same and exit at 1st signal reverse.

I attach a clean and a messed screenshot.

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

Posted: Tue Jun 26, 2018 3:12 am
by Klesenza
Hello Coder
To "universalMA Averages 8.81 Cross (sessions) _Ea"
Can the EA be changed? So that he is only placed in a chart window. Like a dashboard. But the selection of currency pairs should be possible.

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

Posted: Wed Jun 27, 2018 4:52 am
by simon_n3z
Hi traders

To keep all previous simple EAs at single one place here.

---------------------------------------------------------------------------------

Hello prof.MntiWana

this EA runs on 1D chart...use real spreads.
No TP...let it trail.

2010-2017 is a charm

I am stuck on the if operator (from line 119) initiating the ordersend,.... i cant get the next ordersend to send.

Please can you see if you can make a fix

-simon

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

Posted: Wed Jun 27, 2018 6:00 am
by mntiwana
simon_n3z wrote: Wed Jun 27, 2018 4:52 am Hi traders

To keep all previous simple EAs at single one place here.

---------------------------------------------------------------------------------

Hello prof.MntiWana

this EA runs on 1D chart...use real spreads.
No TP...let it trail.

2010-2017 is a charm

I am stuck on the if operator (from line 119) initiating the ordersend,.... i cant get the next ordersend to send.

Please can you see if you can make a fix

-simon
Unfortunately i am zero in coding matters

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

Posted: Wed Jun 27, 2018 7:02 am
by appsoluxions
mntiwana wrote: Wed Jun 27, 2018 6:00 am
Unfortunately i am zero in coding matters
Hi Simon,

Try this as per on the pic...
Note that on the pic I formatted your code so that I can read it. You can simply remove OrdersTotal() < 1, or increase the number to any number of trades you want to allow open concurrently.