当前位置:首页 > 公式 > 通达信公式 >
通达信预判顶底主图指标公式
来源:互联网浏览次数: 整理:股票入门学习大学网

M5:=MA(CLOSE,5),COLORWHITE;

M10:=MA(CLOSE,10),COLORYELLOW;

M20:MA(CLOSE,20),COLORMAGENTA;

M30:=MA(CLOSE,30),COLORGREEN;

M60:MA(CLOSE,60),LINETHICK2,COLORCYAN;

M90:=MA(CLOSE,90),COLORBLUE;

M120:MA(CLOSE,120),LINETHICK2,COLORLIRED;

M180:=MA(CLOSE,180),LINETHICK1,COLORYELLOW;

M250:MA(CLOSE,250),COLORRED;

M350:=MA(CLOSE,318),COLORBROWN;

生命:EMA(CLOSE,453),COLORCYAN,LINETHICK1;

判:IF(M60>REF(M60,1),M60,DRAWNULL),COLORMAGENTA,LINETHICK2;

判2:IF(M20<REF(M20,1),M20,DRAWNULL),COLORGREEN,LINETHICK1;

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

空头:=M250>M120 AND M120>M90 AND M90>M60 AND M60>M30 AND M30>M20 AND M20>M10 AND M10>M5;

空头2:=M250>M180 AND M180>M120 AND M120>M90 AND M90>M60 AND M60>M30 AND M30>M20 AND M20>M10 AND M10>M5;

DRAWTEXT(CROSS(M5,M10) AND COUNT(空头,10)>0,H*1.005,'底?'),COLORYELLOW;

DRAWTEXT(CROSS(M10,M20) AND COUNT(空头,10)>0,H*1.0035,'底成'),COLORYELLOW;

DRAWTEXT(CROSS(M120,M180) AND M60>REF(M60,1),L*0.9985,'跌后赶顶'),COLORGREEN;

DRAWTEXT(CROSS(M180,M250) AND M60>REF(M60,1) ,L*0.998,'跌后见顶?'),COLORGREEN;

DRAWTEXT(CROSS(M250,M350),M30*0.9985,'若新高逃顶'),COLORGREEN;

DRAWTEXT(CROSS(M250,生命),H*1.0010,'离场'),COLORGREEN;

DRAWTEXT(CROSS(M60,M30) AND DIF<REF(DIF,1),H*1.0013,'要走弱'),COLORGREEN;

DRAWTEXT(CROSS(M90,M60) AND M60<REF(M60,1),H*1.0013,'要见小底'),COLORGREEN;

DRAWTEXT(CROSS(M120,M90),H*1.001,'要见中底'),COLORGREEN;

DRAWTEXT(CROSS(M250,M120),H*1.0013,'要见大底'),COLORGREEN;

DRAWTEXT(CROSS(M250,M180),M60*0.998,'大底到'),COLORGREEN;

做多:LLV((O+H+L+2*C)/5*2-H,8),COLORLIRED,DOTLINE;

做空:HHV((O+H+L+2*C)/5*2-L,8),COLORLIRED,DOTLINE;

STICKLINE(L<做多,O,C,1,0),COLORYELLOW;

STICKLINE(H>做空,O,C,1,0),COLORBLUE;

MM:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;

分批出:=CROSS(MM,85);

分批买:=CROSS(MM,15);

DRAWTEXT(分批买,C*1.0045,'进'),COLORYELLOW;

DRAWTEXT(分批出 ,H*0.999,'出'),COLORGREEN;

DRAWICON(分批买,H*1.0025,9);

A11:=BARSLAST(REF(CROSS(DIF,DEA),1));

背离:=REF(CLOSE,A11+1)>CLOSE AND DIF>REF(DIF,A11+1) AND CROSS(DIF,DEA),COLORFF00FF;

DRAWTEXT(底背离,L*1.001,'M背'),COLORMAGENTA;

A12:=BARSLAST(REF(CROSS(DEA,DIF),1));

顶背离:=REF(CLOSE,A12+1)<CLOSE AND REF(DIF,A12+1)>DIF AND CROSS(DEA,DIF),COLORGREEN;

DRAWTEXT(顶背离,H*0.999,'M背'),COLORGREEN;

JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));

二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;

DRAWTEXT(二次金叉,H*1.0015,'二金叉'),COLORYELLOW;

资金线:=EMA(C,1)/MA(REF(C,18),18)*100;

生命线:=MA(FORCAST(资金线,20),6);

生命连跌:=EVERY(生命线<REF(生命线,1),8);

生命连涨:=EVERY(生命线>REF(生命线,1),8);

STICKLINE(空头,M120,M90,1,0),COLORGREEN;

STICKLINE(空头 AND LAST(DIF<REF(DIF,1),10,1) AND DIF>REF(DIF,1),M120,M20,1,0),COLORMAGENTA;

STICKLINE(空头 AND CROSS(资金线,生命线) AND 生命线<95,M120,M20,1,0),COLORLIRED;

STICKLINE(空头 AND 生命线>REF(生命线,1) AND REF(生命连跌,1)=1 AND 生命线<95,M60,M120,1,0),COLORRED;

DRAWTEXT(空头 AND CROSS(资金线,生命线) AND 生命线<95,M120,'买'),COLORLIRED;

DRAWTEXT(O>C AND C>REF(C,1) AND C>REF(C,1)*1.03,O,'随后有涨停'),COLORLIRED;

MV5:=MA(VOL,5),COLORWHITE,LINETHICK2;

M3:=MA(VOL,35),COLORLIRED;

M1:=MA(VOL,135),COLORGREEN;

DRAWTEXT(CROSS(C,生命) AND C>REF(C,1)*1.02 AND DIF>REF(DIF,1) AND M30>REF(M30,1) AND MV5>REF(MV5,1) AND M1>REF(M1,1),H,'突破'),COLORMAGENTA;

VL:=REF(LOW,1);

VAR112:=(SMA(ABS(LOW-VL),7,1))/(SMA(MAX(LOW-VL,0),7,1))*100;

VAR14:=MA(VAR112,7);

VAR15:=LLV(LOW,15);

VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);

VAR110:=SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,7,1),5,1);

VAR111:=SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,7,1)*16.18-VAR110*10.9;

TT:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),7);

DRAWTEXT(TT,H*1.002,'随后止跌'),COLORCYAN;

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

DRAWTEXT(BU,L*0.998,'埋伏'),COLORMAGENTA;

DRAWTEXT(CROSS(EMA(C,8),EMA(C,3)),L*0.997,'跟'),COLORCYAN;

量B:=SUM(VOL,5)/(SUM(VOL,10)-SUM(VOL,5));

芝麻:=REF(量B,1)<0.6 AND 量B>REF(量B,1);

DRAWTEXT(芝麻,L*0.998,'芝'),COLORWHITE;

PDAY1 := BARSLAST(CROSS(M5,M60));

PDAY2 := BARSLAST(CROSS(M10,M60));

PDAY3 := BARSLAST(REF(HIGH=HHV(HIGH,PDAY2),1));

PDAY4 := BARSLAST(CROSS(M10,M5){ OR (REF(MA10,1)<REF(MA5,1) AND MA5=MA10)});

PDAY5 := BARSLAST(CROSS(M5,M10){ OR (REF(MA5,1)=REF(MA10,1) AND MA5>MA10)});

A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;

A2:= COUNT(CROSS(M10,M5),PDAY2)=1;

A3:=M5>M60 AND M10>M60;

老鸭头:=(A1 AND A2 AND A3) AND FILTER(A1 AND A2 AND A3 ,5);

DRAWTEXT(老鸭头,H*1.005,'老鸭头'),COLORGREEN;

通达信预判顶底主图指标公式

股票公式结合软件的应用属于进阶阶段的股票学了,我们整理网上提出的通达信预判顶底主图指标公式的问题一些解决方案仅供辅助你学习通达信公式参考,具体内容可能需要具体解决或者找网上其他高手帮忙,也感谢文字和图片来源于股旁网的一些资源分享,帮助新手快速学习提高炒股技能。

声明:通达信预判顶底主图指标公式的文字和图片来源于网络,版权归原作者所有,仅代表个人观点,于本站无关。

随便说说

评论精选

    还没有相关评论,快来抢沙发吧!