副图公式 源码支持:手机/电脑
GUP1:=EMA(C,2);
GUP2:=EMA(GUP1,2);
GUP3:=EMA(GUP2,2);
GUP4:=EMA(GUP3,2);
GUP5:=EMA(GUP2,3);
GUP6:=EMA(GUP4,7);
DRAWBAND(GUP5,RGB(50,50,125),GUP6,RGB(0,105,0));
GUP7:=(2*C+H+L)/4;
GUP8:=WMA((GUP7-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
GUP9:=WMA(0.618*REF(GUP8,1)+0.382*GUP8,2);
DRAWTEXT(CROSS(GUP9,GUP8) AND GUP8>70 AND GUP5>GUP6 AND ((H-O)< (O-C) AND C< O) AND REF(C,1)< REF(C,2)*1.095,H+0.07,'←出逃'),COLORGREEN;
GUP10:=EMA(C,14);
GUP11:=(GUP10-REF(GUP10,1))/REF(GUP10,1)*100*1;
DRAWTEXT(CROSS(GUP11,0) AND C>=REF(HHV(H,7),1) AND C>REF(C,1)*1.097,L*0.97,'↖启动'),COLORYELLOW;
选股公式源码
{选股公式:启动}
GUP1:=EMA(C,2);
GUP2:=EMA(GUP1,2);
GUP7:=(2*C+H+L)/4;
GUP8:=WMA((GUP7-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
GUP9:=WMA(0.618*REF(GUP8,1)+0.382*GUP8,2);
GUP10:=EMA(C,14),COLORWHITE,LINETHICK1;
GUP11:=(GUP10-REF(GUP10,1))/REF(GUP10,1)*100*1;
启动:CROSS(GUP11,0) AND C>=REF(HHV(H,7),1) AND C>REF(C,1)*1.097;
{卖出公式:出逃}
GUP1:=EMA(C,2);
GUP2:=EMA(GUP1,2);
GUP3:=EMA(GUP2,2);
GUP4:=EMA(GUP3,2);
GUP5:=EMA(GUP2,3);
GUP6:=EMA(GUP4,7);
GUP7:=(2*C+H+L)/4;
GUP8:=WMA((GUP7-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
GUP9:=WMA(0.618*REF(GUP8,1)+0.382*GUP8,2);
出逃:CROSS(GUP9,GUP8) AND GUP8>70 AND GUP5>GUP6 AND ((H-O)< (O-C) AND C< O) AND REF(C,1)< REF(C,2)*1.095; |