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: Jan Robert Wolansky who wrote (8476)1/28/1999 2:30:00 AM
From: Bob Jagow  Read Replies (1) of 11149
 
Jan,
Movavg isn't a token but macd is.
Either use a loop with Movavg or, if you can live with ema, try
---
input = "your.lst";
output = "macd.lst";
integer i;
i:=0;
set macd = 5,35,9;
if max(i,i-20, macd) > max(i-21,i-130,macd) then
println symbol,",", macd(i);
endif;
----

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