VARA1:=AMOUNT/VOL;
VARA2:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5);
VARA111:="1A0001$VOL"*"1A0001$CLOSE";
VARA21:=EMA(VARA111,5)/EMA("1A0001$VOL",5);
CYS:=("1A0001$CLOSE"-VARA21)/VARA21*100;
A1:=VARA1/100;
A2:=MA(A1,5);
A3:=MA(A1,20);
A4:=MA(A1,30);
B1:=A4>A2*1.09 AND A3>A2*1.06;
B2:=A2>A1*1.03 AND A3>A1*1.13;
VARA32:=MA(CLOSE,27);
VARA33:=(CLOSE-VARA32)/VARA32*100;
VARA34:=MA(VARA33,3);
VARA10:=CYS<-2 AND B2;
TLD:=VARA2<6 AND VARA10 AND VARA34<-15;
SS:= VARA34,LINETHICK2;
VARA35:=BARSLAST(CROSS(-10,VARA34)=1);
VARA36:=BARSLAST(CROSS(VARA34,10)=1);
VARA37:=VARA34<-10 AND VARA35>3;
VARA38:=VARA34>10 AND VARA36>3;
高兴:KDJ.J>80 AND V<REF(V,1) AND O/REF(C,1)<0.98 AND C<>O;
九毛八公式解读
VARA1赋值:成交额(元)/成交量(手) VARA2赋值:(以收盘价*1.1计算的获利盘比例-以收盘价*0.9计算的获利盘比例)*80的5日指数移动平均 VARA111赋值:"1A0001$成交量(手)"*"1A0001$收盘价" VARA21赋值:VARA111的5日指数移动平均/"1A0001$成交量(手)"的5日指数移动平均 CYS赋值:("1A0001$收盘价"-VARA21)/VARA21*100 A1赋值:VARA1/100 A2赋值:A1的5日简单移动平均 A3赋值:A1的20日简单移动平均 A4赋值:A1的30日简单移动平均 B1赋值:A4>A2*1.09 AND A3>A2*1.06 B2赋值:A2>A1*1.03 AND A3>A1*1.13 VARA32赋值:收盘价的27日简单移动平均 VARA33赋值:(收盘价-VARA32)/VARA32*100 VARA34赋值:VARA33的3日简单移动平均 VARA10赋值:CYS<-2 AND B2 TLD赋值:VARA2<6 AND VARA10 AND VARA34<-15 SS赋值: VARA34,线宽为2 VARA35赋值:上次-10上穿VARA34=1距今天数 VARA36赋值:上次VARA34上穿10=1距今天数 VARA37赋值:VARA34<-10 AND VARA35>3 VARA38赋值:VARA34>10 AND VARA36>3 输出高兴:KDJ的J>80 AND 成交量(手)<1日前的成交量(手) AND 开盘价/1日前的收盘价<0.98 AND 收盘价不等于开盘价