通达信海底潜艇副图指标 源码 贴图 X_2:=SMA(MAX(CLOSE-X_1,0),2,1)/SMA(ABS(CLOSE-X_1),2,1)*100-50; X_3:=X_2< (-45); X_4:=CROSS((-40),X_2); X_5:=X_3 OR X_4; X_6:=X_5 AND CLOSE>OPEN; X_7:=10; X_9:=100*(HHV(HIGH,X_7)-CLOSE)/(HHV(HIGH,X_7)-LLV(LOW,X_7)); X_10:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)); X_11:=X_9>90 OR X_10>90; X_12:=5; X_16:=IF(DATE< 1900612,1,1); X_17:=(HIGH+MAX(CLOSE,OPEN))/2; X_18:=MA(X_17,3); X_22:=(HIGH+LOW+CLOSE+OPEN)/4; X_23:=MA(X_22,3); X_24:=REF((CLOSE+OPEN)/2,1)>REF((CLOSE+OPEN)/2,2) AND REF(MIN(CLOSE,OPEN),1)>REF(MAX(CLOSE,OPEN),2); X_26:=(X_23-(REF(X_23,1)-X_23)-LOW)/LOW*100; X_27:=(X_18+(X_18-REF(X_18,1))-LOW)/LOW*100; X_30:=IF(X_24,X_27,X_26); X_33:=SMA(LOW,4,3); X_36:=REF(LOW,1)-HHV(MAX(REF(LOW,2),REF(LOW,1))-MIN(REF(LOW,2),REF(LOW,1)),2); X_37:=REF((CLOSE+OPEN)/2,1)>REF((CLOSE+OPEN)/2,2); X_38:=LOW<=X_36+X_36*0.01 AND OPEN>REF(OPEN,2) AND OPEN>=REF(LOW,3) AND COUNT(CLOSE>OPEN,7)>3; X_39:=(X_36-LOW)/LOW*100; X_41:=(X_33-LOW)/LOW>X_12/1000; X_42:=X_41; X_43:=(REF(HIGH,1)-OPEN)/OPEN*100-(REF(MAX(CLOSE,OPEN),2)-REF(MAX(CLOSE,OPEN),1))/REF(MAX(CLOSE,OPEN),1)*100; X_44:=IF(X_37,X_39,X_43); X_45:=X_39+X_44>2; X_46:=IF(X_37,X_38,X_45) AND X_30>2; X_47:=X_16 AND X_42 AND X_46; 选股:REF(X_47,1) AND LOW< REF(LOW/0.995,1) AND X_6 AND X_11,COLORYELLOW; STICKLINE(选股,0,1.2,1,0),COLORYELLOW; STICKLINE(选股,0,1,3,0),COLORRED; DRAWICON(选股,1,36); DRAWICON(选股,1,36); DRAWICON(选股,1.3,38);
|