以下是通达信箱体主图(源码主图)无未来(无源码的请下载附件导入)
箱体主图是在指标库中从数万指标中今晚挑出来给大家分享,此指标只建议学习研究使用,不建议作为买卖依据。
原作者编写很精简本人未做任何修改。。尊重知识指标原名未做更改。
除了自己原创的,每次分享指标库中精选的非原创指标,总会收到这样的回复:这是一个很老的指标,或这个是别人的等等此类
在这里想说一个道理:对于ID注册有十年多年的老革命来说指标见的多不稀奇,但对于刚刚来论坛或刚刚进入股市的新人来说指标再老也是新
你有不代表别人也有,你不需要不代表别人不需要。分享是一种精神,分享是一种传播。知识的传播。没有知识传播社会就不会进步。
【股市有风险决策需谨慎】
EMA(C,26);
成本线: EMA(COST(81),10) COLORYELLOW,LINETHICK1;
STICKLINE(REF(C>O,2) AND REF(C<O OR C<REF(C,1),1) AND (C>EMA(C,200) AND C>=O AND C>EMA(C,200)),EMA(C,210),EMA(C,170),1.5,0),COLORBLUE;
STICKLINE(EMA(C,200)>REF(EMA(C,200),1) AND EMA(C,50)>REF(EMA(C,50),1) ,EMA(C,200),EMA(C,180),1,0),COLORRED;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
前期高位:REF(C,BARSLAST(HD)),COLOR8000FF,POINTDOT;
STICKLINE(C,前期高位,前期高位,8,0),COLOR8000FF;
A0:=REF(TY,7)=HHV(TY,2*7+1);
B0:=FILTER(A0,7);
C0:=BACKSET(B0,7+1);
HD0:=FILTER(C0,7);
前期高位0:=REF(C,BARSLAST(HD0)),COLORBLUE,POINTDOT;
STICKLINE(C,前期高位0,前期高位0,8,0),COLORBLUE;
VAR1W:=(C+H+O+L)/4;
卖出:=XMA(VAR1W,N)*(1+P1/1000);
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;
STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN;
STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,24);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
MA240:=MA(CLOSE,240);
反弹托:=MA5>MA20 AND MA5>MA20 AND MA20<MA60 AND MA60<MA120 AND CROSS(MA10,MA20);
月价托:=MA5>MA20 AND MA20>MA60 AND MA60>MA120 AND MA5>MA20 AND CROSS(MA10,MA20);
季价托:=MA20>MA60 AND MA20>MA60 AND CROSS(MA20,MA60);
短长价托:=MA5>MA60 AND MA5>MA10 AND CROSS(MA10,MA60);
半年托:=MA60>MA120 AND MA60>MA120 AND CROSS(MA60,MA120);
年托:=MA120>MA240 AND MA120>MA240 AND CROSS(MA120,MA240);
月蜘蛛:=MA5>MA10 AND MA10>MA20 AND CROSS(MA5,MA20)AND CROSS(MA10,MA20);
DRAWTEXT(月蜘蛛,L-0.07,'金蜘蛛'),COLORYELLOW;
DRAWTEXT(月价托 ,MA20,'↙月托'),COLORMAGENTA;
DRAWTEXT(季价托,MA60-0.0.08,'季托'),COLORMAGENTA;
DRAWTEXT(短长价托,L+0.015,'短长托'),COLOR36C0C1;
DRAWTEXT(半年托,MA120-0.08,'↖慢牛'),COLORYELLOW;
DRAWTEXT(年托,MA240-0.08,'年托'),COLORRED;
压:=MA10<MA20 AND MA20>MA10 AND CROSS(MA20,MA10);
DRAWTEXT(压,H*1.02,'承压'),COLORYELLOW;
VOL5:=MA(VOL,5),COLORWHITE;
VOL10:=MA(VOL,10),COLORYELLOW;
VOL40:=MA(VOL,40),COLORFF00FF ;
量托:=VOL5>=VOL40 AND CROSS(VOL10,VOL40) AND REF(VOL10,1)<REF(VOL40,1);
DRAWTEXT(量托,L-0.012,'量托'),COLORWHITE;
AA1:=BARSLAST(MA60>MA20 AND (MA20=MA10 OR MA20>MA10));
BB1:=REF(COUNT(C<MA60,AA1)=AA1,1);
CC1:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;
出水芙蓉:=BB AND CC1,COLOR00FF00;
DRAWTEXT(出水芙蓉,H*1.02,'出水芙蓉'),COLORFF00FF;
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,30);
一穿三:=MA5>O AND MA2>O AND MA3>O AND MA5<C AND MA2<C AND CLOSE>OPEN AND (CROSS(C,MA3) OR CROSS(C,EMA(C,26)) ) ;
DRAWTEXT(一穿三,L-0.012,'穿三线'),COLORRED;
{量能平台}
ND:=10;
PTD:=CONST(LLVBARS(V,ND));
TDPX:IF(CURRBARSCOUNT<=ND,CONST(IF(PTD=0,O,REF(O,PTD))),DRAWNULL),COLORFF0000;
IF(CURRBARSCOUNT=PTD+1,TDPX,DRAWNULL),CIRCLEDOT,COLORFF0000,LINETHICK2;
DRAWTEXT(ISLASTBAR,TDPX,' 【地平线】'),COLORFF0000;
G21:=30;
T112:=CONST(HHVBARS(V,G21));
T122:=IF(CURRBARSCOUNT<=G21+7,CONST(IF(T112=0,H,REF(H,T112))),DRAWNULL);
T122A:=IF(CURRBARSCOUNT=T112+1,T122,DRAWNULL),CIRCLEDOT,COLORWHITE;
DRAWTEXT(ISLASTBAR,T122,'30天量能平台'),COLORWHITE;
W10:=10;
TW1:=CONST(HHVBARS(V,W10));
TW0:=IF(CURRBARSCOUNT<=W10+7,CONST(IF(TW1=0,C,REF(C,TW1))),DRAWNULL);
TW0A:=IF(CURRBARSCOUNT=TW1+1,TW0,DRAWNULL),CIRCLEDOT,COLORWHITE;
DRAWTEXT(ISLASTBAR,TW0,'10量能平台'),COLORWHITE;
W20:=20;
TW20:=CONST(HHVBARS(V,W20));
TW22:=IF(CURRBARSCOUNT<=W20+7,CONST(IF(TW20=0,C,REF(C,TW20))),DRAWNULL);
TW22A:=IF(CURRBARSCOUNT=TW20+1,TW22,DRAWNULL),COLORWHITE;
DRAWTEXT(ISLASTBAR,TW22,'20量能平台'),COLORWHITE;
MW:=10;
MW1:=CONST(LLVBARS(V,MW));
MW0:=IF(CURRBARSCOUNT<=MW+7,CONST(IF(MW1=0,O,REF(O,MW1))),DRAWNULL);
MW0A:=IF(CURRBARSCOUNT=MW1+1,MW0,DRAWNULL),CIRCLEDOT,COLORWHITE;
DRAWTEXT(ISLASTBAR,MW0,'地量能平台'),COLORWHITE;
{N1:=18;N2:=36;N3:=55;}
EM1:=EMA(C,18),NODRAW;
EM2:=EMA(C,36),COLORRED;
EM3:=EMA(C,55),COLORGREEN;
TJ8:=BETWEEN(EM2,EM1,EM3);
{DRAWICON(TJ8=0,L,14);}
B18:='<-----------------量平';
DRAWTEXT(VOL=HHV(VOL,20),C ,B18),COLORRED;
M7:=MA(C,78);
M8:=EMA(M7,3);
M9:=EMA(M8,3);
Y:=(H+L)/2;
AO:=MA(Y,5)-MA(Y,34 );
DU0:=CROSS(AO,0);
UD0:=CROSS(0,AO);
TDU0:=BARSLAST(DU0);
TUD0:=BARSLAST(UD0);
DU3:=REF(DU0,1);
UD3:=REF(UD0,1);
TDU3:=BARSLAST(DU3);
TUD3:=BARSLAST(UD3);
UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3));
JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0;
JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0;
JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
JUD2:=JUD1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JUD3:=JUD1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
DRAWTEXT(JDU2,M9,'↙转强'),COLORYELLOW;
{超跌反弹}
RSV:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*100;
短期底部:=LLV(OPEN,30);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=(3*K-2*D),LINETHICK2;
D2:=SMA(J,3,1)*0.82;
VAR72:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR73:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR74:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR75:=(VAR72+2*VAR73+3*VAR74)/6;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA2:=EMA(DIFF,6);
MACD超跌2:=(COUNT(DIFF<DEA2,19))=10;
DRAWTEXT(CROSS(J,-3),L*0.95,'↖超跌反弹'),COLORGREEN;
{回踩突破}
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
回踩突破:=W4 AND COUNT(W4,5)=1;
DRAWTEXT(回踩突破>0,MA(L,3),'↖回踩'),COLORRED;
{绝杀}
F:=EMA(CLOSE,10)-EMA(CLOSE,21);
A:=EMA(F,8);
MD:=(F-A)*2;
ZQ:=BARSLAST(CROSS(F,A) AND A<=0.05)+1;
LZ:=BARSLASTCOUNT(MD<REF(MD,1))>1;
HZ:=BARSLASTCOUNT(MD>REF(MD,1))>1;
LZQ:=BARSLASTCOUNT(LZ);
HZQ:=BARSLASTCOUNT(HZ);
LZQTJ:=COUNT(LZQ,ZQ);
HZQTJ:=COUNT(HZQ,ZQ);
NQR:=REF(CLOSE,4);
SRZF:=((CLOSE-NQR)/NQR)*100,NODRAW;
绝杀黑马:=REF(LZQTJ,1)>=2 AND REF(HZQTJ,1)>=3 AND HZQTJ=0 AND LZQTJ=0 AND SRZF>2,LINETHICK2;
DRAWTEXT(绝杀黑马,MA(L,3),'↖绝杀'),COLOR00FFFF;
均线:=EXPMA(C,12),COLORGRAY,LINETHICK2;
日:=50;
昨前:=3;
高2:=REF(HHV(H,日),昨前);
低2:=REF(LLV(L,日),昨前);
H4:=高2-(高2-低2)*0.618;
H5:=高2-(高2-低2)*0.809;
圆底支撑:REFDATE(H5,DATE),COLORCYAN;
黄金支撑:REFDATE(H4,DATE),COLORGREEN,;
STICKLINE(CURRBARSCOUNT=1,圆底支撑,圆底支撑,300,-1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=1,黄金支撑,黄金支撑,300,-1),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=1 AND 圆底支撑,圆底支撑,'备现金'),COLORGREEN;
PHD:=FILTER(BACKSET(FILTER(REF(H,10)=HHV(H,2*10+1),10),10+1),10);
PLD:=FILTER(BACKSET(FILTER(REF(L,10)=LLV(L,2*10+1),10),10+1),10);
PA:=REF(H,BARSLAST(PHD));
PT1:=BARSLAST(PHD)<BARSLAST(PLD) AND NOT(PHD);
波顶:IF(PT1,PA,PA),COLORWHITE,POINTDOT,LINETHICK1;
突破:=(CROSS(C,前期高位0) OR CROSS(C,前期高位) OR CROSS(C,黄金支撑) OR CROSS(C,圆底支撑) OR CROSS(C,波顶)) AND C/O>1.05;
STICKLINE(突破,OPEN,CLOSE,4.5,0),COLORFF0099;
STICKLINE(突破,OPEN,CLOSE,3,0),COLORFF00CC;
STICKLINE(突破,OPEN,CLOSE,2,0),COLORFF00FF;
DRAWTEXT(突破,MA(H,3),'↙突破'),COLORYELLOW;
C6:=REF(C,1);
涨停:=IF((C-C6)*100/C6>=(10-0.01*100/C6),1,0);
STICKLINE(涨停,OPEN,CLOSE,1,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
642122515.jpg
|