源码
{技术指标公式:慢速关注 缺省周期:日线}
{参数描述: N(3,100,18)M(3,100,8)M1(1,20,4)}
Var1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
Var2:=SMA(Var1,M1,1);
卖线: SMA(Var2,M1,1), , ;
Var3:=(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*100;
Var4:=SMA(Var3,M1,1);
Var5:=SMA(Var4,M1,1);
买入线: SMA(Var5,M1,1);
必卖线: SMA(卖线,M1,1);
高压线: 85, , ;
触底线: 9, , ;
DRAWTEXT(买入线>76.5 AND CROSS(卖线,必卖线),必卖线*1.15,'进!'), , ;
DRAWTEXT(买入线>56 AND 买入线<=76 AND CROSS(卖线,必卖线),卖线,'留意'), , ;
DRAWTEXT(买入线<45 AND 卖线>78 AND 必卖线>78 AND CROSS(必卖线,卖线),必卖线,'跑'),colorgreen , ;
DRAWTEXT(CROSS(买入线,78.5),买入线,'关注!'),colorred ,;
DRAWTEXT(CROSS(买入线,85),买入线,'重点关注!!!'),colorwhite