副图公式源码支持: 手机/电脑
STICKLINE(ISLASTBAR AND C>=O,C,O,8,1),COLORRED;
STICKLINE(ISLASTBAR AND C>=O,H,C,0,1),COLORRED;
STICKLINE(ISLASTBAR AND C>=O,O,L,0,1),COLORRED;
STICKLINE(ISLASTBAR AND C<O,C,O,8,0),COLORCYAN;
STICKLINE(ISLASTBAR AND C<O,H,L,0,0),COLORCYAN;
DRAWKLINE(H,O,L,C);
RSV:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
K:=SMA(RSV,3,1),LINETHICK1;
D:=SMA(K,3,1),LINETHICK1;
J:=3*K-2*D,COLORFF00FF,LINETHICK1;
M5:MA(CLOSE,5),COLORWHITE;
M10:MA(CLOSE,10),COLORYELLOW;
M20:MA(CLOSE,20),COLORMAGENTA,LINETHICK2;
M30:MA(CLOSE,30),COLORGREEN;
M60:MA(CLOSE,60),COLORLIBLUE;
M120:MA(CLOSE,120),COLORRED,LINETHICK2;
M250:MA(CLOSE,250),COLORBROWN;
M500:MA(CLOSE,500),COLORWHITE,LINETHICK2;
上攻:=M5>M10 AND M10>M20 AND J>REF(J,1) AND C/REF(C,1)>1.095;
强上攻:=M5>M10 AND M10>M20 AND M20>M60 AND J>REF(J,1) AND C/REF(C,1)>1.095;
DRAWICON(强上攻,M60,38);
DRAWICON(上攻,M20,1);
选股公式源码
{选股公式一:红箭头图标}
RSV:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
K:=SMA(RSV,3,1),LINETHICK1;
D:=SMA(K,3,1),LINETHICK1;
J:=3*K-2*D,COLORFF00FF,LINETHICK1;
M5:=MA(CLOSE,5),COLORWHITE;
M10:=MA(CLOSE,10),COLORYELLOW;
M20:=MA(CLOSE,20),COLORMAGENTA,LINETHICK2;
M30:=MA(CLOSE,30),COLORGREEN;
上攻:=M5>M10 AND M10>M20 AND J>REF(J,1) AND C/REF(C,1)>1.095;
红箭头图标:上攻;
{选股公式二:红三角图标}
RSV:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
K:=SMA(RSV,3,1),LINETHICK1;
D:=SMA(K,3,1),LINETHICK1;
J:=3*K-2*D,COLORFF00FF,LINETHICK1;
M5:=MA(CLOSE,5),COLORWHITE;
M10:=MA(CLOSE,10),COLORYELLOW;
M20:=MA(CLOSE,20),COLORMAGENTA,LINETHICK2;
M30:=MA(CLOSE,30),COLORGREEN;
M60:=MA(CLOSE,60),COLORLIBLUE;
强上攻:=M5>M10 AND M10>M20 AND M20>M60 AND J>REF(J,1) AND C/REF(C,1)>1.095;
红三角图标:强上攻; |