黄金抄底,适合中线操作(通达信公式 副图 源码 测试图)
本公式适合中线操作,但有时可会选到大牛股(比如最近的远大环保,出指标后第3天就连续涨停,目前5连板了)。
指标指示一个辅助工具,成功率不会100%,但从中线角度看还是很可观的。所以操作时要分批次买入。
{公式名称: 抄底公式描述: 无参数公式类型: 技术指标公式-其他类型画线方法: 副图公式版本: 0显示小数: 缺省位数坐标线位置: 自动额外Y轴分界: 无参数精灵:无用法注释:无公式源码:}X_1:=EMA(CLOSE,9)-EMA(CLOSE,17);X_2:=EMA(X_1,8);X_3:=2*(X_1-X_2);X_4:=IF(X_1<0,X_1,0);X_5:=IF(X_1<0,0,X_1);X_6:=IF(X_1<X_2,X_1,X_2);X_7:=IF(X_1>X_2,X_2,X_2);X_8:=CROSS(X_1,X_2) AND X_1<(-0.1);X_9:=COUNT(CROSS(X_1,X_2),BARSLAST(X_2>=0));X_10:=CROSS(X_1,X_2) AND X_2<0 AND COUNT(X_9=2,21)=1;X_11:=BARSLAST(REF(CROSS(X_1,X_2),1));X_12:=REF(CLOSE,X_11+1)>CLOSE AND X_1>REF(X_1,X_11+1) AND CROSS(X_1,X_2);X_13:=BARSLAST(REF(CROSS(X_2,X_1),1));X_14:=REF(CLOSE,X_13+1)<CLOSE AND REF(X_1,X_13+1)>X_1 AND CROSS(X_2,X_1);X_15:=0;X_16:=LLV(X_3,4)>0 AND X_3<REF(X_3,1) AND REF(X_3,1)>REF(X_3,2) AND REF(X_3,2)>REF(X_3,3);X_17:=HHV(X_3,4)<0 AND X_3>REF(X_3,1) AND REF(X_3,1)<REF(X_3,2) AND REF(X_3,2)<REF(X_3,3);X_18:=5;X_19:=10;X_20:=30;X_21:=60;X_22:=MA(CLOSE,X_18);X_23:=MA(CLOSE,X_19);X_24:=MA(CLOSE,X_20);X_25:=MA(CLOSE,X_21);X_26:=LLV(HIGH,240);X_27:=100*(CLOSE-X_26)/X_26;X_28:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;X_29:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;X_30:=0;X_31:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;X_32:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;X_33:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);X_34:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);X_35:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);X_36:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);X_37:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);X_38:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);X_39:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);X_40:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);X_41:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);X_42:=EMA(CLOSE,2)-EMA(CLOSE,150);X_43:=X_33;X_44:=X_34+X_36+X_38+X_40;X_45:=X_35+X_37+X_39+X_41;X_46:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));X_47:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));X_48:=100-MA(100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5)),34);X_49:=IF(CROSS(X_47,MA(X_48,5)),LOW*0.98,DRAWNULL);X_50:=MA(CLOSE,22);X_51:=MA(CLOSE,5);X_52:=MA(CLOSE,10);X_53:=MA(CLOSE,30);X_54:=IF(X_52>X_53,X_52,X_53);X_55:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;X_56:=SMA(X_55,3,1);X_57:=SMA(X_56,3,1);X_58:=3*X_56-2*X_57;X_59:=CLOSE-REF(CLOSE,1);X_60:=100*EMA(EMA(X_59,6),6)/EMA(EMA(ABS(X_59),6),6);X_61:=LLV(X_60,2)=LLV(X_60,7) AND COUNT(X_60<0,2) AND CROSS(X_60,MA(X_60,2));X_17 AND FILTER(X_61=1,5);
指标指示一个辅助工具,成功率不会100%,但从中线角度看还是很可观的。所以操作时要分批次买入。
{公式名称: 抄底公式描述: 无参数公式类型: 技术指标公式-其他类型画线方法: 副图公式版本: 0显示小数: 缺省位数坐标线位置: 自动额外Y轴分界: 无参数精灵:无用法注释:无公式源码:}X_1:=EMA(CLOSE,9)-EMA(CLOSE,17);X_2:=EMA(X_1,8);X_3:=2*(X_1-X_2);X_4:=IF(X_1<0,X_1,0);X_5:=IF(X_1<0,0,X_1);X_6:=IF(X_1<X_2,X_1,X_2);X_7:=IF(X_1>X_2,X_2,X_2);X_8:=CROSS(X_1,X_2) AND X_1<(-0.1);X_9:=COUNT(CROSS(X_1,X_2),BARSLAST(X_2>=0));X_10:=CROSS(X_1,X_2) AND X_2<0 AND COUNT(X_9=2,21)=1;X_11:=BARSLAST(REF(CROSS(X_1,X_2),1));X_12:=REF(CLOSE,X_11+1)>CLOSE AND X_1>REF(X_1,X_11+1) AND CROSS(X_1,X_2);X_13:=BARSLAST(REF(CROSS(X_2,X_1),1));X_14:=REF(CLOSE,X_13+1)<CLOSE AND REF(X_1,X_13+1)>X_1 AND CROSS(X_2,X_1);X_15:=0;X_16:=LLV(X_3,4)>0 AND X_3<REF(X_3,1) AND REF(X_3,1)>REF(X_3,2) AND REF(X_3,2)>REF(X_3,3);X_17:=HHV(X_3,4)<0 AND X_3>REF(X_3,1) AND REF(X_3,1)<REF(X_3,2) AND REF(X_3,2)<REF(X_3,3);X_18:=5;X_19:=10;X_20:=30;X_21:=60;X_22:=MA(CLOSE,X_18);X_23:=MA(CLOSE,X_19);X_24:=MA(CLOSE,X_20);X_25:=MA(CLOSE,X_21);X_26:=LLV(HIGH,240);X_27:=100*(CLOSE-X_26)/X_26;X_28:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;X_29:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;X_30:=0;X_31:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;X_32:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;X_33:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);X_34:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);X_35:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);X_36:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);X_37:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);X_38:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);X_39:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);X_40:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);X_41:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);X_42:=EMA(CLOSE,2)-EMA(CLOSE,150);X_43:=X_33;X_44:=X_34+X_36+X_38+X_40;X_45:=X_35+X_37+X_39+X_41;X_46:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));X_47:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));X_48:=100-MA(100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5)),34);X_49:=IF(CROSS(X_47,MA(X_48,5)),LOW*0.98,DRAWNULL);X_50:=MA(CLOSE,22);X_51:=MA(CLOSE,5);X_52:=MA(CLOSE,10);X_53:=MA(CLOSE,30);X_54:=IF(X_52>X_53,X_52,X_53);X_55:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;X_56:=SMA(X_55,3,1);X_57:=SMA(X_56,3,1);X_58:=3*X_56-2*X_57;X_59:=CLOSE-REF(CLOSE,1);X_60:=100*EMA(EMA(X_59,6),6)/EMA(EMA(ABS(X_59),6),6);X_61:=LLV(X_60,2)=LLV(X_60,7) AND COUNT(X_60<0,2) AND CROSS(X_60,MA(X_60,2));X_17 AND FILTER(X_61=1,5);