sinput ENUM_TIMEFRAMES timeframe=PERIOD_CURRENT;// Timeframe
Marco vd Heijden:
Your solution works. Thank you.
MThomp:
Your solution works. Thank you.
For future reference you can do this with your own custom enums by adding a line comment after the option and it will show up in the drop-down with the comment instead of the literal enum name.
enum MyTimeFrames { TF_M1, //1 minute TF_M5 //5 minute }; input MyTimeFrames tf = TF_M1 //Working time-frame
Problem obtaining MT5 editor for Windows 8/10. Thank you

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