通达信牛金趋势指标公式,通达信牛金抓短指标公式
admin888
|通达信牛金趋势指标公式,通达信牛金抓短指标公式
通达信牛金趋势指标公式
NUM:=13;SHORT:=3;LONG:=5;
LC:=REF(C,1);
Wrsi:=SUM(MAX(C-LC,0),6)/SUM(Abs(C-LC),6)*100;
AAA:=crOSS(wrSI,20);
VAR1:=3;
VAR2:=(3)*(SMA(((C-LLV(L,27))/(HHV(H,27)-LLV(L,27)))*(100),5,1))-(2)*(SMA(SMA(((C-LLV(L,27))/(HHV(H,27)-LLV(L,27)))*(100),5,1),3,1));
BBB:=IF(CROSS(VAR2,VAR1),100,0);
YXT:=AAA AND BBB;
牛熊线:(LLV(REF(L,1),2)+(HHV(REF(H,1),2)-LLV(REF(L,1),2))/2),COLOR005BF5,NODRAW;
DRAWTEXT(YXT,-0.8,'*牛*'),COLORFFFFFF;
stICKLINE(YXT,0,15,1,0 ),COLORFFFFFF;
mtm:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
公式一:=(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)));
DIFF:= EMA(CLOSE,10) - EMA(CLOSE,22);
DEA:=EMA(DIFF,9);
macd:=2*(DIFF-DEA);
公式二:=CROSS(MacD,REF(MACD,1) ) AND REF(MACD,1)<0;
VAR3:=((((2*CLOSE)+HIGH)+LOW) / 4);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
C1:=(EMA((((VAR3-VAR4)/(VAR5-VAR4))*100),4));
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2));
公式三:=CROSS(C1,C2) AND C2<60;
马:(公式一+公式二+公式三)>=2,COLORYELLOW,NODRAW;
STICKLINE(马,0,8,1,0 ),COLORYELLOW;
DRAWTEXT(马,-0.8,'*马*'),COLORYELLOW;
ZF:=(C/REF(C,1)-1)*100;
趋势:SUM(ZF,3),COLORMAGENTA,LINETHICK2;
IF(趋势>REF(趋势,1) AND 趋势>=0,趋势,DRAWNULL),COLORRED,LINETHICK2;
IF(趋势0,趋势,DRAWNULL),COLORCYAN,LINETHICK2;
超涨:IF(MA(ZF,3)>=5,15,0),COLOR0000FF;
WK:=趋势=LLV(趋势,4) AND 趋势-HHV(趋势,4)<=0-20 AND HHV(趋势,4)>=8;
挖坑:IF(WK,0-10,0),COLORGREEN;
超跌:IF(MA(ZF,3)<=0-5,0-15,0),COLORBLUE;
CZSJ:=BArslAST(超涨=15);
CDSJ:=BARSLAST(超跌=0-15);
CZQY:=CZSJ<=8 AND CZSJ<=CDSJ AND COUNT(MA(趋势,3)>=0-5,CZSJ)=CZSJ;
CDQY:=CDSJ<=8 AND CDSJ<=CZSJ AND COUNT(MA(趋势,3)<=5,CDSJ)=CDSJ;
关注期:IF(CZQY,CZSJ+1,0),COLORYELLOW,POINTDOT;
跟踪期:IF(CDQY,0-CDSJ-1,0),COLORWHITE,POINTDOT;
STICKLINE(CZQY,REF(趋势,CZSJ),REF(趋势,CZSJ),3,1),COLORYELLOW;
STICKLINE(CDQY,REF(趋势,CDSJ),REF(趋势,CDSJ),3,1),COLORWHITE;
通达信牛金抓短指标公式
能量1:=SQRT(vol)*(((C-(H+L)/2))/((H+L)/2));
能量2:=EMA(能量1,16);
能量:EMA(能量2,16),NODRAW ;
stICKLINE(能量>=0,(能量-能量*0.05),(能量-能量*0.15),5,-1) COLOR1C1C1C;
STICKLINE(能量>=0,(能量-能量*0.2),(能量-能量*0.35),5,-1) COLOR1C1C2C;
STICKLINE(能量>=0,(能量-能量*0.4),(能量-能量*0.55),5,-1) COLOR1C1C3C;
STICKLINE(能量>=0,(能量-能量*0.6),(能量-能量*0.75),5,-1) COLOR1C1C4C;
STICKLINE(能量>=0,(能量-能量*0.8),(能量-能量*0.95),5,-1) COLOR1C1C4C;
STICKLINE(能量<0,(能量-能量*0.05),(能量-能量*0.15),5,-1) COLOR003300;
STICKLINE(能量<0,(能量-能量*0.2),(能量-能量*0.35),5,-1) COLOR004400;
STICKLINE(能量<0,(能量-能量*0.4),(能量-能量*0.55),5,-1) COLOR005500;
STICKLINE(能量<0,(能量-能量*0.6),(能量-能量*0.75),5,-1) COLOR006600;
STICKLINE(能量<0,(能量-能量*0.8),(能量-能量*0.95),5,-1)COLOR007700;
WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,4);
WY1003:=EMA(WY1002,4);
WY1004:=EMA(WY1003,4);
强弱分区:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
STICKLINE(强弱分区>=0,强弱分区,0,1.6,1),COLORMAGENTA;
STICKLINE(强弱分区<0,强弱分区,0,1.6,1),COLORCYAN;
PJGJ:=AMOUNT/VOL/100;
SSRYDJX:=MA(PJGJ,13);
SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=SSRCJE/SSRCJL/100;
CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;
XYSHSL:=EMA(VOL/CAPITAL*100,13);
{ZZX:0,COLORWHITE;}
STICKLINE(XYSHSL>6.1 ANDcys13>5 ,2 ,0 ,2.5 ,0 ),COLORGREEN;
STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2.5 ,0 ),COLORYELLOW;
STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2.5 ,0 ),COLORCYAN;
STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2.5 ,0 ),COLORBLUE;
{控盘}
VARA:=(2*CLOSE+HIGH+LOW)/4;
VARB:=expma(EXPMA(EXPMA(VARA,4),4),4);
VAR1:=EMA(EMA(CLOSE,9),9);
VAR2:=100*WINNER(CLOSE*0.95);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*100;
A10:=crOSS(控盘,0);
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,0.1,0),COLORRED;
庄控:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;
STICKLINE(VAR2>50 AND COST(85)
高控:IF(VAR2>50 AND COST(85)
STICKLINE(控盘0,控盘,0,0.1,0),COLOR00FF00;
出货:IF(控盘0,控盘,0),COLOR00FF00,NODRAW;
破脚:REF(C,1)REF(H,1);
AAA:=REF(C,3)>REF(O,3) AND REF(C,3)>REF(C,4);
CCC:=C>O AND C>REF(C,3) AND H>REF(H,3);
跳空:AAA AND BBB AND CCC;
TJ1:=EMA((C-L),20)/EMA((H-L),20)*100;
TJ2:=(L-Abs(MIN(C,O)))/L<=1;
TJ3:=ABS((L-MA(C,5)))/L*100>10;
TJ4:=TJ1 AND TJ2 AND TJ3;
暴跌:IF(TJ4 AND TJ1>REF(TJ1,1),TJ4,0),COLORGREEN;
神针:MIN(C,O)
{短2线}
牛线:MA(强弱分区,2),COLORWHITE,LINETHICK1;
金线:MA(强弱分区,1),COLORYELLOW,LINETHICK1;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。