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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 三角山人季均线(自编均线系统 主图 源码)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-9 14:04:06
三角山人季均线(自编均线系统 主图 源码)介绍

三角山人季均线(自编均线系统 主图 源码)

MA5:MA(CLOSE,5),COLORRED,LINETHICK1;
MA20:MA(CLOSE,20),LINETHICK2;
MA30:MA(CLOSE,30),LINETHICK1,COLORMAGENTA;
MA40:MA(CLOSE,40),LINETHICK2;
MA60:MA(CLOSE,60),LINETHICK2;
DRAWTEXT(CROSS(MA20,MA30),L,'牛相关注20'),COLORMAGENTA;

DRAWTEXT(CROSS(MA20,MA60),MA20,'★'),LINETHICK2, COLORYELLOW;
DRAWTEXT(CROSS(MA40,MA60),MA40,'★'),LINETHICK2, COLORYELLOW;
DRAWTEXT(CROSS(MA20,MA40),MA20,'★'),LINETHICK2, COLORYELLOW;

DRAWICON(CROSS(MA20,MA40),LOW*1.01,1);
DRAWICON(CROSS(MA40,MA60),LOW*1.01,1);

A1:=CROSS(C,MA(C,60)) AND V/REF(V,1)>1.5;
A2:=COUNT(A1,60)=1;
A3:=IF(C/REF(C,1)=1.1,0,V>REF(MA(V,5),1)*1.5);
A4:=MAX(MAX(MA(C,20),MA(C,40)),MA(C,60));
A5:=MIN(MIN(MA(C,20),MA(C,40)),MA(C,60));
A6:=A4/A5<1.1;
A7:=REF(HHV(H,20)/LLV(L,20),1)<1.25;
芙蓉出水:=A1 AND A2 AND A3 AND A6 AND A7,COLOR00FF00;
DRAWTEXT(芙蓉出水,H*1.05,'★'),COLOR00FF00;
DRAWTEXT(芙蓉出水,H*1.02,'出水芙蓉'),COLOR00FF00;
STICKLINE(芙蓉出水,H,L,0.5,0),COLOR00FF00;
STICKLINE(芙蓉出水,O,C,5,0),COLOR00FF00,LINETHICK2;


VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K34:=SMA(VAR34,3,1) ,LINETHICK3,COLORYELLOW;
D34:=SMA(K34,3,1),LINETHICK3 ,COLORWHITE;
J34:=3*K34-2*D34;
VAR89:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
K89:=SMA(VAR89,3,1) ,LINETHICK2,COLORRED;
D89:=SMA(K89,3,1),LINETHICK2, COLORLIGREEN;
J89:=3*K89-2*D89;
VAR275:=(CLOSE-LLV(LOW,275))/(HHV(HIGH,275)-LLV(LOW,275))*100;
K275:=SMA(VAR275,3,1),LINETHICK1, COLORYELLOW;
D275:=SMA(K275,3,1),LINETHICK1,COLORWHITE;
J275:=3*K275-2*D275;
AA1:=CROSS(K34,D34);
AA2:=CROSS(K89,D89);
AA3:=CROSS(K275,D275);
DIFF:=EMA(CLOSE,7) - EMA(CLOSE,19);
DEA:=EMA(DIFF,9);
AA4:=CROSS(DIFF,DEA);
KDJ共振选股:=AA1 AND EXIST(AA2,5) AND EXIST(AA3,5) AND AA4;
DRAWTEXT(KDJ共振选股,L*0.98,'*KDJ与'),COLORRED;
DRAWTEXT(KDJ共振选股,L*0.96,'MACD共振'),COLORRED;




 



gd19056

回复

举报

QQ|

GMT+8, 2024-10-9 09:11

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