源码
a=EMA(CLOSE,6)-EMA(CLOSE,16),ColorFFFF26;
b=EMA(a,5),Color8A15FF;
C=2*(a-b);
aa=0-(EMA(CLOSE,6) - EMA(CLOSE,16));
bb= 0-(EMA(a,5));
对称= 0-(2*(a-b)),STICK,ColorFF6060,LINETHICK1;
{D1=EMA(C,16)-EMA(C,6),Color26FF26;
E2=EMA(D1,5),ColorFF1EFF;};
STICKLINE(C>=0,C,0,4,1),COLORF00FF0;
STICKLINE(C<0,C,0,4,1),colorwhite;
STICKLINE(C<REF(C,1)AND C>0,0,C,10,0 ),Color00C4C4;
STICKLINE(C<REF(C,1)AND C>0,0,C,6.3,0 ),Color00EAEA;
STICKLINE(C<REF(C,1)AND C>0,0,C,2.2,0 ),Color0BFFFF;
STICKLINE(C<REF(C,1)AND C>0,0,C,1.65,0 ),Color46FFFF;
STICKLINE(C>=REF(C,1)AND C>0,0,C,8 ,0 ),Color0000BB;
STICKLINE(C>=REF(C,1)AND C>0,0,C,6.3 ,0 ),Color0000F0;
STICKLINE(C>=REF(C,1)AND C>0,0,C,2.2,0 ),Color1111FF;
STICKLINE(C>=REF(C,1)AND C>0,0,C,1.65 ,0 ),Color3535FF;
STICKLINE(C>REF(C,1)AND C<0,0,C,10,0 ),Color9B009B;
STICKLINE(C>REF(C,1)AND C<0,0,C,6.3 ,0 ),ColorCA00CA;
STICKLINE(C>REF(C,1)AND C<0,0,C,2.2,0 ),ColorF000F0;
STICKLINE(C>REF(C,1)AND C<0,0,C,1.65,0 ),ColorFF28FF;
STICKLINE(C<=REF(C,1)AND C<0,0,C,8,0 ),Color00AA00;
STICKLINE(C<=REF(C,1)AND C<0,0,C,6.3 ,0 ),Color00CE00;
STICKLINE(C<=REF(C,1)AND C<0,0,C,2.2,0 ),Color00F700;
STICKLINE(C<=REF(C,1)AND C<0,0,C,1.65 ,0 ),Color2DFF2D;
守庄:=CROSS(a,b) AND a<-0.1;
STICKLINE(守庄,0,-0.18,10,0),ColorE8E8E8;
STICKLINE(守庄,0,-0.18,4,0),ColorF2F2F2;
STICKLINE(守庄,0,-0.18,2,0),ColorFFFFFF;
DRAWTEXT(守庄,-0.2,' 一击'),ColorFFFFFF;
JCCOUNT:=COUNT(CROSS(a,b),BARSLAST(b>=0));
猎庄:=CROSS(a,b) AND b<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(猎庄,0,-0.18,10,0),Color0042CC;
STICKLINE(猎庄,0,-0.18,8,0),Color004FF2;
STICKLINE(猎庄,0,-0.18,8,0),Color3375FF;
DRAWTEXT(猎庄,-0.2,' 连击'),Color3375FF;