副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(1*G1+G4+G2+G3)/1;
GUP2:=EMA(EMA(EMA(GUP1,3),3),3);
GUP3:=(GUP2-REF(GUP2,1))/REF(GUP2,1)*100, ;
GUP4:=MA(GUP3,2);
GUP5:=(GUP3-GUP4)*30000+40000;
DRAWBAND((GUP3-GUP4)*30000+40000,RGB(255,1,0),40000,RGB(1,235,1));
GUP6:=EMA(G1,1)-EMA(G1,30);
GUP7:=EMA(GUP6,10);
GUP8:=(GUP6-GUP7)*20000+20000;
DRAWBAND((GUP6-GUP7)*20000+20000,RGB(255,1,0),20000,RGB(1,235,1));
DRAWTEXT(CROSS(GUP3,GUP4),39000,'↖买1'),COLORRED;
DRAWTEXT(CROSS(GUP6,GUP7),19000,'↖买2'),COLORRED;
DRAWTEXT(CROSS(GUP4,GUP3),41000,'↙卖'),COLORGREEN;
选股公式源码
{选股公式一:买1}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(1*G1+G4+G2+G3)/1;
GUP2:=EMA(EMA(EMA(GUP1,3),3),3);
GUP3:=(GUP2-REF(GUP2,1))/REF(GUP2,1)*100, ;
GUP4:=MA(GUP3,2);
GUP5:=(GUP3-GUP4)*30000+40000,COLORYELLOW,LINETHICK1;
GUP6:=EMA(G1,1)-EMA(G1,30);
GUP7:=EMA(GUP6,10);
GUP8:=(GUP6-GUP7)*20000+20000,COLORFF80FF,LINETHICK1;
买1:CROSS(GUP3,GUP4);
{选股公式二:买2}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(1*G1+G4+G2+G3)/1;
GUP2:=EMA(EMA(EMA(GUP1,3),3),3);
GUP3:=(GUP2-REF(GUP2,1))/REF(GUP2,1)*100, ;
GUP4:=MA(GUP3,2);
GUP5:=(GUP3-GUP4)*30000+40000,COLORYELLOW,LINETHICK1;
GUP6:=EMA(G1,1)-EMA(G1,30);
GUP7:=EMA(GUP6,10);
GUP8:=(GUP6-GUP7)*20000+20000,COLORFF80FF,LINETHICK1;
买2:CROSS(GUP6,GUP7); |