大智慧强抓主升主图指标公式

[复制链接]
查看90 | 回复0 | 2021-8-21 13:35:15 | 显示全部楼层 |阅读模式

MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA30:MA(C,30);
ABB1:=(C-REF(C,1))/REF(C,1)*100;
BB1:=BARSLAST( ABB1>3);
CC1:=IF(BB1>0,1,0);
O1:=IF(CC1=1 AND BB1=1,O,REF(O,BB1-1));
H1:=IF(CC1=1 AND BB1=1,H,HHV(H,BB1));
L1:=IF(CC1=1 AND BB1=1,L,LLV(L,BB1));
C1:=IF(CC1=1 AND BB1=1,C,C);
STICKLINE( CC1=1 AND C1>O1,L ,L*0.95 ,8 ,0 ),COLORFF0000;
STICKLINE( CC1=1 AND C1< O1,H ,H*1.08 ,8 ,0 ),COLORgreen;
STICKLINE( CC1=1 AND C1>O1,L ,L*0.95 ,1 ,0 ),COLORFF0000;
STICKLINE( CC1=1 AND C1< O1,H ,H*1.08 ,1 ,0 ),COLORGREEN;
STICKLINE( CC1=0 ,O ,C ,8 ,0 ),COLORred;
STICKLINE( CC1=0 ,O ,C ,8 ,0 ),COLORred;
DRAWTEXTABS(10,10,'【用法】红强进,蓝调整,绿色弱势快出货'),color00ffff;
aBB1:=c/ref(c,1)>=1.098;
drawtext(aBB1=1, L*0.86,'涨停'),color00ffff;
DRAWICON(CC1=0,L,1);

202108211203.jpg

202108211203.jpg

 

回复

使用道具 举报

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

本版积分规则