通达信步入抄底区主图源码
N:=55;
C2:=REF(CLOSE,1);
非ST涨停:=IF((CLOSE-C2)*100/C2>=10-0.01*100/C2,1,0);
NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1);
TDXSTEP195:DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.56,0.02,0,NUMBER),COLORWHITE;
TDXSTEP196:DRAWTEXT_FIX(CURRBARSCOUNT=1,0.45,0.02,0,25),COLORCYAN;
M5:EMA(CLOSE,5);
M21:MA(CLOSE,21),COLORCYAN;
DD:=EVERY(CLOSE<MA(CLOSE,21),20);
TDXSTEP197:DRAWICON(DD,M21,37);
HIGHN:=36;
AAB:=REF(HIGH,HIGHN)=HHV(HIGH,2*HIGHN+1);
QY:=BACKSET(AAB,HIGHN+1);
CC2:=FILTER(QY,HIGHN) AND HIGH=HHV(HIGH,HIGHN+1);
DDD:=BARSLAST(CC2);
GDTS:=IF(CC2,CURRBARSCOUNT,0);
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
GDCS1:=CONST(DINGBUTS);
DRAWLINE(CURRBARSCOUNT=GDCS1,HIGH,ISLASTBAR,REF(HIGH,GDCS1-1),1),DOTLINE,COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=GDCS1,HIGH*1.01,18),COLORCYAN;
声明:
本站所有文章文字内容如无特殊说明均为原创编写,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台!指标公式源码来源于网络收集和用户上传,分享目的仅供参考与学习,如需商用,请购买正版,否则后果和损失自行承担。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件 联系我们进行下架处理。指标公式案例截图仅代表过去,依此操作,责任自负。本站不提供技术培训、安装调试、股票推荐等金融服务。