副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=SMA((G1-LLV(G2,9))/(HHV(G4,9)-LLV(G2,9))*100,3,1);
GUP2:=SMA((G1-LLV(G2,10))/(HHV(G4,10)-LLV(G2,10))*100,3,1);
短趋势:SMA((GUP2-50)*2,3,1)+SMA((GUP1-50)*2,3,1)/1,COLORRED,LINETHICK2;
顶部:150,DOTLINE,COLORBLUE;
底部-150),DOTLINE,COLORYELLOW;
STICKLINE(短趋势>(-100),短趋势,100,0,0),COLOR323232;
STICKLINE(短趋势<(-100),短趋势,100,0,0),COLOR9F9F5F;
STICKLINE(短趋势<(-100),短趋势,(-100),1,0),COLORYELLOW;
STICKLINE(短趋势<(-120),短趋势,(-120),1,0),COLORFF2400;
STICKLINE(短趋势<(-140),短趋势,(-140),1,0),COLORMAGENTA;
STICKLINE(短趋势<(-150),短趋势,(-150),1,0),COLORRED;
STICKLINE(短趋势>100,短趋势,100,1,0),COLORWHITE;
STICKLINE(短趋势>120,短趋势,120,1,0),COLORFF2400;
STICKLINE(短趋势>140,短趋势,140,1,0),COLORMAGENTA;
STICKLINE(短趋势>150,短趋势,150,1,0),COLORRED;
GUP3:=G2>MA(SLOPE(G1,20)*5+G1,10) AND G2<MA(G1,20);
GUP4:=COUNT(CROSS(MA(G1,10),MA(G1,5)),5)>=1;
神之一手:CROSS(G1,REF(LLV(G2,250/12),2)) AND GUP3 AND GUP4,COLORMAGENTA,NODRAW;
STICKLINE(神之一手,-90,90,1,0),COLORMAGENTA;
DRAWTEXT(神之一手,60,'神之一手'),COLORMAGENTA;
IF(短趋势<=REF(短趋势,1),短趋势,DRAWNULL),COLORGREEN,LINETHICK2;
上拐:=短趋势>REF(短趋势,1);
下拐:=短趋势<=REF(短趋势,1);
DRAWICON(上拐 AND REF(NOT(上拐),1),短趋势,1);
DRAWICON(下拐 AND REF(NOT(下拐),1),短趋势,2);
选股公式源码
{选股公式一:神之一手}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=SMA((G1-LLV(G2,9))/(HHV(G4,9)-LLV(G2,9))*100,3,1);
GUP2:=SMA((G1-LLV(G2,10))/(HHV(G4,10)-LLV(G2,10))*100,3,1);
GUP3:=G2>MA(SLOPE(G1,20)*5+G1,10) AND G2<MA(G1,20);
GUP4:=COUNT(CROSS(MA(G1,10),MA(G1,5)),5)>=1;
神之一手:CROSS(G1,REF(LLV(G2,250/12),2)) AND GUP3 AND GUP4;
{选股公式二:红箭头图标}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=SMA((G1-LLV(G2,9))/(HHV(G4,9)-LLV(G2,9))*100,3,1);
GUP2:=SMA((G1-LLV(G2,10))/(HHV(G4,10)-LLV(G2,10))*100,3,1);
短趋势:=SMA((GUP2-50)*2,3,1)+SMA((GUP1-50)*2,3,1)/1,COLORRED,LINETHICK2;
上拐:=短趋势>REF(短趋势,1);
红箭头图标:上拐 AND REF(NOT(上拐),1); |