副图公式源码 支持: 手机/电脑
GUB1:4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
底:8,COLORGREEN,LINETHICK0;
买五:IF(CROSS(GUB1,底),80,0),LINETHICK2;
潜伏:=IF(GUB1<=8,25,0),STICK,COLORWHITE,LINETHICK2;
GUP5:=LLV(LOW,27);
GUP6:=HHV(HIGH,34);
趋势:EMA((CLOSE-GUP5)/(GUP6-GUP5)*4,4)*25;
顶:IF((趋势<10),80,100),COLOR00CCFF,LINETHICK1;
50,LINETHICK2 ,COLORFFCC00;
0,LINETHICK2 ,COLORFFCC00;
DRAWTEXT(GUB1>90,GUB1,'S');
GUB2:=4*SMA((CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
买三:IF(CROSS(GUB2,底),80,0),LINETHICK2;
GUB3:=4*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
买十:IF(CROSS(GUB3,底),80,0),LINETHICK2;
GUB4:=4*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
买二十:IF(CROSS(GUB4,底),80,0),LINETHICK2;
GUB5:=4*SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
买三十:IF(CROSS(GUB5,底),80,0),LINETHICK2;
GUB6:=4*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
买六十:IF(CROSS(GUB6,底),80,0),LINETHICK2;
选股公式源码
{选股公式一:买五}
GUB1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
底:=8,COLORGREEN,LINETHICK0;
买五:CROSS(GUB1,底);
{选股公式二:买三}
GUB2:=4*SMA((CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
底:=8,COLORGREEN,LINETHICK0;
买三:CROSS(GUB2,底);
{选股公式三:买十}
GUB3:=4*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
底:=8,COLORGREEN,LINETHICK0;
买十:CROSS(GUB3,底);
{选股公式四:买二十}
GUB4:=4*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
底:=8,COLORGREEN,LINETHICK0;
买二十:CROSS(GUB4,底);
{选股公式五:买三十}
GUB5:=4*SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
底:=8,COLORGREEN,LINETHICK0;
买三十:CROSS(GUB5,底);
{选股公式六:买六十}
GUB6:=4*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
底:=8,COLORGREEN,LINETHICK0;
买六十:CROSS(GUB6,底); |