副图公式 源码支持手机/电脑
GUP1:=EMA((C+O)/2,8);
GUP2:=EMA(H,28);
GUP3:=EMA(L,57);
GUP4:=EMA(C*0.8,60);
GUP5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUP6:=MA(GUP5,3);
GUP7:=(C+O)/2;
GUP8:=(C-O)*GUP7/2;
GUP9:=EMA(GUP8,8);
DRAWTEXT(CROSS(C,GUP4) AND GUP9>REF(GUP9,1),L,'分批买1'),COLORMAGENTA;
DRAWTEXT(CROSS(GUP1,GUP2) AND GUP9>REF(GUP9,1),L,'分批买2'),COLORRED;
DRAWTEXT(CROSS(GUP2,GUP3) AND GUP9>REF(GUP9,1) AND GUP1>GUP2,L,'分批买3'),COLORYELLOW;
选股公式源码
{选股公式一:分批买1}
GUP4:=EMA(C*0.8,60);
GUP5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUP6:=MA(GUP5,3);
GUP7:=(C+O)/2;
GUP8:=(C-O)*GUP7/2;
GUP9:=EMA(GUP8,8);
分批买1:CROSS(C,GUP4) AND GUP9>REF(GUP9,1),COLORMAGENTA;
{选股公式二:分批买2}
GUP1:=EMA((C+O)/2,8);
GUP2:=EMA(H,28);
GUP7:=(C+O)/2;
GUP8:=(C-O)*GUP7/2;
GUP9:=EMA(GUP8,8);
分批买2:CROSS(GUP1,GUP2) AND GUP9>REF(GUP9,1),COLORRED;
{选股公式三:分批买3}
GUP1:=EMA((C+O)/2,8);
GUP2:=EMA(H,28);
GUP3:=EMA(L,57);
GUP4:=EMA(C*0.8,60);
GUP5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUP6:=MA(GUP5,3);
GUP7:=(C+O)/2;
GUP8:=(C-O)*GUP7/2;
GUP9:=EMA(GUP8,8);
分批买3:CROSS(GUP2,GUP3) AND GUP9>REF(GUP9,1) AND GUP1>GUP2,COLORYELLOW;
|