牛熊分界线:DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,90),VOL);
年线:DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,250),VOL);
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通1:=AA*102/100;
通2:=AA*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
上:(1+7/100)*DD,CIRCLEDOT,COLORBLUE;
下:(1-7/100)*DD,CIRCLEDOT,COLORBLUE;
中:(上+下)/2,CIRCLEDOT,COLORBLUE;
IF(上>=REF(上,1), 上,DRAWNULL),CIRCLEDOT,COLOR0099FF;
IF(中>=REF(中,1), 中,DRAWNULL),CIRCLEDOT,COLOR0099FF;
IF(下>=REF(下,1), 下,DRAWNULL),CIRCLEDOT,COLOR0099FF;
XA:=(REF(CROSS(C,上),1) AND C>上);
DRAWTEXT(XA,上*0.99,’●’),COLORLIMAGENTA;
XG:=(REF(CROSS(C,中),1) AND C>中);
DRAWTEXT(XG,中,’★’),COLORLIRED;
XB:=(REF(CROSS(C,下),1) AND C>下);
DRAWTEXT(XB,下,’弹’);
均线5角度:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*180/3.14115926;
均线10角度:=ATAN((MA(C,10)/REF(MA(C,10),3)-1)*100)*180/3.14159;
均线20角度:=ATAN((MA(C,20)/REF(MA(C,20),3)-1)*100)*180/3.14159;
XF:=均线5角度>=45 AND 均线10角度>=60 AND 均线20角度>=45;
DRAWTEXT(XF,下*0.99,’∠’),COLORRED;
XP:=XA AND XF;
DRAWTEXT(XP,上*0.975,’真牛’);
M:=MA(C,3);
N:=MA(C,7);
买2:=CROSS(MA(CLOSE,3),MA(CLOSE,7));
DRAWTEXT(买2,LOW*0.98,’㊣’ ),COLORYELLOW;{3日上穿7日}
买:=M>REF(M,1) AND REF(M,1) REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)0,HIGH*1.02,’←卖出’),COLORGREEN;
【配资炒股】【通达信】嘉浩融胜主图指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。