副图公式源码支持 手机/电脑
N:=40;
GUP1:=(2*C+(H-L)/2+L)/3;
GUP2:=SUM(GUP1-REF(GUP1,1),2)/2;
GUP3:=(GUP1+GUP2);
GUP4:=(GUP3+GUP1)/2;
GUP5:=EMA(((SLOPE(GUP4,N)*40)+GUP4),N*3);
GUP6:=EMA(((SLOPE(GUP1,N)*40)+GUP1),N*3);
GUP7:=(GUP5+GUP6)/2;
心理:COUNT(C>GUP7,N)/N*100,COLORWHITE,LINETHICK1;
风险:IF(心理>94,心理+0,120),COLORGREEN,LINETHICK2;
季:IF(心理<5,心理-20,0),COLORBLUE,LINETHICK4;
DRAWTEXT(CROSS(-季,-1),-15,'季'),COLORMAGENTA,LINETHICK1;
买:IF(CROSS(心理,6),35,0),COLORMAGENTA,LINETHICK3;
选股公式源码
{选股公式:买}
N:=40;
GUP1:=(2*C+(H-L)/2+L)/3;
GUP2:=SUM(GUP1-REF(GUP1,1),2)/2;
GUP3:=(GUP1+GUP2);
GUP4:=(GUP3+GUP1)/2;
GUP5:=EMA(((SLOPE(GUP4,N)*40)+GUP4),N*3);
GUP6:=EMA(((SLOPE(GUP1,N)*40)+GUP1),N*3);
GUP7:=(GUP5+GUP6)/2;
心理:=COUNT(C>GUP7,N)/N*100,COLORWHITE,LINETHICK1;
买:CROSS(心理,6),COLORMAGENTA,LINETHICK3;
|