通达信老鸭头等指标公式

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

公式一:老鸭头回头精选


{N:1,20,10;}
MA5:MA(C,5),COLORWHITE;
MA10:MA(C,10),COLORFF00FF;
MA20:MA(C,20),COLOR00FF00;
MA30:MA(C,30),COLORYELLOW;
MA120:SMA(C,120,1),COLOR0000FF;
ZH520:=ABS(MA5-MA20)/MA20*100<=N;
ZH530:=ABS(MA5-MA30)/MA30*100<=N;
QSXS1:=MA5>REF(MA5,1);
QSXS2:=MA20>REF(MA20,1);
QSXS3:=MA30>REF(MA30,1);
DTPL:=MA20>MA30 AND MA30>MA120;
LYHT:=DTPL AND QSXS2 AND QSXS3 AND NOT(QSXS1) AND REF(QSXS1,1);
老鸭回头:=LYHT*50,COLORFF00FF,POINTDOT;
WR5:=100*(HHV(H,5)-C)/(HHV(H,5)-LLV(L,5));
WR6:=100*(HHV(H,6)-C)/(HHV(H,6)-LLV(L,6));
WR:=80-(WR5*3+WR6*2)/5,COLORYELLOW,POINTDOT;
坑:=IF(WR<0,WR,0),COLORYELLOW;
LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;
GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));
LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;
买:=(LYKK AND NOT(REF(LYKK,1)))*50,COLOR00FF00,POINTDOT,LINETHICK0;
优选:=(买 AND COUNT((MA10>MA20),5)=5)*100,COLORYELLOW,POINTDOT,LINETHICK0;
{以下设置主图显示方式}
DRAWTEXT(老鸭回头,(MA10+MA20)/2, '0'),COLORFF00FF;
DRAWTEXT(老鸭回头,(MA10+MA20)/2, '1'),COLORFF00FF;
DRAWTEXT(WR<0,L*0.99, '#'),COLORYELLOW;
DRAWTEXT(WR<-10,L*0.99, '#'),COLORWHITE;
STICKLINE(买,H,L,0,1),COLOR00FF00,LINETHICK2;
STICKLINE(买,O,C,4,1),COLOR00FF00,LINETHICK2;
DRAWTEXT(买,L*0.99, '买★买'),COLOR00FF00;
DRAWICON(优选,L*0.99,1);
{以下设置逃顶指标}
VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARC),HIGH,2);
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
DRAWTEXT(CROSS(84,VAR7),H*1.01,'逃顶'),COLORYELLOW ;


公式二:老鸭头

VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,60);
VAR4:=BARSLAST(CROSS(VAR1,VAR3));
VAR5:=BARSLAST(CROSS(VAR2,VAR3));
VAR6:=BARSLAST(HIGH=HHV(HIGH,VAR5));
VAR7:=BARSLAST(CROSS(VAR2,VAR1));
VAR8:=BARSLAST(CROSS(VAR1,VAR2));
VAR9:=VAR4>VAR5 AND VAR5>VAR6 AND VAR6>VAR7 AND VAR7>VAR8 AND VAR8<5;
VARA:=COUNT(CROSS(VAR2,VAR1),VAR5)=1;
VAR9 AND VARA;


公式六:老鸭头

A1:=BARSLAST(REF(CROSS(MA(C,5),MA(C,10)),1));
A2:=(HHV(C,A1+1)/REF(C,A1+1)-1)*100;
A3:=CROSS(MA(C,5),MA(C,10));
A4:=LLV(V,10)=LLV(V,30) AND EXIST(MA(V,5)>MA(V,10)
AND MA(V,10)>MA(V,20),30);
A5:=C/REF(C,A1+1)>1.05;
A2>10 AND A2MA(C,5)>MA(C,60);


公式九:老鸭头回头精选

MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA120:=SMA(C,120,1);
ZH520:=ABS(MA5-MA20)/MA20*100<=10;
ZH530:=ABS(MA5-MA30)/MA30*100<=10;
QSXS1:=MA5>REF(MA5,1);
QSXS2:=MA20>REF(MA20,1);
QSXS3:=MA30>REF(MA30,1);
DTPL:=MA20>MA30 AND MA30>MA120;
LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;
GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));
LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;
买:=LYKK AND NOT(REF(LYKK,1));
优选:买 AND COUNT((MA10>MA20),5)=5;



公式十一:老鸭头后的五线第一阳

MAXWX:=MAX(MA(C,5),MAX(MA(C,10),MAX(MA(C,20),MAX(MA(C,60),MA(C,120)))));
CY:=IF

(CROSS(C,MAXWX) AND COUNT(C>MAXWX,5)=1,1,0);
JX:=MA(C,60)>MA(C,120) AND COUNT(C>MA(C,60),10)=10;
VL:=V>2*MA(V,10);
CY AND JX AND VL AND DYNAINFO(4)>0;



公式十二:老鸭头后的五线第一阳-2


MAXWX:=MAX(MA(C,5),MAX(MA(C,10),MAX(MA(C,20),MAX(MA(C,60),MA(C,120)))));
WXZS:=IF(CROSS(C,MAXWX) AND COUNT(C>MAXWX,5)=1,1,0);

MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA60:=MA(C,60);
MA120:=MA(C,120);
A1:=CROSS(MA5,MA10);
B1:=C>MA60 AND MA5>MA60 AND MA10>MA60;
C1:=MA60>MA120;
D1:=A1 AND B1 AND C1;
COUNT(D1,5)=1>0 AND COUNT(WXZS,3);



公式三:量芝麻点

VAR1:=MA(VOL,40);
VAR2:=VOL/CAPITAL*100;
VAR3:=COUNT(VOL/VAR1<1.3,14)>11;
VAR4:=CROSS(VAR2,2);
VAR5:=CLOSE/REF(CLOSE,1)>1.025 AND CLOSE>OPEN;
VAR6:=VAR3 AND VAR4 AND VAR5;
VAR6;

公式四:放量过头

VAR1:=HHV(HIGH,60);
VAR2:=CLOSE>VAR1;
VAR3:=VOL>MA(VOL,5)*2.5 OR COUNT(VOL>MA(VOL,10),6)>4;
VAR2 AND VAR3;


公式五:放量过头2

A:=C>REF(HHV(C,N),1);
B:=V>REF(HHV(V,60),1) OR V>REF(HHV(V,120),1);
A AND B;


公式七:轻松过头

A1:=IF(TOPRANGE(C)>=N,1,0);
A2:=VA1 AND A2;

公式八: 三线顺上

MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
MA1>MA2 AND MA2>MA3 AND MA1>MA3 AND MA1>REF(MA1,1) AND
MA2>REF(MA2,1) AND MA3>REF(MA3,1);


公式十三:DIF上穿0轴

VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);
COUNT(VAR1>=0,60)=1 AND VAR1>=0;


相关文档
最新文档