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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 一个吉祥的指标 (附图,原码)


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

一个吉祥的指标 (附图,原码)

{财神与状元}
A1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A2:=SMA(A1,3,1);
A3:=SMA(A2,3,1);
A4:=3*A2-2*A3;
X:=LLV(A4,2)=LLV(A4,8);
状元郎:=CROSS(A4,REF(A4+0.01,1)) AND X AND A4<20;
STICKLINE(状元郎,58,55,14,0),COLORYELLOW;
STICKLINE(状元郎,57,56,12,0),COLORCYAN;
STICKLINE(状元郎,45,48,4,0),COLORWHITE;
STICKLINE(状元郎,53,50,9,0),COLOR0088DD;
STICKLINE(状元郎,55,48,6,0),COLORLIRED;
STICKLINE(状元郎,53,53,5,0),COLOR000000;
STICKLINE(状元郎,52,52,3,0),COLOR000000;
STICKLINE(状元郎,53,50,2,0),COLOR0077EE;
STICKLINE(状元郎,53,50,1,0),COLOR0077EE;
STICKLINE(状元郎,60,55,7,0),COLORRED;
STICKLINE(状元郎,60,63,4,0),COLORRED;
状元献宝:IF(状元郎,58,DRAWNULL),LINETHICK4,POINTDOT,COLORGREEN;
STICKLINE(状元郎,20,17,16,0),COLORWHITE;
STICKLINE(状元郎,22,20,12,0),COLORYELLOW;
STICKLINE(状元郎,22,17,5,0),COLORBLACK;
STICKLINE(状元郎,33,22,13,0),COLORRED;
STICKLINE(状元郎,46,42,18,0),COLORMAGENTA;
STICKLINE(状元郎,46,31,16,0),COLORRED;
STICKLINE(状元郎,41,31,12,0),COLORBROWN;
STICKLINE(状元郎,41,31,11,0),COLORRED;
STICKLINE(状元郎,32,31,12,0),COLORYELLOW;
STICKLINE(状元郎,35,33,8,0),COLOR00AAFF;
STICKLINE(状元郎,49,49,1,0),COLOR0000EE};
DRAWICON(状元郎,38,9);
DRAWICON(状元郎,26,29);

MA13:=MA(C,13),COLORWHITE;
MA34:=MA(C,34),COLORYELLOW;
MA55:=MA(C,55),COLORRED;
YY1:=O<MA13 AND C>MA13;
YY2:=O<MA34 AND C>MA34;
YY3:=O<MA55 AND C>MA55;
YY4:=C/O>=1.04;
YY5:=V>HHV(H,10);
YY6:=MA13>=REF(MA13,1);
天天涨停:=YY1 AND YY2 AND YY3 AND YY4 AND YY5 AND YY6;
DRAWTEXT(天天涨停,45,' ★财神爷到'),COLORRED;
DRAWTEXT(天天涨停,40,' 买点出现'),COLORRED;
DRAWTEXT(天天涨停,35,' 快进快出'),COLORRED;
STICKLINE(天天涨停,58,55,14,0),COLOR00CCCC;
STICKLINE(天天涨停,57,56,12,0),COLOR009999;
STICKLINE(天天涨停,45,48,4,0),COLOR0077AA;
STICKLINE(天天涨停,54,50,10,0),COLOR0088DD;
STICKLINE(天天涨停,55,48,6,0),COLOR00AAFF;
STICKLINE(天天涨停,53,52,4,0),COLOR000000;
STICKLINE(天天涨停,53,50,1,0),COLOR0077EE;
STICKLINE(天天涨停,60,55,7,0),COLOR8800CC;
STICKLINE(天天涨停,60,63,4,0),COLOR7700AA;
IF(天天涨停,57,DRAWNULL),LINETHICK4,POINTDOT,COLOR00FF00;
STICKLINE(天天涨停,26,20,12,0),COLORFFFFFF;
STICKLINE(天天涨停,33,25,14,0),COLOR8800CC;
STICKLINE(天天涨停,46,32,16,0),COLORAA00DD;
STICKLINE(天天涨停,37,34,8,0),COLOR00AAFF;
STICKLINE(天天涨停,50,44,2,0),COLOR000000;
STICKLINE(天天涨停,49,49,1,0),COLOR0000EE;
DRAWICON(天天涨停,39,9);
 


 




 



gd15151

回复

举报

QQ|

GMT+8, 2024-12-25 14:46

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