通達信尊龍籌碼主圖指標公式原始碼

指标公式分享發表於2024-03-09
{ 通達信尊龍籌碼主圖指標公式原始碼 }

底線:COST(7),COLORGREEN;
拉昇線:COST(70),COLORFFFF88;
逃頂線:COST(90),COLORLIBLUE;
風險線:HHV(COST(90),20),COLORMAGENTA,LINETHICK5;
X_1:=HHV(COST(90),10);
X_2:=LLV(COST(70),20);
套牢籌碼:STICKLINE(逃頂線<x_1,逃頂線,x_1,0.0005,1),colora9faa5;
瘋狂拉昇:STICKLINE(X_2<底線,底線,拉昇線,0.0005,0),COLORYELLOW;
拉昇階級:STICKLINE(X_2<拉昇線,X_2,拉昇線,0.0005,0),COLORLIRED;
IF(風險線<ref(風險線,1),風險線,drawnull),dotline,colorbrown;
IF(底線<ref(底線,1),底線,drawnull),dotline,colorbrown;
STICKLINE(OPEN>=CLOSE,HIGH,LOW,0,0),COLOR909090;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.1,0),COLOR606060;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.1,0),COLOR707070;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.2,0),COLORGRAY;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.2,0),COLOR909090;
STICKLINE(OPEN<=CLOSE,HIGH,LOW,0,0),COLOR666B6F;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.1,1),COLOR666B6F;
X_3:=vol/REF(VOL,1)>=1.9 AND CLOSE>REF(CLOSE,1);
X_4:=4;
X_5:=10;
X_6:=3;
X_7:=4;
X_8:=10;
X_9:=3;
X_10:=EMA(CLOSE,X_4)-EMA(CLOSE,X_5);
X_11:=EMA(X_10,X_6);
X_12:=(X_10-X_11)*2;
X_13:=X_10>X_11;
X_14:=(2*CLOSE+HIGH+LOW)/4;
X_15:=LLV(LOW,5);
X_16:=HHV(HIGH,5);
X_17:=EMA((X_14-X_15)/(X_16-X_15)*27,5);
X_18:=EMA(X_17,3);
X_19:=FILTER(WINNER(CLOSE)-REF(WINNER(CLOSE),1)>0.1 AND CLOSE/REF(CLOSE,1)<1.05 AND CAPITAL<1000000000 AND EVERY(X_17>17,3) AND EVERY(X_18>17,3),30) AND X_10>X_11;
STICKLINE(X_19,CLOSE,OPEN,4,0),COLORRED;
DRAWTEXT(X_19,LOW*0.99,'潛伏'),COLORLIGREEN;
X_20:=HHVBARS(CLOSE,99);
X_21:=REF(X_20,1)>30 AND crOSS(CLOSE,REF(HHV(HIGH,60),1));
X_22:=VOL/REF(VOL,1)>=2;
STICKLINE(X_21,CLOSE,OPEN,3.1,0),COLORMAGENTA;
STICKLINE(X_21,LOW,OPEN,0,1),COLORMAGENTA;
STICKLINE(X_21,HIGH,OPEN,0,1),COLORMAGENTA;
現量1:DRAWICON(X_21 AND X_22,(OPEN+CLOSE)/2,25);
A線:HHV(COST(99.989998),30),COLORYELLOW,LINETHICK2;
B線:COST(99.989998),COLORRED;
X_23:=EMA(COST(85),8);
X_24:=EMA(COST(95),8);
X_25:=EMA(COST(15),8);
X_26:=CROSS(SUM(CROSS(CLOSE,X_23),BArslAST(CLOSE<x_25)+1),0.5);
X_27:=IF(X_26,INTPART(X_23/X_24*100),0);
X_28:=X_27;
STICKLINE(X_28,LOW,HIGH,0,0),COLOR0088EE;
STICKLINE(X_28,CLOSE,OPEN,3,0),COLOR0055AA;
STICKLINE(X_28,CLOSE,OPEN,2.8,0),COLOR0066BB;
STICKLINE(X_28,CLOSE,OPEN,2.5,0),COLOR0077CC;
STICKLINE(X_28,CLOSE,OPEN,2.2,0),COLOR0088DD;
STICKLINE(X_28,CLOSE,OPEN,1.7,0),COLOR0099EE;
STICKLINE(X_28,CLOSE,OPEN,1.2,0),COLOR00AAFF;
STICKLINE(X_28,CLOSE,OPEN,0.7,0),COLOR00CCFF;
STICKLINE(X_28,CLOSE,OPEN,0.2,0),COLORYELLOW;
現量2:DRAWICON(X_21 AND X_22,(OPEN+CLOSE)/2,25);

相關文章