MQL4 - need help

 

Hello everyone,

I am new in this forum. For some time now I have been trying to learn how to trade Forex in MQL4 platform. I have some background in computers languages. I did read the manual of the MQL4 Language, but I have to admit I am struggling with MQL4 code so I need your help to write an EA (or scrip) to do the following:

I created two stochastic:

  1. 120,3,3
  2. 15,3,3

The program should search for the following condition:

1. If Stochastic 1 is equal or greater than 85 and stochastic 2 equal 40 or lower(crosses 40 from above) buy Long

2. If Stochastic 1 is less than 10 and Stochastic 2 equal 70 or higher(crosses 70 from below) buy short

Thanks,

 

Creating such an EA would be effortless. Just open up the documentation and start fiddling around. You'll find yourself with an EA before you know it. Not many people here will do the whole work for you I think. In my case, I'd rather help people who help themselves. Post your efforts and we'll be here if you need help.

.

Jon

 
Reason: