[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Omega data converted to asci?



PureBytes Links

Trading Reference Links

surely something below can help you,  i set up multi data charts and save
bunches at a time..





Input:a1(Open of data1),a2(High of data1),a3(Low of data1),a4(Close of
data1),a5(Volume of data1),a6(OpenInt of data1);
Input:b1(Open of data2),b2(High of data2),b3(Low of data2),b4(Close of
data2),b5(Volume of data2),b6(OpenInt of data2);
Input:c1(Open of data3),c2(High of data3),c3(Low of data3),c4(Close of
data3),c5(Volume of data3),c6(OpenInt of data3);
Input:d1(Open of data4),d2(High of data4),d3(Low of data4),d4(Close of
data4),d5(Volume of data4),d6(OpenInt of data4);
Input:e1(Open of data5),e2(High of data5),e3(Low of data5),e4(Close of
data5),e5(Volume of data5),e6(OpenInt of data5);
Input:f1(Open of data6),f2(High of data6),f3(Low of data6),f4(Close of
data6),f5(Volume of data6),f6(OpenInt of data6);
Input:g1(Open of data7),g2(High of data7),g3(Low of data7),g4(Close of
data7),g5(Volume of data7),g6(OpenInt of data7);
Input:h1(Open of data8),h2(High of data8),h3(Low of data8),h4(Close of
data8),h5(Volume of data8),h6(OpenInt of data8);
Input:i1(Open of data9),i2(High of data9),i3(Low of data9),i4(Close of
data9),i5(Volume of data9),i6(OpenInt of data9);
Input:j1(Open of data10),j2(High of data10),j3(Low of data10),j4(Close of
data10),j5(Volume of data10),j6(OpenInt of data10);



If T=CurrentTime then

Print(File("C:\intraday.txt"),"bt",",",
Date:1:0,",",Time:1:0,",",a1,",",a2,",",a3,",",a4,",",a5,",",a6);
Print(File("C:\intraday.txt"),"bmcs",",",Date:1:0,",",Time:1:0,",",b1,",",b2
,",",b3,",",b4,",",b5,",",b6);
Print(File("C:\intraday.txt"),"adbe",",",Date:1:0,",",Time:1:0,",",c1,",",c2
,",",c3,",",c4,",",c5,",",c6);
Print(File("C:\intraday.txt"),"altr",",",Date:1:0,",",Time:1:0,",",d1,",",d2
,",",d3,",",d4,",",d5,",",d6);
Print(File("C:\intraday.txt"),"amat",",",Date:1:0,",",Time:1:0,",",e1,",",e2
,",",e3,",",e4,",",e5,",",e6);
Print(File("C:\intraday.txt"),"amr",",",Date:1:0,",",Time:1:0,",",f1,",",f2,
",",f3,",",f4,",",f5,",",f6);
Print(File("C:\intraday.txt"),"aol",",",Date:1:0,",",Time:1:0,",",g1,",",g2,
",",g3,",",g4,",",g5,",",g6);
Print(File("C:\intraday.txt"),"apm",",",Date:1:0,",",Time:1:0,",",h1,",",h2,
",",h3,",",h4,",",h5,",",h6);
Print(File("C:\intraday.txt"),"arc",",",Date:1:0,",",Time:1:0,",",i1,",",i2,
",",i3,",",i4,",",i5,",",i6);
Print(File("C:\intraday.txt"),"asnd",",",Date:1:0,",",Time:1:0,",",j1,",",j2
,",",j3,",",j4,",",j5,",",j6);


Input:a1(Open of data1),a2(High of data1),a3(Low of data1),a4(Close of
data1),a5(Volume of data1),a6(OpenInt of data1);

Print(File("C:\Test.txt"),Date:6:0,",",a1,",",a2,",",a3,",",a4,",",a5,",",a6
);


input:  Save2(Open),Save3(High), Save4(Low), Save5(Close), Save6(Volume),
Save7(OpenInt);

if date =D then

Print(File("C:\daily.txt"),Date:6:0,",",Save2,",",Save3,",",Save4,",",Save5,
",",Save6,",",Save7);