SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: John K who wrote (4627)6/19/1998 2:17:00 PM
From: Sean W. Smith  Read Replies (3) of 11149
 
FYI.... for those maybe just interested in browsing. Here is one of my sample Qp2 Batch Files....

@echo on
REM
REM Quotes Plus 2.0 Sample Daily Routine
REM

REM Set the Below Variables to Match our QP2 Installation

set OLD_SCANS=d:\invest\oldscans
set QUOTES_PLUS_PROG_DRIVE=d:
set QUOTES_PLUS_PROG_DIR=\invest\quotpls2
set QUOTES_PLUS_LIST_DIR=d:\invest\qp2data\lists
set METASTOCK_DATA_DIR=d:\metadata

path=%path%;%QUOTES_PLUS_PROG_DRIVE%\%QUOTES_PLUS_PROG_DIR%

REM Set the Working Directory to the Quotes Plus Program Dir
REM
%QUOTES_PLUS_PROG_DRIVE%
cd %QUOTES_PLUS_PROG_DIR%

REM :DOWNLOAD IS a label which can be branched to. Its a fairly standard convention
REM that a program that completes successfully returns 0 for success and if an error
REM occurs then return an error code from 1-255. If qp_netlaunch does NOT complete
REM successfully data was not downloaded so we branch to DOWNLOAD_WAIT and wait 900
REM seconds and then try again by branching back DOWNLOAD.
REM

:DOWNLOAD
REM Download the Data
qp_netlaunch.exe /GO /NP

REM Check to see if we downloaded some data? if we didn't goto DOWNLOAD_WAIT
REM
if errorlevel 1 goto DOWNLOAD_WAIT

REM
qp_proc_launch.exe

REM Run My Daily Scan Profile

REM RUN The Daily Fundies Scan
REM This is stage1 of scans. These lists are combined then feed into stage2.
REM
qp_rpts_launch.exe SeanDaily1.rpf

REM Combine with Brookins Stocks and IBD List
REM you could complete this step a # of different ways. Any good scripting language
REM can do this step or you could use something like John Sugas list utility.
REM This is a simple example that merges results from todays scans. It doesn't
REM maintain history as andy wants or such. I will send a new one later.
REM
REM cat is like type is dos. It displays a file.
REM sort - sorts the list
REM uniq - uniqifies the list. This simple implimentation requires a simple list file
REM format. The uniq I used doesn't allow one to specify column#.
REM So basically combine the lists, sort, uniquify and then output to daily_scan.lst
REM

cd %QUOTES_PLUS_LIST_DIR%
cat brotnov.lst epscomb.lst ibd8585.lst brookins_buys.lst | sort /+1 | uniq --check-chars=4 > daily_scan.lst

REM Make a Copy of Todays result and save it to an archive
REM copies daily_scan.lst to daily_scan_03_21_1998.lst
REM
add_date %QUOTES_PLUS_LIST_DIR%\daily_scan %OLD_SCANS%\daily_scan

cd %QUOTES_PLUS_PROG_DIR%

REM Now Run BBB, DNS6, Breakout, & More
REM These scans feed off the combined list we created and look for specific things
REM like stochrsi14 buys.
REM
qp_rpts_launch.exe SeanDaily2.rpf

REM Make a Copy of Todays result and save it to an archive
REM
add_date %QUOTES_PLUS_LIST_DIR%\bbb_daily %OLD_SCANS%\bbb_daily
add_date %QUOTES_PLUS_LIST_DIR%\breakout %OLD_SCANS%\breakout
add_date %QUOTES_PLUS_LIST_DIR%\brookins_ta %OLD_SCANS%\brookins_ta
add_date %QUOTES_PLUS_LIST_DIR%\brotnov %OLD_SCANS%\brotnov
add_date %QUOTES_PLUS_LIST_DIR%\epscomb %OLD_SCANS%\epscomb
add_date %QUOTES_PLUS_LIST_DIR%\dns %OLD_SCANS%\dns
add_date %QUOTES_PLUS_LIST_DIR%\stochrsi85 %OLD_SCANS%\stochrsi85
add_date %QUOTES_PLUS_LIST_DIR%\stochrsi_14 %OLD_SCANS%\stochrsi_14

REM Print Some of the Resulting List Files

REM c:\winnt\notepad /p %QUOTES_PLUS_LIST_DIR%\bbb_daily.lst
REM c:\winnt\notepad /p %QUOTES_PLUS_LIST_DIR%\epscomb.lst

