以下是通达信波段操作公式副图源码 K线图无未来短线(无源码的请下载附件导入)
短线指标,判顶底的,上面两根线要出,下面两根线要进
此指标为研判大盘和个股阶段性高点和低点的短线指标。
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
主力线:(EMA(CS,3)-50)*2;
极弱:-80;
强势:60;
风险:80;
弱势:-60;
主力线,COLORSTICK;
今日保护价:(REF(C,1)+REF(C,2)+O)/3,LINETHICK0;
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
STICKLINE(CROSS(75.9,VAR2),主力线+5,主力线-5,3,0),COLORYELLOW;
DRAWTEXT(CROSS(主力线,78),78,'清仓'),COLORRED;
DRAWTEXT(CROSS(主力线,强势),60,'飙升'),COLORYELLOW;
DRAWTEXT(CROSS(主力线,0),0,'控盘'),COLORWHITE;
DRAWTEXT(CROSS(主力线,-60),-30,'回补'),COLORGREEN;
DRAWTEXT(CROSS(主力线,-80),-80,'吸筹'),COLORCYAN;
640277099.png
|