箭头指示附图(通达信 飞狐),多空趋势清晰,简单明了(源码 副图 贴图)介绍
箭头指示附图(通达信 飞狐),多空趋势清晰,简单明了(源码 副图 贴图)
发个自编的箭头指示附图,很养眼,多空趋势清晰,简单明了。
做了两个版本,至于买点,我个人设定在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}
gd15181