副图公式源码支持 手机/电脑
80,CIRCLEDOT;
20,CIRCLEDOT;
8,CIRCLEDOT;
0;100;
GUP1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;
GUA: (EMA(GUP1,3))*2;
GUB:MA(GUA,3);
DRAWBAND(GUA,RGB(150,0,150),GUB,RGB(150,150,150));
STICKLINE(GUA>=GUB,53,47,4,0),COLOREE82EE;
STICKLINE(GUA<GUB,53,47,4,1),COLORB3EE3A;
STICKLINE(CROSS(GUA,20),58,42,2,0),COLORB23AEE;
GUP2:8,COLORGREEN,LINETHICK0;
IF(CROSS(GUA,GUP2),40,0),STICK,LINETHICK2;
DRAWICON(CROSS(GUA,GUP2),40,9);
DRAWICON(CROSS(80,GUA),80,14);
IF(GUA<=8,5,0),STICK,COLORFF00FF,LINETHICK5;
STICKLINE(CROSS(80,GUA),80,70,0.2,0),COLOR00FF00;
DRAWICON(CROSS(80,GUA),70,2);
DRAWTEXT(CROSS(80,GUA),68,'卖');
DRAWTEXT(CROSS(GUA,GUP2),49,'买');
DRAWICON(CROSS(GUA,20),30,1);
STICKLINE(CROSS(GUA,20),20,30,0.2,0),COLORRED;
DRAWICON(CROSS(GUA,20),20,13);
DRAWICON(CROSS(GUA,GUP2),0,13);
DRAWTEXT(CROSS(GUA,20),62,'加仓');
选股公式源码
{选股公式一:买}
GUP1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;
GUA:=(EMA(GUP1,3))*2;
GUB:=MA(GUA,3);
GUP2:=8,COLORGREEN,LINETHICK0;
{DRAWBAND(GUA,RGB(150,0,150),GUB,RGB(150,150,150));
STICKLINE(GUA>=GUB,53,47,4,0),COLOREE82EE;
STICKLINE(GUA<GUB,53,47,4,1),COLORB3EE3A;
STICKLINE(CROSS(GUA,20),58,42,2,0),COLORB23AEE;
IF(CROSS(GUA,GUP2),40,0),STICK,LINETHICK2;
IF(GUA<=8,5,0),STICK,COLORFF00FF,LINETHICK5;
STICKLINE(CROSS(80,GUA),80,70,0.2,0),COLOR00FF00;}
买:CROSS(GUA,GUP2);
{选股公式二:加仓}
GUP1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;
GUA:=(EMA(GUP1,3))*2;
GUB:=MA(GUA,3);
GUP2:=8,COLORGREEN,LINETHICK0;
{DRAWBAND(GUA,RGB(150,0,150),GUB,RGB(150,150,150));
STICKLINE(GUA>=GUB,53,47,4,0),COLOREE82EE;
STICKLINE(GUA<GUB,53,47,4,1),COLORB3EE3A;
STICKLINE(CROSS(GUA,20),58,42,2,0),COLORB23AEE;}
加仓:CROSS(GUA,20); |