通达信指标公式源码牛线大波浪主图无未来
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线
马线:MA(牛线,5),COLORGREEN;
MA5:MA(C,5),COLORWHITE;
STICKLINE(C>=牛线 AND C>=O,C,O,3,1),COLORRED;
STICKLINE(C>=牛线 AND C<=O,C,O,3,0),COLORCYAN;
STICKLINE(C>=牛线 AND H>=MAX(C,O),H,MAX(C,O),1,0),COLORRED;
STICKLINE(C>=牛线 AND L<=MIN(C,O),L,MIN(C,O),1,0),COLORRED;
STICKLINE(C<牛线 AND C>O,C,O,3,1),COLORRED;
STICKLINE(C<牛线 AND C
STICKLINE(C<牛线 AND H>=MAX(C,O),H,MAX(C,O),1,0),COLORCYAN;
STICKLINE(C<牛线 AND L<=MIN(C,O),L,MIN(C,O),1,0),COLORCYAN;
STICKLINE((C-REF(C,1))/REF(C,1)>0.095,C,O,3,0),COLORMAGENTA;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,30)*5+C,20);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWICON(CROSS(买线,卖线),L*0.99,1);
DRAWICON(CROSS(卖线,买线),H*1.01,2);
DRAWTEXT(BU,L*0.996,'进'),LINETHICK2,COLORRED;
DRAWTEXT(SEL,H*1.008,'清'),LINETHICK2,COLORGREEN;
风险提示:本指标公式仅作为知识分享,不构成任何投资建议,不作投资依据。