VAR1:=EMA(WINNER(COst(50)),4);
VAR2:=EMA(WINNER(CLOSE),4)-VAR1;
VAR3:=EMA(VAR2,8);
VAR5:=3*VAR2-2*VAR3;
VAR6:=LLV(LOW,36);
VAR7:=HHV(HIGH,30);
VAR8:=EMA((CLOSE-VAR6)/(VAR7-VAR6)*4,4)*25;
VAR9:=(VAR8-LLV(VAR8,4))/(HHV(VAR8,4)-LLV(VAR8,4))*4*25;
VARA:=CROSS(VAR9,87.5) AND VAR8<40;
考虑介入:CROSS(VAR5,-0.5) AND VARA;
九毛八公式解读
VAR1赋值:以获利盘为50%的成本分布计算的获利盘比例的4日指数移动平均 VAR2赋值:以收盘价计算的获利盘比例的4日指数移动平均-VAR1 VAR3赋值:VAR2的8日指数移动平均 VAR5赋值:3*VAR2-2*VAR3 VAR6赋值:36日内最低价的最低值 VAR7赋值:30日内最高价的最高值 VAR8赋值:(收盘价-VAR6)/(VAR7-VAR6)*4的4日指数移动平均*25 VAR9赋值:(VAR8-4日内VAR8的最低值)/(4日内VAR8的最高值-4日内VAR8的最低值)*4*25 VARA赋值:VAR9上穿87.5 AND VAR8<40 输出考虑介入:VAR5上穿-0.5 AND VARA