由益盟BS操盘线大智慧原码改编,加入了凤凰线主图指标。
用法:k线红多绿空。其中的买卖点仅供参考,不作为投资的依据。请参考大盘和其它指标综合研判。
ma3:MA(C,3),colorf00ff0;
MA8:MA(C,5),coloryellow;
MA13:MA(C,13),colore66878,POINTDOT;
MA21:MA(C,21),colormagenta,POINTDOT;
ma34:MA(C,34),colorbyan,POINTDOT;
MA55:MA(C,55),color000999,POINTDOT;
MA89:MA(C,89),color399c7f,POINTDOT;
MA144:MA(C,144),coloryellow,POINTDOT;
ma233:MA(C,233),colorbrown,POINTDOT;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
x3:=EMA(X2,5);
STICKLINE(X2>=x3,LOW,HIGH,0.1,1),colorred;
STICKLINE(X2>=x3,CLOSE,OPEN,9,2),colorred;
STICKLINE(X2>=x3,CLOSE,OPEN,9,8),colorred;
STICKLINE(X2<x3,LOW,HIGH,0.1,1),colorgreen;
STICKLINE(X2<x3,CLOSE,OPEN,9,2),colorgreen;
STICKLINE(CROSS(X2,X3),OPEN,CLOSE,6,1),coloryellow;
STICKLINE(CROSS(X3,X2),OPEN,CLOSE,6,1),colorblue;
N:=3;
L0:=0.02;
L1:=ABS(L-REF(L,1))<=L0;
L2:=ABS(L-REF(L,2))<=L0;
L3:=ABS(L-REF(L,3))<=L0;
L4:=ABS(L-REF(L,4))<=L0;
L5:=ABS(L-REF(L,5))<=L0;
精准线首次:=L1 OR L2 OR L3 OR L4 OR L5;
精准左:=FILTER(精准线首次,N) ;
天数:=BARSLAST(精准左);
LTS:=REF(L,天数);
精准右:=ABS(L-LTS)<=L0;
STICKLINE(精准左,L,L,50,-1),colormagenta;
DRAWLINE(精准左,L,精准右,LTS,1),colormagenta;
G1:=ABS(H-REF(H,1))<=L0;
G2:=ABS(H-REF(H,2))<=L0;
G3:=ABS(H-REF(H,3))<=L0;
G4:=ABS(H-REF(H,4))<=L0;
G5:=ABS(H-REF(H,5))<=L0;
精准线首次1:=G1 OR G2 OR G3 OR G4 OR G5;
精准左1:=FILTER(精准线首次1,N) ;
天数1:=BARSLAST(精准左1);
GTS:=REF(L,天数1);
精准右1:=ABS(H-GTS)<=L0;
STICKLINE(精准左1,H,H,50,-1),colorgreen;
xopen:=(REF(O,1)+REF(C,1))/2;
xclose:=CLOSE;
xhigh:=MAX(HIGH,xopen);
xlow:=MIN(LOW,xopen);
volality:=MA(xhigh-xlow,8);
凰线:MA(xclose,5)+volality/2;
凤线:MA(xclose,5)-volality/2;
bu:=CROSS(xclose,凰线);
sel:=CROSS(凤线,xclose);
var1:=BARSLAST(bu);
var2:=BARSLAST(sel);
DRAWICON(REF(var1,1)>var2 AND var1=0,xlow,1),align1,valign0;
DRAWICON(REF(var2,1)>var1 AND var2=0,xhigh,2),align1,valign2;
STICKLINE(xclose>xopen AND var1<var2,xclose,xopen ,8,0 ),colorred;
STICKLINE(xclose>xopen AND var1<var2,xhigh,xclose ,0.5,0 ),colorred;
STICKLINE(xclose>xopen AND var1<var2,xopen,xlow ,0.5,0 ),colorred;
STICKLINE(xclose<=xopen AND var1<var2,xclose,xopen ,8,0 ),coloryellow;
STICKLINE(xclose<=xopen AND var1<var2,xhigh,xopen ,0.5,0 ),coloryellow;
STICKLINE(xclose<=xopen AND var1<var2,xclose,xlow ,0.5,0 ),coloryellow;
STICKLINE(xclose<=xopen AND var1>var2,xclose ,xopen ,8,0 ),colorgreen;
STICKLINE(xclose<=xopen AND var1>var2,xopen ,xhigh ,0.5,0 ),colorgreen;
STICKLINE(xclose<=xopen AND var1>var2,xclose,xlow ,0.5,0 ),colorgreen;
STICKLINE(xclose>xopen AND var1>var2,xclose ,xopen ,8,0 ),colorblue;
STICKLINE(xclose>xopen AND var1>var2,xclose,xhigh ,0.5,0 ),colorblue;
STICKLINE(xclose>xopen AND var1>var2,xopen,xlow ,0.5,0 ),colorblue;