副图公式源码支持 手机/电脑
GUPA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUPB:=SMA(GUPA,3,1);
GUPC:=SMA(GUPB,3,1);
JS:=EMA(3*GUPB-2*GUPC,2);
M:50,COLORYELLOW;
D:21,COLORGREEN;
DI:8,COLORBLUE;
DN:81,COLORFF00FF;
DDN:98,COLORRED;
GUP5:=CROSS(JS,110);
GUP6:=CROSS(JS,-6);
GUP7:=CROSS(100,JS);
GUP8:=CROSS(JS,6);
DRAWTEXT(GUP5,110,'逃'),COLORWHITE;
DRAWTEXT(GUP6,0,'抄'),COLORRED;
DRAWTEXT(GUP7,100,'卖'),COLORGREEN;
DRAWTEXT(GUP8,0,'买'),COLORMAGENTA;
选股公式源码
{选股公式一:买}
GUPA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUPB:=SMA(GUPA,3,1);
GUPC:=SMA(GUPB,3,1);
JS:=EMA(3*GUPB-2*GUPC,2);
{M:50,COLORYELLOW;
D:21,COLORGREEN;
DI:8,COLORBLUE;
DN:81,COLORFF00FF;
DDN:98,COLORRED;}
GUP5:=CROSS(JS,110);
GUP6:=CROSS(JS,-6);
GUP7:=CROSS(100,JS);
GUP8:=CROSS(JS,6);
买:GUP8;
{选股公式二:抄}
GUPA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUPB:=SMA(GUPA,3,1);
GUPC:=SMA(GUPB,3,1);
JS:=EMA(3*GUPB-2*GUPC,2);
{M:50,COLORYELLOW;
D:21,COLORGREEN;
DI:8,COLORBLUE;
DN:81,COLORFF00FF;
DDN:98,COLORRED;}
GUP5:=CROSS(JS,110);
GUP6:=CROSS(JS,-6);
GUP7:=CROSS(100,JS);
GUP8:=CROSS(JS,6);
抄:GUP6; |