Post the entire code.
Fabio Cavalloni #:
Post the entire code.
Post the entire code.
#property copyright "" #property link "" #property version "1.00" #property strict //+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ void OnStart() { ChartSetSymbolPeriod(0, Symbol(), PERIOD_M5); }

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,
Here is a script:
It suppose to set TF on current chart to M5. When I try to run a script it shows a pop-up "Do you really want to stop script...?"
If I click No, script does not work, if I click Yes, script works and sets the needed timeframe.
I need it to run seamlessly, is it possible?
I have a dozen of other scripts, all work fine.
Thank you.
Edit: it is MT4