股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

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


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 20:04:20
箭头指示附图(通达信 飞狐),多空趋势清晰,简单明了(源码 副图 贴图)介绍

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

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

做了两个版本,至于买点,我个人设定在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

回复

举报

QQ|

GMT+8, 2024-12-25 13:27

快速回复 返回顶部 返回列表