How to save the historical indicator datas?

 

Hi all,

I wrote an own very simple mtf rsi indicator what is works just in realtime.

dBuf1[0]=iRSI(NULL, tf1, 14, PRICE_CLOSE, 0);

I use it in my VPS treminal well, but if I restart the Metatrader the datas will lost.

How can i save the datas from it.

The iCustom in an script doesn't work of course.

I can find the indicator window with the WindowFind but i can't figure out the next step.

 
humor:

Hi all,

I wrote an own very simple mtf rsi indicator what is works just in realtime.

dBuf1[0]=iRSI(NULL, tf1, 14, PRICE_CLOSE, 0);

I use it in my VPS treminal well, but if I restart the Metatrader the datas will lost.

How can i save the datas from it.

The iCustom in an script doesn't work of course.

I can find the indicator window with the WindowFind but i can't figure out the next step.

Read in the editor's reference or in the Docs (see above) about Fiiles: FileOpen(), FileWrite(), ...

There you find even examples!

Remark it takes only a couple of minutes instead of hours waiting for s.o. to answer - if any!

Reason: