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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信N字反转炉架顶主图 选股公式(鹏腾2009版本)源码


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

以下是通达信N字反转炉架顶主图 选股公式(鹏腾2009版本)源码

通达信N字反转炉架顶主图 选股公式(鹏腾2009版本)源码

当然有炉架底反过来就会有炉架顶,有空做了个炉架顶,喜欢的朋友下载,画线用到未来函数,选股信号无未来。
形态要点:
1、股价前期已经运行了一波上涨,某日出现阳线幅度足够大,至少超过4%以上;
2、大阳线之后K线小平台运行基本在阴线收盘价附近(实战之中不必过于拘泥,不超过开盘价即可,但不能有大阳线) ;
3、平台期间量能萎缩明显;
4、形体末端的大阴线要有力度。

主图}
N:=3;
BB:=REF(MAX(C,O),1)/REF(MIN(C,O),1)<1.03 AND REF(C,1)/REF(C,2)<1.03;
B1:=EVERY(BB,N);
B2:=EVERY(BB,N+1);
B3:=EVERY(BB,N+2);
B4:=EVERY(BB,N+3);
BJ1:=(REF(L,N+2)+REF(C,N+1))/2;
BJ2:=(REF(L,N+3)+REF(C,N+2))/2;
BJ3:=(REF(L,N+4)+REF(C,N+3))/2;
BJ4:=(REF(L,N+5)+REF(C,N+4))/2;
BB1:=B1 AND EVERY(REF(L,1)>BJ1,N) AND REF(C,N+1)/REF(C,N+2)>1.04 AND C<=REF(C,N+1) AND C<=BJ1;
BB2:=B2 AND EVERY(REF(L,1)>BJ2,N+1) AND REF(C,N+2)/REF(C,N+3)>1.04 AND C<=REF(C,N+2) AND C<=BJ2;
BB3:=B3 AND EVERY(REF(L,1)>BJ3,N+2) AND REF(C,N+3)/REF(C,N+4)>1.04 AND C<=REF(C,N+3) AND C<=BJ3;
BB4:=B4 AND EVERY(REF(L,1)>BJ4,N+3) AND REF(C,N+4)/REF(C,N+5)>1.04 AND C<=REF(C,N+4) AND C<=BJ4;
XG:=BB1 OR BB2 OR BB3 OR BB4;
STICKLINE(REFX(BB1,N+1),L,C,0.2,0),COLORRED;
STICKLINE(REFX(BB2,N+2),L,C,0.2,0),COLORRED;
STICKLINE(REFX(BB3,N+3),L,C,0.2,0),COLORRED;
STICKLINE(REFX(BB4,N+4),L,C,0.2,0),COLORRED;
ZF:=REFX(BB1,N+1);
DRAWLINE(ZF,C,REF(ZF,N+1),REF(C,N+1),0),COLORRED,LINETHICK3;
STICKLINE(BB1,C,REF(C,BARSLAST(ZF)),0.2,0),COLORRED;
ZF1:=REFX(BB2,N+2);
DRAWLINE(ZF1,C,REF(ZF1,N+2),REF(C,N+2),0),COLORRED,LINETHICK3;
STICKLINE(BB2,C,REF(C,BARSLAST(ZF1)),0.2,0),COLORRED;
ZF2:=REFX(BB3,N+3);
DRAWLINE(ZF2,C,REF(ZF2,N+3),REF(C,N+3),0),COLORRED,LINETHICK3;
STICKLINE(BB3,C,REF(C,BARSLAST(ZF2)),0.2,0),COLORRED;
ZF3:=REFX(BB4,N+4);
DRAWLINE(ZF3,C,REF(ZF3,N+4),REF(C,N+4),0),COLORRED,LINETHICK3;
STICKLINE(BB4,C,REF(C,BARSLAST(ZF3)),0.2,0),COLORRED;
DRAWTEXT(XG,C,'------------------------------止损价'),COLORGREEN;
IF(XG,C,DRAWNULL),COLORRED,LINETHICK5,CIRCLEDOT;
A:=BARSLAST(XG);
DRAWICON(COUNT(C>REF(H,A),A+1)=1 AND C>REF(H,A) AND A<30,LOW,9);


{选股}
N:=3;
BB:=REF(MAX(C,O),1)/REF(MIN(C,O),1)<1.03 AND REF(C,1)/REF(C,2)<1.03;
B1:=EVERY(BB,N);
B2:=EVERY(BB,N+1);
B3:=EVERY(BB,N+2);
B4:=EVERY(BB,N+3);
BJ1:=(REF(L,N+2)+REF(C,N+1))/2;
BJ2:=(REF(L,N+3)+REF(C,N+2))/2;
BJ3:=(REF(L,N+4)+REF(C,N+3))/2;
BJ4:=(REF(L,N+5)+REF(C,N+4))/2;
BB1:=B1 AND EVERY(REF(L,1)>BJ1,N) AND REF(C,N+1)/REF(C,N+2)>1.04 AND C<=REF(C,N+1) AND C<=BJ1;
BB2:=B2 AND EVERY(REF(L,1)>BJ2,N+1) AND REF(C,N+2)/REF(C,N+3)>1.04 AND C<=REF(C,N+2) AND C<=BJ2;
BB3:=B3 AND EVERY(REF(L,1)>BJ3,N+2) AND REF(C,N+3)/REF(C,N+4)>1.04 AND C<=REF(C,N+3) AND C<=BJ3;
BB4:=B4 AND EVERY(REF(L,1)>BJ4,N+3) AND REF(C,N+4)/REF(C,N+5)>1.04 AND C<=REF(C,N+4) AND C<=BJ4;
TJ:=BB1 OR BB2 OR BB3 OR BB4;
A:=BARSLAST(TJ);
XG:COUNT(C>REF(H,A),A+1)=1 AND C>REF(H,A) AND A<30;







回复

举报

QQ|

GMT+8, 2024-11-19 06:21

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