多空对比精准买入公式如下:
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;
HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
DD:=短期<2 AND 中期<2 AND 中长期<2 AND 长期<2,COLORRED;
XG:CROSS(C,MA(C,5)) AND COUNT(DD,3);
精准买点:C/REF(C,1)>1.015 AND L/REF(C,1)<0.985
AND O/REF(C,1)<0.99 AND H/REF(C,1)>1.016
AND REF(C<O,1) AND REF(C/REF(C,1)<0.975,1)
AND COUNT(DD,2) AND COUNT(HDY<10,2) AND CAPITAL/1000000<10.01,COLORRED;
===================================
选股公式
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;
HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
DD:=短期<2 AND 中期<2 AND 中长期<2 AND 长期<2,COLORRED;
XG:=CROSS(C,MA(C,5)) AND COUNT(DD,3);
精准买点:=C/REF(C,1)>1.015 AND L/REF(C,1)<0.985
AND O/REF(C,1)<0.99 AND H/REF(C,1)>1.016
AND REF(C<O,1) AND REF(C/REF(C,1)<0.975,1)
AND COUNT(DD,2) AND COUNT(HDY<10,2) AND CAPITAL/1000000<10.01,COLORRED;
选股:XG AND 精准买点;
{选股:XG OR 精准买点;}
74788845.png
|