Printing multiple lines in an output file; Can it be done?
Example: BITI.SCN // Start Scan // Input = "BITI.LST" // Pre-Selected Stock 'BITI' AllGroup // All Conditions Must Be Met Println Date(0):10, ",", Open(0):9:5, ",", High(0):9:5, ",", Low(0):9:5, ",", Close(0):9:5, ",", Vol(0):6, "00,", Qrs(0):3 Output = "c:\wow\datanew\BITI.CSV" // // End Scan
This will print out one line with the pricing information; and a QRS rating for the day. Note the QRS.
There are some utilities with Q+ v 1.1 to output an ascii listing, but it only does the normal pricing files structure. I would like to get a QRS rating for days gone by and transfer them into WOW.
The idea, if I could print out a listing showing the QRS value for the history, I could use the Open Interest column in WOW to put this value there. I only want to do this for about 32 stocks. The others I will leave alone. I am trying to do some testing on these 32 stocks and I want to investigate the QRS ranking of these at certain times in history.
So while I don't mind entering the data, I need a way to extract it. The only guess I have right now is to add multiple lines in the scan to print out Day(0), Day(-1), Day(-2) etc... going back 540 days for 2 years that are on the hard drive? But I would prefer someway of looping the PRINTLN line such as For I=1-540, PRINT, NEXT I or something like that. This would loop and print out each day.
Anyone have suggestions? Anyone know if version 2 of Q+ will have something like this in the final release? I have read here that version 2 will have some help file or suggestions on how to import the Market Guide data can be imported into WOW, but until then, I just want to play with the QRS values of these 32 stocks I have in a group.
Tim |