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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信突破大阴棒选股源码附图


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

以下是通达信突破大阴棒选股源码附图

主图提示
T:=BARSLAST(C>REF(C,1)*1.095 AND C=H);
TJ:=(C-REF(C,T+1))/REF(C,T+1)*100;
TJ1:=EVERY(C<O,T);
TJ2:=COUNT(REF(C,1)/C>1.09,T)>0 AND REF(C,1)/C>1.09;
A:=TJ>-1 AND TJ1 AND TJ2;
TA:=BARSLAST(A);
HH:=REF(H,TA);
TJ3:=EVERY(MAX(C,O)<HH,TA);
TJ4:=MIN(C,O)<HH AND MAX(C,O)>HH AND COUNT(MIN(C,O)<HH AND MAX(C,O)>HH,TA)=1;
TJ5:=REF(TJ3,1) AND TA<69 AND IF(C<O,O/HH>1.007,C>O) AND IF(C<O,REF(C,1)/C<1.06,C>O);
XG:=TJ4 AND TJ5;
STICKLINE(TA>=0,REF(H,TA),REF(H,TA),6,0),COLORYELLOW;
DRAWICON(XG=1,L*0.95,1);
DRAWTEXT(TA=0,H*1.02,STRCAT(STRCAT('阴线最高价:',VAR2STR(REF(H,TA),2)),'元'))COLORYELLOW;

幅图柱状提示
T:=BARSLAST(C>REF(C,1)*1.095 AND C=H);
TJ:=(C-REF(C,T+1))/REF(C,T+1)*100;
TJ1:=EVERY(C<O,T);
TJ2:=COUNT(REF(C,1)/C>1.09,T)>0 AND REF(C,1)/C>1.09;
A:=TJ>-1 AND TJ1 AND TJ2;
TA:=BARSLAST(A);
HH:=REF(H,TA);
TJ3:=EVERY(MAX(C,O)<HH,TA);
TJ4:=MIN(C,O)<HH AND MAX(C,O)>HH AND COUNT(MIN(C,O)<HH AND MAX(C,O)>HH,TA)=1;
TJ5:=REF(TJ3,1) AND TA<69 AND IF(C<O,O/HH>1.007,C>O) AND IF(C<O,REF(C,1)/C<1.06,C>O);
XG:=TJ4 AND TJ5 AND MAX(C,O)/HH>1.007;
STICKLINE(XG,0,8,1.8,0),COLORLIMAGENTA;


选股

T:=BARSLAST(C>REF(C,1)*1.095 AND C=H);
TJ:=(C-REF(C,T+1))/REF(C,T+1)*100;
TJ1:=EVERY(C<O,T);
TJ2:=COUNT(REF(C,1)/C>1.09,T)>0 AND REF(C,1)/C>1.09;
A:=TJ>-1 AND TJ1 AND TJ2;
TA:=BARSLAST(A);
HH:=REF(H,TA);
TJ3:=EVERY(MAX(C,O)<HH,TA);
TJ4:=MIN(C,O)<HH AND MAX(C,O)>HH AND COUNT(MIN(C,O)<HH AND MAX(C,O)>HH,TA)=1;
TJ5:=REF(TJ3,1) AND TA<69 AND IF(C<O,O/HH>1.007,C>O) AND IF(C<O,REF(C,1)/C<1.06,C>O);
XG: TJ4 AND TJ5 AND MAX(C,O)/HH>1.007;






回复

举报

QQ|

GMT+8, 2024-11-19 02:17

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