import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.nio.file.Files;
import java.util.*;
import machine.learning.ARL;

public class Programme {

    public static void main(String[] args) throws FileNotFoundException {

        ArrayList array = new ArrayList<Double>();
        Scanner lineReader = new Scanner(new File("data/EURUSD.dat"));

        while(lineReader.hasNext()){
            String line = lineReader.nextLine();
            String[] tmp = line.split("/")[0].split(" ");
            array.add(Double.parseDouble(tmp[tmp.length - 1]));
        }

        ARL arl = new ARL(13);
        arl.loop(array.subList(200000,260000), false, 1000);
        arl.loop(array.subList(260000,270000), true, 1000);

        System.out.println(arl.toString());
    }
}

@@ -635,32 +635,35 @@
 ARL(13);%0A       
+ //
  arl.loop(array.
@@ -689,15 +689,8 @@
 00),
- false,
  100
@@ -700,16 +700,19 @@
 %0A       
+ //
  arl.loo
@@ -746,14 +746,8 @@
 00),
- true,
  100

Change the programme to avoid error, NEED TO BE FIXED