通达信强中强主图指标公式

[复制链接]
查看75 | 回复0 | 2021-8-20 12:04:45 | 显示全部楼层 |阅读模式

V111:=LLV(H,120);
飞鱼:=100*(C-V111)/V111,COLORYELLOW,LINETHICK1;
V211:=HHV(H,120);
海洋:=100*(V211-C)/C,COLORGREEN,LINETHICK1;
海1:=HHV(海洋,22),COLORGREEN,LINETHICK1;
STICKLINE(飞鱼>海1,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR545454 ;
DRAWKLINE(H,O,L,C); {取消遮挡}
上:(MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),COLORMAGENTA,NODRAW;{上31}
中:(O+C)/2,COLORRED,NODRAW;{中21}
下:(MAX(O,C)-MIN(O,C))/3+MIN(O,C),COLORYELLOW,NODRAW;{下31}
F10:=100*(C-O)/O;
F20:=100*(C-REF(C,1))/REF(C,1);
振幅:=(H-L)/REF(C,1)*100;
RQ:=IF(DATE>=1200824,1,0);
KCB:=IF(INBLOCK('科创板'),1,0);
CYB:=IF(INBLOCK('创业板') AND RQ,1,0);
ZT1:=F20>=9.5 AND C=H AND NOT(KCB OR CYB);
ZT2:=F20>=19.5 AND C=H AND (KCB OR CYB);{20%涨停}
ZT3:=C=O AND C=L AND C=H AND (ZT1 OR ZT2);{一字板}
ZT4:=ZT1 OR ZT2 OR ZT3;
STICKLINE(ZT4,O,C,3,0),COLORFF00FF;
STICKLINE(ZT4,H,L,0,0),COLORFF00FF;
强弱分界80:EMA(COST(85),10),COLORRED;
强弱分界99:EMA(COST(99),10),COLORGREEN;
强弱分界80向上:=强弱分界80>REF(强弱分界80,1);
强弱分界99向上:=强弱分界99>REF(强弱分界99,1);
LC:100*(L-REF(C,1))/REF(C,1),COLORGREEN,NODRAW;
HC:100*(H-REF(C,1))/REF(C,1),COLORWHITE,NODRAW;
STICKLINE(LC<=-5,中,L,0,0),COLORFF8000;{出蓝脚}
STICKLINE(LC<=-8,中,L,0,0),COLORYELLOW;{出黄脚}
{STICKLINE(CTDX,下,L,0,0),COLORBLUE,LINETHICK2;}{出蓝脚}
STICKLINE((H/REF(C,1)>=1.03 {OR H/O>=1.15}),中,H,0,0),COLOR838383;{出绿头(HC>3)}
STICKLINE((H/REF(C,1)>=1.05 {OR H/O>=1.15}),中,H,0,0),COLORFF8000;{出蓝头(HC>5)}
STICKLINE((H/REF(C,1)>=1.08 {OR H/O>=1.15}),中,H,0,0),COLORYELLOW,LINETHICK2;{出黄头(HC>8)};

202108201144.jpg

202108201144.jpg

 

回复

使用道具 举报

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

本版积分规则