
【分歧低吸主图】
压力:MA(REF(HHV(C,30),1),2),COLOR00FF00,LINETHICK2;
支撑:MA(REF(LLV(C,30),1),2),DOTLINE,COLOR0000FF;
分歧:EMA(C,20),COLORFF0000,LINETHICK2;
HG1:=MA(C,20);
HG2:=POW(C-分歧,2);{公众号指标策略}
HG3:=MA(HG2,20);
HG4:=SQRT(HG3);
HG5:=分歧+2*HG4;
HG6:=分歧-2*HG4;
HG7:=REF(分歧,1);
HG8:=REF(HG5,1);
HG9:=REF(HG6,1);
HG10:=EMA(COST(90),5);
止盈概率:EMA(COST(99),5),DOTLINE,COLOR0000FF;
HG11:=VOL/REF(MA(VOL,5),1),NODRAW,COLORBROWN;
打板信号:=C>压力 AND C>HG8 AND HG11>1.8 AND COUNT(C>压力 AND C>HG8 AND HG11>1.8,7)=1;
STICKLINE(打板信号,O,C,2,0),COLOR0000FF;
DRAWICON(打板信号,L,9);
DRAWTEXT(打板信号,L*0.95,' ★打板信号'),COLOR00FFFF;
低吸:C>止盈概率 AND COUNT(C>止盈概率,7)=1,NODRAW;
DRAWICON(低吸,L,34);
STICKLINE(低吸,O,C,2,0),COLOR00FFFF;
DRAWTEXT(低吸,L*0.96,' ★分歧低吸'),COLOR00FFFF;
【分歧低吸副图】
上趋势:MA(LOW,20)*1.2,COLOR0080FF,LINETHICK1 DOTLINE;
次上趋势:MA(LOW,20)*1.1,COLORYELLOW;
次下趋势:MA(HIGH,20)*0.9,COLORWHITE;
下趋势:MA(HIGH,20)*0.8,COLORGREEN,LINETHICK1 DOTLINE;
微信公众号:=(C-REF(C,1))/REF(C,1)*100;
指标策略:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));
趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势 AND C<次上趋势,2,IF(C<下趋势,0,1)));
STICKLINE(趋势强度=0,H,L,4,1),COLORBLUE;
STICKLINE(趋势强度=1,H,L,4,1),COLORGREEN;STICKLINE(趋势强度=2,H,L,4,1),COLORGRAY;
STICKLINE(趋势强度=3,H,L,4,1),COLORYELLOW;STICKLINE(趋势强度=4,H,L,3,0),COLORMAGENTA;
STICKLINE(趋势强度=0,C,O,3,0),COLORBLUE;STICKLINE(趋势强度=1,C,O,3,0),COLORGREEN;
STICKLINE(趋势强度=2,C,O,3,0),COLORGRAY;STICKLINE(趋势强度=3,C,O,3,0),COLORYELLOW;
STICKLINE(趋势强度=4,C,O,3,0),COLORMAGENTA;
ABC:=O<次上趋势 AND C>次上趋势 AND C/REF(C,1)>1.093;
CBA:=O<上趋势 AND C>上趋势 AND C/REF(C,1)>1.093;
强势:=ABC OR CBA;
DRAWTEXT(强势,L*0.96,'↖关注'),COLORRED,LINETHICK2;
笑脸:=BARSLASTCOUNT(趋势强度=3)=1;
钱袋子:=BARSLASTCOUNT(趋势强度=4)=1;DRAWICON(钱袋子,L,9);
DRAWICON(笑脸,L,5);DRAWTEXT(钱袋子,L*1.025,' 打板'),COLORYELLOW,LINETHICK2;
【分歧吸筹选股】
MA5:=MA(CLOSE,5);
ABC1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));
ABC2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),ABC1);
分歧吸筹1:=EMA(ABC2,200)*1.118 ,LINETHICK2,COLORMAGENTA;
DF2:=(C-REF(C,1))/REF(C,1)*100>9;
分歧吸筹:CROSS(C,分歧吸筹1) AND DF2;
