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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 简单的主图(源码 图)


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

简单的主图(源码 图)

M60:=MA(CLOSE,60);
M120:=MA(CLOSE,120);
AAA:=CONST(HHV(H,120))+0.2;
BBB:=CONST(LLV(L,120))-0.2;
H1:STICKLINE(C>0,M60,AAA,5,0),COLOR300097;
H3:STICKLINE(C>0,M60,BBB,5,0),COLOR0E6E00;
DRAWBAND(M60,RGB(155,50,150),M120,RGB(50,150,150));
DRAWKLINE(H,O,L,C);
MA5:MA(C,5),COLORWHITE;
MA10:MA(CLOSE,10),COLOR9370DB;
MA20:MA(C,20),COLORYELLOW,LINETHICK1;
跌:IF(MA(CLOSE,20)<=REF(MA(CLOSE,20),1),MA(CLOSE,20),DRAWNULL),COLORFF9933,LINETHICK1;
MA60:MA(CLOSE,60),COLORGREEN,LINETHICK2;
下跌:IF(MA(CLOSE,60)<=REF(MA(CLOSE,60),1),MA(CLOSE,60),DRAWNULL),COLORBLUE,LINETHICK2;
MA120:MA(CLOSE,120),COLORBROWN,LINETHICK1;
V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(V2>=1,O,C,2,0),COLORYELLOW;
MA13:=MA(CLOSE,13);
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
A1:=MIN(O,C);
B1:=ABS(O-C);
T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);
STICKLINE(T1,A1,A1+B1/4,2,0),COLOR007575;
STICKLINE(T1,A1+B1/4,A1+B1/2,2,0),COLORFF0000;
STICKLINE(T1,A1+B1/2,A1+B1*3/4,2,0),COLOR007575;
STICKLINE(T1,A1+B1*3/4,A1+B1,2,0),COLORFF0000;
SY:=STICKLINE(REFDATE(C,DATE),REFDATE(C,DATE),REFDATE(C,DATE),6,1),COLORWHITE,POINTDOT;{现价};




 



gd14743

回复

举报

QQ|

GMT+8, 2024-12-26 12:18

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