通達信公式不被套均線主圖和諧分享附多圖指標下載詳細說明
第一股票公式網(wǎng)(www.)告訴您:當前正要下載:通達信公式不被套均線主圖和諧分享附多圖指標下載
通達信公式不被套均線主圖和諧分享附多圖指標
{公式名稱: 不被套
公式描述: 均線
參數(shù)數(shù)量: 1
參數(shù)1: M, 最小: 0, 最大: 100, 缺省: 1
公式類型: 技術指標公式-均線型
畫線方法: 主圖疊加
參數(shù)精靈:
請設置計算參數(shù):
M: PARAM#0 (0.00--100.00)
用法注釋:
1.股價高于平均線,視為強勢;股價低于平均線,視為弱勢
2.平均線向上漲升,具有助漲力道;平均線向下跌降,具有助跌力道;
3.二條以上平均線向上交叉時,買進;
4.二條以上平均線向下交叉時,賣出;
5.移動平均線的信號經(jīng)常落后股價,若以EXPMA 、VMA 輔助,可以改善。
公式源碼:}
X_1:=5;
X_2:=13;
X_3:=34;
X_4:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
X_5:=DYNAINFO(5)<0.01 OR DYNAINFO(6)<0.01;
X_6:=IF(X_5,1,X_4<DYNAINFO(5)+0.01 AND X_4>DYNAINFO(6)-0.01);
X_7:=IF(X_6,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120));
X_8:=EVERY(X_7>REF(X_7,1),1);
X_9:=IF(X_8,X_7,DRAWNULL);
區(qū)一:STICKLINE(EVERY(EMA(SLOPE(CLOSE,15)*20+CLOSE,30)>REF(EMA(SLOPE(CLOSE,15)*20+CLOSE,30),1),1) AND EVERY(MA(10000*CLOSE/INDEXC,10)>REF(MA(10000*CLOSE/INDEXC,10),1),1) AND EVERY(EMA(SUM(IF(CLOSE=REF(CLOSE,1),0,IF(CLOSE>REF(CLOSE,1),VOL,-VOL)/100),0),30)>REF(EMA(SUM(IF(CLOSE=REF(CLOSE,1),0,IF(CLOSE>REF(CLOSE,1),VOL,-VOL)/100),0),30),1),1),REFDATE(HHV(HIGH,(-5)),DATE),REFDATE(LLV(LOW,(-5)),DATE),6,0),COLOR001030;
區(qū)二:STICKLINE(EVERY(XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1>REF(XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1,1),1) AND COST(EMA(SLOPE(CLOSE,15)*20+CLOSE,30))>=REF(COST(EMA(SLOPE(CLOSE,15)*20+CLOSE,30)),1) AND COST(20)>=REF(COST(20),1) AND EVERY(EMA(SUM(IF(CLOSE=REF(CLOSE,1),0,IF(CLOSE>REF(CLOSE,1),VOL,-VOL)/100),0),30)>REF(EMA(SUM(IF(CLOSE=REF(CLOSE,1),0,IF(CLOSE>REF(CLOSE,1),VOL,-VOL)/100),0),30),1),1) AND VOL/MA(VOL,55)*100>50 AND EVERY(EMA(EMA(CLOSE,12)-EMA(CLOSE,26),9)>REF(EMA(EMA(CLOSE,12)-EMA(CLOSE,26),9),1),1),REFDATE(HHV(HIGH,(-5)),DATE),REFDATE(LLV(LOW,(-5)),DATE),4,0),COLOR001040;
區(qū)三:STICKLINE(EVERY(EMA(SLOPE(CLOSE,15)*20+CLOSE,30)>REF(EMA(SLOPE(CLOSE,15)*20+CLOSE,30),1),1) AND EVERY(MA(10000*CLOSE/INDEXC,10)>REF(MA(10000*CLOSE/INDEXC,10),1),1) AND EVERY(EMA(SUM(IF(CLOSE=REF(CLOSE,1),0,IF(CLOSE>REF(CLOSE,1),VOL,-VOL)/100),0),30)>REF(EMA(SUM(IF(CLOSE=REF(CLOSE,1),0,IF(CLOSE>REF(CLOSE,1),VOL,-VOL)/100),0),30),1),1) AND IF(MA(WINNER(CLOSE*0.9)*100*CLOSE,3)>10,MA(WINNER(CLOSE*0.9)*100*CLOSE,3),0)/2/8>0,REFDATE(HHV(HIGH,(-5)),DATE),REFDATE(LLV(LOW,(-5)),DATE),4,0),COLOR001050;
區(qū)四:STICKLINE(X_9 AND EVERY(EMA(SUM(IF(CLOSE=REF(CLOSE,1),0,IF(CLOSE>REF(CLOSE,1),VOL,-VOL)/100),0),30)>REF(EMA(SUM(IF(CLOSE=REF(CLOSE,1),0,IF(CLOSE>REF(CLOSE,1),VOL,-VOL)/100),0),30),1),1) AND IF(MA(WINNER(CLOSE*0.9)*100*CLOSE,3)>10,MA(WINNER(CLOSE*0.9)*100*CLOSE,3),0)/2/8>0,REFDATE(HHV(HIGH,(-5)),DATE),REFDATE(LLV(LOW,(-5)),DATE),4,0),COLOR001075;
底倉5:COST(1),COLORWHITE,LINETHICK2;
建倉10:COST(10),COLORBLUE,LINETHICK2;
平衡30:COST(30),NODRAW,COLORMAGENTA,LINETHICK2;
X_10:=COST(40);
X_11:=COST(50);
X_12:=COST(60);
X_13:=COST(70);
X_14:=COST(80);
X_15:=COST(90);
X_16:=COST(99);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_17:=SUMBARS(VOL,CAPITAL*1);
X_18:=SUM(COST(10),X_17)/X_17;
X_19:=SUM(COST(20),X_17)/X_17;
X_20:=SUM(COST(30),X_17)/X_17;
X_21:=SUM(COST(40),X_17)/X_17;
X_22:=SUM(COST(50),X_17)/X_17;
X_23:=LLV(LOW,250)=LOW;
X_24:=BARSLAST(X_23);
莊家成本:(5*X_18+4*X_19+3*X_20+2*X_21+X_22)/15,NODRAW,COLORRED;
X_25:=IF(X_6,0.01*EMA(AMOUNT,X_1)/EMA(VOL,X_1),EMA((HIGH+LOW+CLOSE)/3,X_1));
圴2:IF(X_6,0.01*EMA(AMOUNT,X_2)/EMA(VOL,X_2),EMA((HIGH+LOW+CLOSE)/3,X_2)),NODRAW;
圴3:IF(X_6,0.01*EMA(AMOUNT,X_3)/EMA(VOL,X_3),EMA((HIGH+LOW+CLOSE)/3,X_3)),NODRAW;
圴成本:IF(X_6,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120)),NODRAW;
X_26:=EVERY(圴成本>REF(圴成本,1),1);
成本值:IF(X_26,圴成本,DRAWNULL),COLORYELLOW,LINETHICK2;
成本金叉:DRAWTEXT(CROSS(X_25,圴成本) AND 成本值,圴成本-0.5,1),COLORYELLOW;
上升均斜:EMA(SLOPE(CLOSE,20)*30+CLOSE,40),COLORBLUE;
趨勢:XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1,NODRAW,COLORRED,LINETHICK2;
提高~1:STICKLINE(CROSS(CLOSE,莊家成本) AND X_24>=40 AND EVERY(上升均斜>REF(上升均斜,1),M),LOW,CLOSE,4,0),COLORFF0080;
X_27:=EVERY(莊家成本>=REF(莊家成本,1),M);
X_28:=REF(LLV(LOW,150),3);
X_29:=REFDATE(X_28,DATE)*0.9;
X_30:=(-100)*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))+100;
X_31:=(-100)*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6))+100;
X_32:=X_30>=REF(X_30,1);
X_33:=X_30<REF(X_30,1);
X_34:=X_31>=REF(X_31,1);
X_35:=X_31<REF(X_31,1);
X_36:=X_31>=80 AND X_34;
X_37:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_38:=IF(CLOSE>OPEN,X_37*(HIGH-LOW),IF(CLOSE<OPEN,X_37*(HIGH-OPEN+(CLOSE-LOW)),VOL/2));
X_39:=X_38/VOL*100;
X_40:=X_39>=REF(X_39,1);
X_41:=X_39/50;
X_42:=X_39>=80 AND X_40 AND X_41>=1.5 AND REF(X_39,1)<=90;
X_43:=EMA(SLOPE(CLOSE,22)*20+CLOSE,55);
X_44:=X_43-(EMA(CLOSE,1)-X_43);
X_45:=X_43-(EMA(CLOSE,3)-X_43);
X_46:=REF(X_44,1)/X_44;
X_47:=IF(X_46>1,X_46,1);
X_48:=X_47/REF(X_47,1);
X_49:=X_47>=REF(X_47,1) AND X_47>=1.02 AND X_43>=X_44;
X_50:=WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9);
X_51:=WINNER(CLOSE);
X_52:=X_51/X_50;
X_53:=X_50<=REF(X_50,1);
X_54:=REF(X_50,1)/X_50;
X_55:=X_52>=2 AND X_53 OR X_54>=1.3;
X_56:=REF(CLOSE,1);
X_57:=X_56*1.1>=COST(90);
X_58:=X_36 AND X_42 AND X_49 AND X_55 AND X_57;
X_59:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100<=5;
X_60:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_61:=REF(X_60,1);
X_62:=X_59 AND X_60>=6.2 AND X_61<=6.5;
X_63:=X_36 AND X_42 AND X_49 AND X_55 AND X_62;
X_64:=X_36 AND X_42 AND X_49 AND X_55 AND X_59 AND X_61<=6.5;
X_65:=X_51>=X_50;
X_66:=IF(X_65,X_43*0.96,X_43);
界線:X_43,COLORGREEN,LINETHICK2;
界:IF(X_43>=REF(X_43,1),X_43,DRAWNULL),COLORRED,LINETHICK3;
DRAWTEXT(FILTER(界>1 AND EMA(界線,15)>REF(EMA(界線,8),1),10),界,2),COLORWHITE;
DRAWTEXT(X_58 AND X_64,LOW*0.946,3),COLORWHITE;
DRAWTEXT(X_63,LOW*0.91,4),COLORWHITE;
X_67:=CLOSE*VOL;{第一股票公式網(wǎng)-最好的股票公式網(wǎng)站 www.cHnMoNey.Com}
X_68:=EMA((EMA(X_67,2)/EMA(VOL,2)+EMA(X_67,4)/EMA(VOL,4)+EMA(X_67,8)/EMA(VOL,8)+EMA(X_67,16)/EMA(VOL,16))/4,15);
X_69:=1.05*X_68;
X_70:=EMA(X_69-(EMA(CLOSE,3)-X_69),5);
下開:IF(X_70<=X_69,X_70,X_69),COLORMAGENTA,LINETHICK2;
X_71:=2*X_69-下開;
上開:IF(X_71>=X_69,X_71,X_69),COLORYELLOW,LINETHICK2;
觀望:IF(下開=上開,下開,DRAWNULL),COLORGREEN,LINETHICK2;
X_72:=EVERY(觀望>REF(觀望,1),M);
均值上:IF(X_72,觀望,DRAWNULL),COLORRED,LINETHICK2;
X_73:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
X_74:=X_69>=REF(X_69,1) AND 下開<REF(下開,1) AND CLOSE>X_69 AND OPEN>X_69;
X_75:=CROSS(CLOSE,X_69) AND X_73;
DRAWTEXT(X_75,LOW,2),COLORYELLOW;
X_76:=CROSS(CLOSE,下開);
X_77:=((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004;
X_78:=CROSS(CLOSE,X_77) AND X_77>REF(X_77,1);
加碼:STICKLINE(X_78 AND EVERY(上升均斜>REF(上升均斜,1),M),OPEN,CLOSE,3.5,0),COLORFF8000,LINETHICK2;
加碼1:STICKLINE(X_78 AND 加碼 AND EVERY(上升均斜>REF(上升均斜,1),M),OPEN,CLOSE,2.5,0),COLORBLUE,LINETHICK2;
X_79:=FINANCE(30)>=REF(FINANCE(30),130);
X_80:=X_79;
X_81:=IF(NAMELIKE(5),0,1);
X_82:=IF(NAMELIKE(6),0,1);
X_83:=DYNAINFO(17)>0;
X_84:=9500;
X_85:=EXIST((CLOSE/REF(CLOSE,1)-1)*100>5.6,60);
X_86:=DYNAINFO(4)>0;
X_87:=DYNAINFO(7)<150;
X_88:=CAPITAL/1500000<10;
X_89:=X_85 AND X_86 AND X_87 AND X_88 AND CLOSE<150 AND FINANCE(42)<X_84 AND X_80 AND X_81 AND X_82;
X_90:=CAPITAL/1000000<=4.98;
X_91:=IF(CODELIKE(7),0,1);
X_92:=IF(NAMELIKE(5),0,1);
X_93:=IF(NAMELIKE(6),0,1);
X_94:=DYNAINFO(17)>0;
X_95:=X_91 AND X_92 AND X_93 AND X_94;
X_96:=WINNER(CLOSE);
X_97:=OPEN/REF(CLOSE,1)<1.06;
X_98:=DYNAINFO(17)>=1;
X_99:=VOL/CAPITAL*100;
X_100:=REF(CLOSE,1)-REF(OPEN,1);
X_101:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);
X_102:=DYNAINFO(23)-DYNAINFO(22);
X_103:=REF(VOL,1)-REF(VOL,2);
X_104:=1;
X_105:=MA(CLOSE,5);
X_106:=MA(CLOSE,8);
X_107:=MA(CLOSE,10);
X_108:=MA(CLOSE,13);
X_109:=MA(CLOSE,60);
X_110:=X_105>X_106 AND X_106>X_108 AND X_108>X_109;
X_111:=COUNT(CLOSE>X_108,3)=3;
X_112:=ATAN(MA(CLOSE,13)/REF(MA(CLOSE,13),1)*100-100)/3.142*180;
X_113:=(X_105-MA(X_105,X_104))/MA(X_105,X_104)*100;
X_114:=(X_107-MA(X_107,X_104))/MA(X_107,X_104)*100;
DRAWTEXT(BETWEEN(X_113,(-5),5) AND BETWEEN(X_114,(-5),5) AND CLOSE>=6 AND CLOSE<26 AND X_98 AND X_99>=1.1 AND X_99<=8 AND CLOSE/REF(CLOSE,1)<=1.97 AND CLOSE/REF(CLOSE,1)>=1.02 AND X_90 AND X_95 AND CLOSE>OPEN AND CROSS(X_112,45) AND X_97 AND X_100 AND X_101 AND X_102 AND X_103 AND X_110 AND X_89,LOW*0.958,8),COLORYELLOW;
X_115:=EMA(CLOSE,13);
X_116:=EMA(CLOSE,30);
X_117:=EMA(CLOSE,60);
X_118:=EMA(CLOSE,90);
X_119:=EMA(CLOSE,120);
X_120:=EMA(CLOSE,250);
X_121:=X_116-X_117<130/1000 AND X_116-X_118<230/1000 AND X_116-X_119<330/1000;
X_122:=X_117-X_116<130/1000 AND X_117-X_118<230/1000 AND X_117-X_119<330/1000;
X_123:=X_118-X_116<130/1000 AND X_118-X_117<230/1000 AND X_118-X_119<330/1000;
X_124:=X_119-X_116<130/1000 AND X_119-X_117<230/1000 AND X_119-X_118<330/1000;
X_125:=X_116-X_117<100/1000 AND X_116-X_118<200/1000;
X_126:=X_121 AND X_122 AND X_123 AND X_124 AND CROSS(X_116,X_117);
X_127:=X_121 AND X_122 AND X_123 AND X_124 AND CROSS(EMA(CLOSE,13),X_116);
X_128:=X_125 AND CLOSE>X_120 AND CROSS(X_116,X_117);
X_129:=X_117-X_118<220/1000 AND X_117-X_119<320/1000 AND X_117-X_120<420/1000;
X_130:=X_118-X_116<220/1000 AND X_118-X_117<320/1000 AND X_118-X_120<420/1000;
X_131:=X_119-X_117<220/1000 AND X_119-X_118<320/1000 AND X_119-X_120<420/1000;
X_132:=X_120-X_117<220/1000 AND X_120-X_118<320/1000 AND X_120-X_119<420/1000;
X_133:=X_129 AND X_130 AND X_131 AND X_132 AND CROSS(X_115,X_116);
X_134:=X_129 AND X_130 AND X_131 AND X_132 AND CROSS(X_116,X_117);
啟動:DRAWTEXT(X_126 OR X_127 OR X_128 OR X_133 OR X_134,LOW*0.958,9),COLORRED;
X_135:=5;
X_136:=10;
X_137:=20;
X_138:=30;
X_139:=60;
X_140:=120;
X_141:=MA(CLOSE,X_135);
X_142:=MA(CLOSE,X_136);
X_143:=MA(CLOSE,X_137);
X_144:=MA(CLOSE,X_138);
X_145:=MA(CLOSE,X_139);
DRAWTEXT(CROSS(X_144,X_145),X_144,13),COLORYELLOW;
X_146:=CLOSE>=MAX(MA(CLOSE,5),MAX(MA(CLOSE,10),MAX(MA(CLOSE,20),MAX(MA(CLOSE,60),MA(CLOSE,120)))));
X_147:=VOL<=HHV(VOL,10)*0.6;
X_148:=ABS(CLOSE-OPEN)/CLOSE<=0.002 AND CLOSE/REF(CLOSE,1)<1.02;
DRAWTEXT(X_146 AND X_147 AND X_148 AND X_89 AND 成本值,LOW*0.988,14),COLORYELLOW;
DRAWICON(CROSS(ZIG(3,12),REF(ZIG(3,12),1)),LOW*1.08,7);
DRAWICON(CROSS(ZIG(3,5),REF(ZIG(3,5),1)),LOW*1.05,1);
DRAWICON(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.99,3);
DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.96,5);
X_149:=(2*OPEN+HIGH+LOW+3*CLOSE)/7;
X_150:=CAPITAL*X_149;
X_151:=SMA(AMOUNT,10,1)/1000;
X_152:=MA(CLOSE*3,5);
X_153:=X_151*CLOSE*3/X_152*1/10;
X_154:=X_151*OPEN*3/X_152*1/10;
X_155:=X_151*HIGH*3/X_152*1/10;
X_156:=X_151*LOW*3/X_152*1/10;
X_157:=(2*X_154+X_155+X_156+3*X_153)/7;
X_158:=DMA(EMA(X_153,2),SUM(VOL,1)*X_157);
X_159:=EMA(X_158,2);
X_160:=X_158>X_159;
X_161:=EMA(X_150-X_158,1);
X_162:=REF(X_161,1);
X_163:=X_161>X_162;
X_164:=X_163 AND CLOSE>OPEN;
X_165:=(X_161-X_162)*15;
X_166:=(X_158-X_159)*15000;
X_167:=(X_162-X_161)*(-1);
X_168:=IF(X_161>X_162,X_165/1000,0);
X_169:=IF(X_161<X_162,X_165/1000,0);
X_170:=IF(X_160 AND X_164,X_166/1000,0);
X_171:=IF(X_160 AND X_161<X_162,X_165/1000,0);
X_172:=X_168;
X_173:=X_170;
X_174:=DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)) AND X_172 AND X_173,LOW*0.959,6);
X_175:=REF(CLOSE,1);
X_176:=SMA(MAX(CLOSE-X_175,0),5,1)/SMA(ABS(CLOSE-X_175),5,1)*100;
X_177:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10);
X_178:=HIGH-REF(HIGH,1);
X_179:=REF(LOW,1)-LOW;
X_180:=SUM(IF(X_178>0 AND X_178>X_179,X_178,0),10);
X_181:=SUM(IF(X_179>0 AND X_179>X_178,X_179,0),10);
X_182:=X_180*100/X_177;
X_183:=X_181*100/X_177;
X_184:=MA(ABS(X_183-X_182)/(X_183+X_182)*100,5);
X_185:=X_176+X_184;
X_186:=(X_184+REF(X_184,5))/2+X_176;
X_187:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
X_188:=X_176-X_187;
X_189:=X_185+X_188;
DRAWTEXT(X_174 AND X_189,LOW*0.969,15),COLORYELLOW;
X_190:=8000;
X_191:=7500;
X_192:=EXIST((CLOSE/REF(CLOSE,1)-1)*100>5.6,60);
X_193:=DYNAINFO(4)>0;
X_194:=DYNAINFO(7)<150;
X_195:=CAPITAL/1500000<10;
X_196:=X_192 AND X_193 AND X_194 AND X_195 AND CLOSE<150 AND FINANCE(42)<X_190;
X_197:=IF(EMA((2*CLOSE+HIGH+LOW)/4,5)>=REF(EMA((2*CLOSE+HIGH+LOW)/4,5),1),EMA((2*CLOSE+HIGH+LOW)/4,5),DRAWNULL);
X_198:=EVERY(X_197>=REF(X_197,1),M);
X_199:=20;
X_200:=(HIGH+LOW+CLOSE)/3;
X_201:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
X_202:=IF(CAPITAL=0,X_201*(X_200-MIN(CLOSE,OPEN)),X_201*IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW));
X_203:=IF(CAPITAL=0,X_201*(MIN(OPEN,CLOSE)-LOW),X_201*IF(HIGH=LOW,1,X_200-MIN(CLOSE,OPEN)));
X_204:=IF(CAPITAL=0,X_201*(HIGH-MAX(OPEN,CLOSE)),X_201*IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE)));
X_205:=IF(CAPITAL=0,X_201*(MAX(CLOSE,OPEN)-X_200),X_201*IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-X_200));
X_206:=(X_202+X_203-(X_204+X_205))/IF(CAPITAL=0,1000000,10000);
X_207:=MA(X_206,10)*X_199;
X_208:=SMA(X_207,3,1);
X_209:=EVERY(X_208>=REF(X_208,1),M) AND X_198;
X_210:=SMA(X_208,3,1);
X_211:=EVERY(X_210>=REF(X_210,1),M) AND X_209;
X_212:=EMA(X_210,5);
X_213:=EVERY(X_212>=REF(X_212,1),M) AND X_211;
X_214:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
X_215:=REF(X_214,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_216:=REF(X_215,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_217:=REF(X_216,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_218:=REF(X_217,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_219:=REF(X_218,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_220:=REF(X_219,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_221:=REF(X_220,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_222:=REF(X_221,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_223:=REF(X_222,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_224:=REF(X_223,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_225:=REF(X_224,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_226:=STICKLINE(X_214 OR X_215 OR X_216 OR X_217 OR X_218 OR X_219 OR X_220 OR X_221 OR X_222 OR X_223 OR X_224 OR X_225,CLOSE,REF(CLOSE,1),3,1);
X_227:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
X_228:=REF(X_227,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_229:=REF(X_228,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_230:=REF(X_229,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_231:=REF(X_230,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_232:=REF(X_231,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_233:=REF(X_232,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_234:=REF(X_233,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_235:=REF(X_234,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_236:=REF(X_235,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_237:=REF(X_236,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_238:=REF(X_237,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_239:=STICKLINE(X_227 OR X_228 OR X_229 OR X_230 OR X_231 OR X_232 OR X_233 OR X_234 OR X_235 OR X_236 OR X_237 OR X_238,CLOSE,REF(CLOSE,1),3,0);
X_240:=REF(X_227 OR X_228 OR X_229 OR X_230 OR X_231 OR X_232 OR X_233 OR X_234 OR X_235 OR X_236 OR X_237 OR X_238,1) AND X_214;
X_241:=STICKLINE(X_240 AND X_213,REF(CLOSE,1),REF(CLOSE,2),4.5,0);
X_242:=(3*CLOSE+HIGH+LOW+OPEN)/6;
X_243:=(8*X_242+7*REF(X_242,1)+6*REF(X_242,2)+5*REF(X_242,3)+4*REF(X_242,4)+3*REF(X_242,5)+2*REF(X_242,6)+REF(X_242,8))/36;
X_244:=(HHV(X_243,5)+HHV(X_243,10)+HHV(X_243,20))/3;
X_245:=(LLV(X_243,5)+LLV(X_243,10)+LLV(X_243,20))/3;
X_246:=(HHV(X_244,5)+HHV(X_244,10)+HHV(X_244,20))/3;
X_247:=(LLV(X_245,5)+LLV(X_245,10)+LLV(X_245,20))/3;
X_248:=(LLV(X_243,2)+LLV(X_243,4)+LLV(X_243,6))/3;
X_243;
DRAWNULL;
X_249:=X_243;
X_250:=EVERY(X_249>=REF(X_249,1),M) AND X_213;
X_251:=IF(WINNER(CLOSE),WINNER(CLOSE)*100,5);
X_252:=EVERY(X_251>=REF(X_251,1),M);
X_253:=3*SMA((CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100,5,2)-2*SMA((CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*60,5,2);
X_254:=EMA(X_253,5);
X_255:=EVERY(X_254>=REF(X_254,1),M) AND X_250;
X_256:=DYNAINFO(7);
X_257:=MA(AMOUNT/VOL/100,VOL/CAPITAL);
X_258:=BARSCOUNT(CLOSE);
X_259:=SMA(CLOSE/HHV(HIGH,120),3,1)*100;
X_260:=IF(X_258>20,X_259,0);
X_261:=IF(LOW>X_256,0,IF(HIGH<X_256,1,(X_256-LOW+0.009)/(HIGH-LOW+0.009)));
X_262:=DMA(X_261,VOL/CAPITAL)*100;
X_263:=IF(X_257>X_256,100-X_262,X_262);
X_264:=IF(X_262>0 AND X_262>REF(X_262,1) AND X_260<=88,X_262,0);
X_265:=X_264;
X_266:=EVERY(X_265>=REF(X_265,1),M) AND X_250;
X_267:=VOL>REF(VOL,1)*1.5;
X_268:=VOL<REF(LLV(VOL,13),1);
X_269:=VOL<REF(LLV(VOL,55),1);
X_270:=X_267 AND X_266;
X_271:=SUM(IF(CLOSE>REF(CLOSE,1),100*VOL/CAPITAL,0),7)>20 AND X_266;
X_272:=MACD.DIF#WEEK;
X_273:=MACD.DEA#WEEK;
X_274:=DMI.ADXR#WEEK;
X_275:=MACD.DIF#MONTH;
X_276:=MACD.DEA#MONTH;
X_277:=KDJ.K#WEEK(9,3,3);
X_278:=KDJ.D#WEEK(9,3,3);
X_279:=KDJ.K#MONTH(9,3,3);
X_280:=KDJ.D#MONTH(9,3,3);
X_281:=CROSS(RSI.RSI2#WEEK(6,12,24),RSI.RSI1#WEEK(3,6,12));
X_282:=CROSS(RSI.RSI2#MONTH(6,12,24),RSI.RSI1#MONTH(3,6,12));
X_283:=CROSS(X_273,X_272);
X_284:=CROSS(X_276,X_275);
X_285:=CROSS(X_278,X_277);
X_286:=CROSS(X_280,X_279);
X_287:=X_285 OR X_283 OR X_281;
X_288:=X_284 OR X_286 OR X_282;
X_289:=DRAWICON(X_287,HIGH*1.02,35);
X_290:=DRAWICON(X_288,HIGH*1.04,2);
X_291:=CROSS(X_272,X_273);
X_292:=CROSS(X_275,X_276);
X_293:=CROSS(X_279,X_280);
X_294:=CROSS(X_277,X_278);
X_295:=CROSS(X_274,X_274);
X_296:=CROSS(RSI.RSI1#WEEK(6,12,24),RSI.RSI2#WEEK(3,6,12));
X_297:=CROSS(RSI.RSI1#MONTH(6,12,24),RSI.RSI2#MONTH(3,6,12));
X_298:=X_291 OR X_294 OR X_296 OR X_295;
X_299:=X_292 OR X_293 OR X_297;
X_300:=DRAWICON(X_298 AND X_250,LOW*0.98,9);
X_301:=DRAWICON(X_299 AND X_250,LOW*0.96,34);
X_302:=IF(EMA((2*CLOSE+HIGH+LOW)/4,5)>=REF(EMA((2*CLOSE+HIGH+LOW)/4,5),1),EMA((2*CLOSE+HIGH+LOW)/4,5),DRAWNULL);
X_303:=EVERY(X_302>=REF(X_302,1),M);
X_304:=(3*CLOSE+HIGH+LOW+OPEN)/6;
X_305:=(8*X_304+7*REF(X_304,1)+6*REF(X_304,2)+5*REF(X_304,3)+4*REF(X_304,4)+3*REF(X_304,5)+2*REF(X_304,6)+REF(X_304,8))/36;
X_306:=(HHV(X_305,5)+HHV(X_305,10)+HHV(X_305,20))/3;
X_307:=(LLV(X_305,5)+LLV(X_305,10)+LLV(X_305,20))/3;
X_308:=(HHV(X_306,5)+HHV(X_306,10)+HHV(X_306,20))/3;
X_309:=(LLV(X_307,5)+LLV(X_307,10)+LLV(X_307,20))/3;
X_310:=(LLV(X_305,2)+LLV(X_305,4)+LLV(X_305,6))/3;
X_311:=DRAWBAND(X_305,RGB(155,50,50),X_310,RGB(250,250,0));
X_305;
DRAWNULL;
X_312:=X_305;
X_313:=EVERY(X_312>=REF(X_312,1),M) AND X_213;
X_314:=MACD.DIF#WEEK;
X_315:=MACD.DEA#WEEK;
X_316:=DMI.ADXR#WEEK;
X_317:=MACD.DIF#MONTH;
X_318:=MACD.DEA#MONTH;
X_319:=KDJ.K#WEEK(9,3,3);
X_320:=KDJ.D#WEEK(9,3,3);
X_321:=KDJ.K#MONTH(9,3,3);
X_322:=KDJ.D#MONTH(9,3,3);
X_323:=CROSS(RSI.RSI2#WEEK(6,12,24),RSI.RSI1#WEEK(6,12,24));
X_324:=CROSS(RSI.RSI2#MONTH(6,12,24),RSI.RSI1#MONTH(6,12,24));
X_325:=CROSS(X_315,X_314);
X_326:=CROSS(X_318,X_317);
X_327:=CROSS(X_320,X_319);
X_328:=CROSS(X_322,X_321);
X_329:=X_327 OR X_325 OR X_323;
X_330:=X_326 OR X_328 OR X_324;
X_331:=DRAWICON(X_329,HIGH*1.02,35);
X_332:=DRAWICON(X_330,HIGH*1.04,2);
X_333:=CROSS(X_314,X_315);
X_334:=CROSS(X_317,X_318);
X_335:=CROSS(X_321,X_322);
X_336:=CROSS(X_319,X_320);
X_337:=CROSS(X_274,X_274);
X_338:=CROSS(RSI.RSI1#WEEK(6,12,24),RSI.RSI2#WEEK(6,12,24));
X_339:=CROSS(RSI.RSI1#MONTH(6,12,24),RSI.RSI2#MONTH(6,12,24));
X_340:=X_333 OR X_336 OR X_338 OR X_337;
X_341:=X_334 OR X_335 OR X_339;
X_342:=DRAWICON(X_340 AND X_313,LOW*0.98,9);
X_343:=DRAWICON(X_341 AND X_313,LOW*0.96,34);
X_344:=DRAWTEXT(X_300 AND X_342,LOW*0.992,16);
X_345:=1;
X_346:=MA(WINNER(CLOSE*0.1)*100*CLOSE,3);
X_347:=IF(X_346>0,X_346,0)/2;
X_348:=X_347;
X_349:=EVERY(X_348>=REF(X_348,1),X_345);
X_350:=(2*OPEN+HIGH+LOW+3*CLOSE)/7;
X_351:=CAPITAL*X_350;
X_352:=SMA(AMOUNT,10,1)/1000;
X_353:=MA(CLOSE*3,5);
X_354:=X_352*CLOSE*3/X_353*1/10;
X_355:=X_352*OPEN*3/X_353*1/10;
X_356:=X_352*HIGH*3/X_353*1/10;
X_357:=X_352*LOW*3/X_353*1/10;
X_358:=(2*X_355+X_356+X_357+3*X_354)/7;
X_359:=DMA(EMA(X_354,2),SUM(VOL,1)*X_358);
X_360:=EMA(X_359,2);
X_361:=X_359>X_360;
X_362:=EMA(X_351-X_359,1);
X_363:=REF(X_362,1);
X_364:=X_362>X_363;
X_365:=X_364 AND CLOSE>OPEN;
X_366:=(X_359-X_360)*15000;
X_367:=IF(X_361 AND X_365,X_366/10000,0);
X_368:=X_367>0 AND X_349;
X_369:=STICKLINE(X_361 AND X_365,0,X_366,2,0);
X_370:=EVERY(X_369>=REF(X_369,1),X_345) AND X_349;
X_371:=CLOSE*VOL;
X_372:=EMA((EXPMA(X_371,3)/EXPMA(VOL,3)+EXPMA(X_371,6)/EXPMA(VOL,6)+EXPMA(X_371,12)/EXPMA(VOL,12)+EXPMA(X_371,24)/EXPMA(VOL,24))/4,13);
X_373:=REF(CLOSE,1)*0.1-CLOSE<0.01 AND CLOSE>LOW;
X_374:=1.06*X_372;
X_375:=CROSS(CLOSE,X_374);
啟:DRAWTEXT(X_375 AND X_344 AND X_370 AND X_196 AND X_373,LOW*0.938,17),COLORYELLOW;
X_376:=VOL/100;
X_377:=MA(X_376,5);
X_378:=MA(X_376,35);
X_379:=MA(X_376,135);
出擊:STICKLINE(CROSS(X_377,X_379) OR (X_378>X_379 AND CROSS(X_377,X_378)),CLOSE,OPEN,2.5,0),COLORFF0080;
啟動量:STICKLINE(X_377>REF(X_377,1) AND (CROSS(VOL,X_377) AND (REF(VOL,1)<REF(X_379,1) AND REF(VOL,2)<REF(X_379,2))),CLOSE,OPEN,2.5,0),COLORGREEN;
X_380:=AMOUNT/VOL;
X_381:=LOW<X_380*0.9;
X_382:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;
X_383:=LOW<MA(CLOSE,5)*0.921;
X_384:=VOL<MA(VOL,5)*1.5;
X_385:=X_381 AND X_382 AND X_383 AND X_384;
DRAWTEXT(X_385,HIGH*0.98,19),COLOR4080FF;
X_386:=FINANCE(42);
X_387:=DATETODAY(CONST(DATE));
X_388:=X_387-X_386;
X_389:=DAYTODATE(X_388)+19000000;
X_390:=STRCAT(20,CON2STR(X_389,0));
DRAWTEXT_FIX(ISLASTBAR,0.76,0,0,X_390),COLORYELLOW;
X_391:=CLOSE/REF(CLOSE,1)>=1.095;
X_392:=COUNT(X_391,BARSSINCE(X_391)+1);
DRAWNUMBER(X_391,HIGH*1.04,X_392),COLORYELLOW;
X_393:=STRCAT(21,CON2STR(X_392,0));
X_394:=STRCAT(X_393,22);
X_395:=STRCAT(23,CON2STR(FINANCE(42),0));
X_396:=STRCAT(X_395,24);
X_397:=STRCAT(25,CON2STR(CONST(BARSLAST(X_391)),0));
X_398:=STRCAT(X_397,26);
X_399:=STRCAT(X_396,X_394);
X_400:=STRCAT(X_399,X_398);
X_401:=STRCAT(27,X_400);
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.75,0,1,X_401),COLORYELLOW;
X_402:=DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(STRCAT(STRCAT(STRCAT(HYBLOCK,28),DYBLOCK),29),GNBLOCK));
X_403:=STRCAT(HYBLOCK,28);
X_404:=STRCAT(X_403,DYBLOCK);
X_405:=STRCAT(X_404,28);
AC1:DRAWTEXT_FIX(ISLASTBAR,0,(-0.02),0,STRCAT(X_405,GNBLOCK)),COLORLIRED;
AC2:DRAWTEXT_FIX(ISLASTBAR,0,0.03,0,EXTERNSTR(0,3)),COLORWHITE;
AC3:DRAWTEXT_FIX(ISLASTBAR,0,0.06,0,EXTERNSTR(0,6)),COLORLIBLUE;
AC4:DRAWTEXT_FIX(ISLASTBAR,0,0.12,0,EXTERNSTR(0,12)),COLORLIGREEN;
活躍股:DRAWTEXT_FIX(ISLASTBAR,0,0.09,0,FGBLOCK),COLORLIMAGENTA;
X_406:=DRAWTEXT_FIX(ISLASTBAR,0,0.999,0,EXTERNSTR(0,1));
X_407:=STRCAT(31,GNBLOCK);
X_408:=STRCAT(32,FGBLOCK);
DRAWTEXT_FIX(1,0,0.99,0,36),COLORYELLOW;
DRAWTEXT_FIX(1,0.07,0.99,0,EXTERNSTR(0,4)),COLORYELLOW;
DRAWNUMBER_FIX(1,0.52,0.09,0,CONST(WINNER(CLOSE)*100)),COLORYELLOW;
X_409:=WINNER(CLOSE)*100;
DRAWTEXT_FIX(X_409>=95 AND ISLASTBAR,0.59,0.09,0,38),COLORRED;
DRAWTEXT_FIX(X_409>=80 AND X_409<95 AND ISLASTBAR,0.59,0.09,0,39),COLORYELLOW;
DRAWTEXT_FIX(X_409>=50 AND X_409<80 AND ISLASTBAR,0.59,0.09,0,40),COLORGREEN;
DRAWTEXT_FIX(X_409<50 AND ISLASTBAR,0.59,0.09,0,41),COLORBLUE;
X_410:=FINANCE(33)/FINANCE(34)*100;
X_411:=FINANCE(23)/FINANCE(20)*100;
X_412:=FINANCE(25)/FINANCE(15);
X_413:=FINANCE(44);
X_414:=FINANCE(43);
X_415:=CONST(FINANCE(38));
X_416:=CONST(FINANCE(34));
X_417:=CONST(FINANCE(25)/FINANCE(1));
X_418:=CONST(FINANCE(32));
X_419:=CONST(FINANCE(18));
X_420:=DYNAINFO(39);
X_421:=VOL/CAPITAL*100;
X_422:=DYNAINFO(17);
X_423:=X_410>3;
X_424:=X_410>0.01 AND X_410<=3;
X_425:=X_411>2;
X_426:=X_411>0;
X_427:=X_413>1;
X_428:=X_413>0;
X_429:=X_414>2;
X_430:=X_414>0.2;
X_431:=X_415>0.01;
X_432:=X_415>0.001;
X_433:=X_416>2;
X_434:=X_416>0.01;
X_435:=X_418>0.5;
X_436:=X_418>0.001;
X_437:=X_419>0.5;
X_438:=X_419>0.002;
X_439:=X_420<200;
X_440:=X_420<5000;
X_441:=X_421>0.1;
X_442:=X_421>0.01;
X_443:=X_98>0.8;
X_444:=X_98>0.3;
X_445:=X_423 AND X_425 AND X_427 AND X_429 AND X_431 AND X_433 AND X_435 AND X_437 AND X_439 AND X_441 AND X_443;
X_446:=X_424 AND X_426 AND X_428 AND X_430 AND X_432 AND X_434 AND X_436 AND X_438 AND X_440 AND X_442 AND X_444;
DRAWTEXT_FIX(X_445 AND X_446=0,0.645,0.09,0,42),COLORRED;
DRAWTEXT_FIX(X_446,0.685,0.09,0,43),COLORMAGENTA;