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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 观大盘副图指标(副图、源码、贴图)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 20:16:02
观大盘副图指标(副图、源码、贴图)介绍

观大盘副图指标(副图、源码、贴图)

手中股可以对比大盘的走势

{GDP 观大盘副图}
DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
沪:"999999$CLOSE",COLOR00DDDD,NODRAW;
±:"999999$CLOSE"-REF("999999$CLOSE",1),COLOR00DDDD,NODRAW;
%:("999999$CLOSE"-REF("999999$CLOSE",1))*100/REF("999999$CLOSE",1)
,COLOR00DDDD,NODRAW;
{量能饱和}
℃:(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26)*100,COLOR000FFF,NODRAW;
深:"399001$CLOSE",COLORDDDDDD,NODRAW;
±·:"399001$CLOSE"-REF("399001$CLOSE",1),COLORDDDDDD,NODRAW;
%·:("399001$CLOSE"-REF("399001$CLOSE",1))*100/REF("399001$CLOSE",1)
,COLORDDDDDD,NODRAW;
指数:=INDEXC,COLOR0009DF,NODRAW;
±点:=INDEXC-REF(INDEXC,1),COLOR0009DF,NODRAW;
上额:="999999$AMOUNT"/100000000,NODRAW;
深额:="399001$AMOUNT"/100000000,NODRAW;
总额:深额+上额,COLOR0009DF,COLOR9515D5,NODRAW;
额幅:(总额-REF(总额,1))*100/REF(总额,1),COLOR9515D5,NODRAW;
三百:="000300$CLOSE",COLORFFAA00,NODRAW;
±幅:=("000300$CLOSE"-REF("000300$CLOSE",1))*100/REF("000300$CLOSE",1)
,COLORFFAA00,NODRAW;
涨:=INDEXADV,COLORRED,NODRAW;
跌:=INDEXDEC,COLORGREEN,NODRAW;
涨跌差:INDEXADV-INDEXDEC,COLORDDDDDD,NODRAW;
{大盘均线};
③:MA(INDEXC,3),COLORFF9900;
⑤:MA(INDEXC,5),COLORYELLOW;
⑩:MA(INDEXC,10),COLORBROWN;
⑵:MA(INDEXC,20),COLORMAGENTA;
⑶:MA(INDEXC,30),COLORWHITE;
⑹:MA(INDEXC,60),COLORGREEN;
 


 




 



gd14241

回复

举报

QQ|

GMT+8, 2024-12-27 01:32

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