主圖指標(biāo)源碼
MA1:MA(C,5);
MA2:MA(C,10);
MA3:MA(C,20);
MA4:MA(C,60);
資金趨勢:=((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),COLORYELLOW,LINETHICK2;VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR3:=LLV(LOW,34);
VAR4:=HHV(HIGH,34);
陰陽線:=EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13);
VAR5:=CROSS(資金趨勢,陰陽線)AND 陰陽線<25;
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
MACD :=2*(DIFF-DEA);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
X3:=IF(X2>0,X2,0);
X4:=IF(X2<0,X2,0);
資金動(dòng)能A:=X2;
資金動(dòng)能B:=X1;
XG:=CROSS(資金動(dòng)能A,資金動(dòng)能B);
XG1:=資金動(dòng)能B<-0.25;
XG3:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20);
XG2:=VAR5 AND XG AND XG1 AND XG3;
STICKLINE(XG2,O,C,2.2,0),COLORRED;
DRAWTEXT(XG2,L*0.98,'左&右&臨&界'),COLORRED;
副圖指標(biāo)源碼
X_1:=MA(CLOSE,27);
X_2:=(CLOSE-X_1)/X_1*100;
X_3:=MA(X_2,2);
X_4:=BARSLAST(CROSS((-10),X_3)=1);
X_5:=X_3<(-10) AND X_4>3;
X_6:=ABS(IF(X_5,X_3,0));
X_7:=X_6>0;
X_8:=CLOSE/(EMA(EMA((CLOSE+LOW+HIGH)/3,3),26)*0.9)<0.95;
X_9:=MA((CLOSE-MA(CLOSE,21))/MA(CLOSE,21),3)*100;
X_10:=X_9<(-15);
X_11:=(CLOSE-MA(CLOSE,28))/MA(CLOSE,28)*100<(-23);
X_12:=CLOSE/REF(LLV(CLOSE,10),1)<0.96 AND LOW/REF(LLV(LOW,10),1)<0.99 AND CLOSE!=LOW AND CLOSE/LOW>1.005;
X_13:=FILTER(X_7 AND X_8 AND X_10 AND X_11 AND X_12,10);
STICKLINE(X_13,0,10,3,0),COLORYELLOW;
STICKLINE(X_13,0,13,1,0),COLORRED;公:DRAWNULL,COLORCCCCCC;眾:DRAWNULL,COLORCCCCCC;號(hào):DRAWNULL,COLORCCCCCC;
股市客棧:DRAWNULL,COLORCCCCCC;
選股指標(biāo)源碼
X_1:=MA(CLOSE,27);
X_2:=(CLOSE-X_1)/X_1*100;
X_3:=MA(X_2,2);
X_4:=BARSLAST(CROSS((-10),X_3)=1);
X_5:=X_3<(-10) AND X_4>3;
X_6:=ABS(IF(X_5,X_3,0));
X_7:=X_6>0;
X_8:=CLOSE/(EMA(EMA((CLOSE+LOW+HIGH)/3,3),26)*0.9)<0.95;
X_9:=MA((CLOSE-MA(CLOSE,21))/MA(CLOSE,21),3)*100;
X_10:=X_9<(-15);
X_11:=(CLOSE-MA(CLOSE,28))/MA(CLOSE,28)*100<(-23);
X_12:=CLOSE/REF(LLV(CLOSE,10),1)<0.96 AND LOW/REF(LLV(LOW,10),1)<0.99 AND CLOSE!=LOW AND CLOSE/LOW>1.005;
X:FILTER(X_7 AND X_8 AND X_10 AND X_11 AND X_12,10);
聯(lián)系客服