副图公式 源码支持手机/电脑
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
量能:IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD,NODRAW;
趋势:IF(CAPITAL<1,EMA(量能,360),EMA(量能,21)),COLOR008800,NODRAW;
CHP3:=(量能-趋势);
CHP44:=SMA(RV,3,1);
CHP55:=SMA(CHP44,3,1);
STICKLINE(CHP3>0,20,10,5,1),COLOR0000FF;
STICKLINE(CHP3<0,100,90,10,1),COLOR00FF00;
DRAWICON(CROSS(CHP44,CHP55) AND CHP55<30,2,1);
DRAWICON(CROSS(CHP55,CHP44) AND CHP55>30,97,2);
DRAWBAND(CHP55,RGB(0,22,224),CHP44,RGB(255,50,50));
KK:=EMA(SMA(RG,3,1),2),COLORFFFFFF;
DD:=SMA(KK,3,1),COLOR00FFFF;
DRAWTEXT(CROSS(CHP44,CHP55) AND CROSS(KK,DD),10,'壮牛'),COLOR00FFFF;
共振:=(CROSS(CHP44,CHP55) 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;
CHP200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
CHP300:=SMA(SMA(CHP200,3,1),3,1)/28.57;
CHP400:=EMA(CHP300,5);
A0:=3*CHP300-2*CHP400;
A1:=CROSS(A0,CHP300) AND CHP300<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
量能:=IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD;
趋势:=IF(CAPITAL<1,EMA(量能,360),EMA(量能,21)),COLOR008800;
CHP3:=(量能-趋势);
CHP44:=SMA(RV,3,1);
CHP55:=SMA(CHP44,3,1);
KK:=EMA(SMA(RG,3,1),2),COLORFFFFFF;
DD:=SMA(KK,3,1),COLOR00FFFF;
{共振:=(CROSS(CHP44,CHP55) 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(CHP44,CHP55) 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
CHP200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
CHP300:=SMA(SMA(CHP200,3,1),3,1)/28.57;
CHP400:=EMA(CHP300,5);
A0:=3*CHP300-2*CHP400;
A1:=CROSS(A0,CHP300) AND CHP300<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
量能:=IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD;
趋势:=IF(CAPITAL<1,EMA(量能,360),EMA(量能,21)),COLOR008800;
CHP3:=(量能-趋势);
CHP44:=SMA(RV,3,1);
CHP55:=SMA(CHP44,3,1);
红箭头:CROSS(CHP44,CHP55) AND CHP55<30; |