翻倍航母副图指标源码:
N:=5;
翻倍航母1:=EMA(HHV(HIGH,500),21);
翻倍航母2:=EMA(HHV(HIGH,250),21);
翻倍航母3:=EMA(HHV(HIGH,90),21);
翻倍航母4:=EMA(LLV(LOW,500),21);
翻倍航母5:=EMA(LLV(LOW,250),21);
翻倍航母6:=EMA(LLV(LOW,90),21);
翻倍航母7:=EMA((翻倍航母4*0.96+翻倍航母5*0.96+翻倍航母6*0.96+翻倍航母1*0.558+翻倍航母2*0.558+翻倍航母3*0.558)/6,21);
翻倍航母8:=EMA((翻倍航母4*1.25+翻倍航母5*1.23+翻倍航母6*1.2+翻倍航母1*0.55+翻倍航母2*0.55+翻倍航母3*0.65)/6,21);
翻倍航母9:=EMA((翻倍航母4*1.3+翻倍航母5*1.3+翻倍航母6*1.3+翻倍航母1*0.68+翻倍航母2*0.68+翻倍航母3*0.68)/6,21);
翻倍航母A:=EMA((翻倍航母7*3+翻倍航母8*2+翻倍航母9)/6*1.738,21);
翻倍航母B:=REF(LOW,1);
翻倍航母C:=SMA(ABS(LOW-翻倍航母B),3,1)/SMA(MAX(LOW-翻倍航母B,0),3,1)*100;
翻倍航母D:=EMA(IF(CLOSE*1.35<=翻倍航母A,翻倍航母C*10,翻倍航母C/10),3);
翻倍航母E:=LLV(LOW,30);
翻倍航母F:=HHV(翻倍航母D,30);
翻倍航母10:=IF(MA(CLOSE,58),1,0);
SS:=EMA(IF(LOW<=翻倍航母E,(翻倍航母D+翻倍航母F*2)/2,0),3)/618*翻倍航母10;
TJ:=(REF(SS,2)<REF(SS,1)AND SS>REF(SS,1))*SS;
MTJ:=(REF(SS,2)<REF(SS,1)AND SS>REF(SS,1))*SS,COLORYELLOW,LINETHICK2;
LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
LSS:=FILTER(LS,28);
拉升出击:=REF(TJ,1)>0 AND MTJ=0 AND LSS;
STICKLINE(拉升出击,0,-1.5,1,0),COLORMAGENTA;
DRAWTEXT(拉升出击,-1.3.6,' 拉升出击'),COLORMAGENTA;
YJ:=C>4 AND C<35 AND HHV(H,60)/LLV(L,60)<3;
YZ:=NAMELIKE('ST') OR NAMELIKE('*ST'){ OR CODELIKE('300')};
SSH:=TOTALBARSCOUNT>10;
YO:=YJ AND SSH AND NOT(YZ);
DI:=BETWEEN(HHVBARS(H,29) ,4 ,9);
A:=YO AND DI;
A1:=BARSLAST(A=1);
B:=CROSS(MA(C,5),REF(H,A1)) AND A1<4 AND C>REF(O,1) AND L>REF(L,1) AND C>O
AND MA(C,10)>REF(MA(C,10),1) AND O<REF(O,4);
ZZ:=(O+H+L)/3;
ZLX:=EMA(ZZ,55);
ZL:=EMA(ZZ,7);
强龙回头:=O<ZLX AND ZL>ZLX AND C>=ZL AND A;
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)=1 AND DD=0;
收盘比:=(CH/CL-1)*100<=1.6;
开盘比:=(OH/OL-1)*100<=1.6;
破小平台:=高低比1 AND 高低比2 AND 收盘比 AND 开盘比
AND COUNT(C>MAX(AA,BB) AND O>MAX(AA,BB),5)=5
AND C>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;
翻倍航母1S:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
翻倍航母2S:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
翻倍航母3S:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
翻倍航母4S:=(((翻倍航母1S + (2 * 翻倍航母2S)) + (3 * 翻倍航母3S)) / 6);
翻倍航母5S:=MA(翻倍航母4S,3);
DB:=IF(翻倍航母5S,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) AND FX;
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) AND P1>REF(P1,1) AND P2>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>MA1 AND CR1>MA2 AND CR1>MA3 AND CR1>MA4;
中线无敌:=AX AND AX1 AND AX2;
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);
翻倍航母1N:=C-REF(C,1);
翻倍航母2N:=100*EMA(EMA(翻倍航母1N,6),6)/EMA(EMA(ABS(翻倍航母1N),6),6);
超牛选股:=(LLV(翻倍航母2N,2)=LLV(翻倍航母2N,7) AND COUNT(翻倍航母2N<0,2) AND CROSS(翻倍航母2N,MA(翻倍航母2N,2))) AND
E1 AND E2 AND E3 AND E4;
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(板块涨停数=0 AND ISLASTBAR,0,0.07,0,'████████████████████'),COLORGREEN;
DRAWTEXT_FIX(板块涨停数=0 AND ISLASTBAR,0,0.07,0,SJZH7),COLORBLACK;
DRAWTEXT_FIX(板块涨停数>0 AND ISLASTBAR,0,0.07,0,'█████████████████████'),COLORRED;
DRAWTEXT_FIX(板块涨停数>0 AND ISLASTBAR,0,0.07,0,SJZH4),COLORYELLOW;
声明:所有展示信息仅供参考,仅用于本文描述一种心理状态或思维过程说明,不构成任何投资具体行动或建议的推荐!
本号力求但不保证信息的精确性和完整性,发布的信息如有不准确或误导之处,本号概不负责,亦不承担任何法律责任。
阅读者据此信息操作,风险自担,后果自负!
本号秉承分享精神,鼓励和欢迎读者之间进行知识、信息和观点的交流与共享。