以下是通达信潜伏等涨停板指标公式(无源码的请下载附件导入)
N1:=7;
LC1:=REF(CLOSE,1);
WTC1:=SMA(MAX(CLOSE-LC1,0),N1,1)/SMA(ABS(CLOSE-LC1),N1,1)*100,COLORFFFFFF;
80,COLORGRAY,LINETHICK2;
LC:=REF(CLOSE,1);
方向线:((SMA(MAX((CLOSE - LC),0),4,1) / SMA(ABS((CLOSE - LC)),4,1))
* 100),COLORMAGENTA,LINETHICK2;
723577673.jpg
|