以下是适用当下行情的135战法之新红杏出墙(选股/副图 源码)
源码在下面:
{新红杏出墙通达信版选股/副图}
PTJ1:=MA(C,55)>MA(C,34) AND MA(C,34)>MA(C,13);
PTJ2:=O<MA(C,13) AND C>MA(C,13);
PTJ3:=C/REF(C,1)>1.04 AND V/REF(V,1)>=2;
PTJ4:=MA(C,13)>=REF(MA(C,13),1);
PTJ5:=EVERY(REF(C,1)<REF(MA(C,13),1),5);
PXG:PTJ1 AND PTJ2 AND PTJ3 AND PTJ4 AND PTJ5;
{新红杏出墙大智慧版选股/副图}
PTJ1:=MA(C,55)>MA(C,34) AND MA(C,34)>MA(C,13);
PTJ2:=O<MA(C,13) AND C>MA(C,13);
PTJ3:=C/REF(C,1)>1.04 AND V/REF(V,1)>=2;
PTJ4:=MA(C,13)>=REF(MA(C,13),1);
PTJ5:=ALL(REF(C,1)<REF(MA(C,13),1),5);
PXG:PTJ1 AND PTJ2 AND PTJ3 AND PTJ4 AND PTJ5;