副图公式源码支持 手机/电脑
GUP1:=(C*2+H+L)/4*10;
GUP2:=EMA(GUP1,13)-EMA(GUP1,34);
GUP3:=EMA(GUP2,5); GUP4:=2*(GUP2-GUP3)*5.5;
GUP5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
GUP6:=EMA(3*GUP5-2*SMA(GUP5,18,1),5);
GUP7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
GUP8:=(INDEXC*2+INDEXH+INDEXL)/4;
GUP9:=EMA(GUP8,13)-EMA(GUP8,34);
GUPA:=EMA(GUP9,3);
GUPB:=(GUP9-GUPA)/2;
GUP11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
GUP12:=(EMA(GUP11,3)-REF(EMA(GUP11,3),1))/REF(EMA(GUP11,3),1)*100;
GUB:=(EMA(GUP11,3)<=13 AND GUP12>13) AND FILTER((EMA(GUP11,3)<=13 AND GUP12>13),10) ;
DRAWTEXT(GUB,45,'低吸'),COLORLIMAGENTA;
卖:STICKLINE(EMA(GUP11,3)>60 AND EMA(GUP11,3)>REF(EMA(GUP11,3),1),100,95,15,1),COLORGREEN;
GUC:=(EMA(GUP11,3)>=90 AND GUP12) AND FILTER((EMA(GUP11,3)>=90 AND GUP12),10);
STICKLINE(IF(GUPB>=0,GUPB,0) AND EMA(GUP11,3)<13,0,20,10,0),COLORLIMAGENTA;
STICKLINE(IF(GUPB<=0,GUPB,0) AND EMA(GUP11,3)>90,0,20,10,0),COLORGREEN;
STICKLINE( IF(GUP4>=0,GUP4,1) AND EMA(GUP11,3)<13,0,20,10,0),COLORFF00FF;
STICKLINE(IF(GUP4<=0,GUP4,1) AND EMA(GUP11,3)>90,0,20,10,0),COLORLIBLUE;
DRAWTEXT(GUC,43,'高抛'),COLORLIBLUE;
选股公式源码
{选股公式:低吸}
GUP1:=(C*2+H+L)/4*10;
GUP2:=EMA(GUP1,13)-EMA(GUP1,34);
GUP3:=EMA(GUP2,5); GUP4:=2*(GUP2-GUP3)*5.5;
GUP5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
GUP6:=EMA(3*GUP5-2*SMA(GUP5,18,1),5);
GUP7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
GUP8:=(INDEXC*2+INDEXH+INDEXL)/4;
GUP9:=EMA(GUP8,13)-EMA(GUP8,34);
GUPA:=EMA(GUP9,3);
GUPB:=(GUP9-GUPA)/2;
GUP11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
GUP12:=(EMA(GUP11,3)-REF(EMA(GUP11,3),1))/REF(EMA(GUP11,3),1)*100;
GUB:=(EMA(GUP11,3)<=13 AND GUP12>13) AND FILTER((EMA(GUP11,3)<=13 AND GUP12>13),10) ;
低吸:GUB;
{卖出公式:高抛}
GUP1:=(C*2+H+L)/4*10;
GUP2:=EMA(GUP1,13)-EMA(GUP1,34);
GUP3:=EMA(GUP2,5); GUP4:=2*(GUP2-GUP3)*5.5;
GUP5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
GUP6:=EMA(3*GUP5-2*SMA(GUP5,18,1),5);
GUP7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
GUP8:=(INDEXC*2+INDEXH+INDEXL)/4;
GUP9:=EMA(GUP8,13)-EMA(GUP8,34);
GUPA:=EMA(GUP9,3);
GUPB:=(GUP9-GUPA)/2;
GUP11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
GUP12:=(EMA(GUP11,3)-REF(EMA(GUP11,3),1))/REF(EMA(GUP11,3),1)*100;
GUC:=(EMA(GUP11,3)>=90 AND GUP12) AND FILTER((EMA(GUP11,3)>=90 AND GUP12),10); |