您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:箭头指示附图(通达信 飞狐),多空趋势清晰,简单明了(源码 副图 贴图)

箭头指示附图(通达信 飞狐),多空趋势清晰,简单明了(源码 副图 贴图)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-08-21 09:06:00
公式简介:

发个自编的箭头指示附图,很养眼,多空趋势清晰,简单明了。

做了两个版本,至于买点,我个人设定在5,10日线向上,10日线向下卖出,自己可调。


 



源码如下

通达信源码:

MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30) ;
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);

MA5A:DRAWICON(MA(C,5)>REF(MA(C,5),1),MA(C,5),25);
MA5B:DRAWICON(MA(C,5)<REF(MA(C,5),1),MA(C,5),24);
MA10A:DRAWICON(MA(C,10)>REF(MA(C,10),1),MA(C,10),25);
MA10B:DRAWICON(MA(C,10)<REF(MA(C,10),1),MA(C,10),24);
MA20A:DRAWICON(MA(C,20)>REF(MA(C,20),1),MA(C,20),25);
MA20B:DRAWICON(MA(C,20)<REF(MA(C,20),1),MA(C,20),24);
MA30A:DRAWICON(MA(C,30)>REF(MA(C,30),1),MA(C,30),25);
MA30B:DRAWICON(MA(C,30)<REF(MA(C,30),1),MA(C,30),24);
MA60A:DRAWICON(MA(C,60)>REF(MA(C,60),1),MA(C,60),25);
MA60B:DRAWICON(MA(C,60)<REF(MA(C,60),1),MA(C,60),24);
MA120A:DRAWICON(MA(C,120)>REF(MA(C,120),1),MA(C,120),25);
MA120B:DRAWICON(MA(C,120)<REF(MA(C,120),1),MA(C,120),24);
AA5:MA(C,5)>REF(MA(C,5),1) ,NODRAW;
AA10:MA(C,10)>REF(MA(C,10),1) ,NODRAW;
AA20:MA(C,20)>REF(MA(C,20),1),NODRAW;
AA30:MA(C,30)>REF(MA(C,30),1) ,NODRAW;
AA60:MA(C,60)>REF(MA(C,60),1),NODRAW;
AA120:MA(C,120)>REF(MA(C,120),1),NODRAW;
XG:MA(C,5)>REF(MA(C,5),1)AND MA(C,10)>REF(MA(C,10),1),NODRAW;

飞狐源码:

MA5:MA(CLOSE,5) ;
MA10:MA(CLOSE,10) ;
MA20:MA(CLOSE,20) ;
MA30:MA(CLOSE,30) ;
MA60:MA(CLOSE,60) ;
MA120:MA(CLOSE,120);

MA5A:=DRAWICON(MA(C,5)>REF(MA(C,5),1),MA(C,5),10);
MA5B:=DRAWICON(MA(C,5)<REF(MA(C,5),1),MA(C,5),11);

MA10A:=DRAWICON(MA(C,10)>REF(MA(C,10),1),MA(C,10),10);
MA10B:=DRAWICON(MA(C,10)<REF(MA(C,10),1),MA(C,10),11);
MA20A:=DRAWICON(MA(C,20)>REF(MA(C,20),1),MA(C,20),10);
MA20B:=DRAWICON(MA(C,20)<REF(MA(C,20),1),MA(C,20),11);
MA30A:=DRAWICON(MA(C,30)>REF(MA(C,30),1),MA(C,30),10);
MA30B:=DRAWICON(MA(C,30)<REF(MA(C,30),1),MA(C,30),11);
MA60A:=DRAWICON(MA(C,60)>REF(MA(C,60),1),MA(C,60),10);
MA60B:=DRAWICON(MA(C,60)<REF(MA(C,60),1),MA(C,60),11);
MA120A:=DRAWICON(MA(C,120)>REF(MA(C,120),1),MA(C,120),10);
MA120B:=DRAWICON(MA(C,120)<REF(MA(C,120),1),MA(C,120),11);

AA5:MA(C,5)>REF(MA(C,5),1) ,LINETHICK0;
AA10:MA(C,10)>REF(MA(C,10),1) ,LINETHICK0;
AA20:MA(C,20)>REF(MA(C,20),1) ,LINETHICK0;
AA30:MA(C,30)>REF(MA(C,30),1) ,LINETHICK0;
AA60:MA(C,60)>REF(MA(C,60),1) ,LINETHICK0;
AA120:MA(C,120)>REF(MA(C,120),1) ,LINETHICK0;
XG:MA(C,5)>REF(MA(C,5),1)AND MA(C,10)>REF(MA(C,10),1),LINETHICK0;
{原文链接:http://www.55188.com/thread-4346502-1-1.html}
 


[url=http://www.goodgupiao.com/gupiaogongshi/15181.html][B]箭头指示附图(通达信 飞狐),多空趋势清晰,简单明了(源码 副图 贴图)[/B][/url]