图片
图片
图片
以下是源码:
苍穹缠论主图:
图片
DRAWGBK(CLOSE>0,RGB(0,10,10),RGB(0,10,10),0,1,0);
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.4,0,0,2),COLORRED;
X_1:=CLOSE-LOW;
X_2:=HIGH-LOW;
X_3:=CLOSE-HIGH;
X_4:=IF(HIGH>LOW,(X_1/X_2+X_3/X_2)*VOL,0);
X_5:=SUM(X_4,10)/10000;
X_6:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_7:=EMA(X_6,9);
X_8:=(X_6-X_7)*2;
X_9:=UPNDAY(X_8,1);
X_10:=REF(HIGH,5)=HHV(HIGH,11);
X_11:=REF(LOW,5)=LLV(LOW,11);
X_12:=BACKSET(X_10,6)>BACKSET(X_10,5);
X_13:=BACKSET(X_11,6)>BACKSET(X_11,5);
X_14:=IF(BARSLAST(X_12)=BARSLAST(X_13) AND MA(CLOSE,5)>MA(CLOSE,10),X_12,IF(BARSLAST(X_13)>BARSLAST(X_12),X_12,0));
X_15:=IF(BARSLAST(X_12)=BARSLAST(X_13) AND MA(CLOSE,10)>MA(CLOSE,5),X_13,IF(BARSLAST(X_12)>BARSLAST(X_13),X_13,0));
X_16:=X_14 AND HIGH=HHV(HIGH,BARSLAST(X_15));
X_17:=X_15 AND LOW=LLV(LOW,BARSLAST(X_14));
X_18:=LOW>REF(HIGH,1) AND DAY!=REF(DAY,1);
X_19:=HIGH<REF(LOW,1) AND DAY!=REF(DAY,1);
X_20:=REF(HIGH,BARSLAST(X_16));
X_21:=REF(LOW,BARSLAST(X_16));
X_22:=REF(HIGH,BARSLAST(X_16)+1);
X_23:=REF(LOW,BARSLAST(X_16)+1);
X_24:=REF(LOW,BARSLAST(X_16)+2);
X_25:=REF(HIGH,BARSLAST(X_17)+2);
X_26:=REF(HIGH,BARSLAST(X_17));
X_27:=REF(LOW,BARSLAST(X_17));
X_28:=REF(HIGH,BARSLAST(X_17)+1);
X_29:=REF(LOW,BARSLAST(X_17)+1);
X_30:=IF(X_22<X_21,X_21,IF(X_21<=X_23,X_24,X_23));
X_31:=IF(X_29>X_26,X_26,IF(X_26>=X_28,X_25,X_28));
X_32:=X_20>X_31 AND X_16;
X_33:=X_27<X_30 AND X_17;
X_34:=X_32 AND X_20>X_26 AND X_21>X_27 AND X_23>X_27;
X_35:=X_33 AND X_27<X_21 AND X_26<X_20 AND X_28<X_20;
X_36:=HIGH<=REF(HIGH,1) AND LOW>=REF(LOW,1) OR (HIGH>=REF(HIGH,1) AND LOW<=REF(LOW,1));
X_37:=COUNT(X_36,BARSLAST(X_17));
X_38:=COUNT(X_36,BARSLAST(X_16));
X_39:=COUNT(X_18,BARSLAST(X_17));
X_40:=COUNT(X_19,BARSLAST(X_16));
X_41:=IF(X_37>0,X_37+2,IF(X_38,X_38+2,3));
X_42:=IF(X_39,X_41-X_39,IF(X_40,X_41-X_40,X_41));
X_43:=X_34 AND BARSLAST(X_35)>X_42;
X_44:=X_35 AND BARSLAST(X_34)>X_42;
X_45:=X_16 AND REF(HIGH,BARSLAST(X_16))>=REF(HIGH,BARSLAST(X_43)) AND BARSLAST(X_44)>BARSLAST(X_43) OR (X_32 AND COUNT(X_18,BARSLAST(X_33))>0 AND REF(HIGH,BARSLAST(X_32))>REF(HIGH,BARSLAST(X_43)));
X_46:=X_17 AND REF(LOW,BARSLAST(X_17))<=REF(LOW,BARSLAST(X_44)) AND BARSLAST(X_43)>BARSLAST(X_44) OR (X_33 AND COUNT(X_19,BARSLAST(X_32))>0 AND REF(LOW,BARSLAST(X_33))<REF(HIGH,BARSLAST(X_44)));
X_47:=IF(BARSLAST(X_46)>BARSLAST(X_45),REF(HIGH,BARSLAST(X_45)),REF(HIGH,BARSLAST(X_46)));
X_48:=IF(BARSLAST(X_45)>BARSLAST(X_46),REF(LOW,BARSLAST(X_46)),REF(LOW,BARSLAST(X_45)));
X_49:=X_45 AND HIGH=HHV(X_47,BARSLAST(X_46)+1) AND HIGH>REF(HIGH,1) AND BARSLAST(X_46)>BARSLAST(X_45);
X_50:=X_46 AND LOW=LLV(X_48,BARSLAST(X_45)+1) AND LOW<REF(LOW,1) AND BARSLAST(X_45)>BARSLAST(X_46);
X_51:=X_49 OR (X_16 AND REF(HIGH,BARSLAST(X_16))>REF(HIGH,BARSLAST(X_49)) AND BARSLAST(X_50)>BARSLAST(X_49));
X_52:=X_50 OR (X_17 AND REF(LOW,BARSLAST(X_17))<REF(LOW,BARSLAST(X_50)) AND BARSLAST(X_49)>BARSLAST(X_50));
趋势朝上:DRAWLINE(X_52,LOW,X_51,HIGH,0),DOTLINE,COLORYELLOW,LINETHICK2;
趋势向下:DRAWLINE(X_51,HIGH,X_52,LOW,0),DOTLINE,COLORWHITE,LINETHICK2;
找顶线:DRAWLINE(X_51,HIGH,REF(X_51,1),REF(HIGH,1),1),COLORGREEN;
找底线:DRAWLINE(X_52,LOW,REF(X_52,1),REF(LOW,1),1),COLORRED;
DRAWNUMBER(X_52,LOW*0.99,LOW),COLORRED;
DRAWNUMBER(X_51,HIGH*1,HIGH),COLORLICYAN;
X_53:=X_52 OR X_51;
X_54:=IF(X_52>X_51,LOW,IF(X_52<X_51,HIGH,DRAWNULL));
X_55:=IF(CLOSE>找顶线,HIGH,DRAWNULL);
X_56:=IF(CLOSE<找底线,LOW,DRAWNULL);
X_57:=IF(CLOSE>找底线 AND CLOSE<找顶线,LOW,DRAWNULL);
X_58:=CURRBARSCOUNT=1;
动态线过顶:DRAWLINE(X_53,X_54,X_58,X_55,0),DOTLINE,COLORRED,LINETHICK2;
动态线破底:DRAWLINE(X_53,X_54,X_58,X_56,0),DOTLINE,COLORGREEN,LINETHICK2;
动态线破底中跌:DRAWLINE(X_53,X_54,X_58,X_57,0),DOTLINE,COLORLIBLUE,LINETHICK2;
X_59:=REFDATE(REF(HHV(HIGH,50),5),DATE);
X_60:=REFDATE(REF(LLV(LOW,50),5),DATE);
X_61:=(X_59+X_60)/2;
X_62:=X_59*1.04;
X_63:=X_60*0.98;
X_64:=(X_62-X_63)/13*1.2;
6;
7;
8;
9;
X_65:=NOT(NAMELIKE(3) OR NAMELIKE(4) OR NAMELIKE(5) OR HYSYL OR HYSYL OR HYSYL OR HYSYL);
X_66:=DMA(AMOUNT/(100*VOL),VOL/CAPITAL);
量价线:IF(X_66<X_59 AND X_66>X_60,X_66,DRAWNULL),DOTLINE,COLORGRAY;
X_67:=EMA(EMA(CLOSE,3),2);
X_68:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
STICKLINE(CLOSE<REF(CLOSE,1) OR CLOSE<OPEN,LOW,HIGH,0,1),COLORLIBLUE;
STICKLINE(CLOSE>=REF(CLOSE,1) OR CLOSE>OPEN,LOW,HIGH,0,1),COLORRED;
STICKLINE(OPEN>CLOSE AND CLOSE<REF(CLOSE,1),CLOSE,OPEN,3.05,0),COLORCCCC00;
STICKLINE(OPEN<=CLOSE AND (CLOSE<REF(CLOSE,1) OR CLOSE<OPEN),CLOSE,OPEN,3.05,1),COLORCCCC00;
STICKLINE(OPEN>CLOSE AND CLOSE>=REF(CLOSE,1),OPEN,CLOSE,3.05,0),COLORRED;
STICKLINE(OPEN<=CLOSE AND (CLOSE>=REF(CLOSE,1) OR CLOSE>OPEN),OPEN,CLOSE,3.05,1),COLORRED;
STICKLINE(X_67<=X_68,LOW,HIGH,0,1),COLORLIBLUE;
STICKLINE(X_67>=X_68,LOW,HIGH,0,1),COLORRED;
STICKLINE(OPEN>CLOSE AND X_67<X_68,CLOSE,OPEN,3.05,0),COLORCCCC00;
STICKLINE(OPEN<=CLOSE AND X_67<X_68,CLOSE,OPEN,3.05,1),COLORCCCC00;
STICKLINE(OPEN>CLOSE AND X_67>X_68,OPEN,CLOSE,3.05,0),COLORRED;
STICKLINE(OPEN<=CLOSE AND X_67>X_68,OPEN,CLOSE,3.05,1),COLORRED;
X_69:=(CLOSE+HIGH+OPEN+LOW)/4;
X_70:=XMA(X_69,20)*(1+80/1000);
X_71:=CLOSE>X_70 OR (HIGH>X_70 AND OPEN>CLOSE);
STICKLINE(X_71,CLOSE,OPEN,1,0),COLORGREEN;
X_72:=VOL>=REF(VOL,1)*1.91 AND CLOSE>REF(CLOSE,1)*1.01;
STICKLINE(X_72,CLOSE,OPEN+(CLOSE-OPEN)/2,1,0),COLORYELLOW;
X_73:=20;
X_74:=MA(CLOSE,X_73);
X_75:=POW(CLOSE-X_74,2);
X_76:=MA(X_75,X_73);
X_77:=SQRT(X_76);
X_78:=X_74+2*X_77;
X_79:=X_74-2*X_77;
X_80:=REF(X_74,1);
X_81:=REF(X_78,1);
X_82:=REF(X_79,1);
X_83:=X_64;
X_84:=X_83;
X_85:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
X_86:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
X_87:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
X_88:=X_86<REF(X_87,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
X_89:=IF(X_88 AND COUNT(X_88,30)=1,X_84,X_84);
X_90:=IF(X_88 AND COUNT(X_88,30)=1,1,0);
DRAWTEXT(X_88 AND COUNT(X_88,30)=1,LOW-X_89,10),COLORMAGENTA;
X_91:=(2*CLOSE+HIGH+LOW)/3;
X_92:=EMA(X_91,3);
X_93:=EMA(X_92,3);
X_94:=EMA(X_93,3);
X_95:=(X_94-REF(X_94,1))/REF(X_94,1)*100;
X_96:=MA(X_95,1);
X_97:=MA(X_95,2);
X_98:=CROSS(X_96,X_97);
X_99:=X_96>=X_97;
X_100:=CROSS(X_97,X_96);
X_101:=X_96<=X_97;
X_102:=CROSS(ZIG(3,10),REF(ZIG(3,10),1));
X_103:=ZIG(3,10)>REF(ZIG(3,10),1);
X_104:=CROSS(REF(ZIG(3,10),1),ZIG(3,10));
X_105:=ZIG(3,10)<=REF(ZIG(3,10),1);
X_106:=X_89;
X_107:=X_98 AND (X_102 OR REF(X_102,1) OR REF(X_102,2)) OR (X_102 AND X_99) AND X_96<2;
X_108:=X_98 AND (X_102 OR REF(X_102,1) OR REF(X_102,2)) OR (X_102 AND X_99) AND X_96<2 AND SUM(趋势向下>0,2)<2 AND 找底线>0 AND SUM(趋势朝上>0,5)<5;
X_109:=X_103 AND X_99;
X_110:=LOW>REF(LOW,BARSLAST(REF(X_108,1))+1);
X_111:=LOW<=REF(LOW,BARSLAST(REF(X_108,1))+1);
X_112:=X_100 AND (X_104 OR REF(X_104,1) OR REF(X_104,2)) OR (X_104 AND (X_100 OR REF(X_100,1) OR REF(X_100,2) OR X_101)) AND SUM(趋势朝上>0,3)<3 AND 找顶线 AND 趋势向下 AND SUM(趋势向下>0,5)<5;
X_113:=X_105 AND X_101;
DRAWICON(X_108,LOW-X_64,1);
X_114:=IF(X_112,X_64,X_64);
DRAWICON(X_112,HIGH+X_114,2);
X_115:=AMOUNT/VOL;
X_116:=LOW<X_115*0.9;
X_117:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;
X_118:=LOW<MA(CLOSE,5)*0.921;
X_119:=VOL<MA(VOL,5)*1.5;
X_120:=X_116 AND X_117 AND X_118 AND X_119;
X_121:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
X_122:=EMA(X_121,9);
X_123:=(X_121-X_122)*2*60;
X_124:=CROSS(X_123-REF(X_123,1),15);
X_125:=EMA(CLOSE,3);
X_126:=EMA(CLOSE,5);
X_127:=EMA(CLOSE,7);
X_128:=EMA(CLOSE,12);
X_129:=EMA(CLOSE,20);
X_130:=EMA(CLOSE,50);
X_131:=CROSS(X_125,X_129) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)>=1.018;
X_132:=REF(LOW,1);
X_133:=SMA(ABS(LOW-X_132),3,1)/SMA(MAX(LOW-X_132,0),3,1)*100;
X_134:=EMA(IF(CLOSE*1.3,X_133*10,X_133/10),3);
X_135:=LLV(LOW,30);
X_136:=HHV(X_134,30);
X_137:=IF(MA(CLOSE,58),1,0);
X_138:=EMA(IF(LOW<=X_135,(X_134+X_136*2)/2,0),3)/618*X_137;
X_139:=IF(X_138>100,50,X_138);
X_140:=CLOSE-REF(CLOSE,1);
X_141:=100*EMA(EMA(X_140,6),6)/EMA(EMA(ABS(X_140),6),6);
X_142:=IF(LLV(X_141,2)=LLV(X_141,7) AND COUNT(X_141<0,2) AND CROSS(X_141,MA(X_141,2)),1,0);
X_143:=FILTER(X_142=1,5);
X_144:=MA(CLOSE,3);
X_145:=ATAN((X_144/REF(X_144,1)-1)*100)*180/3.1416;
X_146:=MA(X_145,2);
X_147:=IF(X_124 OR X_131 OR X_143 OR X_120,IF(X_146>=(-76.199997) AND X_146<=(-57),11,IF(X_146>=(-50) AND X_146<=(-44),12,IF(X_146>=(-39) AND X_146<=(-35),13,IF(X_146>=(-28) AND X_146<=(-10),14,IF(X_139>0.1,15,16))))),17);
X_148:=IF(X_124 OR X_131 OR X_143 OR X_120,IF(X_146>=(-76.199997) AND X_146<=(-57),30,IF(X_146>=(-50) AND X_146<=(-44),70,IF(X_146>=(-39) AND X_146<=(-35),60,IF(X_146>=(-28) AND X_146<=(-10),80,IF(X_139>0.1,2,29))))),0);
X_149:=IF(X_110,18,IF(X_111,19,1));
X_150:=IF(X_108,X_106+X_64,X_106);
X_151:=IF(X_108,X_150+X_64,X_150);
DRAWTEXT(X_108,LOW-X_151,X_147),COLORYELLOW,LINETHICK3;
DRAWTEXT(X_108,LOW-X_150,X_149),COLORYELLOW,LINETHICK3;
X_152:=REF((OPEN+HIGH+LOW+2*CLOSE)/5,1);
X_153:=SMA(MAX(CLOSE-X_152,0),3,1)/SMA(ABS(CLOSE-X_152),3,1)*100;
X_154:=CROSS(88,X_153);
X_155:=IF(X_154,X_114+X_64,X_114);
DRAWTEXT(X_154,HIGH+X_155,20),COLORGREEN;
X_156:=(CLOSE+HIGH+OPEN+LOW)/4;
X_157:=XMA(X_156,20)*(1+80/1000);
X_158:=IF(CROSS(CLOSE,X_157),1,0);
X_159:=IF(X_158,X_155+X_64,X_155);
DRAWTEXT(X_158,HIGH+X_159,21),COLORYELLOW;
X_160:=MA(CLOSE,5);
X_161:=MA(CLOSE,10);
X_162:=MA(CLOSE,20);
X_163:=MA(CLOSE,30);
X_164:=ATAN((X_160/REF(X_160,1)-1)*100)*180/3.1416;
X_165:=(CLOSE-X_163)/X_163*100;
X_166:=FILTER(COUNT(CROSS(30,X_164),5)>=1 AND (CLOSE>X_163 OR OPEN>X_163) AND X_160<REF(X_160,1) AND X_165<REF(X_165,1) AND X_161<REF(X_161,1),10);
X_167:=IF(X_166,X_159+X_64,X_159);
DRAWTEXT(X_166,HIGH+X_167,22),COLORFFCC00;
X_168:=X_167;
X_169:=EMA(EMA(CLOSE,13),13);
X_170:=(X_169-REF(X_169,1))/REF(X_169,1)*1000;
X_171:=X_170<0;
X_172:=X_170>REF(X_170,1) AND X_170>0;
X_173:=DYNAINFO(11);
X_174:=21;
X_175:=8;
X_176:=3;
X_177:=(EMA(CLOSE,X_175)-EMA(CLOSE,X_174))*50;
X_178:=EMA(X_177,X_176);
X_179:=(CLOSE-X_173)/X_173<(-0.03);
X_180:=(CLOSE-X_173)/X_173<(-0.03);
X_181:=LAST(X_173>=REF(X_173,1),5,1) AND (CLOSE-X_173)/X_173<0.005;
X_182:=(CLOSE-X_173)/X_173>0.005;
X_183:=X_170<REF(X_170,1) AND X_170>0.5;
X_184:=X_170>0;
X_185:=X_170>REF(X_170,1) AND X_170<(-0.2);
X_186:=X_170>REF(X_170,1) AND X_170<0;
X_187:=CROSS(X_177,X_178) AND X_177<(-0.3);
X_188:=CROSS(X_177,X_178) AND X_177<(-0.1);
X_189:=CROSS(X_178,X_177);
X_190:=CROSS(X_178,X_177) AND X_177>1.618;
X_191:=FILTER(X_180 AND X_185 AND X_187,13);
X_192:=FILTER(X_191,30);
X_193:=IF(X_192,X_151,X_151);
X_194:=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_195:=IF(X_194 AND COUNT(X_194,30)=1,X_193,X_193);
X_196:=X_195;
X_197:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
X_198:=IF(X_197>20 AND FILTER(X_197<REF(X_197,1),5),X_168+X_64,X_168);
DRAWTEXT(X_197>20 AND FILTER(X_197<REF(X_197,1),5),HIGH+X_198,25),COLORCYAN;
X_199:=IF(X_197<(-20) AND FILTER(X_197>REF(X_197,1),5),X_196+X_64,X_196);
DRAWTEXT(X_197<(-20) AND FILTER(X_197>REF(X_197,1),5),LOW-X_199,26);
X_200:=IF(FILTER(X_197<(-9) AND X_197>REF(X_197,1),18),X_199+X_64,X_199);
DRAWTEXT(FILTER(X_197<(-9) AND X_197>REF(X_197,1),18),LOW-X_200,27),COLORWHITE;
X_201:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_202:=SMA(X_201,3,1);
X_203:=SMA(X_202,3,1);
X_204:=3*X_202-2*X_203;
X_205:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_206:=EMA(X_205,9);
X_207:=2*(X_205-X_206);
X_208:=IF(CLOSE=INDEXC,(INDEXC+INDEXH+INDEXL+INDEXO)/4,AMOUNT/(VOL+0.01)/100);
X_209:=IF(X_205>=REF(X_205,1) AND (X_202>=REF(X_202,1) OR X_202>X_203),10,0);
X_210:=IF(X_205<REF(X_205,1) AND X_202<=REF(X_202,1),10,0);
X_211:=IF(FILTER(X_210,15),X_198+X_64,X_198);
DRAWTEXT(FILTER(X_210,15),HIGH+X_211,28),COLORGREEN;
X_212:=1/WINNER(CLOSE);
X_213:=MA(CLOSE,13);
X_214:=100-ABS((CLOSE-X_213)/X_213*100);
X_215:=LLV(LOW,120);
X_216:=HHV(HIGH,120);
X_217:=(X_216-X_215)/100;
X_218:=SMA((CLOSE-X_215)/X_217,20,1);
X_219:=SMA((OPEN-X_215)/X_217,20,1);
X_220:=3*X_218-2*SMA(X_218,10,1);
X_221:=3*X_219-2*SMA(X_219,10,1);
X_222:=100-X_221;
X_223:=100-X_220;
X_224:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
X_225:=X_224+100;
X_226:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
X_227:=X_226+100;
X_228:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
X_229:=(HIGH+LOW+CLOSE)/3;
X_230:=(X_229-MA(X_229,14))/(0.015*AVEDEV(X_229,14));
X_231:=(X_229-MA(X_229,70))/(0.015*AVEDEV(X_229,70));
X_232:=IF(X_230>=150 AND X_230<200 AND X_231>=150 AND X_231<200,10,0);
X_233:=IF(X_230<=(-150) AND X_230>(-200) AND X_231<=(-150) AND X_231>(-200),(-10),X_232);
X_234:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
X_235:=100-ABS(X_234);
X_236:=IF(X_235<90,X_235,100);
X_237:=IF(X_228>0,X_228,0);
X_238:=IF(X_231>=200 AND X_230>=150,15,IF(X_231<=(-200) AND X_230<=(-150),(-15),X_233))+60;
X_239:=X_237>48 AND X_238>60 AND X_236<100;
X_240:=IF(X_239 AND COUNT(X_239,30)=1,X_211+X_64,X_211);
DRAWTEXT(X_239 AND COUNT(X_239,30)=1,HIGH+X_240,29),COLORLIBLUE;
X_241:=CLOSE>REF(CLOSE,4);
X_242:=BARSLASTCOUNT(X_241);
X_243:=X_242=9;
X_244:=ISLASTBAR AND BETWEEN(X_242,5,8);
X_245:=(BACKSET(X_243>0,9) OR BACKSET(X_244>0,X_242))*X_242;
DRAWTEXT(X_245>0,HIGH*1.02,VAR2STR(X_245,0)),COLORMAGENTA;
DRAWTEXT(X_242=9,HIGH*1.02,30),COLORMAGENTA;
X_246:=CLOSE<REF(CLOSE,4);
X_247:=BARSLASTCOUNT(X_246);
X_248:=REF(X_247,1)=8 AND X_247>REF(X_247,1);
X_249:=REF(BETWEEN(X_247,5,8),1) AND X_247<REF(X_247,1);
X_250:=ISLASTBAR AND BETWEEN(X_247,6,8);
X_251:=(BACKSET(X_248>0,9) OR BACKSET(X_249>0,X_247+1)*0 OR BACKSET(X_250>0,X_247))*X_247;
DRAWTEXT(X_251>0,HIGH*1.01,VAR2STR(X_251,0)),COLORGREEN;
DRAWTEXT(X_247=9,HIGH*1.01,30),COLORGREEN;
X_252:=IF(MA(CLOSE,5)>=MA(CLOSE,10) AND MA(CLOSE,10)>=MA(CLOSE,20) AND MA(CLOSE,20)>=MA(CLOSE,30) AND MA(CLOSE,30)>=MA(CLOSE,30) AND MA(CLOSE,30)>=MA(CLOSE,30) AND MA(CLOSE,5)>LLV(MA(CLOSE,5),5),1,0);
X_253:=IF(SUM(CROSS(MA(CLOSE,10),MA(CLOSE,5)) OR CROSS(MA(CLOSE,20),MA(CLOSE,5)),7)>1,1,0);
X_254:=IF(MA(CLOSE,5)<=MA(CLOSE,10) AND MA(CLOSE,10)<=MA(CLOSE,20) AND MA(CLOSE,20)<=MA(CLOSE,30) AND MA(CLOSE,5)>LLV(MA(CLOSE,5),5),1,0);
X_255:=MIN(MA(CLOSE,5),MIN(MA(CLOSE,10),MIN(MA(CLOSE,20),MIN(MA(CLOSE,30),MIN(MA(CLOSE,30),MA(CLOSE,30))))));
X_256:=MAX(MA(CLOSE,5),MAX(MA(CLOSE,10),MAX(MA(CLOSE,20),MAX(MA(CLOSE,30),MAX(MA(CLOSE,30),MA(CLOSE,30))))));
X_257:=X_256/X_255<1.08;
X_258:=X_256/X_255>1.1;
X_259:=X_257 AND (MA(CLOSE,5)>LLV(MA(CLOSE,5),5) OR X_252=1) AND INTPART(X_66)=HHV(INTPART(X_66),20) OR (INTPART(X_66)=LLV(INTPART(X_66),20) AND CLOSE<MA(CLOSE,30) AND X_254=1 AND X_258=1);
X_260:=IF(FILTER(X_209,15) OR (CROSS(X_67,X_68) AND X_259),X_200+X_64,X_200);
DRAWTEXT(X_209=10 AND LOW>REF(LOW,1) AND CROSS(X_67,X_68) AND CLOSE>REF(CLOSE,1) AND X_223>50 AND X_225=HHV(X_225,10) AND (X_257 AND HHV(MA(CLOSE,30),20)/MA(CLOSE,30)>0.98 AND HHV(MA(CLOSE,30),20)/MA(CLOSE,30)<1.01 AND CLOSE>MA(CLOSE,30)) AND SUM(CROSS(X_225,X_227),7)=1 AND SUM(CROSS(X_227,X_225),7)=1 AND X_225=HHV(X_225,10),LOW-X_260,31),COLORYELLOW,LINETHICK2;
DRAWTEXT(CROSS(X_209,5) AND (X_257 AND MA(CLOSE,30)=HHV(MA(CLOSE,30),5) AND CLOSE>MA(CLOSE,30) AND X_252 OR (MA(CLOSE,30)=LLV(MA(CLOSE,30),5) AND X_254=1 AND X_258)) AND CROSS(X_67,X_68) AND CLOSE/REF(CLOSE,1)>1.05 AND DYNAINFO(37)<0.2 AND DYNAINFO(37)>0.02 AND (X_225>70 AND HHV(X_225,7)-LLV(X_225,7)<3 OR (X_225<85 AND HHV(X_225,7)=X_225 AND X_225-LLV(X_225,10)>20)),LOW-X_260-X_64,32),COLORCYAN,LINETHICK2;
DRAWTEXT(CROSS(X_209,5) AND SUM(CROSS(X_225,X_227),7)=1 AND HHV(X_225,7)-X_225<2 AND (X_225>20 AND X_225<60 AND HHV(X_225,7)-LLV(X_227,7)>HHV(X_225,7)/3 AND (X_257 AND MA(CLOSE,30)=HHV(MA(CLOSE,30),5) AND CLOSE>MA(CLOSE,30) OR (MA(CLOSE,30)=LLV(MA(CLOSE,30),5) AND X_254=1 AND X_258)) OR (X_225>60 AND CLOSE=HIGH AND CROSS(X_67,X_68) AND X_252 AND CROSS(CLOSE,MA(CLOSE,20)))) AND X_254=0,LOW-X_260-X_64,32),COLORYELLOW,LINETHICK2;
DRAWTEXT(CROSS(X_209,5) AND X_252 AND CROSS(X_67,X_68) AND CLOSE/OPEN>=1.05 AND SUM(CROSS(X_225,X_227),2)>=1 AND SUM(CROSS(X_227,X_225),2)>=1 AND X_225>50 AND X_225=HHV(X_225,20) AND REF(HHV(MA(CLOSE,5),5),1)/LLV(MA(CLOSE,5),4)<1.04 AND CROSS(CLOSE,MA(CLOSE,10)),LOW,33),COLORYELLOW,LINETHICK2;
X_261:=REF(OPEN,1);
X_262:=ABS((REF(CLOSE,1)-X_261)/X_261);
X_263:=ABS((REF(HIGH,1)-X_261)/X_261);
X_264:=ABS((REF(LOW,1)-X_261)/X_261);
X_265:=ABS((X_262+X_263+X_264)/3);
X_266:=OPEN*X_265;
X_267:=OPEN-X_266;
X_268:=OPEN+X_266;
X_269:=OPEN;
X_270:=REF(OPEN,1);
X_271:=HIGH;
X_272:=REF(HIGH,1);
X_273:=LOW;
X_274:=REF(LOW,1);
X_275:=CLOSE;
X_276:=REF(CLOSE,1);
X_277:=X_272;
X_278:=X_274;
X_279:=X_270;
X_280:=X_276;
X_281:=(X_277+X_278+X_279+2*X_280)/5;
X_282:=X_281+(X_277-X_278);
X_283:=2*X_281-X_278;
X_284:=2*X_281-X_277;
X_285:=X_281-(X_277-X_278);
X_286:=X_282;
X_287:=X_283;
X_288:=X_284;
X_289:=X_285;
X_290:=(X_281+X_286+X_287+X_288+X_289)/5;
X_291:=X_290;
X_292:=(X_290+X_269)/2;
X_293:=(X_267+X_292)/2;
X_294:=X_293;
X_295:=27;
X_296:=0.03;
X_297:=0.1;
X_298:=1;
X_299:=MA(REF(HIGH,1)/REF(CLOSE,2),X_295)*REF(CLOSE,1);
DRAWTEXT_FIX(1,X_297,X_298,0,37),COLORYELLOW;
DRAWNUMBER_FIX(1,X_297+0.08,X_298,0,CONST(X_294)),COLORYELLOW;
DRAWTEXT_FIX(1,X_297+0.15,X_298,0,35),COLORYELLOW;
DRAWTEXT_FIX(1,X_297+0.4,X_298,0,38),COLORWHITE;
DRAWNUMBER_FIX(1,X_297+0.4+0.08,X_298,0,CONST(X_299)),COLORWHITE;
DRAWTEXT_FIX(1,X_297+0.4+0.15,X_298,0,35),COLORWHITE;
DRAWTEXT_FIX(1,X_297+0.2,X_298,0,39),COLOR4080FF;
X_300:=(X_267+X_294)/2;
DRAWNUMBER_FIX(1,X_297+0.2+0.08,X_298,0,CONST(X_300)),COLOR4080FF;
DRAWTEXT_FIX(1,X_297+0.2+0.15,X_298,0,35),COLOR4080FF;
DRAWTEXT_FIX(1,X_297+0.6,X_298,0,40),COLOR4080FF;
X_301:=(X_268+X_299)/2;
DRAWNUMBER_FIX(1,X_297+0.6+0.08,X_298,0,CONST(X_301)),COLOR4080FF;
DRAWTEXT_FIX(1,X_297+0.6+0.15,X_298,0,35),COLOR4080FF;
X_302:=XMA(XMA(XMA(EMA(CLOSE,1),2),2),2);
X_303:=EMA((X_302-REF(X_302,1))/REF(X_302,1),1)*1000;
X_304:=XMA(X_303,11);
X_305:=EMA(X_304,11);
X_306:=EMA(X_304+X_305,1)-XMA(X_304-X_305,2);
X_307:=XMA(X_306,11);
X_308:=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_309:=3*SMA((OPEN-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((OPEN-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X_310:=MA(WINNER(CLOSE*0.95)*100,3);
X_311:=EMA(EMA(CLOSE,3),2);
X_312:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
X_313:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
X_314:=SMA(X_313,3,1);
X_315:=SMA(X_314,3,1);
X_316:=3*X_314-2*X_315;
X_317:=EMA(X_316,5);
X_318:=MA(CLOSE,5);
X_319:=MA(CLOSE,60);
X_320:=MA(CLOSE,120);
X_321:=CLOSE>MAX(X_318,X_161) AND CLOSE>=MAX(X_319,X_320);
X_322:=BARSLAST(CROSS(X_318,X_161));
X_323:=CLOSE>=REF(CLOSE,X_322/2)*1.03 AND REF(CLOSE,X_322/2)>=REF(CLOSE,X_322)*1.08;
X_324:=VOL.VOLUME>LLV(VOL.VOLUME,X_322/2) AND LLV(VOL.VOLUME,X_322/2)>LLV(VOL.VOLUME,X_322);
X_325:=COUNT(CROSS(X_161,X_318),X_322)=0;
X_326:=COUNT(X_161>REF(X_161,1),X_322)>=X_322-1 AND COUNT(X_318>REF(X_318,1),X_322)>=X_322-1;
X_327:=X_322 AND X_325 AND X_326;
X_328:=X_322>=10;
X_329:=IF(X_321 AND X_328 AND X_323 AND X_327,1,0);
X_330:=IF(X_239 AND COUNT(X_239,30)=1,1,0);
X_331:=EXIST(CROSS(MA(CLOSE,10),MA(CLOSE,5)),5);
X_332:=EXIST(MA(CLOSE,10)/LLV(MA(CLOSE,5),5)<1.05,4);
X_333:=CLOSE>MA(CLOSE,5) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);
X_334:=MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60);
X_335:=IF(X_331 AND X_332 AND X_333 AND X_334,1,0);
X_336:=ABS(EMA(WINNER(CLOSE)*70,3));
X_337:=ABS(EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*70,3));
X_338:=X_337-X_336;
X_339:=100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));
X_340:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3);
X_341:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
X_342:=IF(EMA(X_341,3)>60 AND EMA(X_341,3)>REF(EMA(X_341,3),1),1,0);
DRAWTEXT(X_330 OR X_90 AND CROSS(X_336,X_337) AND LOW>REF(CLOSE,1)*1.045 AND CLOSE=HIGH AND CLOSE>REF(CLOSE,1)*1.095 AND SUM(X_339=0,2)>1 AND X_158=0 AND SUM(X_72=0,2)=2 AND MA(CLOSE,5)*1.03>X_81 AND SUM(X_342,3)<=2,LOW-X_64,41),COLORFFCC66;
DRAWTEXT(X_330 OR X_90 AND SUM(CROSS(X_336,X_337),2)>0 AND SUM(CLOSE>REF(CLOSE,1)*1.095,4)<4 AND CLOSE=HIGH AND SUM(CROSS(X_336,X_338) OR CROSS(X_336,X_337),3)>1 AND SUM(X_339=0,2)>1 AND SUM(X_339=0,4)<4 AND X_158=0 AND REF(CLOSE,1)*1.09<OPEN AND X_72=0 AND MA(CLOSE,5)*1.03>X_81 AND (CROSS(X_336,X_337) OR X_66>X_81 OR X_335),LOW-X_64,42),COLORFFCC66;
DRAWTEXT(CROSS(X_336,X_337) AND MAX(MA(CLOSE,5),X_81)-MIN(MA(CLOSE,5),X_81)<MIN(MA(CLOSE,5),X_81)*0.01 AND HIGH-LOW<REF(CLOSE,1)*0.03 AND CLOSE=HIGH AND CLOSE>REF(CLOSE,1)*1.092 AND X_339>0 AND X_81>X_66 AND MA(CLOSE,5)*1.05>X_81,X_82*1.05,43),COLORFFCC66;
X_343:=COUNT(CROSS(90,X_308),6)=1 AND COUNT(CROSS(90,X_308),10)=1 AND HHV(X_307,5)>85 AND X_107 AND SUM(CLOSE>=MA(CLOSE,5),3)>0 AND X_81>0 AND X_310<70 AND CROSS(X_336,X_337) AND X_72=0;
DRAWTEXT(X_343,LOW-X_64,44),COLORFFCC66;
X_344:=IF(SUM(CROSS(90,X_308),10)=1 AND SUM(CROSS(90,X_308),6)=1 AND HHV(X_307,5)>85 AND X_107 AND SUM(CLOSE>=MA(CLOSE,5),3)>0 AND X_81>0 AND X_310<70,1,0);
X_345:=IF(X_197<(-20) AND FILTER(X_197>REF(X_197,1),5) AND HHV(X_307,70)>85,1,0);
DRAWTEXT(X_345 AND SUM(X_344,70)>0,LOW-X_199,45),COLORWHITE;
X_346:=IF(X_330 OR X_90 AND CROSS(X_340,10) AND SUM(CLOSE>REF(CLOSE,1)*1.092,4)<3 AND CLOSE>REF(CLOSE,1)*1.092 AND CLOSE=HIGH AND CLOSE>OPEN AND SUM(X_340>10,15)=1 AND CROSS(X_336,X_337) AND SUM(X_339=0,2)>1 AND SUM(X_339=0,4)<3 AND X_339=0 AND X_158=0 AND (SUM(X_72=1,2)=2 OR (X_72=0 AND MA(CLOSE,5)*1.03>MAX(X_81,X_66))) AND MA(CLOSE,5)*1.03>X_81,1,0);
X_347:=IF(X_330=0 AND CROSS(X_340,10) AND SUM(CROSS(X_336,X_337),2)=1 AND SUM(CLOSE>REF(CLOSE,1)*1.095,4)<3 AND CLOSE>REF(CLOSE,1)*1.095 AND LOW=HIGH AND SUM(X_340>10,15)=1 AND X_339>0 AND X_339<30 AND X_158=0 AND X_72=0 AND SUM(OPEN>X_81,3)=1 AND OPEN>X_81 AND X_81>X_66 AND SUM(X_342,5)<1 AND MA(CLOSE,5)*1.03>X_81,1,0);
X_348:=IF(CROSS(X_340,10) AND SUM(CROSS(X_336,X_337),1)=1 AND SUM(CLOSE>REF(CLOSE,1)*1.09,4)=2 AND SUM(CLOSE>REF(CLOSE,1)*1.09,2)=2 AND CLOSE=HIGH AND SUM(X_340>10,15)=1 AND SUM(X_339=0,2)<2 AND SUM(X_72=1,2)=2 AND CROSS(OPEN,X_81) AND CLOSE>X_66 AND MA(CLOSE,5)*1.02>MAX(X_81,X_66) AND X_158=0 AND CLOSE=HHV(CLOSE,60) AND SUM(X_342,5)<=1 AND CLOSE>OPEN,1,0);
DRAWTEXT(X_347 OR X_348 OR X_346 AND X_65 AND CLOSE>5,LOW-X_64,46),COLORFFCC66;
X_349:=X_239 AND COUNT(X_239,30)=1 AND CROSS(X_336,X_337) AND SUM(CLOSE>REF(CLOSE,1)*1.095,4)=1 AND SUM(X_339=0,2)=1 AND SUM(X_72,2)=1 AND SUM(CLOSE>REF(CLOSE,1),3)=3 AND X_335 AND CLOSE>REF(CLOSE,1)*1.095 AND X_340>10 AND OPEN>=REF(HIGH,1) AND MA(CLOSE,5)*1.05>X_81;
X_350:=SUM(CLOSE>REF(CLOSE,1)*1.095,4)<3 AND SUM(CROSS(X_336,X_337),2)>0 AND SUM(X_339=0,2)=1 AND SUM(X_72,2)=1 AND SUM(CLOSE>REF(CLOSE,1),3)=3 AND X_335 AND CLOSE>REF(CLOSE,1)*1.095 AND CROSS(X_340,10) AND OPEN=CLOSE AND MIN(MA(CLOSE,5),X_66)*1.03>MAX(X_66,MA(CLOSE,5));
DRAWTEXT(X_349 OR X_350,X_82*1.05,47),COLORFFCC66;
X_351:=X_72=0 AND X_310>50 AND X_311>X_312 AND X_307>40 AND (CROSS(X_336,X_337) AND X_99 AND X_103 AND X_307=HHV(X_307,20) OR (X_329 AND X_307=HHV(X_307,20)) OR (X_329 AND X_310>70 AND X_107)) AND HHV(X_307,20)<85 AND SUM(CROSS(90,X_308),5)<=1 AND SUM(CROSS(90,X_308),10)<=1 AND CROSS(CLOSE,MA(CLOSE,5)) AND CLOSE>ZTPRICE(REF(CLOSE,1),0.092);
DRAWTEXT(X_351,LOW-X_64,48),COLORFFCC66;
X_352:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
X_353:=SMA(X_352,3,1);
X_354:=SMA(X_353,3,1);
X_355:=3*X_353-2*X_354;
X_356:=EMA(X_355,5);
X_357:=WINNER(CLOSE)*100;
X_358:=MA(X_357,5);
X_359:=EMA(100*(1-WINNER(1.2*CLOSE)),1);
X_360:=FILTER(CROSS(X_357,X_358) AND X_358>80,5) AND X_359=0;
X_361:=FILTER(COUNT(CROSS(X_357,X_358),15)>=3 AND X_358>61.799999,15) AND CLOSE<MA(CLOSE,3);
X_362:=X_360 OR X_361;
X_363:=X_107 AND X_110 AND X_310>70 AND X_356<20 AND SUM(X_112,8)<1 AND X_160>=REF(X_160,1) AND X_310<85 AND X_72=0 AND X_158=0 AND SUM(X_107,40)>1;
X_364:=X_107 AND X_110 AND X_310>70 AND X_356-X_310>18 AND X_362=0 AND X_310<85 AND X_72=0 AND X_158=0 AND SUM(X_107,40)>1;
X_365:=IF(X_364,X_200+X_64,X_200);
DRAWTEXT(X_364,LOW-X_365,49),COLORFFCC66;
苍穹短买附图:
X_1:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
X_2:=SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3,1);
X_3:=SMA((X_2-50)*2,3,1)+SMA((X_1-50)*2,3,1)/1;
顶教会:150,DOTLINE,COLORMAGENTA;
底戒线:(-150),DOTLINE,COLORGREEN;
STICKLINE(X_3>(-100),X_3,100,0,0),COLOR323232;
STICKLINE(X_3<(-100),X_3,100,0,0),COLOR9F9F5F;
STICKLINE(X_3<(-100),X_3,(-100),1,0),COLORYELLOW;
STICKLINE(X_3<(-120),X_3,(-120),1,0),COLORFF2400;
STICKLINE(X_3<(-140),X_3,(-140),1,0),COLORMAGENTA;
STICKLINE(X_3<(-150),X_3,(-150),1,0),COLORRED;
STICKLINE(X_3>100,X_3,100,1,0),COLORWHITE;
STICKLINE(X_3>120,X_3,120,1,0),COLORFF2400;
STICKLINE(X_3>140,X_3,140,1,0),COLORMAGENTA;
STICKLINE(X_3>150,X_3,150,1,0),COLORRED;
X_4:=LOW>MA(SLOPE(CLOSE,20)*5+CLOSE,10) AND LOW<MA(CLOSE,20);
X_5:=COUNT(CROSS(MA(CLOSE,10),MA(CLOSE,5)),5)>=1;
神猎手:CROSS(CLOSE,REF(LLV(LOW,250/12),2)) AND X_4 AND X_5,NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0,0,GNBLOCK),COLOR00CCCC;
X_6:=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);
马上买:CROSS(X_6,5),NODRAW;
微妙买:X_6<=5,NODRAW,COLOR00FF99;
尝试买:X_6<=13,NODRAW,COLORCYAN;
STICKLINE(尝试买,0,(-100),4,(-1)),COLORCYAN;
STICKLINE(微妙买,(-90),(-10),1,0),COLOR00FF99;
STICKLINE(马上买,(-90),100,1,0),COLORMAGENTA;
STICKLINE(神猎手,(-90),90,1,0),COLORRED;
X_7:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
X_8:=CROSS(X_7,8) AND 尝试买;
X_9:=LOW<=REFDATE(REF(LLV(LOW,150),3),DATE) AND 尝试买;
超短买:X_8 OR X_9,NODRAW,COLOR0099FF;
STICKLINE(超短买,(-60),20,3,0),COLOR0090FF;
STICKLINE(超短买,(-55),15,1,(-1)),COLORRED;
X_10:=DMA((HIGH+LOW+CLOSE*2)/4.15,0.9);
X_11:=REF(EMA(X_10,3),1);
X_12:=KDJ.J<50 AND CLOSE>REF(CLOSE,3);
X_13:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;
X_14:=CROSS(0,(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100);
X_15:=X_13<REF(X_13,1);
X_16:=MA(CLOSE,10)>REF(MA(CLOSE,10),1);
X_17:=FILTER(X_14 AND X_15 AND X_16,10);
X_18:=(2*CLOSE+HIGH+LOW)/4;
X_19:=MA(EMA((X_18-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5),1);
X_20:=REF(X_17,2) AND CROSS(CLOSE,EMA(CLOSE,5));
X_21:=X_19>REF(X_19,1) AND REF(X_19,1)<REF(X_19,2);
X_22:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_23:=IF(CLOSE>OPEN,X_22*(HIGH-LOW),IF(CLOSE<OPEN,X_22*(HIGH-OPEN+(CLOSE-LOW)),VOL/2));
X_24:=IF(CLOSE>OPEN,X_22*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,X_22*(HIGH-LOW),VOL/2));
X_25:=KDJ.J<20;
X_26:=X_23>X_24*6 AND X_25;
X_27:=CROSS(CLOSE,X_11) AND X_12;
X_28:=X_20 AND X_21;
短爆买:尝试买 AND (X_26 OR X_27 OR X_28),NODRAW,COLORRED;
STICKLINE(短爆买,0,70,3,0),COLORRED;
DRAWTEXT(短爆买,40,1207),COLORYELLOW;
DRAWTEXT(超短买,(-20),1208),COLORWHITE;
DRAWTEXT(马上买,85,1209),COLORGREEN;
DRAWTEXT(神猎手,60,1210),COLORWHITE;
【短线趋势】:SMA((X_2-50)*2,3,1)+SMA((X_1-50)*2,3,1)/1,COLORYELLOW,LINETHICK2;
IF(X_3<=REF(X_3,1),X_3,DRAWNULL),COLORFF2400,LINETHICK2;
X_29:=X_3>REF(X_3,1);
X_30:=X_3<=REF(X_3,1);
DRAWICON(X_29 AND REF(NOT(X_29),1),X_3,1);
DRAWICON(X_30 AND REF(NOT(X_30),1),X_3,2);
苍穹能量场附图:
{主散资金}
A:=V*50/CAPITAL;
主力A:=MA(A,4),COLORRED,LINETHICK3;
游资A:=MA(A,8),COLORYELLOW,LINETHICK3;
大户A:=MA(A,16),COLORMAGENTA,LINETHICK3;
散户A:=MA(A,32),COLORGREEN,LINETHICK2;
STICKLINE(主力A>0,0,主力A,2,0),COLORRED;
STICKLINE(游资A>0,0,游资A,2,0),COLORYELLOW;
STICKLINE(大户A>0,0,大户A,2,1),COLORMAGENTA;
{VOL量能}
TWJIAN:=(CODELIKE('999') OR CODELIKE('399'));
HROL:=20*VOL/(FINANCE(7)/100);
JL:=IF(TWJIAN,VOL,HROL);
RSV:=(JL-LLV(JL,20))/(HHV(JL,20)-LLV(JL,20))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
量W:=DMA(MA(JL,5),D);
BOLL:=MA(量W,20);
UP:=BOLL+2*STD(量W,20);
DN:=BOLL-2*STD(量W,20);
TTR:=MA(ABS(REF(量W,1)-量W),15);
VM:=MA(量W,6);
VU:=VM+2*TTR;
VD:=VM-2*TTR;
DRAWBAND(UP,RGB(0,100,150),DN,RGB(0,100,150));
DRAWBAND(VU,RGB(120,20,120),VD,RGB(120,20,120));
量能趋势:量W,COLORYELLOW,LINETHICK2;
教会线:MA(A,180),COLORCYAN,DOTLINE;
{量能平台卤莽}
N天内:=21;
成交量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL) ,COLORFFFFFF;
价新高:=HHV(H,N天内)=H,COLORFFFFFF;
量新高:=HHV(成交量,N天内)=成交量,COLORFFFFFF;
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
去除停牌:=DYNAINFO(4)>0;
{ K线60日上条目 AND AND AND }
量能平台卤莽:量新高 AND 价新高 AND BARSCOUNT(CLOSE)>200 AND S2 AND S3 AND 去除停牌 ,COLORCYAN,LINETHICK2;
{四量副图}
MID9:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线1:=(20*MID9+19*REF(MID9,1)+18*REF(MID9,2)+17*REF(MID9,3)+16*REF(MID9,4)+15*REF(MID9,5)+14*REF(MID9,6)+13*REF(MID9,7)+12*REF(MID9,8)+11*REF(MID9,9)+10*REF(MID9,10)+9*REF(MID9,11)+8*REF(MID9,12)+7*REF(MID9,13)+6*REF(MID9,14)+5*REF(MID9,15)+4*REF(MID9,16)+3*REF(MID9,17)+2*REF(MID9,18)+REF(MID9,20))/210,COLORCYAN{COLORWHITE};
马线1:=MA(牛线1,6),COLORLIMAGENTA{COLORBLUE};
STICKLINE(C>牛线1,-1.3,-1.6,4,0),COLOR000099{COLOR017700},LINETHICK2;
STICKLINE(C<马线1,-1.3,-1.6,4,0),COLOR017700{COLOR000099},LINETHICK2;
STICKLINE(牛线1>=C AND C>=马线1,-1.3,-1.6,8,0),,COLOR017700{COLOR000099},LINETHICK2;
DRAWTEXT(ISLASTBAR=1,IF(V>=0,-1.45,0),'机构'),COLORYELLOW;
MID1:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:=(20*MID1+19*REF(MID1,1)+18*REF(MID1,2)+17*REF(MID1,3)+16*REF(MID1,4)+15*REF(MID1,5)+14*REF(MID1,6)+13*REF(MID1,7)+12*REF(MID1,8)+11*REF(MID1,9)+10*REF(MID1,10)+9*REF(MID1,11)+8*REF(MID1,12)+7*REF(MID1,13)+6*REF(MID1,14)+5*REF(MID1,15)+4*REF(MID1,16)+3*REF(MID1,17)+2*REF(MID1,18)+REF(MID1,20))/210,COLORCYAN{COLORWHITE};
GB:=(C-牛线);
换手:=V*100/CAPITAL;
主:=MA(换手,5);
大:=MA(换手,12);
中:=MA(换手,34);
散:=MA(换手,55);
均:=(主+大+中+散)/4;
GBB:=(主-散);
GB1:=GB+GBB;
STICKLINE(GB1>=0,-0.5,-0.8,4,0),COLOR000099{COLOR017700},LINETHICK2;
STICKLINE(GB1<0,-0.5,-0.8,4,0),COLOR017700{COLOR000099},LINETHICK2;
DRAWTEXT(ISLASTBAR=1,IF(V>=0,-0.65,0),'散户'),COLORYELLOW;
Q:=EMA(V,5);
Q1:=EMA(V,50);
OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
OBV1:=EMA(OBV,5);
OBV2:=EMA(OBV,50);
W:=(Q-Q1)*0.00001;
W1:=(OBV1-OBV2)*0.000001;
W2:=W+W1;
STICKLINE(W2>=0,-0.9,-1.2,4,0),COLOR000099{COLOR017700},LINETHICK2;
STICKLINE(W2<0,-0.9,-1.2,4,0),COLOR017700{COLOR000099},LINETHICK2;
DRAWTEXT(ISLASTBAR=1,IF(V>=0,-1.05,0),'游资'),COLORYELLOW;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
DKX:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
MADKX:=MA(DKX,6);
MDD:=(DKX-MADKX)*1.2;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,6)-EMA(V1,55);
V3:=EMA(V2,6);
V5:=(V2-V3)*0.06;
V6:=MDD+V5;
STICKLINE(V6>=0,-1.7,-2,4,0),COLOR000099{COLOR017700},LINETHICK2;
STICKLINE(V6<0,-1.7,-2,4,0),COLOR017700{COLOR000099},LINETHICK2;
DRAWTEXT(ISLASTBAR=1,IF(V>=0,-1.85,0),'主力'),COLORYELLOW;
{趋势酿成}
VAR12:=(HIGH - LOW);
VAR3:=ABS((OPEN - CLOSE));
VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
VAR6:=((VAR3 / VAR12) * VOL);
VAR7:=((VAR4 / VAR12) * VOL);
VAR8:=((VAR5 / VAR12) * VOL);
VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));
短趋势线:=MA(C,13);
趋势酿成:-(((((VAR6 > (MA(VOL,5) * 2)) AND 短趋势线>REF(短趋势线 ,1) AND (VAR6 >= VAR7)) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)) OR ((VOL > (MA(VOL,5) * 3)) AND VARB AND 短趋势线>REF(短趋势线 ,1))),COLORLIBLUE,LINETHICK2;
{主力与散户}
M:=55;
N:=21;{灵验34的}
散户: (HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))-2,COLORFFFF00,LINETHICK2;
RSVX:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
KK:=SMA(RSVX,3,1);
DD:=SMA(KK,3,1);
JJ:=3*KK-2*DD;
主力:EMA(JJ,6)/100-2,COLORYELLOW,LINETHICK2;
{庄家控盘
1.黄色柱体为庄家低控盘,即控盘过程>=50;
2.红色柱体为庄家中控盘,即控盘过程>=60;
3.紫色柱体为庄家高控盘,即控盘过程>=80;
}
AAA:=(3*CLOSE+OPEN+HIGH+LOW)/6;
MA12:=EMA(AAA,12);
MA36:=EMA(AAA,36);
MA108:=EMA(AAA,108);
MA250:=EMA(AAA,250);
控盘度:(EMA(AAA,12)-REF(EMA(AAA,36),1))/REF(EMA(AAA,36),1)*100+50,NODRAW;
低控盘:IF(控盘度>=50 AND 控盘度<60,控盘度,0),COLORYELLOW,NODRAW;
中控盘:IF(控盘度>=60 AND 控盘度<80,控盘度,0),COLORRED,NODRAW;
高控盘:IF(控盘度>=80 AND 控盘度<100,控盘度,0),COLORMAGENTA,NODRAW;
STICKLINE( 控盘度>=50,-2.5,-控盘度/10+2.5,2,0),COLORYELLOW;
STICKLINE( 控盘度>=60,-3.5,-控盘度/10+2.5,2,0),COLORRED;
STICKLINE( 控盘度>=80,-5.5,-控盘度/10+2.5,2,0),COLORMAGENTA;
图片
本站仅提供存储行状,通盘实践均由用户发布,如发现存害或侵权实践,请点击举报。