辉煌之星 指标 源码

 

INPUT: N1(5,0,100),N2(10,0,100),N3(3,0,100);  
dayDDx:="ddx.ddx";  
短期:MA(dayDDx,N1),coloryellow;  
中期:MA(dayDDx,N2),coloryellow;  
五日涨幅:=(c-REF(c,N1))/REF(c,N1)*100;  
买点:CROSS(短期,中期) AND 短期>REF(短期,1) AND count(dayDDx>0,10)>1 AND REF(五日涨幅,1)< 5 AND REF(LAST(中期 > 短期),1) >N3,linethick0;  
FILLRGN(短期,中期,短期>中期,RGB(255,0,0),短期<中期,RGB(0,0,255));  
DRAWICON(买点,中期,6),ALIGN1;  
0,DOTLINE,coloryellow;

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s