通达信【金牛波段】金牛观察副图指标 波段短线操作利器 源码 附图

海面:20,COLORRED;
DRAWTEXT(ISLASTBAR,海面,6),COLORRED;
海天分界线:50,COLORGRAY;
DRAWTEXT(ISLASTBAR,海天分界线,7),COLORGRAY;
天际:80,COLOR408000;
DRAWTEXT(ISLASTBAR,天际,8),COLOR408000;
X_1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*10;
X_2:=EMA(X_1,27);
X_3:=2*(X_1-X_2);
X_4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_5:=SMA(X_4,3,1);
X_6:=SMA(X_5,3,1);
X_7:=3*X_5-2*X_6;
X_8:=MA(CLOSE,3);
X_9:=MA(CLOSE,5);
X_10:=MA(CLOSE,10);
X_11:=MA(CLOSE,13);
X_12:=MA(CLOSE,30);
X_13:=MA(CLOSE,34);
X_14:=MA(CLOSE,55);
X_15:=MA(CLOSE,60);
X_16:=MA(CLOSE,90);
X_17:=MA(CLOSE,120);
X_18:=MA(CLOSE,250);
X_19:=(CLOSE-X_9)/X_9*100;
X_20:=(CLOSE-X_10)/X_10*100;
X_21:=(CLOSE-X_11)/X_11*100;
X_22:=(CLOSE-X_12)/X_12*100;
X_23:=(CLOSE-X_13)/X_13*100;
X_24:=(CLOSE-X_15)/X_15*100;
X_25:=(CLOSE-X_16)/X_16*100;
X_26:=(CLOSE-X_17)/X_17*100;
X_27:=(CLOSE-X_18)/X_18*100;
X_28:=MA(CLOSE,4);
X_29:=MA(CLOSE,25);
X_30:=MA(CLOSE,45);
X_31:=MA(CLOSE,74);
X_32:=MA(CLOSE,99);
X_33:=MA(CLOSE,144);
X_34:=MA(CLOSE,165);
X_35:=MA(CLOSE,200);
X_36:=MA(CLOSE,318);
X_37:=MA(CLOSE,453);
X_38:=EMA(CLOSE,17);
X_39:=EMA(CLOSE,50);
X_40:=100*(CLOSE-X_12)/X_12;
金牛:100-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40)),COLOR0080FF,LINETHICK2;
X_41:=CLOSE/REF(CLOSE,1)<=0.97 AND OPEN/CLOSE>=1.02 OR (CLOSE/REF(CLOSE,1)<=0.95 AND OPEN!=CLOSE);
X_42:=SMA(MAX(CLOSE-REF(CLOSE,1),0),9,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),9,1)*100;
X_43:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;
X_44:=ABS(X_43-X_42)<9 AND X_43<20 AND X_42>9.5 AND X_42<12;
X_45:=(X_44 AND X_19<(-9) AND X_41 AND VOL<REF(VOL,1)*3)*VOL*1.5;
X_46:=REF(X_45,1);
X_47:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
X_48:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
X_49:=(HIGH+LOW+CLOSE)/3;
X_50:=(X_49-MA(X_49,14))/(0.015*AVEDEV(X_49,14));
X_51:=REF(X_50,1)>(-180);
X_52:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_53:=SMA(X_52,3,1);
X_54:=SMA(X_53,3,1);
X_55:=3*X_53-2*X_54;
X_56:=CROSS(X_55,0);
X_57:=CLOSE/REF(CLOSE,1)>=1.066 AND HIGH/CLOSE<1.005 AND MA(CLOSE,46)/CLOSE>=1.19;
X_58:=VOL/REF(VOL,3)>=1.29;
X_59:=X_47<19 AND X_48<23 AND X_56 AND X_51;
X_60:=X_57 AND COUNT(X_57,10)=1;
X_61:=X_59>=1 AND X_58;
X_62:=X_61 AND COUNT(X_61,20)=1;
X_63:=X_62 OR X_60;
X_64:=REF(CLOSE,1)/REF(CLOSE,2)<=0.97 AND X_3>(-2.5) AND REF(X_6,1)<20 AND CLOSE>=OPEN AND CLOSE<X_17 AND REF(X_7,1)<10 AND HIGH<REF(OPEN,1) AND LOW>=REF(CLOSE,1);
X_65:=REF(CLOSE,1)/REF(CLOSE,2)<=0.97 AND CLOSE>REF(HIGH,1) AND CLOSE<X_17 AND X_5>REF(X_5,1) AND X_7<30;
X_66:=REF(X_65,1) AND X_6<30 AND CLOSE/REF(CLOSE,1)<0.98 AND VOL<REF(VOL,1);
X_67:=X_7<(-3) AND X_6<25 AND CLOSE/REF(CLOSE,1)<=0.97 AND OPEN/CLOSE>=1.02 AND VOL<REF(VOL,1)*2.5;
X_68:=REF(X_67,1) AND CLOSE>OPEN AND X_6-X_5>3.5 AND X_7>REF(X_7,1);
X_69:=(X_64 OR X_66 OR X_68)*2;
X_70:=CROSS(X_53,X_54)*60;
X_71:=REF(CLOSE,1)/REF(CLOSE,2)<=0.97 AND REF(OPEN,1)/REF(CLOSE,1)>=1.02;
X_72:=CLOSE/REF(CLOSE,1)<=0.96 AND OPEN/CLOSE>=1.02 OR (CLOSE/REF(CLOSE,1)<=0.95 AND OPEN!=CLOSE);
X_73:=1;
X_74:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
X_75:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*X_73;
X_76:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
X_77:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*X_73;
X_78:=(X_23+10)*5;
X_79:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
X_80:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
X_81:=(X_75+X_76+X_77+X_78+X_79+X_80)/6*X_73;
X_82:=EMA(X_81,3);
X_83:=ABS(X_78-X_80);
X_84:=(X_81+X_83)/2;
X_85:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
X_86:=X_85+X_84;
X_87:=IF(X_74>0 AND X_86<0,200,0)*X_73;
X_88:=IF(X_84<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,(-50),0);
X_89:=IF(X_86<0 AND X_88=(-50),100,0)*X_73;
X_90:=REF(CLOSE,2)*0.865;
X_91:=REF(CLOSE,13)*0.772;
X_92:=MIN(X_90,X_91);
X_93:=100*VOL/CAPITAL*X_73;
X_94:=IF((CLOSE-X_92)/CLOSE<3/100 AND SUM(X_93,5)/5<1.8,1,0);
X_95:=IF(X_94>0 AND (X_88<0 OR X_74>0),100,0);
X_96:=IF(X_87>0 AND X_89>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR (X_94>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902) OR (X_87>0 AND X_89>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR X_94>0 AND (X_88<0 OR X_74>0) AND X_95<10),50,0);
X_97:=X_87>0 AND X_89>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR X_94>0 AND (X_88<0 OR X_74>0) OR (X_87>0 AND X_89>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR (X_94>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902));
X_98:=X_95 OR X_97;
X_99:=X_95;
X_100:=MA(CLOSE,80)-X_10/3*X_73;
X_101:=AMOUNT/VOL;
X_102:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);
X_103:=VOL*CLOSE;
X_104:=EMA(X_103,5)/EMA(VOL,5);
X_105:=(CLOSE-X_104)/X_104*100;
X_106:=X_101/100;
X_107:=MA(X_106,5);
X_108:=MA(X_106,20);
X_109:=MA(X_106,30);
X_110:=MA(CLOSE,27);
X_111:=(CLOSE-X_110)/X_110*100;
X_112:=MA(X_111,3);
X_113:=X_105<(-2) AND (X_107>X_106*1.03 AND X_108>X_106*1.13);
X_114:=(2*CLOSE+HIGH+LOW)/4;
X_115:=EMA((EMA(X_114,3)+EMA(X_114,6)+EMA(X_114,12)+EMA(X_114,24))/4,2);
X_116:=(1+100/1000)*X_115;
X_117:=(CLOSE-COST(10))/CLOSE*100;
X_118:=(1+(-120)/1000)*X_115;
X_119:=IF(LOW<X_118 AND CLOSE<OPEN AND X_117<(-13)=1,65,0);
X_120:=SUM(VOL/CAPITAL,13)*100;
X_121:=(REF(CLOSE,13)-CLOSE)/REF(CLOSE,13)*100;
X_122:=X_120<=30 AND X_120>=2 AND VOL/CAPITAL*100<2 AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*100<6;
X_123:=MA(CLOSE,44);
X_124:=(CLOSE-X_123)/X_123;
X_125:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
X_126:=SUM(AMOUNT,13)/X_106/100;
X_127:=DMA(X_125,VOL/X_126);
X_128:=(CLOSE-X_127)/X_127*100;
X_129:=9999;
X_130:=CLOSE-REF(MA(CLOSE,20),11);
X_131:=IF(X_74>0 AND X_86<0,200,0)*X_130;
X_132:=IF(X_86<0 AND X_88=(-50),100,0)*X_130;
X_133:=100*VOL/CAPITAL*X_130;
X_134:=IF((CLOSE-X_92)/CLOSE<3/100 AND SUM(X_133,5)/5<1.8,1,0);
X_135:=IF(X_134>0 AND (X_88<0 OR X_74>0),100,0);
X_136:=IF(X_135>0,60,0);
X_137:=IF(X_131>0 AND X_132>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR (X_134>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902) OR (X_131>0 AND X_132>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR X_134>0 AND (X_88<0 OR X_74>0) AND X_135<10),50,0);
X_138:=X_131>0 AND X_132>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR X_134>0 AND (X_88<0 OR X_74>0) OR (X_131>0 AND X_132>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR (X_134>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902));
X_139:=X_136 OR X_138;
X_140:=X_135;
X_141:=MA(CLOSE,80)-X_10/3*X_130;
X_142:=REF(KDJ.J,1)<KDJ.J;
X_143:=CLOSE/REF(CLOSE,1)<0.98 AND OPEN!=CLOSE;
X_144:=SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,18,1),12,1);
X_145:=SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,12,1);
X_146:=IF(CROSS(X_145,X_144),30,0);
X_147:=(HIGH+LOW+CLOSE)/3;
X_148:=(X_147-MA(X_147,14))/(0.015*AVEDEV(X_147,14));
X_149:=(X_147-MA(X_147,85))/(0.015*AVEDEV(X_147,85));
X_150:=IF(X_149>=200 AND X_148>=150,10,0);
X_151:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
X_152:=IF(CROSS(80,X_151),30,0);
X_153:=BARSLAST(CROSS((-10),X_112)=1);
X_154:=BARSLAST(CROSS(X_112,10)=1);
X_155:=X_112<(-10) AND X_153>3;
X_156:=X_112>10 AND X_154>3;
安全:(IF(X_155,X_112,0)<0)*(-10),DOTLINE,COLORLIBLUE;
风险:100,DOTLINE,COLORLIMAGENTA;
安全区:STICKLINE(IF(X_155,X_112,0)<0,(-10),0,10,1),COLORRED;
风险区:STICKLINE(IF(X_156,X_112,0)>0,110,100,10,1),COLOR408000;
X_157:=MAX(MAX(MAX(MAX(X_38,X_39),X_29),X_32),X_35)/MIN(MIN(MIN(MIN(X_38,X_39),X_29),X_32),X_35)<1.05;
X_158:=(CLOSE<X_16 AND CROSS(X_5,X_6) AND REF(X_1,1)<1 AND X_1>X_2 AND X_7>REF(X_7,4) AND REF(X_3,1)<REF(X_3,2) AND X_3>REF(X_3,1))*55;
X_159:=FILTER(REF(X_39,1)<REF(X_39,2) AND CLOSE>X_32 AND X_39>REF(X_39,1) AND X_1>X_2 AND X_7>REF(X_7,1),5)*45;
X_160:=(MAX(X_39,X_38)/MIN(X_39,X_38)>1.01 AND MAX(X_39,X_38)/MIN(X_39,X_38)<1.03 AND X_38>REF(X_38,1) AND X_38>REF(X_38,5) AND X_7<50 AND X_29>X_39 AND X_29<X_38 AND X_38>X_39 AND CLOSE<REF(CLOSE,1) AND CLOSE>X_39 AND CLOSE>X_35 AND CLOSE<OPEN AND CLOSE-LOW<=0.04)*55;
X_161:=MAX(MAX(MAX(MAX(X_12,X_15),X_16),X_17),X_18)/MIN(MIN(MIN(MIN(X_12,X_15),X_16),X_17),X_18)<1.05;
X_162:=MAX(MAX(MAX(X_12,X_15),X_16),X_17)/MIN(MIN(MIN(X_12,X_15),X_16),X_17)<1.05;



未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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