To: All (Sorry Brook pick on you)
Long time lurker here, seeking help. Thanks for all the help so far.
I would like to generate scan reports similar to what QP2 gives from its reports section. As I can not find access to or how to define a NEW and different report, I have been trying with the scan report. A sample of a simple result I would like to see is below.
Symb ,Close ,YClose ,Change ,Vol TELS ,0.375 ,0.469 ,-0.094 ,47100 MFCO ,1.062 ,1.062 ,0.000 ,0 FTEC ,0.812 ,0.750 ,0.062 ,10600 ARMF ,0.812 ,0.812 ,0.000 ,0 ACES ,1.344 ,1.438 ,-0.094 ,23800 ASNT ,2.250 ,2.125 ,0.125 ,6500 ASYS ,1.250 ,1.250 ,0.000 ,16200 SEEQ ,1.438 ,1.344 ,0.094 ,121900 BIPL ,1.250 ,1.250 ,0.000 ,62000 HMGN ,1.188 ,1.250 ,-0.062 ,7200 ALDV ,2.812 ,2.375 ,0.438 ,74400 TVLI ,1.250 ,1.188 ,0.062 ,3800
The code that almost generated this is as follows.
//Simple Day report with Headers output="headscan.lst"; input="test.lst"; integer header, i;
header:=1; // Header on=1 off=0 i:=1;
for i = 1 to 0 step -1 do
if header = 1 and i=1 then println "Symb ,Close ,YClose ,Change ,Vol"; header :=0; else Println symbol:-8,",", close(0):-8:3,",", close(-1):-8:3,",", close(0)-close(-1):-8:3,",",vol(0):-10;
endif; next i;
The above code gives a header line for every security selected. (I have edited the results to show what I am looking for.)
Question 2:
Sometime ago there was a short discussion about creating your own index, by placing a list of symbols into the MEMBERS sub- directory for QP2data. You had to put a "!" in from of the list name and the combined results were supposed to be shown on a chart as the SP indexes are. I believe the example was for the !OEX.lst. I have tried and tried to duplicate this task but todate have been unsuccessful. Is this a doable thing? I would love to have a custom index from Quotes Plus 2.
Thanks for any help Rory |