通达信龙腾初升副图指标 源码 贴图
X_1:=HHV(HIGH,9)-LLV(LOW,9);
X_2:=HHV(HIGH,9)-CLOSE;
X_3:=CLOSE-LLV(LOW,9);
X_4:=X_2/X_1*100-70;
X_5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
X_6:=(2*CLOSE+HIGH+LOW)/4;
X_7:=SMA(X_3/X_1*100,3,1);
X_8:=LLV(LOW,34);
X_9:=SMA(X_7,3,1)-SMA(X_4,9,1);
X_10:=IF(X_9>100,X_9-100,0);
X_11:=HHV(HIGH,34);
X_12:=EMA((X_6-X_8)/(X_11-X_8)*100,13);
X_13:=EMA(0.667*REF(X_12,1)+0.333*X_12,2);
X_14:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
X_15:=MA(X_14,3);{公式网WWW.GPXIAZAI.COM}
X_16:=REF(X_15,1);
X_17:=CROSS(X_12,X_13) AND X_12>X_13 AND X_12<18;
STICKLINE(X_17,0,280,4,0),COLOR009999;
STICKLINE(X_17,0,280,5,0),COLOR009999;
STICKLINE(X_17,0,280,4,0),COLOR009999;
STICKLINE(X_17,0,280,2,0),COLOR00BBBB;
STICKLINE(X_17,0,280,1,0),COLOR00DDDD;
STICKLINE(X_17,0,280,2.4,0),COLORYELLOW;
STICKLINE(X_17,280,50,1,0),COLORLIMAGENTA;
DRAWICON(X_17,280,28);
DRAWICON(X_17,220,29);
DRAWICON(X_17,150,34);
DRAWICON(X_17,80,18);
DRAWTEXT(X_17,230,152),COLORMAGENTA;
|