文华WH3实用价值模型源码
DIFF : EMA(CLOSE,12) - EMA(CLOSE,6);
DEA : EMA(DIFF,9);
BB:IFELSE(BKPRICE>0,BKPRICE,REF(C,BARSBK));
SS:IFELSE(SKPRICE>0,SKPRICE,REF(C,BARSSK));
(CROSS(DIFF,DEA)&&BUYVOL=0)||(C>BB+10&&BUYVOL=1),BK(1);
(CROSS(DEA,DIFF)&&SELLVOL=0)||(C<SS-10&&SELLVOL=1),SK(1);
CROSS(DIFF,DEA)||C>SS+10||C>LLV(L,BARSSK)+10,BP(SELLVOL);
CROSS(DEA,DIFF)||C<BB-10||C<HHV(H,BARSBK)-10,SP(BUYVOL);