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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 大智慧超跌关注主图{主图叠加}


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

a1:=1;
a2:=(EMA(CLOSE,3)) * a1;
a3:=(EMA(CLOSE,5)) * a1;
a4:=(EMA(CLOSE,2)) * a1;
a5:=(EMA((((SLOPE(CLOSE,21)) * 20) + CLOSE),42)) * a1;
红绿黏合为强势:(HHV((MA(HIGH,13)),13)) * a1,linethick2,colorRed;
绿线下方为弱势:(LLV((MA(HIGH,13)),1)) * a1,linethick1,colorGreen;
a6:=(EMA(CLOSE,4)) * a1;
DRAWTEXT((CLOSE <= 绿线下方为弱势),LOW,'↓'),colorGreen;
DRAWTEXT(((((CROSS(a2,a3)) AND (a4 >= a5)) AND (绿线下方为弱势 = 红绿黏合为强势)) AND (CLOSE > 绿线下方为弱势)),(LOW * 0.987),'追'),colorYellow;
DRAWTEXT(((((a4 >= a5) AND (绿线下方为弱势 = 红绿黏合为强势)) AND (a4 > a6)) AND (CLOSE > 绿线下方为弱势)),LOW,'▲'),colorMagenta;
a7:=((((a4 >= a5) AND (绿线下方为弱势 = 红绿黏合为强势)) AND (a4 > a6)) AND (CLOSE > 绿线下方为弱势)) AND ((REF(绿线下方为弱势,1)) < (REF(红绿黏合为强势,1)));
DRAWTEXT(a7,(LOW * 0.987),'牛'),colorYellow;
a8:=((((HIGH + LOW) + OPEN) + (2 * CLOSE)) / 5) * a1;
a9:=(REF(a8,1)) * a1;
a10:=((SMA((MAX((a8 - a9),0)),10,1)) / (SMA(ABS((a8 - a9)),10,1))) * 100;
a11:=IF((((((COUNT((a10 < 20),5)) >= 1) AND ((COUNT((a8 = (LLV(a8,10))),10)) >= 1)) AND (CLOSE >= (OPEN * 1.038))) AND (VOL > ((MA(VOL,5)) * 1.2))),1,0);
DRAWTEXT(a11,LOW,'超跌关注'),colorRed;
DRAWTEXTREL(15,30,'出现‘▲’买'),linethick2,colorMagenta;
DRAWTEXTREL(180,30,'出现‘↓’卖'),linethick2,colorGreen;
DRAWTEXTREL(350,30,'0000:00000000'),linethick2,colorWhite;





回复

举报

QQ|

GMT+8, 2024-11-17 13:18

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