[通达信] 通达信指路突破主图指标 源码 贴图

[复制链接]
查看84 | 回复0 | 2024-11-24 09:09:28 | 显示全部楼层 |阅读模式
通达信指路突破主图指标 源码 贴图
wp1.jpg

wp2.jpg

  ABC1:=REF(H,1)/MAX(REF(C,1),REF(O,1))>1.03 AND MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))< 1.02;
ABC2:=C/REF(C,1)>1.09 AND REF(V,1)>REF(V,2) AND REF(V,1)>REF(MA(V,5),1);
ABC3:=REF(O,1)< REF(H,2) AND C>O;{公式指标WWW.GSZB.TOP}
集合1:=ABC1 AND ABC2 AND ABC3;
ZT:=C/REF(C,1)>1.095 AND C=H;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
指路:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW);
突破:=REF(C,2)/REF(C,3)>1.05 OR ZT;
VAR1:=REF(指路,1)>0.5 AND 突破 AND C>REF(H,1);
VAR2:=COUNT(MACD< 0,2)=2;
VAR3:=REF(V,2)/REF(C,3)>2;
集合:=集合1 OR (VAR1 AND VAR2 AND VAR3);
前一日:=BACKSET(集合,2),COLORRED;
上影:=BARSLASTCOUNT(前一日)=1;
STICKLINE(上影,CLOSE,OPEN,1,0),COLORYELLOW;
DRAWICON(集合,L,9);
DRAWICON(上影,L,1);
STICKLINE(集合,CLOSE,OPEN,2,0),COLORRED;
DRAWTEXT(上影,H*0.98,' L指路'),COLORWHITE;
DRAWTEXT(集合,L*0.98,'★突破'),COLORMAGENTA;
MA1:MA(CLOSE,5)COLORGREEN;

 

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

本版积分规则

116

主题

0

回帖

859

积分

职业

积分
859