Please help me with my new EA

 

Hello Everyone,

Please help me with the code for this new EA called Sputnik

I'm very bad with programming so what I'm really looking for is for someone to write the whole thing hopefully:)

I tested it extensively manually with very good results.

2 indicators are used:

ADXcrosses

https://www.mql5.com/en/code/9276

3 MA Cross w_Alert v2

https://www.mql5.com/en/code/7438

I use 2 instances of ADXcrosses with periods 13 & 3

Default settings for 3 MA Cross w_Alert v2 except for colors

Colors settings:

ADXcrosses (13)

0 Blue

1 Red

ADXcrosses (3)

0 Dark Turquoise

1 Magenta

3 MA Cross w_Alert v2

0 Blue

1 Red

Strategy:

2 successive blue/turquoise arrows => buy

1 red arrow => close buy

2 successive red/magenta arrows => sell

1 blue arrow => close sell

That's it! And it works like a charm :)

Very important notes:

1- I only tested this strategy successfully on Oil CL0N M15

2- I know it's weird, but I came up with this stragegy and first tested it on a demo account from prime4x, now whenever I try to put the indicators on live accounts from any dealer including prime4x there are crucial arrows that go missing so now I just watch the indicators on the demo and trade on the live

Cheers!

 

With all respect but I don't think this forum is meant for questions like "would you completely code this or that?"
Just learn the language from examples if you're really interested in using MT

- Jim
 

This forum is for helping with MT4/MQL4 problems. No slaves here. Either learn MQL4 or pay someone.

 
No harm in asking, someone may find this strategy a benefit.
 

I'll be watching this one, looks pretty easy to program if it works.

 

On question though your "2 successive blue/turquoise arrows => buy" is that on the same candle or sucessive candles, and does the order matter ie: blue/turquoise or turquoise/blue

Reason: