乖离离差优化版 副图 源码 用法说明
一是对离差进行了优化;二增加了彩带部分。除了关注二条线的金叉死叉外,还要关注其背离,如贴图中两处的晶红圆圈底背离和蓝色圆圈的顶背离;第三若二线处于彩带内则是盘整阶段,橙色内为强势盘整,蓝色内为弱势盘整;第四关注白色线的位置,SMLC线突破彩带上沿(0.12)结合股价突破主图重要高点或重要均线来判断是否起航
源码
STICKLINE(C>0,0.12,0,10,0),COLORBROWN;
STICKLINE(C>0,0,-0.12,10,0),COLORBLUE;
SR:=FORCAST(((WMA(C,1)+WMA(C,5))/2+(WMA(C,2)+WMA(C,4))/2+WMA(C,3))/3,2);
BV:=AMOUNT;
VC:=ABS(BV-REF(BV,1));
VC3:=SUM(vc,3);
ZS:=FORCAST(WMA(DMA(C,VC/VC3),2),2);
FT:=FORCAST(Wma(ZS,8),5);
GL:=(SR-FT)/FT*100;
LC:=(GL-FORCAST(wma(GL,55),21));
SMLC:SMA(LC,144,1),COLORWHITE;
WFG:FORCAST(Wma(SMLC,5),3),COLORMAGENTA;
BDG:HHV(WFG,BARSLAST(CROSS(WFG,SMLC))+1),COLORFAABEC,DOTLINE;
BDL:LLV(WFG,BARSLAST(CROSS(SMLC,WFG))+1),COLORGREEN,DOTLINE;
82911967.png
|