2024年1月9日发(作者:步景明)
极致波浪理论主图指标通达信指标公式源码
一个波浪理论,手上的指标会在大家的建议之下慢慢的完善 指标这东西就要一点点的精细改进,虽然不可能达到百分百的正确率 但是综合几个起来看,准确率就有保障了
对指标的编写一直没有放弃过,不管大盘怎么变,找到方法才能够赚钱
PL5:=ZIG(3,5);
EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)=REF(ZIG(3,5),2) AND
REF(ZIG(3,5),2)>=REF(ZIG(3,5),3); PL10:=ZIG(3,13);
EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)=REF(ZIG(3,10),2) AND
REF(ZIG(3,10),2)>=REF(ZIG(3,10),3); PL20:=ZIG(3,26);
EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)=REF(ZIG(3,20),2) AND
REF(ZIG(3,20),2)>=REF(ZIG(3,20),3); PL40:=ZIG(3,55);
走强一:=BARSLAST(PL5REF(PL5,1)); 走强二 :=BARSLAST(PL10REF(PL10,1)); 走强三:=BARSLAST(PL20REF(PL20,1));
ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,DTJZ5:=IF(PL10REF(PL20,1),COUNT(EN2,走走走强强强二二三
),0);
),0);
),0);
ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强三),0); DTJZ10:=IF(PL20REF(PL10,1)
AND ZTJD5=1,HIGH*1.02,’⑴’),COLOR0000FF; DRAWTEXT(EN1 AND PL10>REF(PL10,1)
AND ZTJZ5=2,LOW*0.98,’⑵’),COLOR0000FF; DRAWTEXT(EX1 AND PL10>REF(PL10,1)
AND ZTJZ5=2,HIGH*1.02,’⑶’),COLOR0000FF; DRAWTEXT(EN1 AND PL10>REF(PL10,1)
AND ZTJZ5=3,LOW*0.98,’⑷’),COLOR0000FF; DRAWTEXT(EX2 AND PL20>REF(PL20,1)
AND ZTJD10=1,HIGH*1.02,’【【AB⑸】】’),COLOR0000FF;
’),COLOR00FF00;
’),COLOR00FF00;
DRAWTEXT(EN2
DRAWTEXT(EX2
DRAWTEXT(EN3
AND
AND
AND
DTJZ10=1,LOW*0.94,’DTJD10=2,HIGH*1.03,’
ZTJZ10=1,LOW*0.94,’【C】’),COLOR00FF00; DRAWTEXT(EX2 AND PL20>REF(PL20,1)
AND ZTJD10=1,HIGH*1.04,’①’),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,LOW*0.94,’②’),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2)
AND EX2,HIGH*1.04,’③’),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,LOW*0.94,’④’),LINETHICK3,COLOR00FFFF; DMLJ:=HHV(HIGH,120); TY:=CLOSE;
HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
A:=REF(CLOSE,BARSLAST(HD)); B:=REF(CLOSE,BARSLAST(LD));
T1:=BARSLAST(HD)BARSLAST(LD)
顶AND NOT(LD); 波浪:IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK2;
STICKLINE(T1,A,A,9,0),COLORFF00FF;
波浪底:IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK2; VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR7:=0;
VAR8:=MA(HHV(CLOSE-REF(CLOSE,1),0),34)/MA(ABS(CLOSE-REF(CLOSE,1)),7)*100;
VAR9:=MA(HHV(CLOSE-REF(CLOSE,1),0),13)/MA(ABS(CLOSE-REF(CLOSE,1)),13)*100;
VARA:=BARSCOUNT(CLOSE);
VARB:=VAR835; VARC:=VARB AND COUNT(VARB,1)=1;
VARD:=EMA(CLOSE,21)-EMA(CLOSE,8); VARE:=EMA(VARD,5);
VARF:=TROUGH(3,6,1)LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)=REF(ZIG(3,6),2) AND
REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)=REF(ZIG(3,22),2) AND
REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)=REF(ZIG(3,51),2) AND
REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)=REF(ZIG(3,72),2) AND
REF(ZIG(3,72),2)>=REF(ZIG(3,72),3); VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1A:=EMA(VAR19,100); VAR1B:=2*(VAR19-VAR1A);
VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);
VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR1F:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));
VAR21:=CROSS(VAR1E,LOW); 买点一:=VAR10;
买点二:=(VAR11+VAR13+VAR15+VAR17); 卖点一:=(VAR12+VAR14+VAR16+VAR18);
VAR22:=买点一 AND VARF AND VARC AND VAR21 AND VAR40,LOW-0.01,’▲买!’),COLORRED;
DRAWTEXT(买点二>0,LOW-0.01,’▲买入待涨’),COLORYELLOW; DRAWTEXT(卖点一>0,HIGH+0.1,’▼快卖欲跌’), COLORWHITE; A1:=BARSCOUNT(CLOSE);
AH:=HHV(HIGH,72); AL:=LLV(LOW,72); A0:=(AH-AL)/21; B1:=LOW-A0;
DRAWTEXT((A1+0)/15=FLOOR((A1+0)/15),B1-2.5*A0,’▲时窗’),COLORWHITE;
VAR1E:=EMA(VAR1D*0.97,3);
2024年1月9日发(作者:步景明)
极致波浪理论主图指标通达信指标公式源码
一个波浪理论,手上的指标会在大家的建议之下慢慢的完善 指标这东西就要一点点的精细改进,虽然不可能达到百分百的正确率 但是综合几个起来看,准确率就有保障了
对指标的编写一直没有放弃过,不管大盘怎么变,找到方法才能够赚钱
PL5:=ZIG(3,5);
EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)=REF(ZIG(3,5),2) AND
REF(ZIG(3,5),2)>=REF(ZIG(3,5),3); PL10:=ZIG(3,13);
EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)=REF(ZIG(3,10),2) AND
REF(ZIG(3,10),2)>=REF(ZIG(3,10),3); PL20:=ZIG(3,26);
EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)=REF(ZIG(3,20),2) AND
REF(ZIG(3,20),2)>=REF(ZIG(3,20),3); PL40:=ZIG(3,55);
走强一:=BARSLAST(PL5REF(PL5,1)); 走强二 :=BARSLAST(PL10REF(PL10,1)); 走强三:=BARSLAST(PL20REF(PL20,1));
ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,DTJZ5:=IF(PL10REF(PL20,1),COUNT(EN2,走走走强强强二二三
),0);
),0);
),0);
ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强三),0); DTJZ10:=IF(PL20REF(PL10,1)
AND ZTJD5=1,HIGH*1.02,’⑴’),COLOR0000FF; DRAWTEXT(EN1 AND PL10>REF(PL10,1)
AND ZTJZ5=2,LOW*0.98,’⑵’),COLOR0000FF; DRAWTEXT(EX1 AND PL10>REF(PL10,1)
AND ZTJZ5=2,HIGH*1.02,’⑶’),COLOR0000FF; DRAWTEXT(EN1 AND PL10>REF(PL10,1)
AND ZTJZ5=3,LOW*0.98,’⑷’),COLOR0000FF; DRAWTEXT(EX2 AND PL20>REF(PL20,1)
AND ZTJD10=1,HIGH*1.02,’【【AB⑸】】’),COLOR0000FF;
’),COLOR00FF00;
’),COLOR00FF00;
DRAWTEXT(EN2
DRAWTEXT(EX2
DRAWTEXT(EN3
AND
AND
AND
DTJZ10=1,LOW*0.94,’DTJD10=2,HIGH*1.03,’
ZTJZ10=1,LOW*0.94,’【C】’),COLOR00FF00; DRAWTEXT(EX2 AND PL20>REF(PL20,1)
AND ZTJD10=1,HIGH*1.04,’①’),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,LOW*0.94,’②’),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2)
AND EX2,HIGH*1.04,’③’),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,LOW*0.94,’④’),LINETHICK3,COLOR00FFFF; DMLJ:=HHV(HIGH,120); TY:=CLOSE;
HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
A:=REF(CLOSE,BARSLAST(HD)); B:=REF(CLOSE,BARSLAST(LD));
T1:=BARSLAST(HD)BARSLAST(LD)
顶AND NOT(LD); 波浪:IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK2;
STICKLINE(T1,A,A,9,0),COLORFF00FF;
波浪底:IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK2; VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR7:=0;
VAR8:=MA(HHV(CLOSE-REF(CLOSE,1),0),34)/MA(ABS(CLOSE-REF(CLOSE,1)),7)*100;
VAR9:=MA(HHV(CLOSE-REF(CLOSE,1),0),13)/MA(ABS(CLOSE-REF(CLOSE,1)),13)*100;
VARA:=BARSCOUNT(CLOSE);
VARB:=VAR835; VARC:=VARB AND COUNT(VARB,1)=1;
VARD:=EMA(CLOSE,21)-EMA(CLOSE,8); VARE:=EMA(VARD,5);
VARF:=TROUGH(3,6,1)LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)=REF(ZIG(3,6),2) AND
REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)=REF(ZIG(3,22),2) AND
REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)=REF(ZIG(3,51),2) AND
REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)=REF(ZIG(3,72),2) AND
REF(ZIG(3,72),2)>=REF(ZIG(3,72),3); VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1A:=EMA(VAR19,100); VAR1B:=2*(VAR19-VAR1A);
VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);
VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR1F:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));
VAR21:=CROSS(VAR1E,LOW); 买点一:=VAR10;
买点二:=(VAR11+VAR13+VAR15+VAR17); 卖点一:=(VAR12+VAR14+VAR16+VAR18);
VAR22:=买点一 AND VARF AND VARC AND VAR21 AND VAR40,LOW-0.01,’▲买!’),COLORRED;
DRAWTEXT(买点二>0,LOW-0.01,’▲买入待涨’),COLORYELLOW; DRAWTEXT(卖点一>0,HIGH+0.1,’▼快卖欲跌’), COLORWHITE; A1:=BARSCOUNT(CLOSE);
AH:=HHV(HIGH,72); AL:=LLV(LOW,72); A0:=(AH-AL)/21; B1:=LOW-A0;
DRAWTEXT((A1+0)/15=FLOOR((A1+0)/15),B1-2.5*A0,’▲时窗’),COLORWHITE;
VAR1E:=EMA(VAR1D*0.97,3);