{公式名称: 黄金梯
公式描述: 量学看盘系统主图七
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 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:=AMOUNT/VOL/100;
VAR29:=CLOSE>OPEN AND REF(CLOSE,1)>VAR28 AND CLOSE>VAR28 AND CLOSE<300;
STICKLINE(VAR29,OPEN,CLOSE,1,0),COLORLICYAN;
VAR30:=OPEN>CLOSE AND CLOSE<VAR28 AND VAR28>REF(CLOSE,1);
STICKLINE(VAR30,OPEN,CLOSE,1,0),COLORRED;
VAR31:=VOL>REF(VOL,1)*0.95 AND VOL<REF(VOL,1)*1.05;
VAR32:=WINNER(CLOSE)-WINNER(OPEN)>=0.2 AND VAR31;
STICKLINE(VAR32,OPEN,CLOSE,1,0),COLORBLUE;
VAR33:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR34:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND VAR33>=4.945;
VAR35:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND VAR33<=(-4.945);
涨停价:IF(VAR34,REF(CLOSE,1)*1.05,REF(CLOSE,1)*1.1),NODRAW,COLORRED;
跌停价:IF(VAR35,REF(CLOSE,1)*0.95,REF(CLOSE,1)*0.9),NODRAW,COLORGREEN;
VAR36:=REF(CLOSE,1);
VAR37:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1);
STICKLINE(VAR37,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(VAR37,OPEN,CLOSE,1,0),COLORMAGENTA;
VAR38:=CLOSE=DTPRICE(REF(CLOSE,1),0.1);
STICKLINE(VAR38,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(VAR38,HIGH,LOW,0,1),COLORGREEN;
VAR39:=1.3;
VAR40:=1;
VAR41:=0;
VAR42:=MA(CLOSE,5);
VAR43:=MA(CLOSE,10);
VAR44:=MA(CLOSE,20);
VAR45:=VAR42>REF(VAR42,1) AND VAR43<REF(VAR43,1) AND VAR44<REF(VAR44,1);
VAR46:=REF(VOL,1);
VAR47:=REF(VOL,2);
VAR48:=REF(VOL,3);
VAR49:=REF(CLOSE,1);
VAR50:=REF(CLOSE,2);
VAR51:=REF(CLOSE,3);
VAR52:=REF(CLOSE,4);
VAR53:=REF(OPEN,1);
VAR54:=REF(OPEN,2);
VAR55:=REF(OPEN,3);
VAR56:=REF(OPEN,4);
VAR57:=CLOSE>=VAR51 AND VAR49>=VAR51 AND VAR50>=VAR51;
VAR58:=LOW>VAR55 AND REF(LOW,1)>VAR55 AND REF(LOW,2)>VAR55;
VAR59:=AMOUNT/VOL/100;
VAR60:=REF(VAR59,1);
VAR61:=REF(VAR59,2);
VAR62:=CLOSE>=OPEN OR (CLOSE<OPEN AND VAR59>VAR49);
VAR63:=COUNT(VAR62,3)>=2;
VAR64:=VAR51>VAR55;
VAR65:=VAR59>=VAR60 OR CLOSE>VAR49 AND (VAR60>=VAR61 OR VAR49>=VAR50);
VAR66:=(CLOSE+VAR49+VAR50)/3>VAR51;
VAR67:=VOL>VAR46 AND VAR46>VAR47;
VAR68:=VOL<=VAR46 AND VAR46<=VAR47;
VAR69:=(VOL+VAR46+VAR47)/3<=VAR48 AND NOT(VAR67);
VAR70:=CLOSE/VOL;{www.70822.com}
VAR71:=VAR70>=REF(VAR70,1) AND REF(VAR70,1)>=REF(VAR70,2);
VAR72:=(CLOSE+VAR49+VAR50)/3/VAR51;
VAR73:=(VOL+VAR46+VAR47)/3/VAR48;
VAR74:=VAR39*VAR72/VAR73>1;
VAR75:=VAR55>VAR52 AND VAR52>VAR56;
VAR76:=VAR64 AND VAR65 AND VAR68 AND VAR57 AND VAR58 AND VAR75;
VAR77:=BACKSET(VAR76,5);
VAR78:=FILTER(VAR77,4);
VAR79:=VAR64 AND VAR65 AND VAR68 AND VAR57 AND VAR58;
VAR80:=BACKSET(VAR79,4);
VAR81:=FILTER(VAR80,3);
VAR82:=VAR79 AND REF(VAR79,1);
VAR83:=BACKSET(VAR82,4);
VAR84:=FILTER(VAR83,3);
VAR85:=VAR79 AND REF(VAR79,2);
VAR86:=BACKSET(VAR85,4);
VAR87:=FILTER(VAR86,3);
VAR88:=VAR79 AND REF(VAR79,3);
VAR89:=BACKSET(VAR88,4);
VAR90:=FILTER(VAR89,3);
VAR91:=VAR64 AND VAR65 AND VAR69 AND NOT(VAR67) AND VAR57 AND VAR58 AND VAR75 AND NOT(VAR79) AND NOT(VAR76);
VAR92:=BACKSET(VAR91,5);
VAR93:=FILTER(VAR92,4);
VAR94:=VAR64 AND VAR65 AND VAR69 AND NOT(VAR67) AND VAR57 AND VAR58 AND NOT(VAR79) AND NOT(VAR76);
VAR95:=BACKSET(VAR94,4);
VAR96:=FILTER(VAR95,3);
VAR97:=VAR94 AND REF(VAR94,1);
VAR98:=BACKSET(VAR97,4);
VAR99:=FILTER(VAR98,3);
VAR100:=VAR94 AND REF(VAR94,2);
VAR101:=BACKSET(VAR100,4);
VAR102:=FILTER(VAR101,3);
VAR103:=VAR94 AND REF(VAR94,3);
VAR104:=BACKSET(VAR103,4);
VAR105:=FILTER(VAR104,3);
VAR106:=VAR64 AND VAR66 AND VAR68 AND VAR57 AND VAR58 AND VAR75 AND NOT(VAR79) AND NOT(VAR94) AND NOT(VAR76) AND NOT(VAR91);
VAR107:=BACKSET(VAR106,5);
VAR108:=FILTER(VAR107,4);
VAR109:=VAR64 AND VAR66 AND VAR68 AND VAR57 AND VAR58 AND NOT(VAR79) AND NOT(VAR94) AND NOT(VAR76) AND NOT(VAR91);
VAR110:=BACKSET(VAR109,4);
VAR111:=FILTER(VAR110,3);
VAR112:=VAR109 AND REF(VAR109,1);
VAR113:=BACKSET(VAR112,4);
VAR114:=FILTER(VAR113,3);
VAR115:=VAR109 AND REF(VAR109,2);
VAR116:=BACKSET(VAR115,4);
VAR117:=FILTER(VAR116,3);
VAR118:=VAR109 AND REF(VAR109,3);
VAR119:=BACKSET(VAR118,4);
VAR120:=FILTER(VAR119,3);
VAR121:=VAR64 AND VAR66 AND VAR69 AND VAR57 AND VAR58 AND VAR75 AND NOT(VAR79) AND NOT(VAR76) AND NOT(VAR94) AND NOT(VAR91) AND NOT(VAR109) AND NOT(VAR106);
VAR122:=BACKSET(VAR121,5);
VAR123:=FILTER(VAR122,4);
VAR124:=VAR64 AND VAR66 AND VAR69 AND VAR57 AND VAR58 AND NOT(VAR79) AND NOT(VAR94) AND NOT(VAR109) AND NOT(VAR76) AND NOT(VAR91) AND NOT(VAR106);
VAR125:=BACKSET(VAR124,4);
VAR126:=FILTER(VAR125,3);
VAR127:=VAR124 AND REF(VAR124,1);
VAR128:=BACKSET(VAR127,4);
VAR129:=FILTER(VAR128,3);
VAR130:=VAR124 AND REF(VAR124,2);
VAR131:=BACKSET(VAR130,4);
VAR132:=FILTER(VAR131,3);
VAR133:=VAR124 AND REF(VAR124,3);
VAR134:=BACKSET(VAR133,4);
VAR135:=FILTER(VAR134,3);
VAR136:=VAR64 AND VAR66 AND VAR74 AND VAR57 AND VAR58 AND VAR75 AND NOT(VAR79) AND NOT(VAR94) AND NOT(VAR109) AND NOT(VAR124) AND NOT(VAR76) AND NOT(VAR91) AND NOT(VAR106) AND NOT(VAR121);
VAR137:=BACKSET(VAR136,5);
VAR138:=FILTER(VAR137,4);
VAR139:=VAR64 AND VAR66 AND VAR74 AND VAR57 AND VAR58 AND NOT(VAR79) AND NOT(VAR94) AND NOT(VAR109) AND NOT(VAR124) AND NOT(VAR76) AND NOT(VAR91) AND NOT(VAR106) AND NOT(VAR121);
VAR140:=BACKSET(VAR139,4);
|