副图公式源码支持 手机/电脑
GUP1:=EMA(SLOPE(CLOSE,18)*20+CLOSE,55)*1;
GUP2:=EMA(CLOSE,3);
GUP3:=GUP2-GUP1;
GUP4:=OPEN>CLOSE AND GUP3>=0;
STICKLINE(GUP3>=0,OPEN,CLOSE,7,1),colorred;
STICKLINE(GUP3>=0,OPEN,LOW,1,0),colorred;
STICKLINE(GUP3>=0,CLOSE,HIGH,1,0),colorred;
STICKLINE(GUP4,OPEN,CLOSE,7,0),colorred;
STICKLINE(GUP4,HIGH,LOW,1,0),colorred;
买入:=CROSS(GUP3,0);
DRAWICON(买入,L-0.5,25);
GUP5:=OPEN<CLOSE AND GUP3<0;
STICKLINE(GUP3<0,OPEN,CLOSE,7,0),colorgreen;
STICKLINE(GUP3<0,HIGH,LOW,1,0),colorgreen;
STICKLINE(GUP5,OPEN,CLOSE,7,1),colorgreen;
STICKLINE(GUP5,HIGH,CLOSE,1,0),colorgreen;
STICKLINE(GUP5,LOW,OPEN,1,0),colorgreen;
卖出:=CROSS(0,GUP3);
DRAWICON(卖出,H+0.5,27);
GUA1:=(H+L+O+2*C)/5;
GUA2:=EMA(GUA1,39);
GUA3:=EMA(GUA1,99);
生命线:GUA2;
选股公式源码
{选股公式:红钻图标}
GUP1:=EMA(SLOPE(CLOSE,18)*20+CLOSE,55)*1;
GUP2:=EMA(CLOSE,3);
GUP3:=GUP2-GUP1;
GUP4:=OPEN>CLOSE AND GUP3>=0;
买入:=CROSS(GUP3,0);
红钻图标:买入;
{卖出公式:绿钻图标}
GUP1:=EMA(SLOPE(CLOSE,18)*20+CLOSE,55)*1;
GUP2:=EMA(CLOSE,3);
GUP3:=GUP2-GUP1;
GUP4:=OPEN>CLOSE AND GUP3>=0;
卖出:=CROSS(0,GUP3);
绿钻图标:卖出;
|