没用任何未来函数,信号收盘后稳定
主图:
MA5:MA(C,5),LINETHICK1,COLORCYAN;
MA10:MA(C,10),LINETHICK1,COLORYELLOW;
MA20:MA(C,20),LINETHICK1,COLORRED;
MA30:MA(C,30),LINETHICK1,COLORLIMAGENTA;
MA60:MA(C,60),LINETHICK1,COLORGREEN;
战略线:MA(C,99),LINETHICK2,COLORWHITE;
多空平衡线:EMA(C,34),LINETHICK2,COLORBLUE;
MA(C,250),COLORLIRED;
A1:=EVERY(C O,4);
A2:=EVERY(L REF(L,1),4);
A3:=(C-REF(C,1))/REF(C,1);
A4:=EXIST(EVERY(ABS(A3 0.02),5),2);
A5:=REF(LLV(L,60),1);
A6:=EVERY(A5=REF(A5,1),5);
A7:=A3 0.0395;
V88:=A7 AND A6 AND A5 AND A4 AND A1;
STICKLINE(V88,O,C,3,0),COLOR000045;
STICKLINE(V88,O,C,2.5,0),COLOR000065;
STICKLINE(V88,O,C,2,0),COLOR000085;
STICKLINE(V88,O,C,1.5,0),COLOR0000A5;
STICKLINE(V88,O,C,1,0),COLOR0000C5;
STICKLINE(V88,O,C,0.5,0),COLOR0000E5;
STICKLINE(V88,H,L,0,0),COLOR0000F5;
副图:
A1:=EVERY(C O,4);
A2:=EVERY(L REF(L,1),4);
A3:=(C-REF(C,1))/REF(C,1);
A4:=EXIST(EVERY(ABS(A3 0.02),5),2);
A5:=REF(LLV(L,60),1);
A6:=EVERY(A5=REF(A5,1),5);
A7:=A3 0.0395;
XG1:=A7 AND A6 AND A5 AND A4 AND A1;
STICKLINE(XG1,0,1,0,0),COLOR0088EE;
STICKLINE(XG1,0,1,3,0),COLOR0055AA;
STICKLINE(XG1,0,1,2.8,0),COLOR0066BB;
STICKLINE(XG1,0,1,2.5,0),COLOR0077CC;
STICKLINE(XG1,0,1,2.2,0),COLOR0088DD;
STICKLINE(XG1,0,1,1.7,0),COLOR0099EE;
STICKLINE(XG1,0,1,1.2,0),COLOR00AAFF;
STICKLINE(XG1,0,1,0.7,0),COLOR00CCFF;
STICKLINE(XG1,0,1,0.2,0),COLOR00FFFF;
选股:
A1:=EVERY(C O,4);
A2:=EVERY(L REF(L,1),4);
A3:=(C-REF(C,1))/REF(C,1);
A4:=EXIST(EVERY(ABS(A3 0.02),5),2);
A5:=REF(LLV(L,60),1);
A6:=EVERY(A5=REF(A5,1),5);
A7:=A3 0.0395;
A7 AND A6 AND A5 AND A4 AND A1;