飞狐笑脸趋势副图指标 EA

飞狐笑脸趋势副图指标

rn

源码

rn

v1:ma(c,5),color00ffff; 

rn

DIFF := EMA(CLOSE,12) – EMA(CLOSE,26); 

rn

DEA := EMA(DIFF,27); 

rn

MACD := 2*(DIFF-DEA); 

rn

r1:=cross(diff,dea); 

rn

r2:=macd>ref(macd,1); 

rn

r3:=ma(c,5)>=ma(c,10); 

rn

r4:=ma(v,5)>=ma(v,34); 

rn

r5:=v

rn

r6:=BARSLAST(r1)<3; 

rn

r7:=ma(c,10)>ma(c,30); 

rn

r8:=ma(c,30)>ref(ma(c,30),1); 

rn

买入:STICKLINE(r1 and r2 and r3 and r4 and r5 and 

rn

     r6,v1,v1+0.5,8,0),colorf0f000; 

rn

drawtext(r1 and r2 and r3 and r4 and r5 and 

rn

     r6,v1+1.2,’★’),colorf00ff0; 

rn

RSV:= (HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100; 

rn

LWR1:=SMA(RSV,5,1); 

rn

LWR2:=SMA(LWR1,3,1); 

rn

DRAWICON(cross(lwr1,lwr2),v1,1);

rn

飞狐笑脸趋势副图指标

© 版权声明
THE END
喜欢就支持一下吧
点赞68 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容