副图公式源码支持: 手机/电脑
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);
GUP5:=EMA(IF(LOW<=GUP4,GUP3,0),3);
GUP6:0;
主力抄:IF(GUP5>REF(GUP5,1),GUP5,0),COLORRED,NODRAW;
STICKLINE(GUP5>REF(GUP5,1),0,GUP5,1,0 ),COLORRED;
主力洗:IF(GUP5<REF(GUP5,1),GUP5,0),COLORGREEN,NODRAW;
STICKLINE(GUP5<REF(GUP5,1),0,GUP5,1,0),COLORGREEN;
逃:=CROSS(82,RSI);
STICKLINE( 逃,逃,10,3.5,0),COLORFF5500;
STICKLINE( 逃,逃,15,2.5,0),COLORFF8800;
STICKLINE( 逃,逃,20,1.5,0),COLORFFAA00;
STICKLINE( 逃,逃,25,0.5,0),COLORFFCC00;
STICKLINE( 逃,逃,30,0.1,0),COLORFFFF00;
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
GUA1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWTEXT(CROSS(82,GUA1),30,'--逃顶'),COLORYELLOW;
趋势线:=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);
抄底:IF(CROSS(趋势线,6),50,0),COLORMAGENTA,LINETHICK1;
DRAWTEXT(FILTER(抄底,10)=1,35,'--抄底'),COLORYELLOW,LINETHICK1;
选股公式源码
{选股公式:抄底}
趋势线:=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);
抄底:=IF(CROSS(趋势线,6),50,0),COLORMAGENTA,LINETHICK1;
抄底XG:FILTER(抄底,10)=1; |