后台-系统设置-扩展变量-手机广告位-内容正文顶部 |
N:=5;VAR1:=EMA(HHV(HIGH,500),21);VAR2:=EMA(HHV(HIGH,250),21);VAR3:=EMA(HHV(HIGH,90),21);VAR4:=EMA(LLV(LOW,500),21);VAR5:=EMA(LLV(LOW,250),21);VAR6:=EMA(LLV(LOW,90),21);VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21);VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21);VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);VARB:=REF(LOW,1);VARC:=SMA(Abs(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);VARE:=LLV(LOW,30);VARF:=HHV(VARD,30);VAR10:=IF(MA(CLOSE,58),1,0);SS:=EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10;TJ:=(REF(SS,2)<REF(SS,1)ANDSS>REF(SS,1))*SS;MTJ:=(REF(SS,2)<REF(SS,1)ANDSS>REF(SS,1))*SS,COLORYELLOW,LINETHICK2;LS:=C/REF(C,1)>1.048ANDC=HANDBETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));LSS:=FILTER(LS,28);拉昇出擊:=REF(TJ,1)>0ANDMTJ=0ANDLSS;STICKLINE(拉昇出擊,0,-1.5,1,0),COLORMAGENTA;DRAWTEXT(拉昇出擊,-1.3.6,'拉昇出擊'),COLORMAGENTA;YJ:=C>4ANDC<35ANDHHV(H,60)/LLV(L,60)<3;YZ:=NAMELIKE('ST')ORNAMELIKE('*ST'){ORCODELIKE('300')};SSH:=TOTALBARSCOUNT>10;YO:=YJANDSSHANDNOT(YZ);DI:=BETWEEN(HHVBARS(H,29),4,9);A:=YOANDDI;A1:=BARSLAST(A=1);B:=crOSS(MA(C,5),REF(H,A1))ANDA1<4ANDC>REF(O,1)ANDL>REF(L,1)ANDC>OANDMA(C,10)>REF(MA(C,10),1)ANDO<REF(O,4);ZZ:=(O+H+L)/3;ZLX:=EMA(ZZ,55);ZL:=EMA(ZZ,7);強龍回頭:=O<ZLXANDZL>ZLXANDC>=ZLANDA;STICKLINE(強龍回頭,0,-1.5,3,0),COLOR808000;DRAWTEXT(強龍回頭,-1.3.6,'強龍回頭'),COLOR808000;JJ:=(CLOSE+HIGH+LOW)/3;AA:=EMA(JJ,10);BB:=REF(AA,1);HH:=HHV(REF(H,1),5);LL:=LLV(REF(L,1),5);CH:=HHV(REF(C,1),5);CL:=LLV(REF(C,1),5);OH:=HHV(REF(O,1),5);OL:=LLV(REF(O,1),5);高低比1:=(HH/LL-1)*100<=5;CC:=ABS(100*(O-C)/O)<1.6;DD:=COUNT(CC,5)=5;高低比2:=REF(DD,1)=1ANDDD=0;收盤比:=(CH/CL-1)*100<=1.6;開盤比:=(OH/OL-1)*100<=1.6;破小平臺:=高低比1AND高低比2AND收盤比AND開盤比ANDCOUNT(C>MAX(AA,BB)ANDO>MAX(AA,BB),5)=5ANDC>HH,LINETHICK3,COLORRED;STICKLINE(破小平臺,0,1.5,3,1),COLORRED;DRAWTEXT(破小平臺,1,'破小平臺'),COLORRED;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;VAR1S:=(((CLOSE-MA(CLOSE,6))/MA(CLOSE,6))*100);VAR2S:=(((CLOSE-MA(CLOSE,12))/MA(CLOSE,12))*100);VAR3S:=(((CLOSE-MA(CLOSE,24))/MA(CLOSE,24))*100);VAR4S:=(((VAR1S+(2*VAR2S))+(3*VAR3S))/6);VAR5S:=MA(VAR4S,3);DB:=IF(VAR5S,20,0);HDY:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);FX:=HDY<=10;中短通喫:=CROSS(J,K)AND(DB>=20)ANDFX;STICKLINE(中短通喫,0,1,3,1),COLORYELLOW;DRAWTEXT(中短通喫,0.9.6,'中短通喫'),COLORYELLOW;P1:=EMA(CLOSE,5);P2:=EMA(CLOSE,29);AX:=EXIST(CROSS(P1,P2),4)ANDP1>REF(P1,1)ANDP2>REF(P2,1);V1:=MA(V,8);V2:=MA(V,89);AX1:=EXIST(CROSS(V1,V2),3);MID:=REF(HIGH+LOW,1)/2;CR1:=SUM(MAX(0,HIGH-MID),26)/SUM(MAX(0,MID-LOW),26)*100;MA1:=REF(MA(CR,11),11/2.5+1);MA2:=REF(MA(CR,21),21/2.5+1);MA3:=REF(MA(CR,35),35/2.5+1);MA4:=REF(MA(CR,53),53/2.5+1);AX2:=CR1>MA1ANDCR1>MA2ANDCR1>MA3ANDCR1>MA4;中線:=AXANDAX1ANDAX2;STICKLINE(中線,0,1.5,0.5,0),COLORYELLOW;DRAWTEXT(中線,1.2,'中線'),COLORYELLOW;MA5:=EMA(C,5);MA13:=EMA(C,13);YN1:=LLV(L,BARSLAST(CROSS(MA13,MA5))+1);Y3:=HHV(H,BARSLAST(CROSS(MA5,MA13))+1);Y4:=LLV(L,BARSLAST(CROSS(MA13,MA5))+1);E1:=EVERY(RANGE(MA(Y3,5)/MA(YN1,5),0.93,1.2),5);E2:=EVERY(RANGE(MA(Y3,13)/MA(YN1,13),0.93,1.2),13);E3:=EVERY(RANGE(MA(Y4,5)/MA(Y3,5),0.93,1.2),5);E4:=EVERY(RANGE(MA(Y4,13)/MA(Y3,13),0.93,1.2),13);VAR1N:=C-REF(C,1);VAR2N:=100*EMA(EMA(VAR1N,6),6)/EMA(EMA(ABS(VAR1N),6),6);超牛選股:=(LLV(VAR2N,2)=LLV(VAR2N,7)ANDCOUNT(VAR2N<0,2)ANDCROSS(VAR2N,MA(VAR2N,2)))ANDE1ANDE2ANDE3ANDE4;STICKLINE(超牛選股,0,1.5,1,0),COLOR0080FF;DRAWTEXT(超牛選股,1.2,'超牛選股'),COLOR0080FF;行業:=(HY_INDEXC/REF(HY_INDEXC,1)-1)*100;大盤:=(INDEXC/REF(INDEXC,1)-1)*100;個股:=(C/REF(C,1)-1)*100;個股DIF:=EMA(個股-大盤,12*N)-EMA(個股-大盤,26*N);個股DEA:=EMA(個股DIF,9*N);個股macd:=2*(個股DIF-個股DEA);行業DIF:=EMA(行業-大盤,12*N)-EMA(行業-大盤,26*N);行業DEA:=EMA(行業DIF,9*N),COLORYELLOW,LINETHICK2;行業MACD:=2*(行業DIF-行業DEA);大盤DIF:=EMA(大盤,12*N)-EMA(大盤,26*N);STICKLINE(行業MACD>0,0,行業MACD,2,1),COLORLIGRAY;STICKLINE(行業MACD<0,0,行業MACD,2,1),COLORBLUE;STICKLINE(個股MACD>0,0,個股MACD,0,1),COLORYELLOW;STICKLINE(個股MACD<0,0,個股MACD,0,0),COLORMAGENTA;★個股指數:EMA(個股DIF,N)*5,COLORGREEN;★大盤指數:EMA(大盤DIF,N)*5,COLORMAGENTA,LINETHICK2;Z5:=STRCAT('今日大盤上漲家數:',CON2STR(INDEXADV,0));Z6:=STRCAT('下跌家數:',CON2STR(INDEXDEC,0));DRAWTEXT_FIX(1,0,0.1,0,STRCAT(Z5,Z6)),COLORWHITE;STICKLINE(MA(INDEXC,5)>MA(INDEXC,10),0,0,5,0),COLORRED;STICKLINE(MA(INDEXC,5)<MA(INDEXC,10),0,MINDIFF,5,0),COLORGREEN;板塊漲停數:=INSUM(HYBLOCK,'漲停板',1,0);SJZH1:=STRCAT('【',HYBLOCK);SJZH2:=STRCAT(SJZH1,'】板塊內漲停數:');SJZH3:=STRCAT(SJZH2,CON2STR(板塊漲停數,0));SJZH4:=STRCAT(SJZH3,'支');SJZH5:=STRCAT('【',HYBLOCK);SJZH6:=STRCAT(SJZH5,'】板塊內無個股漲停');SJZH7:=STRCAT(SJZH6,'');DRAWTEXT_FIX(板塊漲停數=0ANDISLASTBAR,0,0.07,0,'████████████████████'),COLORGREEN;DRAWTEXT_FIX(板塊漲停數=0ANDISLASTBAR,0,0.07,0,SJZH7),COLORBLACK;DRAWTEXT_FIX(板塊漲停數>0ANDISLASTBAR,0,0.07,0,'█████████████████████'),COLORRED;DRAWTEXT_FIX(板塊漲停數>0ANDISLASTBAR,0,0.07,0,SJZH4),COLORYELLOW;
后台-系统设置-扩展变量-手机广告位-内容正文底部 |
已有条评论,欢迎点评!