Updated Unix code below. This one outputs all the desired data from each iteration of the random strategy to one text file. The idea is to use Exel's text import and data sort functions rather than outputting each asset/algo combination to a separate file.

Code:
#!/bin/bash
i=0
while [ $i -lt 3 ]
do
	cd "C:/Path/Zorro"
		./Zorro -run RandomTrades 
	cd "C:/Path/Zorro/Log"
		sed -n 71,115p RandomTrades.txt >> RandomTrades_AllCombos.txt
		i=`expr $i + 1`
done


Last edited by boatman; 03/25/15 04:00.