I have created a simple script that writes indicator values to a text file. I want to set that up to run on a one minute frequency. Any suggestions on the best way to handle that?
- write to file
- any way to run a script on all charts?
- historical data
jshumaker35:
I have created a simple script that writes indicator values to a text file. I want to set that up to run on a one minute frequency. Any suggestions on the best way to handle that?
I have created a simple script that writes indicator values to a text file. I want to set that up to run on a one minute frequency. Any suggestions on the best way to handle that?
Option 1: Set up a timer and write to the file during OnTimer().
Option 2: Remember TimeCurrent() and write to the file whenever a minute elapsed during OnTick().
lippmaje:
thank you
Option 1: Set up a timer and write to the file during OnTimer().
Option 2: Remember TimeCurrent() and write to the file whenever a minute elapsed during OnTick().
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