working with data in TXT file
<p>I have a text file that contain data like this (EURUSD quotes)</p>

<pre><code>19710104,000000,0.53690,0.53690,0.53690,0.53690,1
19710105,000000,0.53660,0.53660,0.53660,0.53660,1
19710106,000000,0.53650,0.53650,0.53650,0.53650,1
19710107,000000,0.53680,0.53680,0.53680,0.53680,1
19710108,000000,0.53710,0.53710,0.53710,0.53710,1
19710111,000000,0.53710,0.53710,0.53710,0.53710,1
19710112,000000,0.53710,0.53710,0.53710,0.53710,1
</code></pre>

<p>I want to move some data to another file like </p>

<pre><code>0.53690,0.53690,0.53690,0.53690
</code></pre>

<p>and add some difrent calculated number to each line like (Moving average and RSI, Stoch ...) so the file can be trained by Neural Network, final file must be like this </p>

<pre><code>OPEN, HIGH, LOW, CLOSE, VOL, MA50, MA20, RSI14, StochMain, StochSignal,
</code></pre>

<p>so I need some hints</p>