VAR55:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);
VAR56:=INDEXC;
VAR57:=MA(VAR56,5);
VAR58:=MA(VAR56,20);
VAR59:=MA(VAR56,30);
VAR5B:=VAR57>VAR56*1.03 AND VAR58>VAR56*1.13;
VAR5C:=VAR5B;
VAR5D:=IF(FILTER(VAR55<6,5)=1,1,0);
VAR5A:=VAR59>VAR57*1.08 AND VAR58>VAR57*1.055;
VAR5F:=VAR55<6 AND VAR5C;
VAR60:=IF(FILTER(VAR5F,1)=1,1,0)*80;
VAR61:=VAR5F AND VAR5D*80;
VAR7C:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
VAR7D:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
VAR7E:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
VAR7F:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
VAR80:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
VAR81:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
VAR82:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
VAR83:=(VAR7D+VAR7E+VAR7F+VAR80+VAR81+VAR82)/6;
VAR85:=ABS(VAR80-VAR82);
VAR86:=(VAR83+VAR85)/2;
VAR87:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
VAR88:=VAR87+VAR86;
VAR89:=IF(VAR7C>0 AND VAR88<0,200,0);
VAR8A:=IF(VAR86<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);
VAR8B:=IF(VAR88<0 AND VAR8A=-50,100,0);
VAR8D:=REF(CLOSE,2)*0.865;
VAR8E:=REF(CLOSE,13)*0.772;
VAR8F:=MIN(VAR8D,VAR8E);
VAR90:=100*VOL/CAPITAL;
VAR92:=IF((CLOSE-VAR8F)/CLOSE<0.03 AND SUM(VAR90,5)/5<1.8,1,0);
VAR96:=(VAR89>0 AND VAR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR92>0) AND (VAR8A<0 OR VAR7C>0);
VAR97:=VAR89>0 AND VAR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR92>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;
VAR98:=VAR96 OR VAR97;
PP:(VAR61 OR VAR98)=1;
九毛八公式解读
VAR55赋值:(以收盘价*1.1计算的获利盘比例-以收盘价*0.9计算的获利盘比例)*80的5日指数移动平均 VAR56赋值:大盘的收盘价 VAR57赋值:VAR56的5日简单移动平均 VAR58赋值:VAR56的20日简单移动平均 VAR59赋值:VAR56的30日简单移动平均 VAR5B赋值:VAR57>VAR56*1.03 AND VAR58>VAR56*1.13 VAR5C赋值:VAR5B VAR5D赋值:如果VAR55<6的5日过滤=1,返回1,否则返回0 VAR5A赋值:VAR59>VAR57*1.08 AND VAR58>VAR57*1.055 VAR5F赋值:VAR55<6 AND VAR5C VAR60赋值:如果VAR5F的1日过滤=1,返回1,否则返回0*80 VAR61赋值:VAR5F AND VAR5D*80 VAR7C赋值:如果收盘价的5日指数移动平均/收盘价的9日指数移动平均的16日指数移动平均<=0.85ANDCLOSE/1日前的收盘价>0.905ANDCLOSE/1日前的收盘价<1.05ANDVOL/当前流通股本(手)*100<5,返回50,否则返回0 VAR7D赋值:(-100)*(34日内最高价的最高值-收盘价)/(34日内最高价的最高值-34日内最低价的最低值)+100 VAR7E赋值:(-100)*(50日内最高价的最高值-收盘价)/(50日内最高价的最高值-50日内最低价的最低值)+100 VAR7F赋值:(-100)*(70日内最高价的最高值-收盘价)/(70日内最高价的最高值-70日内最低价的最低值)+100 VAR80赋值:((收盘价-收盘价的34日简单移动平均)/收盘价的34日简单移动平均*100+10)*5 VAR81赋值:((收盘价-收盘价的50日简单移动平均)/收盘价的50日简单移动平均*100+10)*5 VAR82赋值:((收盘价-收盘价的70日简单移动平均)/收盘价的70日简单移动平均*100+10)*5 VAR83赋值:(VAR7D+VAR7E+VAR7F+VAR80+VAR81+VAR82)/6 VAR85赋值:VAR80-VAR82的绝对值 VAR86赋值:(VAR83+VAR85)/2 VAR87赋值:(-1)*(100*(1-以收盘价计算的获利盘比例)的1日指数移动平均-50)+50 VAR88赋值:VAR87+VAR86 VAR89赋值:如果VAR7C>0ANDVAR88<0,返回200,否则返回0 VAR8A赋值:如果VAR86<0ANDCLOSE=5日内收盘价的最低值ANDCLOSE/1日前的收盘价>0.905ANDCLOSE/1日前的收盘价<1.05ANDVOL/当前流通股本(手)*100<5,返回-50,否则返回0 VAR8B赋值:如果VAR88<0ANDVAR8A=-50,返回100,否则返回0 VAR8D赋值:2日前的收盘价*0.865 VAR8E赋值:13日前的收盘价*0.772 VAR8F赋值:VAR8D和VAR8E的较小值 VAR90赋值:100*成交量(手)/当前流通股本(手) VAR92赋值:如果(收盘价-VAR8F)/收盘价<0.03ANDSUM(VAR90,5)/5<1.8,返回1,否则返回0 VAR96赋值:(VAR89>0 AND VAR8B>0 AND 成交量(手)/当前流通股本(手)*100的5日累和/5<1 OR VAR92>0) AND (VAR8A<0 OR VAR7C>0) VAR97赋值:VAR89>0 AND VAR8B>0 AND 成交量(手)/当前流通股本(手)*100的5日累和/5<1 OR VAR92>0 AND 1日前的收盘价/2日前的收盘价>0.902 VAR98赋值:VAR96 OR VAR97 输出PP:(VAR61 OR VAR98)=1