通达信操盘短线短线副图,五指山万泉河 源码分享


X_1:=IF(TIME>93000 AND TIME<94500,1,0);
X_2:=IF(TIME>93100 AND TIME<145500,1,0);
X_3:=IF(TIME>100000 AND TIME<145500,1,0);
X_4:=IF(TIME>140000 AND TIME<145500,1,0);
X_5:=IF(TIME>142500 AND TIME<145500,1,0);
X_6:=DYNAINFO(14)*100;
X_7:=DYNAINFO(8);
X_8:=FILTER(X_7=0,350);
DRAWTEXT(X_8,45,22),COLORMAGENTA;
X_9:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,3,0);
X_10:=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_11:=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_12:=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_13:=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_14:=X_9;
X_15:=X_10+X_11+X_12+X_13;
X_16:=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_17:=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_18:=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_19:=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_20:=X_16+X_17+X_18+X_19;
X_21:=IF(X_20>0,(-500),0);
X_22:=IF(CLOSE>1000,X_21*100,X_21);
CT:SUM(X_22,0) AND X_2=1;
五指山:EMA((CLOSE-LLV(CLOSE,55))/(HHV(CLOSE,55)-LLV(LOW,55))*100,5),COLORMAGENTA;
X_23:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1);
万泉河:EMA(MA(X_23,5),3),COLORCYAN;
X_24:=五指山;
X_25:=万泉河;
X_26:=IF(X_2=1 AND X_24>80 AND CT=1,1,0);
X_27:=FILTER(X_26=1,350);
X_28:=23;
DRAWTEXT(X_27,45,X_28),COLORGREEN;
X_29:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
X_30:=SMA(X_29,3,1);
X_31:=SMA(X_30,3,1);
X_32:=SMA(X_31,3,1);
X_33:=EMA(WINNER(CLOSE),10);
X_34:=EMA(WINNER(CLOSE),34);
X_35:=MA(CLOSE,32);
X_36:=MA(CLOSE,12);
X_37:=CROSS(X_34,X_33);
X_38:=MA(CLOSE,1);
X_39:=MA(X_35,2);
X_40:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
X_41:=SMA(X_40,7,1);
X_42:=(LOW+HIGH+CLOSE)/3;
X_43:=(X_42-MA(X_42,14))/(0.015*AVEDEV(X_42,14));
X_44:=100*(HHV(HIGH,79)-CLOSE)/(HHV(HIGH,79)-LLV(LOW,79));
X_45:=(2*CLOSE+HIGH+LOW+OPEN)/5;
X_46:=LLV(LOW,34);
X_47:=HHV(HIGH,34);
X_48:=EMA((X_45-X_46)/(X_47-X_46)*100,13);
X_49:=IF(X_44=0 OR X_48>=90 OR X_43>(-250),100,X_44);
舟:IF(X_14>0 OR X_15>0,35,DRAWNULL)*2,STICK,COLORMAGENTA,LINETHICK3;
岸:(X_2=1 AND CT=0 AND X_48=100 OR X_2=1 AND CT=0 AND X_48>0 AND X_44>98 AND X_48<=13)*60,STICK,COLORMAGENTA;
花:EMA(IF(X_25<15 AND X_4=1 AND LOW<=LLV(LOW,30),SMA(ABS(LOW-REF(LOW,1)),30,1)/SMA(MAX(LOW-REF(LOW,1),0),30,1),0),3)*25,STICK,COLORYELLOW,LINETHICK3;
X_50:=CROSS(X_23,X_25);
X_51:=X_24<35 AND X_24>MA(REF(X_24,3),3) AND CT=0 AND X_3=1 AND X_6<8;
技:IF(X_50=1 AND X_51=1,75,0),STICK,COLORRED,LINETHICK3;
X_52:=FILTER(技,16);
DRAWTEXT(X_52,25,24),COLORYELLOW;
X_53:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);
看涨:X_53=1;
CH:SUM(看涨,0) AND X_2=1;
X_54:=FILTER(看涨,16);
DRAWTEXT(X_54,30,25),COLORYELLOW,LINETHICK2;
X_55:=REF(CLOSE,1);
X_56:=SMA(MAX(CLOSE-X_55,0),7,1)/SMA(ABS(CLOSE-X_55),7,1)*100;
X_57:=SMA(MAX(CLOSE-X_55,0),13,1)/SMA(ABS(CLOSE-X_55),13,1)*100;
X_58:=SMA(MAX(X_55-CLOSE,0),7,1)/SMA(ABS(CLOSE-X_55),7,1)*100;
X_59:=SMA(MAX(X_55-CLOSE,0),13,1)/SMA(ABS(CLOSE-X_55),13,1)*100;
X_60:=BARSCOUNT(CLOSE);
波:(X_4=1 AND X_56<25 AND X_57<30 AND X_60>35)*3,COLORSTICK,LINETHICK2;
X_61:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
X_62:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
X_63:=X_61<REF(X_62,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(CT=0 AND X_63 AND COUNT(X_63,50)=1,75,26),COLORYELLOW;
大资金:(CT=0 AND X_63 AND COUNT(X_63,50)=1)*85,STICK,COLORYELLOW;
X_64:=MA(VOL,5)>MA(VOL,60);
介入:IF(X_33<0.15 AND ABS(X_33-X_34)<0.05 AND CROSS(X_33,X_34) AND X_64,1,0)*80,STICK,COLORRED,LINETHICK2;
X_65:=FILTER(介入,16);
X_66:=27;
DRAWTEXT(X_65,IF(介入>0 AND X_6<8,60,70),X_66),COLORYELLOW;
X_67:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_68:=EMA(X_67,9);
CLOSE>60 AND CLOSE<100;
500;
X_69:=300;
X_70:=IF(CLOSE<40 AND CLOSE<=60,800,X_69);
X_71:=IF(CLOSE>10 AND CLOSE<=25,1000,IF(CLOSE>25 AND CLOSE<40,1000,X_70));
X_72:=IF(CLOSE<5,5000,IF(CLOSE>=5 AND CLOSE<=10,3000,X_71));
X_73:=IF(CLOSE>=6000,5,X_72);
X_74:=IF(CLOSE>1000 AND CLOSE<6000,25,X_73);
MACD:(X_67-X_68)*X_74,COLORSTICK;
X_75:=X_25>35 AND X_25<65 AND X_25>MA(REF(X_25,5),5) AND CT=0 AND X_3=1 AND X_6<8;
X_76:=FILTER(X_75,32);
DRAWTEXT(X_76,X_25*1.01,28),COLORYELLOW,LINETHICK2;
X_77:=CROSS(X_31,X_32) AND X_31<30 AND X_2=1 AND X_7>0;
X_78:=CROSS(X_32,X_31) AND X_31>80 AND X_2=1 AND X_7>0 AND CH=0;
STICKLINE(FILTER(X_77=1,10)=1,0,70,10,0),COLORRED;
DRAWTEXT(FILTER(X_77=1,10)=1,60,29),COLORYELLOW;
DRAWTEXT(FILTER(X_78=1,5)=1,80,30),COLORYELLOW;
X_79:=MA(CLOSE,5);
X_80:=MA(CLOSE,65);
X_81:=MA(CLOSE,21);
X_82:=COUNT(X_81>X_80,10)=10;
X_83:=MAX(X_79,MAX(X_81,X_80));
X_84:=MIN(X_79,MIN(X_81,X_80));
X_85:=ABS(X_83/X_84-1)*100<=15;
X_86:=COUNT(MACD<0,10)=10;
X_87:=IF(X_82 AND X_85 AND X_86,5,0);
X_88:=X_7>0 AND 0+IF(CROSS(0.1,X_87) AND CROSS(MACD,0),8,0);
X_89:=31;
STICKLINE(FILTER(X_88=1,50)=1,0,30,10,0),COLORYELLOW;
DRAWTEXT(FILTER(X_88=1,50)=1,10,X_89),COLORYELLOW;
警戒:90,COLOR5AFF9E;
轴:0;

 



未来函数检测结果如下:
该公式包含未来函数:ZIG
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
该公式包含未来函数:WINNER
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图