I just use google to search mql4.com. Under the google search bar you can click "Advanced Search" and enter your search terms at the top, and put mql4.com in the "Search within a site or domain" field at the bottom.
Here are the timeframe constants.
The function, Period() is probably what you're looking for.
if( Period() == PERIOD_M5 ) { Print( "This is a 5 minute chart!" ); }
Chad Howarth:
I just use google to search mql4.com. Under the google search bar you can click "Advanced Search" and enter your search terms at the top, and put mql4.com in the "Search within a site or domain" field at the bottom.
Here are the timeframe constants.
The function, Period() is probably what you're looking for.
Thanks
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
Such as If (Timeframe==Period_H1) then....
For some reason I can't search the documentation for MT4 anymore. Wish they would fix it.