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: david kohn who wrote (10024)12/27/1999 11:03:00 PM
From: bdog  Read Replies (1) of 11149
 
david, this matches ms mov(close,9,tri),

what are you doing with it???

bdog

// 9 period tri movavg
//since one cannot use movavg as an item token this is about the only way i know how to do it,
//maybe some of the super coders here could do it quicker better,,,

input="inquire.lst";
output="test.lst";

daystoload=250;
daysrequired=250;

float mtri; //

mtri:=(MovAvg( -4 , 5 , cl ) +MovAvg( -3 , 5 , cl ) +MovAvg( -2 , 5 , cl ) +MovAvg( -1 , 5 , cl ) +MovAvg( 0 , 5 , cl ) )/5;

if close(0)>0 then
println mtri;
endif;
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext