[通达信] 通达信火耗龟公主图指标 短线关注 源码 贴图

[复制链接]
查看59 | 回复0 | 2024-11-3 14:54:00 | 显示全部楼层 |阅读模式
通达信火耗龟公主图指标 短线关注 源码 贴图
wp1.png

wp2.png

VAR1:=1;
VAR2:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;
VAR3:=CLOSE>OPEN AND OPEN-LOW>HIGH-CLOSE;
VAR4:=REF(VAR2,1)<-20 AND VAR3;
VAR5:=REF(VAR2,1)<-20 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;
VAR6:=FILTER(VAR4 OR VAR5,3);
VAR7:=OPEN>CLOSE AND HIGH-IF(CLOSE>OPEN,CLOSE,OPEN)>IF(OPEN<CLOSE,OPEN,CLOSE)-LOW;
VAR8:=REF(VAR2,1)>ABS(-20) AND VAR7;
VAR9:=REF(VAR2,1)>ABS(-20) AND CLOSE<OPEN AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*1000>20;
VARA:=FILTER(VAR8 OR VAR9,3);
VARC:=REF(VAR2,1)<-13 AND VAR3;
VARD:=REF(VAR2,1)<-13 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;
VARE:=FILTER(VARC OR VARD,3);
VAR10:=REF(VAR2,1)>ABS(-13) AND VAR7;
VAR11:=REF(VAR2,1)>ABS(-13) AND CLOSE<OPEN AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*1000>20;{www.gszb.top}
VAR12:=FILTER(VAR10 OR VAR11,3);
DRAWICON(VAR6*VAR1>0,LOW,1);
DRAWICON(VARA*VAR1>0,HIGH,2);
DRAWTEXT(VARE*VAR1>0,1.02*REF(CLOSE,1),'短线关注'),COLORGREEN;
DRAWTEXT(VAR12*VAR1>0,0.99*REF(CLOSE,1),'控制风险'),COLORYELLOW ;

 

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

91

主题

0

回帖

657

积分

职业

积分
657