副图公式源码支持 手机/电脑
N:=19;N1:=30;N2:=30;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
庄家:MA(WINNER(CLOSE*1)*100,5),COLORMAGENTA,LINETHICK1;
STICKLINE(庄家,0,庄家,1,0),COLORMAGENTA;
GUA:=EMA(J,6);
压力线:EMA(((HHV(GUA,N2)+LLV(GUA,N2))/2)/1,N1)+30,CIRCLEDOT,COLORRED;
短期:EMA(J,6),COLORYELLOW;
浮筹:MA(短期,28)*1,LINETHICK1,POINTDOT,COLORGREEN;
空头:MA(100*(HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35)),3),COLORBLUE;
STICKLINE(CROSS(短期,浮筹) AND 短期<36,浮筹+8,浮筹-8,2,0),COLORRED;
DRAWTEXT(CROSS(浮筹,短期) AND 浮筹>70,短期,'上涨到顶'),COLORGREEN;
DRAWTEXT(CROSS(浮筹,空头),浮筹,'再拉一次');
选股公式源码
{选股公式一:红柱}
N:=19;N1:=30;N2:=30;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
GUA:=EMA(J,6);
短期:=EMA(J,6),COLORYELLOW;
浮筹:=MA(短期,28)*1,LINETHICK1,COLORGREEN;
红柱:=CROSS(短期,浮筹) AND 短期<36;
空头:=MA(100*(HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35)),3),COLORBLUE;
STICKLINE(CROSS(短期,浮筹) AND 短期<36,浮筹+8,浮筹-8,2,0),COLORRED;
{选股公式二:再拉一次}
N:=19;N1:=30;N2:=30;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
GUA:=EMA(J,6);
短期:=EMA(J,6),COLORYELLOW;
浮筹:=MA(短期,28)*1,LINETHICK1,COLORGREEN;
红柱:=CROSS(短期,浮筹) AND 短期<36;
空头:=MA(100*(HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35)),3),COLORBLUE;
再拉一次:CROSS(浮筹,空头); |