副图公式源码 支持: 手机/电脑
(-100);
(-50);
0;
50;
80;
100;
GUPA:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORYELLOW,LINETHICK2;
GUPD:MA((LLV(LOW,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,3),COLOR4080FF;
GUP1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GUP2:=SMA(ABS(LOW-GUP1),13,1)/SMA(MAX(LOW-GUP1,0),10,1);
GUP3:=EMA(GUP2,10);
GUP4:=LLV(LOW,33);
STICKLINE(GUPA<=3.5,50,0,8,0),COLORRED;
STICKLINE(GUPA>93,100,80,8,0),COLORGREEN;
GUP5:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)/4;
STICKLINE(GUPA>83 AND GUP5>19.299999,75,60,4,0),COLORCYAN;
STICKLINE(GUPA<4 AND GUP5<2,(-75),(-55),4,0),COLOR4080FF;
STICKLINE(GUPA<8 AND GUP5<8,(-10),(-25),4,0),COLORLIMAGENTA;
STICKLINE(GUPA>90 AND GUP5>23,110,90,3,0),COLORRED;
STICKLINE(GUPA>90.900002 AND GUP5>22,(-80),(-60),4,0),COLORFF0080;
STICKLINE(GUPD>(-3) AND GUPA<3.5,20,(-20),3,0),COLORYELLOW;
DRAWTEXT(GUPD>(-3) AND GUPA<3.5,0,'抄底'),COLORYELLOW;
选股公式源码
{选股公式:抄底}
GUPA:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORYELLOW,LINETHICK2;
GUPD:=MA((LLV(LOW,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,3),COLOR4080FF;
抄底:GUPD>(-3) AND GUPA<3.5; |