X1:=100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));
Var1b:=100*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2));
Var2b:=100*(HHV(HIGH,N3)-CLOSE)/(HHV(HIGH,N3)-LLV(LOW,N3));
Var3b:=Var1b-X1;
Var4b:=X1-Var1b;
STICKLINE(X1>=0,0,Var2b,8,0),colorgreen;
主力介入区:STICKLINE(Var3b<0,0,Var4b,8,0),COLOR0000AA;
STICKLINE(Var3b<0,0,Var4b,6,0),COLOR0000bb;
STICKLINE(Var3b<0,0,Var4b,4,0),COLOR0000cc;
STICKLINE(Var3b<0,0,Var4b,2,0),COLOR0000ee;
STICKLINE(Var3b<0,0,Var4b,0,0),COLOR0000ff;
STICKLINE(X1>=0,0,Var1b,8,1),colorblue;
主力出货区:STICKLINE(Var4b<0,0,Var3b,8,1);
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
K:EMA(RSV,M),colorwhite;
D:MA(K,M),colorgreen;
PARTLINE(K, K>REF( K,1) AND REF( K,1)>REF( K,2), colorred),linethick4;
Var1:=EMA(EMA(CLOSE,13),13);
控盘:=(Var1-REF(Var1,1))/REF(Var1,1)*1000,colorffcccc,POINTDOT;
a10:=CROSS(控盘,0);
开始控盘:IF(a10,13,0) ,coloryellow,LINETHICK2;
VAR4:=(LOW+HIGH+CLOSE)/10;
操作:=MA(VAR4,5),LINETHICK2,colorwhite;
拉升:=HHV(操作,13),colorred,LINETHICK1;
压力:=HHV(操作,34),colorred;
买卖:=LLV(操作,13),LINETHICK1,COLOR00FF00;
R:=IF((拉升-操作)>0,-10,0);
R1:=IF((操作-买卖)>0,10,0);
买上升:=R1*2,COLORSTICK;
卖下降:=R*2,COLORSTICK;
买入:IF(CROSS(买上升,1)AND K>=14 AND(K-D)>1 ,10,0),COLOR0000FF,LINETHICK1;
卖出:IF(CROSS(-1,卖下降)AND K ,-5,0),COLOR00FF00,LINETHICK1;
强弱分界: 80,coloryellow;
警戒线: 21,colorcyan;
参考线: 13,colorgreen;
n3:=BARSLAST(CROSS(C,MA(C,20)));
n4:=BARSLAST(CROSS(MA(C,20),C));
黑马跟踪:IF(n3<n4,n3+1,0) ,coloryellow,LINETHICK1;
进攻选股:IF(开始控盘=13 AND 黑马跟踪<=5,20,0),colorred,LINETHICK1;
VAR2a:=REF(LOW,1);
VAR3a:=SMA(ABS(LOW-VAR2a),3,1)/SMA(MAX(LOW-VAR2a,0),3,1)*100;
VAR4a:=EMA(IF(CLOSE*1.3,VAR3a*10,VAR3a/10),3);
VAR5a:=LLV(LOW,13);
VAR6a:=HHV(VAR4a,13);
VAR7a:=IF(MA(CLOSE,34),1,0);
VAR8a:=EMA(IF(LOW<=VAR5a,(VAR4a+VAR6a*2)/2,0),3)/618*VAR7a;
VAR9a:=IF(VAR8a>100,100,VAR8a);
吸筹:VAR9a,LINETHICK1,colormagenta;
STICKLINE(VAR9a>-120,0,VAR9a,8,1),colormagenta;
|