pitakn:
I want to create multi-currency EA but i have some problem when I want to check last orderOpentime() for each currency order but EA will check orderOpentime() for last order in list. TimeCurrent()-OrderOpentime() >= Timediff |
|
whroeder1:
|
if(CountOrderS(OP_SELL) == 0 ||(( TimeCurrent()- OrderOpenTime() >= 500))){ OpenSell(); }
Thank sir, I'm a beginner for this website and mql4 coding.
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
Hello everyone
I want to create multi-currency EA but i have some problem when I want to check last orderOpentime() for each currency order
but EA will check orderOpentime() for last order in list.
TimeCurrent()-OrderOpentime() >= Timediff
{
OPsell(); or OPbuy();
}
I dont know how to coding for check it.
Could anybody help?
Thank you,
Takky