{牛股启动主图源码如下}
操盘线:MA(CLOSE,5)COLORYELLOW DOTLINE;
ZXZ:=REF(H,1)>REF(O,1)+0.02 AND REF(H,2)>REF(O,2)+0.02 AND REF(H,3)>REF(O,3)+0.02 ;
BD:=ABS(REF(C,4)-REF(C,3));
BDD:=BD/REF(C,4)<0.05;
ZXJL:=ZXZ>0 AND BDD AND COUNT(H=O,9)=0;
DZ:=MAX(C,O);
SY:=(H-DZ)/REF(C,1)>0.03;
XZJH:=COUNT(SY,7)=0;
MA1:=EMA(CLOSE,2);
MA2:=EMA(CLOSE,4);
MA3:=EMA(CLOSE,21);
MA4:=EMA(CLOSE,55);
MA5:=EMA(CLOSE,5);
XZ1:=REF(MA2,1)>REF(MA1,1) AND REF(MA2,2)>REF(MA1,2);
G2:=EMA(C,2);
G4:=EMA(C,4);
G3:=EMA(C,3);
G6:=EMA(C,6);
ABC1:=HHV(HIGH,5);
ABC2:=LLV(LOW,5);
ABC3:=EMA((CLOSE-ABC2)/(ABC1-ABC2)*100,5);
ABC4:=EMA((CLOSE-ABC2)/(ABC1-ABC2)*100,3);
XZ:=REF(G2,1)<REF(G4,1);
JX:= CROSS(MA1,MA2) AND XZ AND XZ1;
DT:=MA3>MA4 AND MA2>MA3;
ZX:=C>O AND H-C<C-O;
牛启动:=JX AND DT AND ZX AND ZXJL AND XZJH;
DRAWTEXT(牛启动,L,'↖★牛'),LINETHICK3,COLORYELLOW;
牛:牛启动,NODRAW;
STICKLINE(牛启动,O,C,2,0),COLORFF00FF;
{牛股启动副图源码如下}
ZXZ:=REF(H,1)>REF(O,1)+0.02 AND REF(H,2)>REF(O,2)+0.02 AND REF(H,3)>REF(O,3)+0.02 ;
BD:=ABS(REF(C,4)-REF(C,3));
BDD:=BD/REF(C,4)<0.05;
ZXJL:=ZXZ>0 AND BDD AND COUNT(H=O,9)=0;
DZ:=MAX(C,O);
SY:=(H-DZ)/REF(C,1)>0.03;
XZJH:=COUNT(SY,7)=0;
MA1:=EMA(CLOSE,2);
MA2:=EMA(CLOSE,4);
MA3:=EMA(CLOSE,21);
MA4:=EMA(CLOSE,55);
MA5:=EMA(CLOSE,5);
XZ1:=REF(MA2,1)>REF(MA1,1) AND REF(MA2,2)>REF(MA1,2);
G2:=EMA(C,2);
G4:=EMA(C,4);
G3:=EMA(C,3);
G6:=EMA(C,6);
ABC1:=HHV(HIGH,5);
ABC2:=LLV(LOW,5);
ABC3:=EMA((CLOSE-ABC2)/(ABC1-ABC2)*100,5);
ABC4:=EMA((CLOSE-ABC2)/(ABC1-ABC2)*100,3);
XZ:=REF(G2,1)<REF(G4,1);
JC:= CROSS(MA1,MA2) AND XZ AND XZ1;
DT:=MA3>MA4 AND MA2>MA3;
ZX:=C>O AND H-C<C-O;
牛启动:=JC AND DT AND ZX AND ZXJL AND XZJH;
STICKLINE(牛启动,0,牛启动,3,0),COLORFF00FF;
STICKLINE(牛启动,0,牛启动,2.5,0),COLORFF00FF;
STICKLINE(牛启动,0,牛启动,1.5,0),COLORFF00FF;
STICKLINE(牛启动,0,牛启动,1,0),COLORYELLOW;
DRAWTEXT(牛启动,牛启动*0.88,' ↖★牛'),LINETHICK3,COLORMAGENTA;