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: TechTrader42 who wrote (3921)4/10/1998 6:28:00 PM
From: Bob Jagow  Read Replies (2) of 11149
 
Brooke,
Only way I know how to write a backtest is with a builtin variable
that you edit by hand [or via a bat file].
E.g. would write Richard's BBB scan as
[edit] see you posted after I started ;)
-------------------
input = "mycriteria.lst"; //
output = "bbb.LST";
integer now;
now:= 0; // Set to neg # to backtest
// could also use now in a for loop for a multiple-period backtest

if Close(now)-Close(now -5)>.05*Close(now -5) and
Vol(now) > MovAvg(now,63,vol) and
Close(now)>.85*Max(now,now -250,cl) then
println symbol,",",date(0),",",close(0),",",vol(0),","
if now != 0 then
print date(now),",",close(now),",",close(0 - close(now),",",
println,Description:25;
endif;
-----------------
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext