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: Dale Wingo who wrote (7120)10/10/1998 11:44:00 PM
From: Bob Jagow  Read Replies (2) of 11149
 
Dale, Couldn't find even MS code last time I looked, but [though I haven't really analyzed it] Jeff's code should be able to issue buy/sell on the cross, just have it print only when the close crosses the SAR -- changing the ending
---------------------
if buysell = 0 then println symbol, " , Buy @",SAR:6:2; endif;
if buysell = 1 then println symbol, " , Sell @",SAR:6:2; endif;
----------------------
to [sort of, no firm guarantee ;)]
--------------------
if SARp > close(j-1) and SAR < close(j) then
println symbol, " , Buy @",SAR:6:2; endif;
if SARp < close(j-1) and SAR > close(j) then
println symbol, " , Sell @",SAR:6:2; endif;
--------------------


Should further compare the output to MSWIN to be sure that the 1st two matches were more than fortuitous. Think I found more re the initialization conditions on the Aspen site, but it's been a while.

Bob
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext