VAR1:=((C+2*L)/3-LLV(L,8))/(HHV(H,8)-LLV(L,8))*100;
VAR2:=SMA(VAR1,2,1);
走势线:SMA(VAR2,2,1);
强弱线: EMA(SMA(SMA((HHV((3*H+C)/4,3)-(2*C+3*L)/5)/(HHV((2*H+C)/3,3)-LLV(L,3))*100,3,1),3,1),3);
必卖线:EMA(走势线,2);
顶部背离对照线:90,COLORRED;
底部背离对照线:10,COLOR8B8B08;
DRAWTEXT(强弱线>76.5 AND CROSS(走势线,必卖线),必卖线*1.15,'进'),COLORWHITE;
DRAWTEXTABS(5,5,'股旁网 www.gupang.com'),linethick1,COLOR00EEff;
DRAWTEXT(强弱线>50 AND 强弱线<=80 AND CROSS(走势线,必卖线),走势线,'机会'),COLORWHITE;
DRAWTEXT(强弱线<60 AND 走势线>60 AND CROSS(必卖线,走势线),必卖线,'抛'),COLORGREEN;
DRAWTEXT(CROSS(必卖线,走势线) AND 走势线<50,必卖线,'逃'),COLORGREEN;
DRAWTEXT(CROSS(强弱线,70) AND 走势线<15,强弱线,'关注'),COLORRED;
DRAWTEXT(CROSS(强弱线,75) AND 走势线>5,强弱线,'分上下'),COLORWHITE;
DRAWTEXT(CROSS(强弱线,85) AND 走势线<10,强弱线,'要涨'),COLORWHITE;
DRAWTEXT(走势线<11 AND 走势线>REF(走势线,1),走势线,'盯'),COLORWHITE;
STICKLINE(强弱线>=75 AND 走势线<REF(走势线,1),2,-2,7,1);
202108211240.jpg
|