RSI data to CSV

 

hey all

i need historical DATa +RSI value ,,,

is it possible ?

becuz, i tryed export from meta ,

but it dosnt export indicator DATA

thankx

arjang

 

It is possible via MT4 script. Of course someone will need to write it

 

Exporting Indicator Data?

Does anyone here know if it's possible to export indicator data from MT4 to a text or CSV file that I can import into Excel? For example, lets say I have a simple moving average plotted on my charts. Can I export the value of that MA for each bar to a text or CSV file?

Any help would be appreciated.

 
aegis:
Does anyone here know if it's possible to export indicator data from MT4 to a text or CSV file that I can import into Excel? For example, lets say I have a simple moving average plotted on my charts. Can I export the value of that MA for each bar to a text or CSV file? Any help would be appreciated.

I moved your post to this old thread.

You always have the option to export the OHLC data and calculate the indicator in excel. It's almost the same thing.

 

Problem and one idea for my trading strategie

Hello.

I have one question. How to get data from indicator iEXposure (Metatrader 4) to excel....How can it I transfer direct to the excel tabele...

I now to used the current data in excel (like: =MT4|BID!EURUSDm....)

I need, that i can transfer data from deals, buy, sell and so one....

Please, could me someone help by this problem?

Thanks

 

Hi forexsvoboda.

I moved your post to this thread.

 
arjang:
hey all

i need historical DATa +RSI value ,,,

is it possible ?

becuz, i tryed export from meta ,

but it dosnt export indicator DATA

thankx

arjang

Could you pm me?

nchosen

"aegis has exceeded their stored private messages quota and cannot accept further messages until they clear some space."

 

Moving Average - CSV File

#property copyright "Teste"

#property link ""

//+------------------------------------------------------------------+

//| script program start function |

//+------------------------------------------------------------------+

int start()

{

static int flag;

int handle;

//===========================================================

double array_price9[][6];

double array_price10[][6];

double array_price11[][6];

ArrayCopyRates(array_price9,"USDJPY", PERIOD_M1);

ArrayCopyRates(array_price10,"USDJPY", PERIOD_M1);

ArrayCopyRates(array_price11,"USDJPY", PERIOD_M1);

double USDJPY_LOW, USDJPY_HIGH,USDJPY_CLOSE,Jma200;

USDJPY_LOW = array_price9[1][2];

USDJPY_HIGH = array_price10[1][3];

USDJPY_CLOSE = array_price11[1][4];

Jma200 = iMA("USDJPY",PERIOD_M1,2,0,MODE_EMA,PRICE_CLOSE,1);

//===========================================================

handle=FileOpen("DAILY_DATA.csv", FILE_CSV|FILE_WRITE, ',');

if(handle>0)

{

FileWrite(handle,

DoubleToStr(Jma200,4)

);

Comment(" Arquivo de Minuto Enviado ");

}

return(start());

}

//+------------------------------------------------------------------+

//+------------------------------------------------------------------+

SAVE AS SCRIP on Metatrader.

Edit the code to adjust to your Moving Average.

The file will be in Metatrader\Experts\Files

 

What is code for macd and rsi and alert when cross zer

thx


fixblast #:

Moving Average - CSV File

#property copyright "Teste"

#property link ""

//+------------------------------------------------------------------+

//| script program start function |

//+------------------------------------------------------------------+

int start()

{

static int flag;

int handle;

//===========================================================

double array_price9[][6];

double array_price10[][6];

double array_price11[][6];

ArrayCopyRates(array_price9,"USDJPY", PERIOD_M1);

ArrayCopyRates(array_price10,"USDJPY", PERIOD_M1);

ArrayCopyRates(array_price11,"USDJPY", PERIOD_M1);

double USDJPY_LOW, USDJPY_HIGH,USDJPY_CLOSE,Jma200;

USDJPY_LOW = array_price9[1][2];

USDJPY_HIGH = array_price10[1][3];

USDJPY_CLOSE = array_price11[1][4];

Jma200 = iMA("USDJPY",PERIOD_M1,2,0,MODE_EMA,PRICE_CLOSE,1);

//===========================================================

handle=FileOpen("DAILY_DATA.csv", FILE_CSV|FILE_WRITE, ',');

if(handle>0)

{

FileWrite(handle,

DoubleToStr(Jma200,4)

);

Comment(" Arquivo de Minuto Enviado ");

}

return(start());

}

//+------------------------------------------------------------------+

//+------------------------------------------------------------------+

SAVE AS SCRIP on Metatrader.

Edit the code to adjust to your Moving Average.

The file will be in Metatrader\Experts\Files

 
There are so many examples for writing to csv files! Search in Articles and Code Base!
Reason: