副图公式 源码支持手机/电脑
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);
J1:=IF(CLOSE>QJ,VOL,0);
J2:=IF(CLOSE<QJ,VOL,0);
量能:IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD,NODRAW;
趋势:IF(CAPITAL<1,EMA(量能,360),EMA(量能,21)),COLOR008800,NODRAW;
GUP3:=(量能-趋势);
GUP44:=SMA(RV,3,1);
GUP55:=SMA(GUP44,3,1);
STICKLINE(GUP3>0,20,10,5,1),COLOR0000FF;
STICKLINE(GUP3<0,100,90,10,1),COLOR00FF00;
DRAWICON(CROSS(GUP44,GUP55) AND GUP55<30,2,1);
DRAWICON(CROSS(GUP55,GUP44) AND GUP55>30,97,2);
DRAWBAND(GUP55,RGB(0,22,224),GUP44,RGB(255,50,50));
KK:=EMA(SMA(RG,3,1),2),COLORFFFFFF;
DD:=SMA(KK,3,1),COLOR00FFFF;
DRAWTEXT(CROSS(GUP44,GUP55) AND CROSS(KK,DD),10,'壮牛'),COLOR00FFFF;
共振:=(CROSS(GUP44,GUP55) AND CROSS(KK,DD));
STICKLINE(共振>0,0,100,2,0),COLOR008888;
STICKLINE(共振>0,0,100,1.5,0),COLOR00AAAA;
STICKLINE(共振>0,0,100,0.8,0),COLOR00DDDD;
STICKLINE(共振>0,0,100,0.3,0),COLOR00FFFF;
GUP200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
GUP300:=SMA(SMA(GUP200,3,1),3,1)/28.57;
GUP400:=EMA(GUP300,5);
A0:=3*GUP300-2*GUP400;
A1:=CROSS(A0,GUP300) AND GUP300<2.1 AND C>O;
STICKLINE(A1,30,0,4,0),COLOR770077;
STICKLINE(A1,30,0,3,0),COLOR990099;
STICKLINE(A1,30,0,2,0),COLORBB00BB;
STICKLINE(A1,30,0,1,0),COLORDD00DD;
STICKLINE(A1,30,0,0.3,0),COLORFF00FF;
DRAWTEXT(A1,36,'强牛'),COLORRED;
强牛触底:A1,NODRAW;
强牛抬头:20,COLORFF00FF,LINETHICK1;
强牛回头:90,COLORBLUE,LINETHICK1;
选股公式源码
{选股公式一:壮牛}
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);
J1:=IF(CLOSE>QJ,VOL,0);
J2:=IF(CLOSE<QJ,VOL,0);
量能:=IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD;
趋势:=IF(CAPITAL<1,EMA(量能,360),EMA(量能,21)),COLOR008800;
GUP3:=(量能-趋势);
GUP44:=SMA(RV,3,1);
GUP55:=SMA(GUP44,3,1);
KK:=EMA(SMA(RG,3,1),2),COLORFFFFFF;
DD:=SMA(KK,3,1),COLOR00FFFF;
{共振:=(CROSS(GUP44,GUP55) AND CROSS(KK,DD));
STICKLINE(共振>0,0,100,2,0),COLOR008888;
STICKLINE(共振>0,0,100,1.5,0),COLOR00AAAA;
STICKLINE(共振>0,0,100,0.8,0),COLOR00DDDD;
STICKLINE(共振>0,0,100,0.3,0),COLOR00FFFF;}
壮牛:CROSS(GUP44,GUP55) AND CROSS(KK,DD);
{选股公式二:强牛}
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);
J1:=IF(CLOSE>QJ,VOL,0);
J2:=IF(CLOSE<QJ,VOL,0);
GUP200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
GUP300:=SMA(SMA(GUP200,3,1),3,1)/28.57;
GUP400:=EMA(GUP300,5);
A0:=3*GUP300-2*GUP400;
A1:=CROSS(A0,GUP300) AND GUP300<2.1 AND C>O;
强牛:A1;
{选股公式三:红箭头}
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);
J1:=IF(CLOSE>QJ,VOL,0);
J2:=IF(CLOSE<QJ,VOL,0);
量能:=IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD;
趋势:=IF(CAPITAL<1,EMA(量能,360),EMA(量能,21)),COLOR008800;
GUP3:=(量能-趋势);
GUP44:=SMA(RV,3,1);
GUP55:=SMA(GUP44,3,1);
红箭头:CROSS(GUP44,GUP55) AND GUP55<30; |