软件名称:[B]缺口指标[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:48.0 KB
官方主页:Home Page
更新时间:2016-12-21 02:19:25
软件简介:
{缺口指标}
INPUT: N1(5,1,300),N2(10,1,300),N3(30,1,300);
VAR0:=BACKSET(BARSTATUS=2,BARSLAST(LLV(LOW,0)=LOW) + 1);
VAR1:=IF(BARSTATUS=2,LLV(LOW,250),9999);
VAR2:=BACKSET(BARSTATUS=2,BARSLAST(LLV(LOW,250)=LOW OR BARSTATUS=1));
VAR3:=LLVALL(VAR1);
VAR4:=(LOW > REF(HIGH,1)) * VAR0;
VAR5:=IF(VAR0=1 AND VAR4 * REF(HIGH,1) < VAR3,VAR4,IF(VAR2,VAR4,0));
VAR6:=SUM(VAR5,0);
VAR7:=BACKSET(BARSTATUS=2,BARSLAST(HHV(HIGH,0)=HIGH) + 1);
VAR8:=HHV(HIGH,250);
VAR9:=BACKSET(BARSTATUS=2,BARSLAST(VAR8=HIGH) + 1);
VAR10:=HHVALL(VAR9 * VAR8);
VAR11:=(HIGH < REF(LOW,1)) * VAR7;
VAR12:=IF(VAR7=1 AND VAR11 * REF(LOW,1) > VAR10,VAR11,IF(VAR9,VAR11,0));
VAR13:=SUM(VAR12,0);
VAR14:=LOW > REF(HIGH,1) OR HIGH < REF(LOW,1);
VAR15:=SUM(VAR14,0);
VAR16:=VAR6 + VAR13;
VAR17:=IF(HIGH < REF(LOW,1),1,IF(LOW > REF(HIGH,1),2,0));
VAR18:=HHVALL(VAR16) + 1;
DS:VAR18 - VAR16,LINETHICK0;
VAR19:=BARSSINCE(VAR18 - VAR16=1) + 1;
VAR20:=REF(LOW,VAR19);
VAR21:=REF(HIGH,VAR19);
VAR22:=ANY(VAR21 >= LOW,VAR19);
VAR23:=ANY(VAR20 <= HIGH,VAR19);
VAR24:=BARSSINCE(VAR18 - VAR16=2) + 1;
VAR25:=REF(LOW,VAR24);
VAR26:=REF(HIGH,VAR24);
VAR27:=ANY(VAR26 >= LOW,VAR24);
VAR28:=ANY(VAR25 <= HIGH,VAR24);
VAR29:=BARSSINCE(VAR18 - VAR16=3) + 1;
VAR30:=REF(LOW,VAR29);
VAR31:=REF(HIGH,VAR29);
VAR32:=ANY(VAR31 >= LOW,VAR29);
VAR33:=ANY(VAR30 <= HIGH,VAR29);
VAR34:=BARSSINCE(VAR18 - VAR16=4) + 1;
VAR35:=REF(LOW,VAR34);
VAR36:=REF(HIGH,VAR34);
VAR37:=ANY(VAR36 >= LOW,VAR34);
VAR38:=ANY(VAR35 <= HIGH,VAR34);
VAR39:=BARSSINCE(VAR18 - VAR16=5) + 1;
VAR40:=REF(LOW,VAR39);
VAR41:=REF(HIGH,VAR39);
VAR42:=ANY(VAR41 >= LOW,VAR39);
VAR43:=ANY(VAR40 <= HIGH,VAR39);
VAR44:=BARSSINCE(VAR18 - VAR16=6) + 1;
VAR45:=REF(LOW,VAR44);
VAR46:=REF(HIGH,VAR44);
VAR47:=ANY(VAR46 >= LOW,VAR44);
VAR48:=ANY(VAR45 <= HIGH,VAR44);
VAR49:=BARSSINCE(VAR18 - VAR16=7) + 1;
VAR50:=REF(LOW,VAR49);
VAR51:=REF(HIGH,VAR49);
VAR52:=ANY(VAR51 >= LOW,VAR49);
VAR53:=ANY(VAR50 <= HIGH,VAR49);
VAR54:=BARSSINCE(VAR18 - VAR16=8) + 1;
VAR55:=REF(LOW,VAR54);
VAR56:=REF(HIGH,VAR54);
VAR57:=ANY(VAR56 >= LOW,VAR54);
VAR58:=ANY(VAR55 <= HIGH,VAR54);
VAR59:=BARSSINCE(VAR18 - VAR16=9) + 1;
VAR60:=REF(LOW,VAR59);
VAR61:=REF(HIGH,VAR59);
VAR62:=ANY(VAR61 >= LOW,VAR59);
VAR63:=ANY(VAR60 <= HIGH,VAR59);
VAR64:=BARSSINCE(VAR18 - VAR16=10) + 1;
VAR65:=REF(LOW,VAR64);
VAR66:=REF(HIGH,VAR64);
VAR67:=ANY(VAR66 >= LOW,VAR64);
VAR68:=ANY(VAR65 <= HIGH,VAR64);
VAR69:=BARSSINCE(VAR18 - VAR16=11) + 1;
VAR70:=REF(LOW,VAR69);
VAR71:=REF(HIGH,VAR69);
VAR72:=ANY(VAR71 >= LOW,VAR69);
VAR73:=ANY(VAR70 <= HIGH,VAR69);
VAR74:=BARSSINCE(VAR18 - VAR16=12) + 1;
VAR75:=REF(LOW,VAR74);
VAR76:=REF(HIGH,VAR74);
VAR77:=ANY(VAR76 >= LOW,VAR74);
VAR78:=ANY(VAR75 <= HIGH,VAR74);
VAR79:=BARSSINCE(VAR18 - VAR16=13) + 1;
VAR80:=REF(LOW,VAR79);
VAR81:=REF(HIGH,VAR79);
VAR82:=ANY(VAR81 >= LOW,VAR79);
VAR83:=ANY(VAR80 <= HIGH,VAR79);
VAR84:=BARSSINCE(VAR18 - VAR16=14) + 1;
VAR85:=REF(LOW,VAR84);
VAR86:=REF(HIGH,VAR84);
VAR87:=ANY(VAR86 >= LOW,VAR84);
VAR88:=ANY(VAR85 <= HIGH,VAR84);
VAR89:=BARSSINCE(VAR18 - VAR16=15) + 1;
VAR90:=REF(LOW,VAR89);
VAR91:=REF(HIGH,VAR89);
VAR92:=ANY(VAR91 >= LOW,VAR89);
VAR93:=ANY(VAR90 <= HIGH,VAR89);
VAR94:=BARSSINCE(VAR18 - VAR16=16) + 1;
VAR95:=REF(LOW,VAR94);
VAR96:=REF(HIGH,VAR94);
VAR97:=ANY(VAR96 >= LOW,VAR94);
VAR98:=ANY(VAR95 <= HIGH,VAR94);
VAR99:=BARSSINCE(VAR18 - VAR16=17) + 1;
VAR100:=REF(LOW,VAR99);
VAR101:=REF(HIGH,VAR99);
VAR102:=ANY(VAR101 >= LOW,VAR99);
VAR103:=ANY(VAR100 <= HIGH,VAR99);
VAR104:=BARSSINCE(VAR18 - VAR16=18) + 1;
VAR105:=REF(LOW,VAR104);
VAR106:=REF(HIGH,VAR104);
VAR107:=ANY(VAR106 >= LOW,VAR104);
VAR108:=ANY(VAR105 <= HIGH,VAR104);
VAR109:=BARSSINCE(VAR18 - VAR16=19) + 1;
VAR110:=REF(LOW,VAR109);
VAR111:=REF(HIGH,VAR109);
VAR112:=ANY(VAR111 >= LOW,VAR109);
VAR113:=ANY(VAR110 <= HIGH,VAR109);
VAR114:=BARSSINCE(VAR18 - VAR16=20) + 1;
VAR115:=REF(LOW,VAR114);
VAR116:=REF(HIGH,VAR114);
VAR117:=ANY(VAR116 >= LOW,VAR114);
VAR118:=ANY(VAR115 <= HIGH,VAR114);
VAR119:=BARSSINCE(VAR18 - VAR16=21) + 1;
VAR120:=REF(LOW,VAR119);
VAR121:=REF(HIGH,VAR119);
VAR122:=ANY(VAR121 >= LOW,VAR119);
VAR123:=ANY(VAR120 <= HIGH,VAR119);
VAR124:=BARSSINCE(VAR18 - VAR16=22) + 1;
VAR125:=REF(LOW,VAR124);
VAR126:=REF(HIGH,VAR124);
VAR127:=ANY(VAR126 >= LOW,VAR124);
VAR128:=ANY(VAR125 <= HIGH,VAR124);
VAR129:=BARSSINCE(VAR18 - VAR16=23) + 1;
VAR130:=REF(LOW,VAR129);
VAR131:=REF(HIGH,VAR129);
VAR132:=ANY(VAR131 >= LOW,VAR129);
VAR133:=ANY(VAR130 <= HIGH,VAR129);
VAR134:=BARSSINCE(VAR18 - VAR16=24) + 1;
VAR135:=REF(LOW,VAR134);
VAR136:=REF(HIGH,VAR134);
VAR137:=ANY(VAR136 >= LOW,VAR134);
VAR138:=ANY(VAR135 <= HIGH,VAR134);
VAR139:=BARSSINCE(VAR18 - VAR16=25) + 1;
VAR140:=REF(LOW,VAR139);
VAR141:=REF(HIGH,VAR139);
VAR142:=ANY(VAR141 >= LOW,VAR139);
VAR143:=ANY(VAR140 <= HIGH,VAR139);
VAR144:=BARSSINCE(VAR18 - VAR16=26) + 1;
VAR145:=REF(LOW,VAR144);
VAR146:=REF(HIGH,VAR144);
VAR147:=ANY(VAR146 >= LOW,VAR144);
VAR148:=ANY(VAR145 <= HIGH,VAR144);
VAR149:=BARSSINCE(VAR18 - VAR16=27) + 1;
VAR150:=REF(LOW,VAR149);
VAR151:=REF(HIGH,VAR149);
VAR152:=ANY(VAR151 >= LOW,VAR149);
VAR153:=ANY(VAR150 <= HIGH,VAR149);
VAR154:=BARSSINCE(VAR18 - VAR16=28) + 1;
VAR155:=REF(LOW,VAR154);
VAR156:=REF(HIGH,VAR154);
VAR157:=ANY(VAR156 >= LOW,VAR154);
VAR158:=ANY(VAR155 <= HIGH,VAR154);
VAR159:=BARSSINCE(VAR18 - VAR16=29) + 1;
VAR160:=REF(LOW,VAR159);
VAR161:=REF(HIGH,VAR159);
VAR162:=ANY(VAR161 >= LOW,VAR159);
VAR163:=ANY(VAR160 <= HIGH,VAR159);
VAR164:=BARSSINCE(VAR18 - VAR16=30) + 1;
VAR165:=REF(LOW,VAR164);
VAR166:=REF(HIGH,VAR164);
VAR167:=ANY(VAR166 >= LOW,VAR164);
VAR168:=ANY(VAR165 <= HIGH,VAR164);
VAR169:=BARSSINCE(VAR18 - VAR16=31) + 1;
VAR170:=REF(LOW,VAR169);
VAR171:=REF(HIGH,VAR169);
VAR172:=ANY(VAR
[url=http://www.70822.com/soft/sort013/sort03/down-105648.html]缺口指标[/url]
[url=http://www.70822.com/soft/sort013/sort03/down-105648.html]缺口指标[/url]