妖股显现慢牛主图双副图通达信指标
妖股显现慢牛主图双副图通达信指标
主图
VAR1:=(3*C+O+H+L)/6;
慢牛线:EMA(3*VAR1-2*SMA(VAR1,2,1),8),COLORBLUE;
慢牛走牛:IF(慢牛线>REF(慢牛线,1),慢牛线,DRAWNULL),LINETHICK2,COLORYELLOW;
STICKLINE(C>=慢牛线,L,H,0,1),COLORRED;
STICKLINE(C>=慢牛线,C,O,3.2,2),COLORRED;
STICKLINE(C<慢牛线,L,H,0,1),COLORGREEN;
STICKLINE(C<慢牛线,C,O,3.2,2),COLORGREEN;
STICKLINE(CROSS(C,慢牛线),O,C,3.2,0),COLORGREEN;
STICKLINE(CROSS(慢牛线,C),O,C,3.2,0),COLORRED;
STICKLINE((C>O) AND (C<慢牛线),C,O,3.2,2),COLORGREEN;
STICKLINE((C>O) AND (C>=慢牛线),C,O,3.2,2),COLORRED;
STICKLINE((C<=O) AND (C<慢牛线),C,O,3.2,0),COLORGREEN;
STICKLINE((C<=O) AND (C>=慢牛线),C,O,3.2,0),COLORRED;
DRAWICON(C>=慢牛线 AND REF(C,1)<REF(慢牛线,1),L*0.98,7);
DRAWICON(C<慢牛线 AND REF(C,1)>=REF(慢牛线,1),H*1.02,8);
副图1
0,DOTLINE,COLORLIGRAY;
SJS:=(((C-LLV(L,9))/(HHV(H,9)-LLV(L,9)))*100);
K1:0.001*(POW(SMA(SJS,9,1),5)/POW(10,4));
K2:=0.001*(POW(SMA(SJS,9,1),5)/POW(10,5));
DK:=SQRT(K1)*2.8-SQRT(K2)*1.8,DOTLINE;
STICKLINE(DK>REF(DK,1),0,K1-15,1,0),COLORYELLOW;
STICKLINE(K1<REF(K1,1),0,K1-15,1,0),COLORCYAN;
FK:(0-K1),COLORGREEN,DOTLINE;
STICKLINE(FK<REF(FK,1),0,FK+15,1,0),COLORRED;
STICKLINE(FK>REF(FK,1),0,FK+15,1,0),COLORGREEN;
副图2
X_1:=CROSS(KDJ.K#WEEK,KDJ.D#WEEK);
X_2:=KD.K#WEEK(9,3,3);
X_3:=KD.D#WEEK(9,3,3);
X_4:=FILTER(CROSS(X_2,X_3) AND REF(X_3,1)<30,13);
X_5:=FILTER(CROSS(X_2,X_3) AND REF(X_3,1)>30,13);
X_6:=X_4;
X_7:=MACD.DIF#WEEK(12,26,9);
X_8:=MACD.DEA#WEEK(12,26,9);
X_9:=10;
X_10:=5;
X_11:=FILTER(CROSS(X_7,X_8) AND REF(X_8,1)<0,13);
X_12:=X_11;
X_13:=(HHV(HIGH,X_9)-CLOSE)/(HHV(HIGH,X_9)-LLV(LOW,X_9))*200-125;
X_14:=SMA(X_13,X_10,1)+15;
[此处包含隐藏内容,如果需要查看请回复]
X_16:=SMA(X_15,X_10,1)+15;
X_17:=CROSS(X_16,X_14);
X_18:=X_12 AND X_11 AND X_1;
STICKLINE(X_18,1,0,3,0),COLORRED;
STICKLINE(X_18,2,1,2,0),COLORGREEN;
STICKLINE(X_18,3,2,1,0),COLORMAGENTA;
DRAWTEXT(X_18,2.5,6),COLORYELLOW;
主图
VAR1:=(3*C+O+H+L)/6;
慢牛线:EMA(3*VAR1-2*SMA(VAR1,2,1),8),COLORBLUE;
慢牛走牛:IF(慢牛线>REF(慢牛线,1),慢牛线,DRAWNULL),LINETHICK2,COLORYELLOW;
STICKLINE(C>=慢牛线,L,H,0,1),COLORRED;
STICKLINE(C>=慢牛线,C,O,3.2,2),COLORRED;
STICKLINE(C<慢牛线,L,H,0,1),COLORGREEN;
STICKLINE(C<慢牛线,C,O,3.2,2),COLORGREEN;
STICKLINE(CROSS(C,慢牛线),O,C,3.2,0),COLORGREEN;
STICKLINE(CROSS(慢牛线,C),O,C,3.2,0),COLORRED;
STICKLINE((C>O) AND (C<慢牛线),C,O,3.2,2),COLORGREEN;
STICKLINE((C>O) AND (C>=慢牛线),C,O,3.2,2),COLORRED;
STICKLINE((C<=O) AND (C<慢牛线),C,O,3.2,0),COLORGREEN;
STICKLINE((C<=O) AND (C>=慢牛线),C,O,3.2,0),COLORRED;
DRAWICON(C>=慢牛线 AND REF(C,1)<REF(慢牛线,1),L*0.98,7);
DRAWICON(C<慢牛线 AND REF(C,1)>=REF(慢牛线,1),H*1.02,8);
副图1
0,DOTLINE,COLORLIGRAY;
SJS:=(((C-LLV(L,9))/(HHV(H,9)-LLV(L,9)))*100);
K1:0.001*(POW(SMA(SJS,9,1),5)/POW(10,4));
K2:=0.001*(POW(SMA(SJS,9,1),5)/POW(10,5));
DK:=SQRT(K1)*2.8-SQRT(K2)*1.8,DOTLINE;
STICKLINE(DK>REF(DK,1),0,K1-15,1,0),COLORYELLOW;
STICKLINE(K1<REF(K1,1),0,K1-15,1,0),COLORCYAN;
FK:(0-K1),COLORGREEN,DOTLINE;
STICKLINE(FK<REF(FK,1),0,FK+15,1,0),COLORRED;
STICKLINE(FK>REF(FK,1),0,FK+15,1,0),COLORGREEN;
副图2
X_1:=CROSS(KDJ.K#WEEK,KDJ.D#WEEK);
X_2:=KD.K#WEEK(9,3,3);
X_3:=KD.D#WEEK(9,3,3);
X_4:=FILTER(CROSS(X_2,X_3) AND REF(X_3,1)<30,13);
X_5:=FILTER(CROSS(X_2,X_3) AND REF(X_3,1)>30,13);
X_6:=X_4;
X_7:=MACD.DIF#WEEK(12,26,9);
X_8:=MACD.DEA#WEEK(12,26,9);
X_9:=10;
X_10:=5;
X_11:=FILTER(CROSS(X_7,X_8) AND REF(X_8,1)<0,13);
X_12:=X_11;
X_13:=(HHV(HIGH,X_9)-CLOSE)/(HHV(HIGH,X_9)-LLV(LOW,X_9))*200-125;
X_14:=SMA(X_13,X_10,1)+15;
[此处包含隐藏内容,如果需要查看请回复]
X_16:=SMA(X_15,X_10,1)+15;
X_17:=CROSS(X_16,X_14);
X_18:=X_12 AND X_11 AND X_1;
STICKLINE(X_18,1,0,3,0),COLORRED;
STICKLINE(X_18,2,1,2,0),COLORGREEN;
STICKLINE(X_18,3,2,1,0),COLORMAGENTA;
DRAWTEXT(X_18,2.5,6),COLORYELLOW;