Searching simple EA

 

Hello everybody,

i search an simple ea for open buy and sell order on a signal. I want use it for i-custom function for my indicator.

On first buy-signal open buyorder, on next sell-signal close buyorder and open sellorder. Next buy-signal close sellorder and open buyorder and so on. It's simple i think but i can not code this!

Does anybody have an ea that looks like that?

Thanks for your help!

mondalsys

Files:
ts1.png  20 kb
 
mondalsys:
Hello everybody,

i search an simple ea for open buy and sell order on a signal. I want use it for i-custom function for my indicator.

On first buy-signal open buyorder, on next sell-signal close buyorder and open sellorder. Next buy-signal close sellorder and open buyorder and so on. It's simple i think but i can not code this!

Does anybody have an ea that looks like that?

Thanks for your help!

mondalsys

Check out this post : https://www.mql5.com/en/forum/172969/page2

You can find some good examples for what you need there

 

Ok, i tried something.

Would you please look at my ea.

It opens sometimes orders but too many and at false signals.

What's wrong?

Thank you for your help!

mondalsys

simpleea.mq4 - Expert Adviser

buysellarrow.ex4 - Indicator

Files:
 
mondalsys:
Ok, i tried something.

Would you please look at my ea.

It opens sometimes orders but too many and at false signals.

What's wrong?

Thank you for your help!

mondalsys

simpleea.mq4 - Expert Adviser

buysellarrow.ex4 - Indicator

mondalsys

False signals are not a problem if the EA

They are the problem of that indicator - the Ea can not correct that (unless you use some other indicator to filter out false signals)

Reason: