Hi, does this export just one indicator values, or all that are applied to the chart? I am looking to export multiple indicator values at once if possible.
How can I export SMA values? How can I download the SMA values as soon as I open the chart? Every time I want to get the RSI value of a certain market, I can only open the chart and bring up the script EA, it's very troublesome and can only get the RSI value, it's a pity, I don't know which god will modify it?
When exporting ATR values with the script but since data is always delivered in 0.00 format i can't get values with more than two decimals.
E.g. 0.00045 is released as 0.00 as I see when I import the csv in Excel.
It doesn't seem to be an excel-number-display-issue but the data in the csv is already "cut" I guess...
Any idea on how to solve that?
Thank you in advance
In the script, find " outputData+=","+ DoubleToString(IndicatorBuffer[i],2);" and change that number in green to the number of decimal places in the indicator you want.
The Script writes a value every bar in the csv file, but my custom indicator have a buffer that only gives a value a couple times a day.
Any idea what can be the problem or should I change something in the code?
double IndicatorBuffer[];
SetIndexBuffer(0,IndicatorBuffer,INDICATOR_DATA);
int bars=Bars(sSymbol,PERIOD_CURRENT);
int to_copy=bars;
int CustomHandle=iCustom(sSymbol,PERIOD_CURRENT,Indicator_Directory_And_Name); // Change here.CopyBuffer(CustomHandle,0,0,to_copy,IndicatorBuffer);
ArraySetAsSeries(IndicatorBuffer,true);
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi, does this export just one indicator values, or all that are applied to the chart? I am looking to export multiple indicator values at once if possible.
Thanks! =)
Hey, good job! That's a really useful script.
I am having an small issue here...
When exporting ATR values with the script but since data is always delivered in 0.00 format i can't get values with more than two decimals.
E.g. 0.00045 is released as 0.00 as I see when I import the csv in Excel.
It doesn't seem to be an excel-number-display-issue but the data in the csv is already "cut" I guess...
Any idea on how to solve that?
Thank you in advance
Hey, good job! That's a really useful script.
I am having an small issue here...
When exporting ATR values with the script but since data is always delivered in 0.00 format i can't get values with more than two decimals.
E.g. 0.00045 is released as 0.00 as I see when I import the csv in Excel.
It doesn't seem to be an excel-number-display-issue but the data in the csv is already "cut" I guess...
Any idea on how to solve that?
Thank you in advance
In the script, find " outputData+=","+ DoubleToString(IndicatorBuffer[i],2);" and change that number in green to the number of decimal places in the indicator you want.
The Script writes a value every bar in the csv file, but my custom indicator have a buffer that only gives a value a couple times a day.
Any idea what can be the problem or should I change something in the code?
Buffers from my indicator