Hello.
I want to save current value of RSI and STOCHASTIC indicator into external file every 5 minutes. It is possible ?
I know that this should be easy for computer wizards.
I wish to have output like this:
2006-02-05 16:25 RSI: 50 Stochastic: 45, 32
etc..
Thank you for helping.HI !
One super easy solution for this is to write a script that will be using Print function and will be throwing those messages once per bar, and attach it to m5 chart. Then just take Log file and you have your answer
Of course the best way to get that kind of file is to use file functions implemented in metatrader.
HI !
One super easy solution for this is to write a script that will be using Print function and will be throwing those messages once per bar, and attach it to m5 chart. Then just take Log file and you have your answer
I wish to have this in "script file". I only know how to make this 5 minute loop... But i dont know how to read value of Indicator and write it to the file... Im not a programmer
Can someone write that script for me?
Thank you for all help.
I wish to have this in "script file". I only know how to make this 5 minute loop... But i dont know how to read value of Indicator and write it to the file... Im not a programmer
![](https://c.mql5.com/forextsd/smiles/frown.png)
Can someone write that script for me?
Thank you for all help.How do you make the 5 minutes loop??
How do you make the 5 minutes loop??
while(timerr == 1)
{
Sleep(3500000);// Is that 5 minutes ? i dont know in 100%.
//script here
//...
//...
}Lame but afik it works...
So, can anyone write that script for me ? Just show me how to write current value of RSI into external file.
Thank you.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello.
I want to save current value of RSI and STOCHASTIC indicator into external file every 5 minutes. It is possible ?
I know that this should be easy for computer wizards.
I wish to have output like this:
2006-02-05 16:25 RSI: 50 Stochastic: 45, 32
etc..
Thank you for helping.