收集:中国股票市场经济分析网
自用(简单乖离)副图指标!maikoo123
说明: 黄线上,股票涨, 柱代表庄控盘强度
简单乖离(副图)
MA20:=MA(C,20);
MA30:=MA(C,30);
QSXS:=MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
N1:=BARSLAST(CROSS(C,MA(C,5)));
N2:=BARSLAST(CROSS(MA(C,5),C));
HM:IF(N1<N2,N1+1,0)*QSXS+100,COLOR00ff00;
STICKLINE(hm,100,hm,5,0),colorff8899;
{◆简单乖离◆----白马唐僧编写}
{红线拐头升确认,黄线拐头跌将止。
短线见顶有诀窍,通道一破先出局。
黄红不清看均线,长短死叉跌难休。}
MAZ:=(h+l+c+c)/4;
个股趋势:C/MA(C,5)*100,COLOryellow,LINETHICK1,layer3;
个股脉动:REF(MAZ/MA(MAZ,5),1)*100,COLORred,LINETHICK3,layer3;
aa:=个股趋势;
bb:=个股脉动;
MA3:=MA(MAZ,3)/MA(C,30)*100;
MA10:=MA(MAZ,10)/MA(C,30)*100;
100;
DTJC:=(CROSS(AA,BB) OR CROSS(AA,100)) AND AA>100;
DTPL:=MA3>100 AND MA10>100;
买点:IF(DTJC AND DTPL,105,100),POINTDOT,COLORRED;
STICKLINE(买点>100,100,103,2,0),COLORred;
{金包银----一品茶缘编写}
{指标信号说明:白银=低吸;黄金=启动;金包银=回调后重新启动;}
{N:2,5,3;}
N:=3;
ZF:=(C/REF(C,1)-1)*100;
TDDF:=(L/REF(C,1)-1)*100<=-5 AND (REF(HHV(H,5),1)/L-1)*100>=10;
白银:=(TDDF AND QSXS);
bm01:=HM=101 AND ZF>=0 AND C>O AND QSXS;
黄金:=bm01;
KX1:=ZF<=-N AND C<O;
XDSJ:=BARSLAST(KX1);
KX2:=ZF>=N AND C>O;
JBY:=KX2 AND XDSJ<=2 AND C>=REF(O*0.99,XDSJ) AND ZF>ABS(REF(ZF,XDSJ)*0.99);
金包银:=IF(FILTER(JBY,1) AND QSXS,5,0);
{以下设置副图显示方式}
STICKLINE(白银,98,100,2,0),COLORFFFF00,layer7;
drawtext(白银,98,'吸'),COLORFFFF00;
STICKLINE(黄金,98,100,2,0),COLOR00FFFF,layer7;
drawtext(黄金,98,'启'),COLOR00FFFF;
drawtext(金包银,97,'回启'),colorwhite;