通达信私密1号(主图 副图 选股)指标公式源码

通达信私密1号主图指标公式源码:

X_1:=VOL/REF(MA(VOL,5),1);
X_2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_3:=HIGH;
X_4:=REF(HIGH,1);
X_5:=CLOSE;
X_6:=LOW;
X_7:=REF(CLOSE,1);
X_8:=MA(CLOSE,5);
X_9:=MA(CLOSE,10);
X_10:=MA(CLOSE,20);
X_11:=MA(CLOSE,30);
X_12:=MA(CLOSE,60);
X_13:=MA(X_5,120);
X_14:=X_5>X_8;
X_15:=X_5>X_9;
X_16:=X_5>X_10;
X_17:=X_5>X_11;
X_18:=X_5>X_12;
X_19:=X_5>MA(X_5,88);
X_20:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>=9.93;
X_21:=BARSLAST(X_20);
X_22:=CROSS(X_5,X_13) AND X_14 AND X_15 AND X_16 AND X_17 AND X_18 AND X_21<=7 AND X_3>X_4;
DRAWTEXT(X_22,LOW*0.99,43),COLORYELLOW;
超跌线:MA((X_3+X_4+X_5+X_6)/4,5)*0.93,DOTLINE,COLORYELLOW;
超涨线:MA((X_3+X_4+X_5+X_6)/4,5)*1.07,DOTLINE,COLORLIGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,HYBLOCK),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.55,0,0,DYBLOCK),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,GNBLOCK),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.03,0,FGBLOCK),COLORMAGENTA;
X_23:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_24:=BARSLASTCOUNT(CLOSE>REF(CLOSE,1));
X_25:=CLOSE>REF(CLOSE,1);
X_26:=X_25*X_23;
X_27:=SUM(X_26,X_24) AND REFXV(CLOSE<REF(CLOSE,1),1);
X_28:=SUM(X_26,X_24);
DRAWTEXT(X_27=1 AND X_24>=3 AND X_28<=10,HIGH*1.01,VARCAT(VAR2STR(X_28,1),47)),COLORMAGENTA;
DRAWTEXT(X_27=1 AND X_24>=3 AND X_28>10,HIGH*1.01,VARCAT(VAR2STR(X_28,1),47)),COLORYELLOW;
X_29:=BARSLASTCOUNT(CLOSE<REF(CLOSE,1));
X_30:=CLOSE<REF(CLOSE,1);
X_31:=X_30*X_23;
X_32:=SUM(X_31,X_29) AND REFXV(CLOSE>REF(CLOSE,1),1);
X_33:=SUM(X_31,X_29);
DRAWTEXT(X_32=1 AND X_29>=3 AND X_33<(-10),LOW*0.99,VARCAT(VAR2STR(X_33*(-1),1),47)),COLORGREEN;
X_34:=REF(CLOSE,1);
X_35:=CLOSE/REF(CLOSE,1)>1.099 AND HIGH>LOW;
X_36:=IF(CLOSE>=1,10000,100000);
X_37:=1.1*X_34-49/X_36;
X_38:=1.05*X_34-49/X_36;
X_39:=0.9*X_34+51/X_36;
X_40:=0.95*X_34+51/X_36;
X_41:=NAMELIKE(5) OR NAMELIKE(48);
X_42:=IF(X_41,CLOSE>=X_38,CLOSE>=X_37);
X_43:=IF(X_41,CLOSE<=X_40,CLOSE<=X_39);
X_44:=IF(X_41,HIGH>=X_38,HIGH>=X_37);
X_45:=IF(X_41,LOW<=X_40,LOW<=X_39);
STICKLINE(X_44,HIGH,MAX(CLOSE,OPEN),0,0),COLORMAGENTA;
STICKLINE(X_45,LOW,MIN(CLOSE,OPEN),0,0),COLORLICYAN;
STICKLINE(X_42,OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(X_43,OPEN,CLOSE,1,0),COLORLICYAN;

通达信私密1号副图指标公式源码:

X_1:=VOL/REF(MA(VOL,5),1);
X_2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_3:=HIGH;
X_4:=REF(HIGH,1);
X_5:=CLOSE;
X_6:=LOW;
X_7:=REF(CLOSE,1);
X_8:=MA(CLOSE,5);
X_9:=MA(CLOSE,10);
X_10:=MA(CLOSE,20);
X_11:=MA(CLOSE,30);
X_12:=MA(CLOSE,60);
X_13:=MA(X_5,120);
X_14:=X_5>X_8;
X_15:=X_5>X_9;
X_16:=X_5>X_10;
X_17:=X_5>X_11;
X_18:=X_5>X_12;
X_19:=X_5>MA(X_5,88);
X_20:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>=9.93;
X_21:=BARSLAST(X_20);
X_22:=CROSS(X_5,X_13) AND X_14 AND X_15 AND X_16 AND X_17 AND X_18 AND X_21<=7 AND X_3>X_4;
STICKLINE(X_22,0,10,0.2,0),COLORLIMAGENTA;
DRAWTEXT(X_22,7.4,43),COLORYELLOW;
DRAWICON(X_22,10,18);
DRAWICON(X_22,11,18);
DRAWTEXT(X_22=1 AND (X_1>=5 OR X_2>=6),4.3,44),COLORMAGENTA;
DRAWTEXT(X_22=1 AND X_2>=9.91,2.6,45),COLORRED;
DRAWTEXT(X_22=1 AND X_3/X_7>=1.097 AND X_3>CLOSE,2.6,46),COLORGREEN;

通达信私密1号选股指标公式源码:

{公式名称: 私密1号选股
公式描述:
无参数
公式类型: 条件选股公式-其他类型
公式版本: 0

参数精灵:无
用法注释:无
公式源码:}
X_1:=VOL/REF(MA(VOL,5),1);
X_2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_3:=HIGH;
X_4:=REF(HIGH,1);
X_5:=CLOSE;
X_6:=LOW;
X_7:=REF(CLOSE,1);
X_8:=MA(CLOSE,5);
X_9:=MA(CLOSE,10);
X_10:=MA(CLOSE,20);
X_11:=MA(CLOSE,30);
X_12:=MA(CLOSE,60);
X_13:=MA(X_5,120);
X_14:=X_5>X_8;
X_15:=X_5>X_9;
X_16:=X_5>X_10;
X_17:=X_5>X_11;
X_18:=X_5>X_12;
X_19:=X_5>MA(X_5,88);
X_20:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>=9.93;
X_21:=BARSLAST(X_20);
A:CROSS(X_5,X_13) AND X_14 AND X_15 AND X_16 AND X_17 AND X_18 AND X_21<=7 AND X_3>X_4;