副图公式 源码支持手机/电脑
GUP1:=C/REF(C,1)>1.095 AND H=C AND BARSSINCE(C>0 )>60;
GUP2:=COUNT(GUP1=1,2)=2 AND COUNT(GUP1=1,4)<3.5;
GUP3:=COUNT(GUP1=1,5)>3;
GUP4:=C/REF(C,1)<0.905 AND O=C;
GUP5:=(O/REF(HHV(C,3),1))<0.91 AND GUP4=0;
GUP6:COUNT(GUP2=1,3)>0 AND GUP5=1 AND COUNT(GUP3=1,10)=0 AND GUP4=0;
GUP7:REF(COUNT(GUP6=1,10)>0,3)=1 AND CROSS(C,MA(C,5));
STICKLINE(GUP2=1,0,0.5,5,10),COLORYELLOW;
STICKLINE(GUP6=1,0,1,5,10),COLORRED;
STICKLINE(GUP7=1,0,1,5,10),COLORMAGENTA;
DRAWTEXT(GUP2=1,-0.1,'准备'),COLORWHITE;
DRAWTEXT(GUP6=1,-0.1,'买入'),COLORRED;
DRAWTEXT(GUP7=1,-0.1,'回马'),COLORMAGENTA;
选股公式源码
{选股公式一:准备}
GUP1:=C/REF(C,1)>1.095 AND H=C AND BARSSINCE(C>0 )>60;
GUP2:=COUNT(GUP1=1,2)=2 AND COUNT(GUP1=1,4)<3.5;
{STICKLINE(GUP2=1,0,0.5,5,10),COLORYELLOW;
DRAWTEXT(GUP2=1,-0.1,'准备'),COLORWHITE;}
准备:GUP2=1;
{选股公式二:买入}
GUP1:=C/REF(C,1)>1.095 AND H=C AND BARSSINCE(C>0 )>60;
GUP2:=COUNT(GUP1=1,2)=2 AND COUNT(GUP1=1,4)<3.5;
GUP3:=COUNT(GUP1=1,5)>3;
GUP4:=C/REF(C,1)<0.905 AND O=C;
GUP5:=(O/REF(HHV(C,3),1))<0.91 AND GUP4=0;
GUP6:=COUNT(GUP2=1,3)>0 AND GUP5=1 AND COUNT(GUP3=1,10)=0 AND GUP4=0;
{STICKLINE(GUP6=1,0,1,5,10),COLORRED;
DRAWTEXT(GUP6=1,-0.1,'买入'),COLORRED;}
买入:GUP6=1;
{选股公式三:回马}
GUP1:=C/REF(C,1)>1.095 AND H=C AND BARSSINCE(C>0 )>60;
GUP2:=COUNT(GUP1=1,2)=2 AND COUNT(GUP1=1,4)<3.5;
GUP3:=COUNT(GUP1=1,5)>3;
GUP4:=C/REF(C,1)<0.905 AND O=C;
GUP5:=(O/REF(HHV(C,3),1))<0.91 AND GUP4=0;
GUP6:=COUNT(GUP2=1,3)>0 AND GUP5=1 AND COUNT(GUP3=1,10)=0 AND GUP4=0;
GUP7:=REF(COUNT(GUP6=1,10)>0,3)=1 AND CROSS(C,MA(C,5));
{STICKLINE(GUP7=1,0,1,5,10),COLORMAGENTA;
DRAWTEXT(GUP7=1,-0.1,'回马'),COLORMAGENTA;}
回马:GUP7=1; |