
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi all,
Can any one help me in making an EA like this.
I want to create a EA based on this following conditions.
For this i want 3 EA to run like EA1,EA2 and EA3 on any pair.
Time frame 1 min and 30 min charts
I want to use CCI indi
so now the requirement is like this
1. EA1 set values when ever it crosses CCI value 80 and 20 on 1 Min time frame chart.
say CCI > 80 set value to EA1_val = 1
and CCI < 20 set value to EA1_val = 2
2. EA2 set values when ever it crosses CCI value 80 and 20 on 30 Min time frame chart.
say CCI > 80 set value to EA2_val = 1
and CCI < 20 set value to EA2_val = 2
3.EA3 is the actual EA that places orders like buy or sell when ever the following conditions met
if (EA1_val = 1 and EA2_val =1) then
Buy order ...
else if (EA1_val = 2 and EA2_val =2) then
Sell order ...
So looking forword for the help in how to write mql4 and how to talk values between different time frames.
Thanking you in Advance
-Regards
idplcar