副图公式源码支持 手机/电脑
GUA1:=COUNT(O=L AND C=L AND L<REF(C,1),30)=0;
GUA2:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;
乖离牛:=CROSS(-28,GUA2) AND C>L AND GUA1;
GUP1:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55)*0.8;
GUP2:=CLOSE/REF(CLOSE,1)>1.028;
GUP5:=MA(CLOSE,60)>CLOSE*1.28;
GUP6:=C<REF(C,1)*1.05;
GUB1:=LLV(LOW,3)=LLV(LOW,10);
GUB2:=GUP1 AND GUP2 AND GUP5 AND GUP6 AND GUB1;
STICKLINE(GUB2,0,3,2,0),COLORRED;
STICKLINE(乖离牛,0,3,2,0),COLORMAGENTA;
GUS1:=BARSLAST(乖离牛)>18 OR C>REF(C,BARSLAST(乖离牛))*1.15;
GUS2:=VOL>MA(VOL,5)*2 OR BARSLAST(GUB2)>49;
卖1:=COUNT(GUS1,BARSLAST(乖离牛))=1 AND (BARSLAST(乖离牛)=19 OR C>REF(C,BARSLAST(乖离牛))*1.15);
卖2:=(COUNT(GUS2,BARSLAST(GUB2))=1 OR COUNT(GUS2,BARSLAST(乖离牛))=1) AND (VOL>MA(VOL,5)*2 OR BARSLAST(GUB2)=50);
STICKLINE(卖1,0,2,2,0),COLORBLUE;
STICKLINE(卖2,0,2,2,0),COLORGREEN;
选股公式源码
{选股公式一:红柱信号}
GUP1:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55)*0.8;
GUP2:=CLOSE/REF(CLOSE,1)>1.028;
GUP5:=MA(CLOSE,60)>CLOSE*1.28;
GUP6:=C<REF(C,1)*1.05;
GUB1:=LLV(LOW,3)=LLV(LOW,10);
GUB2:=GUP1 AND GUP2 AND GUP5 AND GUP6 AND GUB1;
红柱信号:GUB2,COLORRED;
{选股公式二:紫柱信号}
GUA1:=COUNT(O=L AND C=L AND L<REF(C,1),30)=0;
GUA2:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;
乖离牛:=CROSS(-28,GUA2) AND C>L AND GUA1;
紫柱信号:乖离牛,COLORMAGENTA;
{卖出公式一:蓝柱信号}
GUA1:=COUNT(O=L AND C=L AND L<REF(C,1),30)=0;
GUA2:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;
乖离牛:=CROSS(-28,GUA2) AND C>L AND GUA1;
GUS1:=BARSLAST(乖离牛)>18 OR C>REF(C,BARSLAST(乖离牛))*1.15;
卖1:=COUNT(GUS1,BARSLAST(乖离牛))=1 AND (BARSLAST(乖离牛)=19 OR C>REF(C,BARSLAST(乖离牛))*1.15);
蓝柱信号:卖1,COLORBLUE;
{卖出公式二:绿柱信号}
GUA1:=COUNT(O=L AND C=L AND L<REF(C,1),30)=0;
GUA2:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;
乖离牛:=CROSS(-28,GUA2) AND C>L AND GUA1;
GUP1:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55)*0.8;
GUP2:=CLOSE/REF(CLOSE,1)>1.028;
GUP5:=MA(CLOSE,60)>CLOSE*1.28;
GUP6:=C<REF(C,1)*1.05;
GUB1:=LLV(LOW,3)=LLV(LOW,10);
GUB2:=GUP1 AND GUP2 AND GUP5 AND GUP6 AND GUB1;
GUS2:=VOL>MA(VOL,5)*2 OR BARSLAST(GUB2)>49;
卖2:=(COUNT(GUS2,BARSLAST(GUB2))=1 OR COUNT(GUS2,BARSLAST(乖离牛))=1) AND (VOL>MA(VOL,5)*2 OR BARSLAST(GUB2)=50);
绿柱信号:卖2,COLORBLUE;
|