REM Merge Todays Scans with previous days and create 9 day list for BBB

cd %QUOTES_PLUS_LIST_DIR%

call fifo %QUOTES_PLUS_LIST_DIR%\bbb_daily.lst
cat %QUOTES_PLUS_LIST_DIR%\bbb_daily.lst.* | sort /+1 | uniq --check-chars=4 > %QUOTES_PLUS_LIST_DIR%\bbb_9day.lst

call fifo %QUOTES_PLUS_LIST_DIR%\breakout.lst
cat %QUOTES_PLUS_LIST_DIR%\breakout.lst.* | sort /+1 | uniq --check-chars=4 > %QUOTES_PLUS_LIST_DIR%\breakout_9day.lst

call fifo %QUOTES_PLUS_LIST_DIR%\brotnov.lst
cat %QUOTES_PLUS_LIST_DIR%\brotnov.lst.* | sort /+1 | uniq --check-chars=4 > %QUOTES_PLUS_LIST_DIR%\brotnov_9day.lst

cd %QUOTES_PLUS_PROG_DIR%

REM Daily Scans
REM
qp_lc /V %QUOTES_PLUS_LIST_DIR%\bbb_daily.lst %METASTOCK_DATA_DIR%\scans\bbb_daily
qp_lc /V %QUOTES_PLUS_LIST_DIR%\breakout.lst %METASTOCK_DATA_DIR%\scans\breakout
qp_lc /V %QUOTES_PLUS_LIST_DIR%\bbb_9day.lst %METASTOCK_DATA_DIR%\scans\bbb_9day
qp_lc /V %QUOTES_PLUS_LIST_DIR%\brotnov_9day.lst %METASTOCK_DATA_DIR%\scans\brotnov_9day
qp_lc /V %QUOTES_PLUS_LIST_DIR%\breakout_9day.lst %METASTOCK_DATA_DIR%\scans\breakout_9day
qp_lc /V %QUOTES_PLUS_LIST_DIR%\brookins_ta.lst %METASTOCK_DATA_DIR%\scans\brookins_ta
qp_lc /V %QUOTES_PLUS_LIST_DIR%\brotnov.lst %METASTOCK_DATA_DIR%\scans\brotnov
qp_lc /V %QUOTES_PLUS_LIST_DIR%\epscomb.lst %METASTOCK_DATA_DIR%\scans\epscomb
qp_lc /V %QUOTES_PLUS_LIST_DIR%\dns.lst %METASTOCK_DATA_DIR%\scans\dns
qp_lc /V %QUOTES_PLUS_LIST_DIR%\stochrsi85.lst %METASTOCK_DATA_DIR%\scans\stochrsi85
qp_lc /V %QUOTES_PLUS_LIST_DIR%\stochrsi_14.lst %METASTOCK_DATA_DIR%\scans\stochrsi_14

REM Output List of Indexes I Track
REM
REM qp_lc /V %QUOTES_PLUS_LIST_DIR%\Index.lst %METASTOCK_DATA_DIR%\Index
qp_lc /V %QUOTES_PLUS_LIST_DIR%\master_index.lst %METASTOCK_DATA_DIR%\index_lists\master_index
REM qp_lc /V %QUOTES_PLUS_LIST_DIR%\irl_daily_indexes.lst %METASTOCK_DATA_DIR%\irl_daily_indexes
REM qp_lc /V %QUOTES_PLUS_LIST_DIR%\irl_weekly_indexes.lst %METASTOCK_DATA_DIR%\irl_weekly_indexes

REM Output Miscellaneous Others
REM
qp_lc /V %QUOTES_PLUS_LIST_DIR%\brookins_buys.lst %METASTOCK_DATA_DIR%\scans\brookins_buys
qp_lc /V %QUOTES_PLUS_LIST_DIR%\OPEN.lst %METASTOCK_DATA_DIR%\OPEN
qp_lc /V %QUOTES_PLUS_LIST_DIR%\seans_MUTUAL.lst %METASTOCK_DATA_DIR%\scans\seans_MUTUAL

REM Change back to original directory and then quit. :DOWNLOAD_WAIT is
REM only accessed from the goto command.
cd -
exit

:DOWNLOAD_WAIT
REM Wait Fifteen Minutes and Try again....
echo Waiting Fifteen Minutes.....
sleep 900
goto DOWNLOAD
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext