通达信主升介入点副图+选股指标 源码 贴图

2022-09-26 10:38:00来源:本站整理浏览:1017

实盘测试,出信号能抓到大部分主升,小部分失败,喜欢的自己研究领悟一下用法
指标用到#MONTH #WEEK数据 函数

介入点X选股源码:
X_1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
X_2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
X_3:=SMA(SMA(X_1,3,1),3,1)+3*STD(CLOSE,21);
X_4:=SMA(X_2,5,1)+2*STD(CLOSE,37);
X_5:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
X_6:=SMA(X_5,5,1);
X_7:=STICKLINE(X_4<15,X_4,15,6,0);
X_8:=STICKLINE(X_3<20 AND X_4<20 AND X_6<20,MAX(X_6,MAX(X_3,X_4)),20,8,0);
X_9:=EMA(EMA(CLOSE,13),13);
X_10:=(X_9-REF(X_9,1))/REF(X_9,1)*1000;
X_11:=DYNAINFO(11);
X_12:=(EMA(CLOSE,8)-EMA(CLOSE,55))*10;
X_13:=EMA(X_12,3);
X_14:=(CLOSE-X_11)/X_11<(-0.03);
X_15:=X_10>REF(X_10,1) AND X_10<(-0.2);
X_16:=CROSS(X_12,X_13) AND X_12<(-0.3);
X_17:=FILTER(X_14 AND X_15 AND X_16,13);
X_18:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
X_19:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
X_20:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
X_21:=(X_18+2*X_19+3*X_20)/6;
X_22:=MA(X_21,3);
X_23:=CROSS(X_21,X_22) AND X_22<(-9);
X_24:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_25:=EMA(X_24,9);
X_26:=MA(MACD.DIF#WEEK,5);
X_27:=MA(MACD.DEA#WEEK,5);
X_28:=MA(MACD.DIF#MONTH,20);
X_29:=MA(MACD.DEA#MONTH,20);
X_30:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
X_31:=SMA(X_30,3,1);
X_32:=SMA(X_31,3,1);
X_33:=MA(KDJ.K#MONTH(9,3,3),20);
X_34:=MA(KDJ.D#MONTH(9,3,3),20);
X_35:=MA(KDJ.J#MONTH(9,3,3),20);
X_36:=MA(KDJ.K#WEEK(9,3,3),5);
X_37:=MA(KDJ.D#WEEK(9,3,3),5);
X_38:=MA(KDJ.J#WEEK(9,3,3),5);
X_39:=X_28>=REF(X_28,1) AND X_26>=REF(X_26,1);
X_40:=X_33>=REF(X_33,1) AND X_36>=REF(X_36,1);
X_41:=IF(X_39 AND X_40,20,0);{公式网www.gpxiazai.com}
介入点:BARSLAST(X_23)<13 OR BARSLAST(X_17)<13 AND X_41=20 AND REF(X_41,1)=0 OR (X_17 AND X_41);

通达信主升介入点副图+选股指标 源码 贴图

通达信主升介入点副图+选股指标 源码 贴图


X_1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
X_2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
X_3:=SMA(SMA(X_1,3,1),3,1)+3*STD(CLOSE,21);
X_4:=SMA(X_2,5,1)+2*STD(CLOSE,37);
X_5:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
X_6:=SMA(X_5,5,1);
X_7:=STICKLINE(X_4<15,X_4,15,6,0);
X_8:=STICKLINE(X_3<20 AND X_4<20 AND X_6<20,MAX(X_6,MAX(X_3,X_4)),20,8,0);
X_9:=EMA(EMA(CLOSE,13),13);
X_10:=(X_9-REF(X_9,1))/REF(X_9,1)*1000;
X_11:=DYNAINFO(11);
X_12:=(EMA(CLOSE,8)-EMA(CLOSE,55))*10;
X_13:=EMA(X_12,3);
X_14:=(CLOSE-X_11)/X_11<(-0.03);
X_15:=X_10>REF(X_10,1) AND X_10<(-0.2);
X_16:=CROSS(X_12,X_13) AND X_12<(-0.3);
X_17:=FILTER(X_14 AND X_15 AND X_16,13);
X_18:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
X_19:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
X_20:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
X_21:=(X_18+2*X_19+3*X_20)/6;
X_22:=MA(X_21,3);
X_23:=CROSS(X_21,X_22) AND X_22<(-9);
X_24:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_25:=EMA(X_24,9);
X_26:=MA(MACD.DIF#WEEK,5);
X_27:=MA(MACD.DEA#WEEK,5);
X_28:=MA(MACD.DIF#MONTH,20);
X_29:=MA(MACD.DEA#MONTH,20);
X_30:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
X_31:=SMA(X_30,3,1);{公式网WWW.GPXIAZAI.COM}
X_32:=SMA(X_31,3,1);
X_33:=MA(KDJ.K#MONTH(9,3,3),20);
X_34:=MA(KDJ.D#MONTH(9,3,3),20);
X_35:=MA(KDJ.J#MONTH(9,3,3),20);
X_36:=MA(KDJ.K#WEEK(9,3,3),5);
X_37:=MA(KDJ.D#WEEK(9,3,3),5);
X_38:=MA(KDJ.J#WEEK(9,3,3),5);
X_39:=X_28>=REF(X_28,1) AND X_26>=REF(X_26,1);
X_40:=X_33>=REF(X_33,1) AND X_36>=REF(X_36,1);
X_41:=IF(X_39 AND X_40,20,0);
介入点:=BARSLAST(X_23)<13 OR BARSLAST(X_17)<13 AND X_41=20 AND REF(X_41,1)=0 OR (X_17 AND X_41);
STICKLINE(介入点,0,55,2,0),COLORCC66FF;

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式