公式网-网站导航


网站搜索:  

公式指标网 发表于2016/4/27 6:02:08

飞狐笑脸趋势副图指标

飞狐笑脸趋势副图指标

源码

v1:ma(c,5),color00ffff; 
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26); 
DEA := EMA(DIFF,27); 
MACD := 2*(DIFF-DEA); 
r1:=cross(diff,dea); 
r2:=macd>ref(macd,1); 
r3:=ma(c,5)>=ma(c,10); 
r4:=ma(v,5)>=ma(v,34); 
r5:=v
r6:=BARSLAST(r1)<3; 
r7:=ma(c,10)>ma(c,30); 
r8:=ma(c,30)>ref(ma(c,30),1); 
买入:STICKLINE(r1 and r2 and r3 and r4 and r5 and 
     r6,v1,v1+0.5,8,0),colorf0f000; 
drawtext(r1 and r2 and r3 and r4 and r5 and 
     r6,v1+1.2,'★'),colorf00ff0; 
RSV:= (HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100; 
LWR1:=SMA(RSV,5,1); 
LWR2:=SMA(LWR1,3,1); 
DRAWICON(cross(lwr1,lwr2),v1,1);

飞狐笑脸趋势副图指标



网站搜索:  



Copyright © 2009-2010 gszb.com ™,All Rights Reserved. 
公式网-www.gszx.com.cn-股票指标公式网