DRAWGBK(1,COLORRGB(100,100,150),COLORRGB(20,30,60),0);
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,ALIGN1;
DRAWTEXT(强弱线>50 AND 强弱线<=80 AND CROSS(走势线,必卖线),走势线,'机会'),colorwhite,ALIGN1;
DRAWTEXT(强弱线<60 AND 走势线>60 AND CROSS(必卖线,走势线),必卖线,'抛'),colorgreen,ALIGN1;
DRAWTEXT(CROSS(必卖线,走势线) AND 走势线<50,必卖线,'逃'),colorgreen,ALIGN1;
DRAWTEXT(CROSS(强弱线,70) AND 走势线<15,强弱线,'关注'),colorred,ALIGN1;
DRAWTEXT(CROSS(强弱线,75) AND 走势线>5,强弱线,'分上下'),colorwhite,ALIGN1;
DRAWTEXT(CROSS(强弱线,85) AND 走势线<10,强弱线,'要涨'),colorwhite,ALIGN1;
DRAWTEXT(走势线<11 AND 走势线>REF(走势线,1),走势线,'盯'),colorwhite ,ALIGN1;
PARTLINE(走势线<11 AND 走势线<=11,走势线),LINETHICK4,COLOR64C814;
stickline(强弱线>=75 AND 走势线<REF(走势线,1),2,-2,7,1);
202108211231.png
|