副图公式源码支持 手机/电脑
GUP1:=REF(CLOSE,1);
GUP2:=(SMA(MAX(CLOSE-GUP1,0),2,1))/(SMA(ABS(CLOSE-GUP1),2,1))*100;
GUP3:=100*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2));
GUP4:=GUP2-GUP3/10;
GUP5:=GUP4/10;
GUP6:=GUP5*(1+((C-REF(C,1))/REF(C,1)*10));
活跃:GUP6,NODRAW;
启动:1.56,COLORYELLOW;
强势:3,COLORRED;
成牛:6,DOTLINE,COLORMAGENTA;
STICKLINE(活跃>=3,0,活跃,2,0),COLORMAGENTA;
STICKLINE(活跃>=3,0,3,2,0),COLORRED;
STICKLINE(活跃<3 AND 活跃>=1.56 AND C/REF(C,1)>=1.000,0,活跃,2,1),COLORRED;
STICKLINE(活跃<3 AND 活跃>=1.56 AND C/REF(C,1)<1.000,0,活跃,2,1),COLORGREEN;
STICKLINE(活跃<1.56 AND 活跃>=0,0,活跃,2,0),COLORGREEN;
STICKLINE(活跃<0 AND C/REF(C,1)>=1.000,0,活跃,2,1),COLORRED;
STICKLINE(活跃<0 AND C/REF(C,1)<=1.000,0,活跃,2,0),COLORRED;
STICKLINE(活跃>=3,0,活跃,2,0) ,COLORMAGENTA;
STICKLINE(活跃>=3,0,3,2,0),COLORRED;
活跃A:EMA(GUP6,5),COLORYELLOW;
活跃B:EMA(GUP6,34),COLORRED;
活跃C:=EMA(GUP6,5),COLORGREEN;
GUP7:=(C/LLV(L,4)>1.13 OR REF(C,1)/REF(C,2)>1.098)AND C/REF(C,1)>1.098;
GUP8:=C/REF(C,1)<1.098 AND REF(GUP7,1);
DRAWTEXT(FILTER(GUP8,3),3,'擒牛');
选股公式源码
{选股公式:擒牛}
GUP1:=REF(CLOSE,1);
GUP2:=(SMA(MAX(CLOSE-GUP1,0),2,1))/(SMA(ABS(CLOSE-GUP1),2,1))*100;
GUP3:=100*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2));
GUP4:=GUP2-GUP3/10;
GUP5:=GUP4/10;
GUP6:=GUP5*(1+((C-REF(C,1))/REF(C,1)*10));
GUP7:=(C/LLV(L,4)>1.13 OR REF(C,1)/REF(C,2)>1.098)AND C/REF(C,1)>1.098;
GUP8:=C/REF(C,1)<1.098 AND REF(GUP7,1);
擒牛:FILTER(GUP8,3);
|