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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信三K线洗盘主图幅图选股公式


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

以下是通达信三K线洗盘主图幅图选股公式

{主图}

T:=BARSLAST(H=HHV(H,60) AND C<O AND O>REF(C,1) AND H/L>1.05);
TJ1:=EVERY(C<REF(C,1),2);
TJ2:=EVERY(L<=REF(L,1),2);
LT:=BARSLAST(REF(T,2)=0 AND TJ1 AND TJ2);
TJ3:=T-LT=2 AND C>REF(C,T)*1.02 ;
TJ4:=BARSLASTCOUNT(C>O)=4 AND C/REF(C,1)>1.045;
XG1:=REF(EVERY(MAX(C,O)<REF(H,T),T),1) AND O>REF(H,1) AND TJ3 AND T<15 AND NOT(TJ4);
XG:=COUNT(XG1,T)=1 AND XG1;
QF:=BACKSET(XG=1,T+1);
QFT:=BARSLAST(CROSS(QF=1,0.5));

DRAWTEXT(QFT=0,H*1.1,'开始洗盘'),COLORYELLOW;
DRAWICON(QFT=0,H,12);
STICKLINE(QFT>=0 AND QF=1,REF(H,T),REF(H,T),4,-1),COLORLIBLUE;
DRAWTEXT(XG=1,L*0.95,'买'),COLORYELLOW;
DRAWICON(XG=1,L,11);


{幅图}


T:=BARSLAST(H=HHV(H,60) AND C<O AND O>REF(C,1) AND H/L>1.05);
TJ1:=EVERY(C<REF(C,1),2);
TJ2:=EVERY(L<=REF(L,1),2);
LT:=BARSLAST(REF(T,2)=0 AND TJ1 AND TJ2);
TJ3:=T-LT=2 AND C>REF(C,T)*1.02 ;
TJ4:=BARSLASTCOUNT(C>O)=4 AND C/REF(C,1)>1.045;
XG1:=REF(EVERY(MAX(C,O)<REF(H,T),T),1) AND O>REF(H,1) AND TJ3 AND T<15 AND NOT(TJ4);
XG:=COUNT(XG1,T)=1 AND XG1;
STICKLINE(XG=1,0,7,1.6,0),COLORLIRED;

{选股}

T:=BARSLAST(H=HHV(H,60) AND C<O AND O>REF(C,1) AND H/L>1.05);
TJ1:=EVERY(C<REF(C,1),2);
TJ2:=EVERY(L<=REF(L,1),2);
LT:=BARSLAST(REF(T,2)=0 AND TJ1 AND TJ2);
TJ3:=T-LT=2 AND C>REF(C,T)*1.02 ;
TJ4:=BARSLASTCOUNT(C>O)=4 AND C/REF(C,1)>1.045;
XG1:=REF(EVERY(MAX(C,O)<REF(H,T),T),1) AND O>REF(H,1) AND TJ3 AND T<15 AND NOT(TJ4);
XG:COUNT(XG1,T)=1 AND XG1;





回复

举报

QQ|

GMT+8, 2024-11-18 12:34

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