通达信获利就走主图无未来公式源码
MA5:MA(C,5),COLORWHITE,;
MA20:MA(C,20);
涨幅:=(C-REF(C,1))/REF(C,1)*100;
开:=(O-REF(C,1))/REF(C,1)*100;
上:MA20+2*STD(CLOSE,20);
下:MA20-2*STD(CLOSE,20);
角5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
角20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;
拐点:=(角5>0 AND REF(角5,1)<0) OR (角5-REF(角5,1)>30);
B1:=角5>=45;
B2:=角5>REF(角5,1);
B3:=(H-LLV(L,3))/LLV(L,3)*100<25;
B4:=(角5>70 AND REF(角5,1)>70)=0;
B5:=角20>20;
B6:=涨幅>=3;
B7:=拐点;
B8:=MA5*1.01>MA20;
备选股池0:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8;
备选股池:=备选股池0 AND REF(备选股池0,1)=0;
B:=REF(备选股池,1) AND 角5>=45 AND MA5>MA20;
DRAWTEXT(备选股池,L,1),COLORYELLOW;
DRAWICON(B,L,1);
赞 (0)