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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信分时T+0神器公式源码


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

以下是通达信分时T+0神器公式源码

通达信分时T+0神器公式源码

很简单实用的指标,低点会有提示买入,高点有提示卖出,做T的成功率很高,本人屡试不爽。分享给大家吧,一起赚钱!

源码

N0:=STRCAT(CON2STR(YEAR,0),' 年 ');

Y:=STRCAT(CON2STR(MONTH,0),' 月 ');

R:=STRCAT(CON2STR(DAY,0),' 日 ');

SJ:=STRCAT(STRCAT(N0,Y), R);

DRAWTEXT_FIX(C>0,0.68,0,0,SJ);

A:=O>C AND C>REF(C,1) AND O/REF(C,1)>1.03;

DRAWTEXT(ABS(A)>0,L, '假阴'),COLORYELLOW;

DRAWICON(C<O AND C>REF(C,1),H,6);{假阴真阳}

均价5:AMOUNT/VOL/100,NODRAW;

假阴0:=O>C AND 均价5>REF(C,1);

DRAWTEXT(假阴0,L-0.2,'假阴真阳'),COLORE8E8E8;

STICKLINE(假阴0,O,C,1,0),COLORRED;

DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,CODE),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.55,0.05,0,STKNAME)COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.6,0.05,0,HYBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,DYBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.55,0.85,0,GNBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.55,0.90,0,FGBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.55,0.95,0,ZSBLOCK),COLORYELLOW;

时间:=TIME=100000;

N:=BARSLAST(时间),COLOR808080;

常数:CONST(IF(N=0,C,REF(C,N))),COLOR004848,DOTLINE;

CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N))),COLORWHITE;

CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))),COLORWHITE;

STICKLINE(时间=1,CS1,CS2,-1,0),COLOR808080;

H1:=MAX(DYNAINFO(3),DYNAINFO(5));

L1:=MIN(DYNAINFO(3),DYNAINFO(6));

P1:=H1-L1;

阻力:L1+P1*7/8,COLORFFFFFF,DOTLINE;

DRAWTEXT(CURRBARSCOUNT=1,阻力,' 阻力'),COLORFFFFFF;

支撑:L1+P1*0.5/8,COLORFFFFFF,DOTLINE;

DRAWTEXT(CURRBARSCOUNT=1,支撑,' 支撑'),COLORFFFFFF;

中:(支撑+阻力)/2,COLORFFFFFF,DOTLINE;

现价:CLOSE,COLORWHITE,LINETHICK1;

MR:=C<支撑 AND CROSS(C,REF(C,2));

STICKLINE(CROSS(现价,支撑),C,中,2,0),COLOR00CCCC;

STICKLINE(MR=1,支撑,中,2,0),COLOR00CCCC;

DRAWICON(MR=1 OR CROSS(现价,支撑),中,34);

STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/5+支撑,2,0),COLORMAGENTA;

MC:=C>阻力 AND CROSS(REF(C,2),C);

STICKLINE(CROSS(阻力,现价),C,中,2,0),COLOR8C8C00;

STICKLINE(MC=1,阻力,中,2,0),COLOR8C8C00;

DRAWICON(MC=1 OR CROSS(阻力,现价),中,35);

STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-中)/5,2,0),COLORGREEN;

DRAWTEXT(ISLASTBAR,(支撑+阻力)/2,' 中'),COLORFFFFFF;

最新:C,LINETHICK1,COLORWHITE;

IF(C>=REF(C,1),C,DRAWNULL),LINETHICK1,COLORWHITE;

AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));

BB:=BETWEEN(C/AA,C+H,C-H);

DRAWICON(ISLASTBAR AND C>REF(C,1),C,1);

DRAWICON(ISLASTBAR AND C<REF(C,1),C,2);





回复

举报

QQ|

GMT+8, 2024-11-20 15:14

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