VAR1:=CLOSE;
VAR2:=LOW;
VAR3:=HIGH;
VAR4:=OPEN;
VAR5:=4*VAR1;
VAR6:=3*VAR2;
VAR7:=2*VAR3;
VAR8:=1*VAR4;
VAR9:=POW(VAR5+VAR6+VAR7+VAR8,2);
VAR10:=SUM(IF(VAR9>REF(VAR9,1),VAR9*VOL,0),55)/SUM(IF(VAR9<REF(VAR9,1),VAR9*VOL,0),55);
VAR11:=20*VAR1+19*VAR2+18*VAR3+17*VAR4;
VAR12:=100-100/(1+VAR10);
VAR14:=BARSSINCE(VAR3>10);
VAR18:=SLOPE(VAR11+VAR12,VAR14);
VAR22:=VAR1-REF(MA(VAR1,20),20/2+1);
VAR24:=SUM(MA(VAR3-VAR2,9)/MA(MA(VAR3-VAR2,9),9),25);
VAR25:=MA(VAR24,6);
VAR26:=4;
VAR27:=3;
VAR28:=2;
VAR29:=1;
VAR30:=BARSCOUNT(4*VAR1+3*VAR2+2*VAR3+1*VAR4-VAR27*VAR1-(VAR28+VAR29)*VAR2-(VAR26-VAR28)*VAR3-(VAR28-VAR29)*VAR4);
VAR36:=VAR26*VAR2+VAR27*VAR4-VAR28*VAR1+VAR7/VAR27!=POW(VAR28,2)*VAR3+(VAR26-VAR29)*VAR4-SQRT(VAR26)*VAR1+VAR3*VAR28/(VAR28+VAR29);
VAR40:=VAR26*VAR27*VAR28*VAR29+VAR26*VAR27-VAR27*VAR28;
VAR47:=REF(LOW,1);
VAR48:=SMA(Abs(LOW-VAR47),3,1)/SMA(MAX(LOW-VAR47,0),3,1)*100;
VAR49:=EMA(VAR48*10,3);
VAR50:=SQRT(VAR26)+VAR26*VAR27-POW(VAR28,2)-VAR28*VAR26;
VAR51:=LLV(LOW,13);
VAR52:=HHV(VAR49,13);
VAR53:=EMA(IF(LOW<=VAR51,(VAR49+VAR52*2)/2,0),3)/618;
VAR55:=VAR48+VAR24;
VAR56:=VAR49+VAR22;
VAR57:=VAR30>VAR40;
VAR58:=MA(VAR1,VAR26+VAR18+VAR28);
VAR59:=MA(VAR5-VAR27*VAR1,VAR26+VAR27+VAR28);
VAR60:=(VAR27*VAR28+VAR26)*VAR2!=(VAR27*VAR26-VAR28)*VAR3;
VAR61:=MA(VAR51,VAR27+VAR27+VAR26);
VAR64:=REF(CLOSE,VAR27)<1.095*REF(CLOSE,VAR26+VAR28) AND REF(CLOSE,VAR27)>1.028*REF(CLOSE,VAR26+VAR28) AND VAR59>VAR58 AND REF(LOW,VAR28+VAR27+VAR26)<REF(HIGH,VAR29+VAR28+VAR27) AND NOT(REF(CLOSE,VAR28*VAR27)>REF(CLOSE,VAR28*VAR26)) AND REF((CLOSE+HIGH+OPEN)/VAR26,VAR28*VAR27)>1.03*REF((CLOSE+HIGH+OPEN)/(VAR27+VAR28-VAR29),VAR26+VAR28+VAR27-VAR28-VAR29) AND VAR56>VAR55;
VAR65:=VAR61>VAR59 AND VAR53>VAR48 AND REF(CLOSE,VAR27+VAR28)>REF(HIGH,VAR28*VAR26) AND REF(LOW,VAR27*VAR28)<0.97*REF(CLOSE,VAR25+VAR26+VAR27) AND BArslAST(REF(CLOSE,3)>REF(LOW,4)) AND REF(4*CLOSE+OPEN+2*LOW,8)>1.02*REF(OPEN+4*CLOSE+2*HIGH,8);
VAR66:=8*CLOSE+7*OPEN+6*HIGH+5*LOW;
VAR67:=EMA(IF(LOW<=VAR51,(VAR49+VAR52*2)/2,0),3)/618*(VAR27*VAR28+VAR29)/((VAR26+VAR27)*VAR53)+(VAR26*VAR27*VAR28+VAR28);
VAR70:=VAR5/((VAR27-VAR28)*VAR1)*VAR67;
VAR74:=REF(CLOSE,VAR26+VAR27)>REF(HIGH,VAR26+VAR28) AND FILTER(CROSS(VAR70,VAR29+VAR28),VAR29+VAR28) AND REF((VAR26+VAR27)*VAR3,VAR26+VAR27+VAR28)<0.97*REF((VAR27*VAR28+VAR29)*VAR2,VAR28+VAR26+VAR27);
VAR75:=VAR70+EMA(IF(LOW<=VAR51,(VAR49+VAR52*2)/2,0),3)/618/VAR53-(VAR27*VAR28+SQRT(VAR26)+VAR29);
VAR76:=VAR67/VAR27+POW(VAR27*(VAR28+VAR29),2)+VAR26*VAR27-VAR28;
VAR77:=VAR76/VAR75+VAR7/HIGH*(8*CLOSE+7*OPEN+6*HIGH+5*LOW)/(VAR28*VAR76-VAR75)/VAR66;
VAR78:=7*CLOSE+6*OPEN+5*HIGH+(VAR26*VAR27*VAR28*VAR29-VAR67+VAR27*VAR28+VAR29)*LOW;
VAR79:=VAR66-VAR78;
VAR80:=VAR79-(CLOSE+OPEN+LOW);
VAR81:=VAR80*VAR77;
VAR82:=SUM(IF(VAR9>REF(VAR9,1),VAR9*VOL,0),55)/SUM(IF(VAR9<REF(VAR9,1),VAR9*VOL,0),55)+EMA(VAR81,VAR50)-VAR10;
VAR83:=MA(VAR24,6)+VAR26*VAR27*VAR28*VAR29-VAR25-VAR27*VAR28-VAR26-VAR28;
VAR84:=VAR57 AND CROSS(4*VAR1+3*VAR2+2*VAR3+1*VAR4-VAR27*VAR1-(VAR28+VAR29)*VAR2-(VAR26-VAR28)*VAR3-(VAR28-VAR29)*VAR4,VAR82) AND VAR36 AND VAR60;
VAR85:=VAR64 OR VAR65 OR VAR74 OR VAR84;
选股:FILTER(VAR85,VAR83);
九毛八公式解读
VAR1赋值:收盘价 VAR2赋值:最低价 VAR3赋值:最高价 VAR4赋值:开盘价 VAR5赋值:4*VAR1 VAR6赋值:3*VAR2 VAR7赋值:2*VAR3 VAR8赋值:1*VAR4 VAR9赋值:VAR5+VAR6+VAR7+VAR8的2乘幂 VAR10赋值:如果VAR9>1日前的VAR9,返回VAR9*成交量(手),否则返回0的55日累和/如果VAR9<1日前的VAR9,返回VAR9*成交量(手),否则返回0的55日累和 VAR11赋值:20*VAR1+19*VAR2+18*VAR3+17*VAR4 VAR12赋值:100-100/(1+VAR10) VAR14赋值:首次VAR3>10距今天数 VAR18赋值:VAR11+VAR12的VAR14日线性回归斜率 VAR22赋值:VAR1-20/2+1日前的VAR1的20日简单移动平均 VAR24赋值:VAR3-VAR2的9日简单移动平均/VAR3-VAR2的9日简单移动平均的9日简单移动平均的25日累和 VAR25赋值:VAR24的6日简单移动平均 VAR26赋值:4 VAR27赋值:3 VAR28赋值:2 VAR29赋值:1 VAR30赋值:4*VAR1+3*VAR2+2*VAR3+1*VAR4-VAR27*VAR1-(VAR28+VAR29)*VAR2-(VAR26-VAR28)*VAR3-(VAR28-VAR29)*VAR4的有效数据周期数 VAR36赋值:VAR26*VAR2+VAR27*VAR4-VAR28*VAR1+VAR7/VAR27不等于VAR28的2乘幂*VAR3+(VAR26-VAR29)*VAR4-VAR26的开方*VAR1+VAR3*VAR28/(VAR28+VAR29) VAR40赋值:VAR26*VAR27*VAR28*VAR29+VAR26*VAR27-VAR27*VAR28 VAR47赋值:1日前的最低价 VAR48赋值:最低价-VAR47的绝对值的3日[1日权重]移动平均/最低价-VAR47和0的较大值的3日[1日权重]移动平均*100 VAR49赋值:VAR48*10的3日指数移动平均 VAR50赋值:VAR26的开方+VAR26*VAR27-VAR28的2乘幂-VAR28*VAR26 VAR51赋值:13日内最低价的最低值 VAR52赋值:13日内VAR49的最高值 VAR53赋值:如果最低价<=VAR51,返回(VAR49+VAR52*2)/2,否则返回0的3日指数移动平均/618 VAR55赋值:VAR48+VAR24 VAR56赋值:VAR49+VAR22 VAR57赋值:VAR30>VAR40 VAR58赋值:VAR1的VAR26+VAR18+VAR28日简单移动平均 VAR59赋值:VAR5-VAR27*VAR1的VAR26+VAR27+VAR28日简单移动平均 VAR60赋值:(VAR27*VAR28+VAR26)*VAR2不等于(VAR27*VAR26-VAR28)*VAR3 VAR61赋值:VAR51的VAR27+VAR27+VAR26日简单移动平均 VAR64赋值:VAR27日前的收盘价<1.095*VAR26+VAR28日前的收盘价 AND VAR27日前的收盘价>1.028*VAR26+VAR28日前的收盘价 AND VAR59>VAR58 AND VAR28+VAR27+VAR26日前的最低价1.03*VAR26+VAR28+VAR27-VAR28-VAR29日前的(收盘价+最高价+开盘价)/(VAR27+VAR28-VAR29) AND VAR56>VAR55 VAR65赋值:VAR61>VAR59 AND VAR53>VAR48 AND VAR27+VAR28日前的收盘价>VAR28*VAR26日前的最高价 AND VAR27*VAR28日前的最低价<0.97*VAR25+VAR26+VAR27日前的收盘价 AND 上次3日前的收盘价>4日前的最低价距今天数 AND 8日前的4*收盘价+开盘价+2*最低价>1.02*8日前的开盘价+4*收盘价+2*最高价 VAR66赋值:8*收盘价+7*开盘价+6*最高价+5*最低价 VAR67赋值:如果最低价<=VAR51,返回(VAR49+VAR52*2)/2,否则返回0的3日指数移动平均/618*(VAR27*VAR28+VAR29)/((VAR26+VAR27)*VAR53)+(VAR26*VAR27*VAR28+VAR28) VAR70赋值:VAR5/((VAR27-VAR28)*VAR1)*VAR67 VAR74赋值:VAR26+VAR27日前的收盘价>VAR26+VAR28日前的最高价 AND VAR70上穿VAR29+VAR28的VAR29+VAR28日过滤 AND VAR26+VAR27+VAR28日前的(VAR26+VAR27)*VAR3<0.97*VAR28+VAR26+VAR27日前的(VAR27*VAR28+VAR29)*VAR2 VAR75赋值:VAR70+如果最低价<=VAR51,返回(VAR49+VAR52*2)/2,否则返回0的3日指数移动平均/618/VAR53-(VAR27*VAR28+VAR26的开方+VAR29) VAR76赋值:VAR67/VAR27+VAR27*(VAR28+VAR29)的2乘幂+VAR26*VAR27-VAR28 VAR77赋值:VAR76/VAR75+VAR7/最高价*(8*收盘价+7*开盘价+6*最高价+5*最低价)/(VAR28*VAR76-VAR75)/VAR66 VAR78赋值:7*收盘价+6*开盘价+5*最高价+(VAR26*VAR27*VAR28*VAR29-VAR67+VAR27*VAR28+VAR29)*最低价 VAR79赋值:VAR66-VAR78 VAR80赋值:VAR79-(收盘价+开盘价+最低价) VAR81赋值:VAR80*VAR77 VAR82赋值:如果VAR9>1日前的VAR9,返回VAR9*成交量(手),否则返回0的55日累和/如果VAR9<1日前的VAR9,返回VAR9*成交量(手),否则返回0的55日累和+VAR81的VAR50日指数移动平均-VAR10 VAR83赋值:VAR24的6日简单移动平均+VAR26*VAR27*VAR28*VAR29-VAR25-VAR27*VAR28-VAR26-VAR28 VAR84赋值:VAR57 AND 4*VAR1+3*VAR2+2*VAR3+1*VAR4-VAR27*VAR1-(VAR28+VAR29)*VAR2-(VAR26-VAR28)*VAR3-(VAR28-VAR29)*VAR4上穿VAR82 AND VAR36 AND VAR60 VAR85赋值:VAR64 OR VAR65 OR VAR74 OR VAR84 输出选股:VAR85的VAR83日过滤