峰谷精准 量学看盘系统主图八

[复制链接]
查看30 | 回复0 | 2022-6-27 22:20:48 | 显示全部楼层 |阅读模式

 {公式名称: 峰谷精准

公式描述: 量学看盘系统主图八
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
 
参数精灵:无
用法注释:无
公式源码:}
VAR1:=CONST(HHV(REF(HIGH,1),240));
VAR2:=CONST(LLV(REF(LOW,1),240));
VAR3:=VAR1-VAR2;
VAR4:=LOW-VAR3*0.03;
VAR5:=HIGH+VAR3*0.03;
VAR6:=CLOSE>500;
VAR7:=MAX(CLOSE,OPEN);
VAR8:=MIN(CLOSE,OPEN);
VAR9:=0;
VAR10:=1;
VAR11:=IF(VAR6,HIGH,VAR7);
VAR12:=IF(VAR6,LOW,VAR8);
VAR13:=IF(CLOSE>OPEN,IF(VAR10=0,LOW,VAR12),IF(VAR10=0,HIGH,VAR11));
VAR14:=2/1000;
VAR15:=CURRBARSCOUNT;
VAR16:=120;
VAR17:=VAR15<=VAR16;
VAR18:=LOW;
VAR19:=IF(VAR9=0,VAR18,REF(VAR9,VAR9));
基准价:IF(VAR17,CONST(VAR19),DRAWNULL),DOTLINE,COLORRED;
VAR20:=基准价;
VAR21:=VAR20*VAR14;
VAR22:=ABS(LOW-VAR20)<=VAR21;
VAR23:=ABS(OPEN-VAR20)<=VAR21;
VAR24:=ABS(CLOSE-VAR20)<=VAR21;
VAR25:=ABS(HIGH-VAR20)<=VAR21;
VAR26:=VAR22 OR VAR23 OR VAR24 OR VAR25 AND VAR17 AND VAR15!=1;
VAR27:=COUNT(VAR26,VAR16);
精准点个数:IF(VAR27>0,VAR27+1,0),NODRAW,COLORRED;
VAR28:=5;
VAR29:=REF(HIGH,VAR28)=HHV(HIGH,2*VAR28+1);
VAR30:=FILTER(VAR29,VAR28);
VAR31:=BACKSET(VAR30,VAR28+1);
VAR32:=FILTER(VAR31,VAR28);
VAR33:=REF(HIGH,BARSLAST(VAR32));
VAR34:=REF(MAX(CLOSE,OPEN),VAR28)=HHV(MAX(CLOSE,OPEN),2*VAR28+1);
VAR35:=FILTER(VAR34,VAR28);
VAR36:=BACKSET(VAR35,VAR28+1);
VAR37:=FILTER(VAR36,VAR28);
VAR38:=REF(MAX(CLOSE,OPEN),BARSLAST(VAR37));
VAR39:=REF(LOW,VAR28)=LLV(LOW,2*VAR28+1);
VAR40:=FILTER(VAR39,VAR28);
VAR41:=BACKSET(VAR40,VAR28+1);
VAR42:=FILTER(VAR41,VAR28);
VAR43:=REF(LOW,BARSLAST(VAR42));
VAR44:=REF(MIN(CLOSE,OPEN),VAR28)=LLV(MIN(CLOSE,OPEN),2*VAR28+1);
VAR45:=FILTER(VAR44,VAR28);
VAR46:=BACKSET(VAR45,VAR28+1);
VAR47:=FILTER(VAR46,VAR28);
VAR48:=REF(MIN(CLOSE,OPEN),BARSLAST(VAR47));
VAR49:=IF(VAR10=0,VAR33,VAR38);
VAR50:=IF(VAR10=0,VAR43,VAR48);
STICKLINE(VAR49=REF(VAR49,1),VAR49,VAR49,5,0),COLORMAGENTA;
STICKLINE(VAR50=REF(VAR50,1),VAR50,VAR50,5,0),COLORRED;
VAR51:=VAR11-(VAR11-VAR12)/3;
VAR52:=VAR12+(VAR11-VAR12)/3;
VAR53:=VAR12+(VAR11-VAR12)/2;
VAR54:=1+IF(VAR6,2,4.92)/100;
VAR55:=VAR11/VAR12>=VAR54 OR CLOSE/REF(CLOSE,1)>=VAR54;
STICKLINE(VAR55,VAR51,VAR51,1,0),COLORBROWN;
STICKLINE(VAR55,VAR53,VAR53,1,0),COLORBROWN;
STICKLINE(VAR55,VAR52,VAR52,1,0),COLORBROWN;
STICKLINE(VAR26,VAR20,VAR20,3,1),COLORBROWN;
STICKLINE(VAR15=1,VAR20,VAR20,3,1),COLORBROWN;
VAR56:=IF(VAR10=0,BARSLAST(VAR32)>0,BARSLAST(VAR37)>0) AND (ABS(LOW-VAR49)<=VAR49*VAR14 OR ABS(VAR8-VAR49)<=VAR49*VAR14);
VAR57:=IF(VAR10=0,BARSLAST(VAR42)>0,BARSLAST(VAR47)>0) AND (ABS(LOW-VAR50)<=VAR50*VAR14 OR ABS(VAR8-VAR50)<=VAR50*VAR14);
STICKLINE(VAR56,VAR49,VAR49,1,1),COLORBLUE;
STICKLINE(VAR57,VAR50,VAR50,1,1),COLORBLUE;
VAR58:=AMOUNT/VOL/100;{www.70822.com}
VAR59:=CLOSE>OPEN AND REF(CLOSE,1)>VAR58 AND CLOSE>VAR58 AND CLOSE<300;
STICKLINE(VAR59,OPEN,CLOSE,1,0),COLORLICYAN;
VAR60:=OPEN>CLOSE AND CLOSE<VAR58 AND VAR58>REF(CLOSE,1);
STICKLINE(VAR60,OPEN,CLOSE,1,0),COLORRED;
VAR61:=VOL>REF(VOL,1)*0.95 AND VOL<REF(VOL,1)*1.05;
VAR62:=WINNER(CLOSE)-WINNER(OPEN)>=0.2 AND VAR61;
STICKLINE(VAR62,OPEN,CLOSE,1,0),COLORBLUE;
VAR63:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR64:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND VAR63>=4.945;
VAR65:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND VAR63<=(-4.945);
涨停价:IF(VAR64,REF(CLOSE,1)*1.05,REF(CLOSE,1)*1.1),NODRAW,COLORRED;
跌停价:IF(VAR65,REF(CLOSE,1)*0.95,REF(CLOSE,1)*0.9),NODRAW,COLORGREEN;
VAR66:=REF(CLOSE,1);
VAR67:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1);
STICKLINE(VAR67,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(VAR67,OPEN,CLOSE,1,0),COLORMAGENTA;
VAR68:=CLOSE=DTPRICE(REF(CLOSE,1),0.1);
STICKLINE(VAR68,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(VAR68,HIGH,LOW,0,1),COLORGREEN;
VAR69:=HHV(VOL,10);
VAR70:=BARSLAST(VAR69=VOL);
VAR71:=CROSS(REF(MAX(CLOSE,OPEN),VAR70),CLOSE);
STICKLINE(VAR71,MAX(CLOSE,OPEN)*1.02,MIN(CLOSE,OPEN)*0.98,0,1),COLORRED;
STICKLINE(VAR71,(OPEN+CLOSE)/2,(OPEN+CLOSE)/2,10,0),COLORRED;
VAR72:=1.3;
VAR73:=1;
VAR74:=0;
VAR75:=MA(CLOSE,5);
VAR76:=MA(CLOSE,10);
VAR77:=MA(CLOSE,20);
VAR78:=VAR75>REF(VAR75,1) AND VAR76<REF(VAR76,1) AND VAR77<REF(VAR77,1);
VAR79:=REF(VOL,1);
VAR80:=REF(VOL,2);
VAR81:=REF(VOL,3);
VAR82:=REF(CLOSE,1);
VAR83:=REF(CLOSE,2);
VAR84:=REF(CLOSE,3);
VAR85:=REF(CLOSE,4);
VAR86:=REF(OPEN,1);
VAR87:=REF(OPEN,2);
VAR88:=REF(OPEN,3);
VAR89:=REF(OPEN,4);
VAR90:=CLOSE>=VAR84 AND VAR82>=VAR84 AND VAR83>=VAR84;
VAR91:=LOW>VAR88 AND REF(LOW,1)>VAR88 AND REF(LOW,2)>VAR88;
VAR92:=AMOUNT/VOL/100;
VAR93:=REF(VAR92,1);
VAR94:=REF(VAR92,2);
{www.70822.com}
VAR95:=CLOSE>=OPEN OR (CLOSE<OPEN AND VAR92>VAR82);
VAR96:=COUNT(VAR95,3)>=2;
VAR97:=VAR84>VAR88;
VAR98:=VAR92>=VAR93 OR CLOSE>VAR82 AND (VAR93>=VAR94 OR VAR82>=VAR83);
VAR99:=(CLOSE+VAR82+VAR83)/3>VAR84;
VAR100:=VOL>VAR79 AND VAR79>VAR80;
VAR101:=VOL<=VAR79 AND VAR79<=VAR80;
VAR102:=(VOL+VAR79+VAR80)/3<=VAR81 AND NOT(VAR100);
VAR103:=CLOSE/VOL;
VAR104:=VAR103>=REF(VAR103,1) AND REF(VAR103,1)>=REF(VAR103,2);
VAR105:=(CLOSE+VAR82+VAR83)/3/VAR84;
VAR106:=(VOL+VAR79+VAR80)/3/VAR81;
VAR107:=VAR72*VAR105/VAR106>1;
VAR108:=VAR88>VAR85 AND VAR85>VAR89;
VAR109:=VAR97 AND VAR98 AND VAR101 AND VAR90 AND VAR91 AND VAR108;
VAR110:=BACKSET(VAR109,5);
VAR111:=FILTER(VAR110,4);
VAR112:=VAR97 AND VAR98 AND VAR101 AND VAR90 AND VAR91;
VAR113:=BACKSET(VAR112,4);
VAR114:=FILTER(VAR113,3);
VAR115:=VAR112 AND REF(VAR112,1);
VAR116:=BACKSET(VAR115,4);
VAR117:=FILTER(VAR116,3);
VAR118:=VAR112 AND REF(VAR112,2);
VAR119:=BACKSET(VAR118,4);
VAR120:=FILTER(VAR119,3);
VAR121:=VAR112 AND REF(VAR112,3);
VAR122:=BACKSET(VAR121,4);
VAR123:=FILTER(VAR122,3);
VAR124:=VAR97 AND VAR98 AND VAR102 AND NOT(VAR100) AND VAR90 AND VAR91 AND VAR108 AND NOT(VAR112) AND NOT(VAR109);
VAR125:=BACKSET(VAR124,5);
VAR126:=FILTER(VAR125,4);
VAR127:=VAR97 AND VAR98 AND VAR102 AND NOT(VAR100) AND VAR90 AND VAR91 AND NOT(VAR112) AND NOT(VAR109);
VAR128:=BACKSET(VAR127,4);
VAR129:=FILTER(VAR128,3

p20184102357385750.jpg

p20184102357385750.jpg

20184102357937861.rar

66.89 KB, 下载次数: 0

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

20184102357937861.rar

回复

使用道具 举报

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

本版积分规则