归零启航 转载和谐完全加密通达信指标!

[复制链接]
查看49 | 回复0 | 2022-6-27 22:11:51 | 显示全部楼层 |阅读模式
 {公式名称: 归零启航
公式描述: 主图
参数数量: 2
参数1: M, 最小: 10, 最大: 100, 缺省: 60
参数2: N, 最小: 10, 最大: 100, 缺省: 60}
 
VAR1:=STRCAT(DYBLOCK,21);
VAR2:=STRCAT(VAR1,HYBLOCK);
VAR3:=STRCAT(VAR2,21);
VAR4:=STRCAT(VAR3,GNBLOCK);
VAR5:=STRCAT(VAR4,21);
VAR6:=STRCAT(VAR5,FGBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.01,0.012,0,STRCAT(VAR6,ZHBLOCK)),COLORCYAN;
DRAWTEXT_FIX(1,0,0.075,0,STRCAT(93,ZDBLOCK)),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0,0.95,0,101),COLORYELLOW;
筹码95:COST(95);
筹码85:COST(85);
DRAWBAND(筹码95,RGB(110,139,61),筹码85,RGB(110,139,61));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
VAR7:=VOL>=REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1) AND CLOSE>OPEN AND MA(CLOSE,10)>REF(MA(CLOSE,10),1);
DRAWTEXT(VAR7,HIGH*1.01,26),COLORYELLOW;
VAR8:=CONST(HHVBARS(VOL,30));
VAR9:=IF(CURRBARSCOUNT<=30+7,CONST(IF(VAR8=0,CLOSE,REF(CLOSE,VAR8))),DRAWNULL);
遇阻:IF(CURRBARSCOUNT=VAR8+1,VAR9,DRAWNULL),CROSSDOT;
AB:DRAWLINE(HIGH>=HHV(HIGH,20),HIGH,LOW<=LLV(LOW,5),HHV(HIGH,5),1),DOTLINE,COLORWHITE;
VAR10:=IF(REF(HIGH,1)=REF(HHV(HIGH,2),1),1,0);
VAR11:=IF(VAR10=1,REF(HIGH,1),REF(HIGH,2));
VAR12:=IF(REF(LOW,1)=REF(LLV(LOW,2),1),1,0);
VAR13:=IF(VAR12=1,REF(LOW,1),REF(LOW,2));
VAR14:=(VAR11+VAR13)/2;{WWW.70822.com}
VAR15:=IF(CLOSE<VAR14,VAR14,DRAWNULL);
VAR16:=CURRBARSCOUNT<=1;
VAR17:=CURRBARSCOUNT<=1;
VAR18:=IF(VAR16,VAR11,DRAWNULL);
VAR19:=IF(VAR16,VAR14,DRAWNULL);
VAR20:=IF(VAR16,VAR13,DRAWNULL);
上线2:IF(VAR17,VAR11,DRAWNULL);
中线2:IF(VAR17,VAR19,DRAWNULL);
下线2:IF(VAR17,VAR13,DRAWNULL);
STICKLINE(VAR17,上线2,上线2,20,(-1)),COLORLIBLUE;
STICKLINE(VAR17,中线2,中线2,20,(-1)),COLORYELLOW;
STICKLINE(VAR17,下线2,下线2,20,(-1)),COLORWHITE;
DRAWTEXT(VAR16,上线2,28),COLORLIBLUE;
DRAWTEXT(VAR16,中线2,29),COLORMAGENTA;
DRAWTEXT(VAR16,下线2,30),COLORWHITE;
VAR21:=AMOUNT/VOL/100;{WWW.70822.com}
VAR22:=OPEN>CLOSE AND VAR21>REF(CLOSE,1);
STICKLINE(VAR22,OPEN,CLOSE,1,0),COLORRED;
VAR23:=REF(CLOSE,1)/CLOSE>1.04;
STICKLINE(VAR23,OPEN,CLOSE,1,0),COLORWHITE;
VAR24:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR25:=NAMELIKE(2) OR NAMELIKE(3) OR NAMELIKE(4) AND VAR24>=4.945;
VAR26:=NAMELIKE(2) OR NAMELIKE(3) OR NAMELIKE(4) AND VAR24<=(-4.945);
涨停价:IF(VAR25,REF(CLOSE,1)*1.05,REF(CLOSE,1)*1.1),NODRAW,COLORRED;
跌停价:IF(VAR26,REF(CLOSE,1)*0.95,REF(CLOSE,1)*0.9),NODRAW,COLORGREEN;
VAR27:=NAMELIKE(2)=1 OR NAMELIKE(3)=1 OR NAMELIKE(5)=1 OR NAMELIKE(6)=1 OR NAMELIKE(7)=1;
VAR28:=CLOSE/REF(CLOSE,1)>1.097 OR (CLOSE/REF(CLOSE,1)>1.0495 AND VAR27) AND DYNAINFO(59)=0;
VAR29:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
STICKLINE(VAR29<(-9.9),OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(VAR28,CLOSE,OPEN,3,0),COLORMAGENTA;
DRAWICON(HIGH=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE!=HIGH,LOW*0.965,15);
VAR30:="999999$OPEN";
VAR31:="999999$CLOSE";
VAR32:="999999$HIGH";
VAR33:="999999$LOW";
VAR34:=(REF(VAR31,1)-VAR31)/REF(VAR31,1)>0.00001;
DRAWTEXT(VAR28 AND VAR34 AND NOT(HIGH=LOW),HIGH*1.025,27),COLORWHITE;
VAR35:=HHV(VOL,21);
VAR36:=BARSLAST(VAR35=VOL);
高量:DRAWLINE(VAR36=0,MAX(CLOSE,OPEN),VAR36=1,MAX(REF(CLOSE,1),REF(OPEN,1)),1),COLORWHITE,LINETHICK2;
VAR37:=CONST(HHV(REF(HIGH,1),240));
VAR38:=CONST(LLV(REF(LOW,1),240));
VAR39:=VAR37-VAR38;
VAR40:=LOW-VAR39*0.03;
VAR41:=HIGH+VAR39*0.03;
VAR42:=CLOSE>500;
VAR43:=MAX(CLOSE,OPEN);
VAR44:=MIN(CLOSE,OPEN);
VAR45:=0;
VAR46:=1;
VAR47:=IF(VAR42,HIGH,VAR43);
VAR48:=IF(VAR42,LOW,VAR44);
VAR49:=IF(CLOSE>OPEN,IF(VAR46=0,LOW,VAR48),IF(VAR46=0,HIGH,VAR47));
VAR50:=2/1000;
VAR51:=CURRBARSCOUNT;
VAR52:=400;
VAR53:=VAR51<=VAR52;
VAR54:=LOW;
VAR55:=IF(VAR45=0,VAR54,REF(VAR45,VAR45));
基准价:IF(VAR53,CONST(VAR55),DRAWNULL),DOTLINE,COLORWHITE;
VAR56:=BETWEEN(CLOSE-AMOUNT/VOL/100,0.01,(-0.01)) AND NOT(HIGH=LOW) AND TOTALBARSCOUNT>10 AND VOL<REF(VOL,1)*0.7;
STICKLINE(VAR56,OPEN,CLOSE,1,0),COLORBLUE;
DRAWTEXT(VAR56,LOW*0.99,94),COLORBLUE;
VAR57:=OPEN>REF(CLOSE,1) AND VOL<REF(VOL,1) AND CLOSE<REF(CLOSE,1);
STICKLINE(VAR57,OPEN,CLOSE,1,0),COLORBROWN;
DRAWTEXT(VAR57,HIGH*1.01,95),COLORBROWN;
VAR58:=OPEN<REF(CLOSE,1) AND VOL<REF(VOL,1)*0.7 AND CLOSE>OPEN AND CLOSE<REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(OPEN,1)>REF(CLOSE,1);
STICKLINE(VAR58,OPEN,CLOSE,1,0),COLORCYAN;
DRAWTEXT(VAR58,LOW*0.99,96),COLORCYAN;
VAR59:=OPEN>REF(CLOSE,1) AND CLOSE>OPEN AND REF(CLOSE,1)>REF(CLOSE,2) AND VOL<REF(VOL,1);
STICKLINE(VAR59,OPEN,CLOSE,1,0),COLORRED;
DRAWTEXT(VAR59,HIGH*1.01,23),COLORRED;
VAR60:=REF(CLOSE,2)>REF(CLOSE,1) AND REF(OPEN,1)>REF(CLOSE,1) AND REF(CLOSE,3)>REF(CLOSE,2) AND REF(OPEN,2)>REF(CLOSE,2) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1) AND CLOSE>REF(OPEN,1) AND (VOL<REF(VOL,1) OR VOL<REF(VOL,2));
STICKLINE(VAR60,OPEN,CLOSE,1,0),COLORGREEN;
DRAWTEXT(VAR60,HIGH*1.01,97),COLORGREEN;
VAR61:=REF(VAR28,1) AND VOL=HHV(VOL,80) AND LOW>REF(HIGH,1) AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.03 AND NOT(VAR28) AND CLOSE>AMOUNT/VOL/100;
STICKLINE(VAR61,OPEN,CLOSE,1,0),COLORWHITE;
DRAWTEXT(VAR61,HIGH*1.01,98),COLORWHITE;
VAR62:=DOWNNDAY(CLOSE,2) AND COUNT(OPEN>CLOSE,2)=2 AND REF(CLOSE,1)>=OPEN;
VAR63:=REF(VAR62,1) AND OPEN>REF(CLOSE,1) AND CLOSE>REF(CLOSE,1) AND VOL>REF(VOL,1)*1.9 AND CLOSE>REF(OPEN,2) AND DYNAINFO(4)>0;
VAR64:=DOWNNDAY(CLOSE,3) AND COUNT(OPEN>CLOSE,3)>=2;
VAR65:=REF(VAR64,1) AND OPEN>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2) AND VOL>REF(VOL,1)*1.9 AND CLOSE>REF(OPEN,3) AND DYNAINFO(4)>0;
STICKLINE(VAR63 OR VAR65,OPEN,CLOSE,3,0),COLORRED;
DRAWTEXT(VAR63 OR VAR65,HIGH*1.02,99),COLORRED;
VAR66:=IF(WEEKDAY=1 AND OPEN>REF(CLOSE,1) AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.03 AND TOTALBARSCOUNT>20,1,0);
STICKLINE(VAR66,OPEN,CLOSE,3,0),COLORLIRED;
STICKLINE(VAR66,HIGH,LOW,0,0),COLORLIRED;
DRAWTEXT(VAR66,LOW*0.98,100),COLORLIRED;
周五跳空眼:IF(WEEKDAY=5 AND NOT(HIGH=LOW) AND VAR28,1,0);
DRAWICON(周五跳空眼,LOW,38);
DRAWTEXT_FIX(ISLASTBAR,0.2,0.95,0,48),COLORRED;
{DRAWTEXT_FIX(ISLASTBAR,0.35,0.95,0,CON2STR(买点测量.BIAS3#DAY,1)),COLORWHITE;}
STICKLINE(CLOSE/REF(CLOSE,1)>=1.04 OR CLOSE/REF(CLOSE,1)<=0.96 AND CLOSE<=1000,(CLOSE+OPEN)/2,(CLOSE+OPEN)/2,2,1),COLORLIBLUE;
STICKLINE(CLOSE/REF(CLOSE,1)>=1.04 OR CLOSE/REF(CLOSE,1)<=0.96 AND CLOSE<=1000,(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))*2/3+MIN(OPEN,CLOSE),(MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE))*2/3+MIN(OPEN,CLOSE),2,1),COLORLIBLUE;
STICKLINE(CLOSE/REF(CLOSE,1)>=1.04 OR CLOSE/REF(CLOSE,1)<=0.96 AND CLOSE<=1000,(MAX(OPEN,CL

p2018551718218461.jpg

p2018551718218461.jpg

20185517181498107.rar

7.4 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

20185517181498107.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则