SHORT:=12;LONG:=26;MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA45:=MA(C,45);
MA60:=MA(C,60);
AA:= MA5>MA20 AND MA10>MA20 ;
CC:=L<MA20 AND C>MA20;
DD:=L<MA30 AND C>MA30;
EE:=L<MA10 AND C>MA10;
FF:= CC OR DD OR EE;
BB:=REF(MA5,1)/REF(MA10,1)-1;
PP:=BB>0 AND BB<0.012;
AA AND FF AND ABS(O-C)/C<0.020
AND MA10>REF(MA10,1) AND MA20>REF(MA20,1) AND PP AND DIF>DEA AND macd>0;
九毛八公式解读
SHORT赋值:12 LONG赋值:26 MID赋值:9 DIF赋值:收盘价的SHORT日指数移动平均-收盘价的LONG日指数移动平均 DEA赋值:DIF的MID日指数移动平均 MACD赋值:(DIF-DEA)*2 MA5赋值:收盘价的5日简单移动平均 MA10赋值:收盘价的10日简单移动平均 MA20赋值:收盘价的20日简单移动平均 MA30赋值:收盘价的30日简单移动平均 MA45赋值:收盘价的45日简单移动平均 MA60赋值:收盘价的60日简单移动平均 AA赋值: MA5>MA20 AND MA10>MA20 CC赋值:最低价MA20 DD赋值:最低价 MA30 EE赋值:最低价 MA10 FF赋值: CC OR DD OR EE BB赋值:1日前的MA5/1日前的MA10-1 PP赋值:BB>0 AND BB<0.012 AA AND FF AND 开盘价-收盘价的绝对值/收盘价<0.020AND MA10>1日前的MA10 AND MA20>1日前的MA20 AND PP AND DIF>DEA AND MACD>0