通达信盘龙蓄势主图源码



X_1:=HHV(VOL,5);
X_2:=OPEN>CLOSE;
X_3:=CLOSE>OPEN;
X_4:=CLOSE=OPEN;
X_5:=SUM(VOL,5)/X_1;
X_6:=IF(X_5>0.3,1,0);
X_7:=IF(X_2 AND X_6,VOL,0);
X_8:=IF(X_3 AND X_6,VOL,0);
X_9:=IF(X_4 AND X_6,VOL,0);
X_10:=SUM(X_8,3);
X_11:=SUM(X_7,3);
X_12:=X_10-X_11;
STICKLINE(X_12=X_10,CLOSE,OPEN,3.05,0),COLOR000099;
STICKLINE(X_12=X_10,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(X_12=X_10,CLOSE,OPEN,1.5,0),COLORRED;
STICKLINE(X_12=X_10,CLOSE,OPEN,0.5,0),COLORYELLOW;
DRAWICON(X_12=X_10 AND REF(X_12=X_10,1)=0,LOW*0.98,30),COLORMAGENTA;
X_13:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
X_14:=(REF(X_13,1)+REF(X_13,2)+REF(X_13,3))/3;
X_15:=(REF(X_13,1)+REF(X_13,2)+REF(X_13,3)+REF(X_13,4)+REF(X_13,5)+REF(X_13,6)+REF(X_13,7)+REF(X_13,8)+REF(X_13,9)+REF(X_13,10))/10;
X_16:=X_13< 80 AND X_14< 80 AND X_15< 80;
X_17:=X_13>80 AND X_14>80 AND X_15>80;
X_18:=X_15< X_13;
X_19:=REF(CLOSE,1);
X_20:=WINNER(CLOSE*0.9)*100;
X_21:=MA(X_20,10);
X_22:=MA(X_20,3);
X_23:=IF(X_21>X_22,X_22,X_21);
X_24:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;
X_25:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_26:=EMA(X_25,9);
X_27:=X_25>X_26;
X_28:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
X_29:=SMA(X_24,3,1);
X_30:=SMA(X_29,3,1);
X_31:=X_29>X_30;
X_32:=REF(CLOSE,1);
X_33:=SMA(MAX(CLOSE-X_32,0),9,1)/SMA(ABS(CLOSE-X_32),9,1)*100;
X_34:=SMA(MAX(CLOSE-X_32,0),26,1)/SMA(ABS(CLOSE-X_32),26,1)*100;
X_35:=X_33>X_34;
X_36:=SMA(X_28,3,1);
X_37:=SMA(X_36,3,1);
X_38:=X_36>X_37;
X_39:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;
X_40:=CLOSE>X_39;
X_41:=CLOSE-REF(CLOSE,1);
X_42:=100*EMA(EMA(X_41,9),9)/EMA(EMA(ABS(X_41),9),3);
X_43:=100*EMA(EMA(X_41,26),12)/EMA(EMA(ABS(X_41),26),12);
X_44:=X_42>X_43;
X_45:=X_27 AND X_31 AND X_35 AND X_38 AND X_40 AND X_44;
X_46:=EMA(EMA(CLOSE,9),9);
X_47:=100*WINNER(CLOSE*0.95);
X_48:=EMA(CLOSE,12)>EMA(CLOSE,50) AND EMA(CLOSE,20)>EMA(CLOSE,120);
X_49:=(X_46-REF(X_46,1))/REF(X_46,1)*1000;
X_50:=X_47>=50 AND COST(85)<=CLOSE AND X_49>0 AND X_49>REF(X_49,1);
X_51:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
X_52:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_53:=IF(CLOSE>OPEN,X_52*(HIGH-LOW),IF(CLOSE< OPEN,X_52*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-X_52*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-X_52*(HIGH-LOW),0-VOL/2));
X_54:=X_53/20/1.15;
X_55:=X_54*0.55+REF(X_54,1)*0.33+REF(X_54,2)*0.22;
X_56:=EMA(X_55,8);
X_57:=EMA(X_55,3);
X_58:=X_57;
X_59:=MA(VOL,5);
X_60:=MA(VOL,10);
X_61:=X_59>=X_60;
X_62:=X_58>=0;
X_63:=X_62 AND X_61;
X_64:=X_45 OR X_63;
X_65:=CROSS(REF(CLOSE,1),CLOSE);
X_66:=WINNER(CLOSE)*100;
X_67:=REF(X_66,1)-X_66<=5;
X_68:=CROSS(X_66,REF(X_66,1)) AND X_66< 20;
X_69:=X_67 OR X_66;
X_70:=X_65 AND X_69;
X_71:=(2*CLOSE+HIGH+LOW)/4;
X_72:=LLV(LOW,5);
X_73:=HHV(HIGH,5);
X_74:=IF((MA(CLOSE,5)-CLOSE)/CLOSE>0.04 AND (MA(CLOSE,10)-MA(CLOSE,5))/MA(CLOSE,5)>0.04,23,0);
X_75:=X_74=23;
X_76:=BARSLAST(X_75)=1;
X_77:=X_74< 23;
X_78:=X_76 AND X_77;
X_79:=(BARSLASTCOUNT(X_74>0)=4)*30;
X_80:=X_78 OR X_79;
X_81:=EMA(VOL,13);
X_82:=EMA(AMOUNT,13);
X_83:=X_82/X_81/100;
X_84:=(CLOSE-X_83)/X_83*100;
X_85:=X_84< 0-18 OR X_84< 0-6;
X_86:=X_85 AND X_80;
X_87:=X_86 OR X_70;
STICKLINE(X_87 AND X_15< 80 AND X_23=X_21 AND X_64,LOW,OPEN,3,0),COLORBLUE;
STICKLINE(X_87 AND X_15< 80 AND X_23=X_21 AND X_64,CLOSE,OPEN,3,0),COLORMAGENTA;
X_88:=REF(LOW,1);
X_89:=SMA(ABS(LOW-X_88),3,1)/SMA(MAX(LOW-X_88,0),3,1)*100;
X_90:=EMA(IF(CLOSE*1.3,X_89*10,X_89/10),3);
X_91:=LLV(LOW,13);
X_92:=HHV(X_90,13);
X_93:=IF(MA(CLOSE,34),1,0);
X_94:=EMA(IF(LOW<=X_91,(X_90+X_92*2)/2,0),3)/618*X_93;
X_95:=IF(X_94>100,100,X_94);
X_96:=X_95>15 AND X_64;
X_97:=X_96 OR X_95=100;
STICKLINE(X_97,LOW,OPEN,3,0),COLORMAGENTA;
STICKLINE(X_97,CLOSE,OPEN,3,0),COLORBLUE;
X_98:=EMA(CLOSE,2);
X_99:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
X_100:=IF(CROSS(X_98,X_99),LOW-0.02,DRAWNULL);
X_101:=(LOW+HIGH+CLOSE*2)/4;
X_102:=EMA(X_101,14);
X_103:=(X_102-REF(X_102,1))/REF(X_102,1)*100;
X_104:=IF(X_103>=0,X_102,DRAWNULL);
X_105:=IF(CROSS(X_100,0),5,0);
X_106:=IF(CROSS(X_104,0),10,0);
X_107:=X_105 AND X_106;
DRAWICON(X_107,LOW*0.99,1),COLORGREEN;
DRAWICON(X_107,LOW*0.98,1),COLORGREEN;
X_108:=REF(CLOSE,1);
X_109:=SMA(MAX(CLOSE-X_108,0),5,1)/SMA(ABS(CLOSE-X_108),5,1)*100;
X_110:=CROSS(80,X_109);
DRAWICON(X_110,HIGH*1.01,2),COLORGREEN;
DRAWICON(X_110,HIGH*1.02,2),COLORGREEN;
X_111:=SMA(MAX(CLOSE-X_19,0),3,1)/SMA(ABS(CLOSE-X_19),3,1)*100;
X_112:=EMA(CLOSE,3);
X_113:=EMA(CLOSE,21);
DRAWICON(CROSS(X_112,X_113),LOW*0.97,38),COLORRED;
DRAWICON(CROSS(88,X_111),HIGH*1.03,39),COLORYELLOW;
X_114:=8;
X_115:=100*EMA(EMA(X_41,X_114),X_114)/EMA(EMA(ABS(X_41),X_114),X_114);
X_116:=IF(LLV(X_115,2)=LLV(X_115,7) AND COUNT(X_115< 0,2) AND CROSS(X_115,MA(X_115,2)),1,0);
DRAWICON(FILTER(X_116=1,5),LOW*0.99,7),COLORRED;
X_117:=CLOSE-REF(CLOSE,1);
X_118:=IF(CLOSE-REF(CLOSE,1)>=0,X_117,0);
X_119:=REF(CLOSE,1)-CLOSE;
X_120:=IF(CLOSE-REF(CLOSE,1)<=0,X_119,0);
X_121:=SUM(X_118,90)/SUM(X_120,90);
X_122:=100-100/(1+X_121);
X_123:=EMA(X_122,21);
X_124:=EMA(X_123,5);
X_125:=EMA(X_123,3);
X_126:=(CLOSE*2+HIGH+LOW)/4;
X_127:=EMA(X_126,13)-EMA(X_126,21);
X_128:=EMA(X_127,3);
X_129:=EMA(X_127,10);
X_130:=IF(X_128>=X_129,X_128,X_129);
X_131:=IF(X_129-X_128,X_129,X_128);
X_132:=EMA(CLOSE,7)-EMA(CLOSE,21);
X_133:=EMA(0.668*REF(X_132,1)+0.333*X_132,1);
X_134:=IF(X_132>=X_133,X_132,X_133);
X_135:=IF(X_133-X_132,X_133,X_132);
X_136:=X_130>X_131;
X_137:=X_130=X_131;
X_138:=X_134>X_135;
X_139:=X_134=X_135;
X_140:=X_139 AND X_137;
X_141:=X_138 AND X_136;
STICKLINE(X_138,HIGH,LOW,0,0),COLORRED;
STICKLINE(X_139,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(X_136,OPEN,CLOSE,1,0),COLORRED;
STICKLINE(X_137,OPEN,CLOSE,1,0),COLORGREEN;
STICKLINE(X_141,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(X_140,OPEN,CLOSE,2,0),COLORBLUE;
X_142:=MA(REF(HHV((CLOSE+LOW+OPEN+HIGH)/4,30),1),3);
STICKLINE(REF(COUNT(CLOSE< X_142,5)=5,1) AND CLOSE>X_142 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLORYELLOW;
DRAWICON(REF(COUNT(CLOSE< X_142,5)=5,1) AND CLOSE>X_142 AND CLOSE>OPEN,LOW*0.96,42),COLORRED;
X_143:=MA(CLOSE,60)>REF(MA(CLOSE,60),1);
X_144:=COST(50);
X_145:=WINNER(CLOSE)*100>50;
X_146:=CROSS(CLOSE,X_144);
X_147:=X_143 AND X_144 AND X_145 AND X_146 AND X_138;
STICKLINE(X_147,CLOSE,OPEN,1,0),COLORMAGENTA;
X_148:=MA(CLOSE,10);
X_149:=MA(CLOSE,54);
STICKLINE(CLOSE/REF(CLOSE,1)>=1.053 AND HIGH=CLOSE,OPEN,CLOSE,2,0),COLORYELLOW;
X_150:=EMA(CLOSE,5);
X_151:=EMA(X_150,0);
X_152:=HHV(MA(HIGH,3),2);
X_153:=LLV(MA(HIGH,3),1);
DRAWICON(X_153=X_152 AND REF(X_152,1)>REF(X_153,1) AND X_138,LOW,1);
DRAWICON(X_153< X_152 AND REF(X_153=X_152,1) AND X_139,HIGH*1.01,2);
X_154:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);
X_155:=100*(1-WINNER(CLOSE));
X_156:=100-X_155;
X_157:=CROSS(X_156,X_155);
DRAWICON(X_157,LOW,25);
X_158:=MA(CLOSE,5);
X_159:=MA(CLOSE,13);
X_160:=MA(CLOSE,34);
X_161:=X_158>REF(X_158,1) AND X_159>REF(X_159,1) AND X_160>REF(X_160,1);
X_162:=EMA(CLOSE,3);
X_163:=EMA(SLOPE(CLOSE,34)*5+CLOSE,21);
X_164:=CROSS(X_162,X_163);
X_165:=CROSS(X_162,X_163) AND X_161;
X_166:=X_164>0;
X_167:=X_165>0;
X_168:=MA(CLOSE,34);
X_169:=X_166 OR X_167;
X_170:=CLOSE>X_168 AND REF(CLOSE,1)< X_168;
X_171:=CROSS(CLOSE,MA(CLOSE,250)) AND VOL>=REF(VOL,1)*2;
X_172:=(CLOSE/REF(CLOSE,1)-1)*100>9.97 AND CROSS(CLOSE,MA(CLOSE,250));
X_173:=X_171 OR X_172 OR X_170;
X_174:=X_169 AND X_157 AND X_173 AND X_154;
STICKLINE(X_174,CLOSE,OPEN,3.05,0),COLOR000099;
STICKLINE(X_174,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(X_174,CLOSE,OPEN,1.5,0),COLORRED;
STICKLINE(X_174,CLOSE,OPEN,0.5,0),COLORYELLOW;
X_175:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X_176:=REF(CLOSE,1);
X_177:=SMA(MAX(CLOSE-X_176,0),5,1)/SMA(ABS(CLOSE-X_176),5,1)*100;
X_178:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10);
X_179:=HIGH-REF(HIGH,1);
X_180:=REF(LOW,1)-LOW;
X_181:=SUM(IF(X_179>0 AND X_179>X_180,X_179,0),10);
X_182:=SUM(IF(X_180>0 AND X_180>X_179,X_180,0),10);
X_183:=X_181*100/X_178;
X_184:=X_182*100/X_178;
X_185:=MA(ABS(X_184-X_183)/(X_184+X_183)*100,5);
X_186:=X_177+X_185;
X_187:=(X_185+REF(X_185,5))/2+X_177;
X_188:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
X_189:=X_177-X_188;
X_190:=X_186+X_189;
X_191:=IF(CROSS(X_190,0),1,0);
X_192:=SMA(X_191,3,1);
X_193:=SMA(X_192,3,1);
X_194:=SMA(X_193,3,1);
X_195:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;
X_196:=SMA(X_195,3,1);
X_197:=SMA(X_196,3,1);
X_198:=3*X_196-2*X_197;
X_199:=LLV(X_198,2)=LLV(X_198,8);
X_200:=IF(CROSS(X_193,X_194) AND X_193< 40,25,0);
X_201:=IF(CROSS(X_198,3),60,0);
X_202:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_203:=SMA(X_202,3,1);
X_204:=SMA(X_203,3,1);
X_205:=3*X_203-2*X_204;
X_206:=REVERSE(X_205);
X_207:=REF(MA(CLOSE,1),10)>REF(MA(CLOSE,60),10);
X_208:=IF(CROSS(X_205,X_206) AND X_207,45,0);
X_209:=IF(X_201 AND X_200,50,0);
X_210:=IF(X_201 AND X_208,66,0);
X_211:=IF(X_201 AND X_208 AND X_200,88,0);
X_212:=HHV(HIGH,34);
X_213:=LLV(LOW,34);
X_214:=EVERY(CLOSE< OPEN,4);
X_215:=EVERY(CLOSE< OPEN,3);
X_216:=X_214 OR X_215;
X_217:=REF(X_216,1) AND X_212 AND X_213 AND OPEN< MA(CLOSE,5) AND OPEN< MA(CLOSE,10) AND CLOSE>=MA(CLOSE,5) AND CLOSE>=MA(CLOSE,10);
STICKLINE(X_217,CLOSE,OPEN,3.05,0),COLOR000099;
STICKLINE(X_217,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(X_217,CLOSE,OPEN,1.5,0),COLORRED;
STICKLINE(X_217,CLOSE,OPEN,0.5,0),COLORYELLOW;
X_218:=X_209 OR X_210 OR X_211;
STICKLINE(X_218,CLOSE,OPEN,3.05,0),COLOR000099;
STICKLINE(X_218,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(X_218,CLOSE,OPEN,1.5,0),COLORRED;
STICKLINE(X_218,CLOSE,OPEN,0.5,0),COLORYELLOW;



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

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

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