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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信主力吸筹主图指标公式源码


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

DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,HYBLOCK),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,DYBLOCK),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.1,0,GNBLOCK),COLORRED;
STICKLINE(CLOSE/REF(CLOSE,1)>=1.097 AND HIGH>LOW,CLOSE,OPEN,3,0),COLORMAGENTA;
STICKLINE(REF(CLOSE,1)/CLOSE>=1.097 AND HIGH>LOW,CLOSE,OPEN,3,0),COLORLIBLUE;
STICKLINE(HIGH/REF(CLOSE,1)>=1.097 AND HIGH>CLOSE,HIGH,CLOSE,0,0),COLORMAGENTA;
STICKLINE(REF(CLOSE,1)/LOW>=1.097 AND HIGH>LOW,CLOSE,LOW,0,0),COLORLIBLUE;
涨幅:=(C/REF(C,1)-1)*100;
X_1:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
X_2:=65;
X_3:=80;
X_4:=50;
X_5:=20;
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,60);
X_6:=crOSS(MA1,MA2);
X_7:=CROSS(X_1,X_5);
X_8:=X_6 AND X_7 AND CROSS(HIGH,MA(CLOSE,10));
DRAWTEXT(CROSS(X_1,X_3) AND 涨幅>5,MA2,'爆发'),COLORYELLOW;
STICKLINE(CROSS(X_1,X_3) AND 涨幅>5,CLOSE,OPEN,3,0),COLORYELLOW;
DRAWTEXT(X_8 AND 涨幅>5,MA3,'吸筹'),COLORWHITE;
DRAWTEXT(CROSS(X_1,X_4) AND 涨幅>5,LOW*0.94,'加仓'),COLORMAGENTA;
DRAWTEXT(CROSS(X_1,X_2) AND 涨幅>5,LOW*0.96,'加仓'),COLORMAGENTA;
DRAWTEXT(CROSS(X_3,X_1) AND 涨幅>5,HIGH*1.01,'减仓'),COLORGREEN;





回复

举报

QQ|

GMT+8, 2024-11-17 03:23

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