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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信江下云郎阳光主图持股持币源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-9-6 19:14:29
主趋势线:=EMA(EMA(C,10),10),colorred,LINETHICK1;
B:=主趋势线>REF(主趋势线,1);
PARTLINE(主趋势线,B-1,colorgreen,主趋势线,colorred),LINETHICK1;
操盘线:=EMA(EMA(C,5),5),coloryellow,LINETHICK1;
Y:=操盘线>REF(操盘线,1);
PARTLINE(操盘线,y-1,colorwhite,操盘线,coloryellow),LINETHICK1;
买卖线:EMA(SLOPE(C,21)*20+C,42),POINTDOT,colorff00ff,linethick3;
中速线:EMA(CLOSE,60),colorblue,LINETHICK1;
EMA4:EMA(CLOSE,50),colorligreen;
EMA5:EMA(CLOSE,55),colorcyan;
DRAWICON(CROSS(主趋势线,操盘线),H,2);
DRAWICON(CROSS(操盘线,主趋势线),L,1);
隧道1:EMA(CLOSE,144),colorwhite,LINETHICK1;
隧道2:EMA(CLOSE,169),coloryellow,LINETHICK1;
长期线:EMA(CLOSE,455),colorff00ff,LINETHICK1;
XX:=隧道1>隧道2;
YY:=隧道1<隧道2;
STICKLINE(xx,隧道1,隧道2,8,0),RGB(128,0,0);
STICKLINE(yy,隧道1,隧道2,8,0),RGB(0,128,0);
AA:=EMA(C,5) > EMA(C,20);
BB:=EMA(C,5) < EMA(C,20);
CC:= EMA(C,5) > EMA(C,10);
CC1:=EMA(C,5) < EMA(C,10);
DD:=CLOSE<OPEN;
STICKLINE(AA,H,L,0,0),colorlired;
STICKLINE(AA,O,C,9,1),colorlired;
STICKLINE(AA AND DD,O,C,9,0),colorlired;
STICKLINE(BB,H,L,0,0),colorlicyan;
STICKLINE(BB,O,C,9,1),colorlicyan;
STICKLINE(BB AND DD,O,C,9,0),colorlicyan;
STICKLINE(BB AND CC,H,L,0,1),coloryellow;
STICKLINE(BB AND CC,O,C,9,1),coloryellow;
STICKLINE(BB AND CC AND DD,O,C,9,0),coloryellow;
STICKLINE(AA AND CC1,H,L,0,0),colorwhite;
STICKLINE(AA AND CC1,O,C,9,1),colorwhite;
STICKLINE(AA AND CC1 AND DD,O,C,9,0),colorwhite;
AAA:=CONST(HHV(C,90));
//DRAWTEXT(CROSS(ZIG(3,5),REF(ZIG(3,5),1)),LOW,'▲') ,LINETHICK1,colorwhite;
//DRAWTEXT(CROSS(REF(ZIG(3,5),1),ZIG(3,5)),HIGH*1.01,'▼'),colorwhite;
//DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW,'▲') ,LINETHICK1,colorred;
//DRAWTEXT(CROSS(REF(ZIG(3,8),1),ZIG(3,8)),HIGH*1.01,'▼'),colorred;
//DRAWTEXT(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW,'▲') ,LINETHICK1,colorgreen;
//DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.01,'▼'),colorgreen;
MA111:=ZIG(3,10);
MA222:=REF(ZIG(3,10),1);
MA333:=ZIG(3,8);
MA444:=REF(ZIG(3,8),1);
MA555:=ZIG(3,5);
MA666:=REF(ZIG(3,5),1);
BU1:=CROSS(HIGH,SAR(3,1,20));
SEL1:=CROSS(SAR(3,1,20),LOW);
//DRAWTEXT(BU1,0.997*LOW,'B'),coloryellow;
//DRAWTEXT(SEL1,1.003*HIGH,'S'),colorgreen;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
//DRAWTEXT(bu,0.996*LOW,'买'),ALIGN1,VALIGN0,colorwhite,linethick1;
//DRAWTEXT(bu,0.994*LOW,' ̄'),ALIGN1,VALIGN0,Color208FFF,LINETHICK1;
//DRAWTEXT(sel,1.005*HIGH,' ̄'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK1;
//DRAWTEXT(sel,1.004*HIGH,'卖'),ALIGN1,VALIGN2,colorgreen,linethick1;
//短期底部:LLV(HIGH,60),LINETHICK1,COLORFFCC00;
//短期顶部:HHV(LOW,60),LINETHICK1,coloryellow;










回复

举报

QQ|

GMT+8, 2024-11-27 22:45

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