41007:
I have this EA that automatically changes the timeframe.
The problem is that it shows all timeframes (M1 to the higher timeframe defined by me: M1→M5→M15→M30→H1→H4→D1→M1...).
See Freelance section.
I have this EA that automatically changes the timeframe.
The problem is that it shows all timeframes (M1 to the higher timeframe defined by me: M1→M5→M15→M30→H1→H4→D1→M1...).
I want it to show only three timeframes: M30; H4 and D1.
Or, if possible, modify to display the wanted timeframes.
I tried to modify it but I could not.
Someone could make this modification for me please?
Try something like:
int OnInit() { if (MaxTF!=PERIOD_M30 && MaxTF!=PERIOD_H4 && MaxTF!=PERIOD_D1) { Alert("Not supported Timeframe"); return(INIT_FAILED); }

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
The problem is that it shows all timeframes (M1 to the higher timeframe defined by me: M1→M5→M15→M30→H1→H4→D1→M1...).
I want it to show only three timeframes: M30; H4 and D1.
Or, if possible, modify to display the wanted timeframes.
I tried to modify it but I could not.
Someone could make this modification for me please?