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; |