万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:精品公式指标

网站首页 > 通达信公式(免费) > 通达信指标网络采集版(免费) 正文

【通达信指标】连续长上影指标公式,主力长上影连续试盘(主图+选股)

admin 2025-11-29 18:53:10 通达信指标网络采集版(免费) 34 ℃

温馨提示: 本文所述模型仅限学术探讨,"基于开源数据集的理论推演".本站所有指标或视频战法,皆为举例演示或技术复盘,仅做验证学习使用,内容仅供参考,不构成投资建议,请勿用于实盘,否则自负盈亏,风险自担!“历史数据不代表未来收益”“投资有风险,决策需谨慎””

指标交流QQ群:586838595


 

第一部分 指标介绍

1.连续长上影指标是连续上涨之后高位连续出现长上影线也是主力试盘拉升后不断回落测试抛压的过程,一但测试没问题后面还能有机会继续上升。

2.尾盘选,信号很少,选择非常贴合当前题材的信号。

3.指标不含未来函数,信号不漂移。

第二部分 公式源码

{连续长上影--主图}

MA2:MA(C,2),COLORFFFFFF;

MA5:MA(C,5),COLOR004080;

GHCZS1:=C>=ZTPRICE(REF(CLOSE,1),0.1)-0.01 AND C=H AND PERIOD=5;

STICKLINE(GHCZS1,O,C,3,0),COLOR0000FF;

STICKLINE(GHCZS1,O,L,0.001,0),COLOR0000FF;

GHCZS2:=C<=DTPRICE(REF(CLOSE,1),0.1)+0.01 AND C=L AND PERIOD=5;

STICKLINE(GHCZS2,O,C,3,0),COLOR00FF00;

STICKLINE(GHCZS2,O,H,0.001,0),COLOR00FF00;

GHCZS3:=H>=ZTPRICE(REF(CLOSE,1),0.1)-0.01 AND C<H AND PERIOD=5;

STICKLINE(GHCZS3,H,L,0.01,0),COLORMAGENTA;

STICKLINE(GHCZS3 AND C>O,O,C,-1,0),COLORMAGENTA;

STICKLINE(GHCZS3 AND C<O,O,C,-1,0),COLORLIBLUE;

IF(MA2>REF(MA2,1),MA2,DRAWNULL),COLOR00FFFF,LINETHICK2;

IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLORMAGENTA,LINETHICK2;

DRAWTEXT_FIX(1,0.01,0.25,0,'微信公众号精品公式指标),COLORFF00FF;

GHCZS4:=H/C>1.025 AND (H-C)/(C-O)>2 AND H-C>C-L AND C>O;

GHCZS5:=EVERY(GHCZS4 AND C>MA5,2) AND REF(C,2)/REF(C,3)>1.05;

GHCZS6:=C<REF(C,1) AND L>=REF(L,1);

GHCZS7:=MA5>REF(MA5,1);

GHCZS8:=GHCZS5 AND GHCZS6 AND GHCZS7;

DRAWICON(GHCZS8,L,34);

DRAWTEXT(GHCZS8,L, ←连续长上影),COLOR00FFFF;

GHCZS9:=BARSLAST(GHCZS8);

GHCZS10:=EXIST(GHCZS1,2) AND C<H;

GHCZS11:=IF((COUNT(CROSS(C,MA2),GHCZS9)=1 AND CROSS(MA2,C)),1,0);

GHCZS12:=IF(GHCZS10 AND COUNT(GHCZS10,GHCZS9)=1,1,0);

GHCZS13:=GHCZS11=1 OR GHCZS12=1;

GHCZS14:=IF(COUNT(CROSS(C,MA2),GHCZS9)=0 AND (CROSS(MA5,C) OR CROSS(REF(L,GHCZS9),C)),1,0)=1;

DRAWICON(GHCZS13 AND COUNT(GHCZS13 OR GHCZS14,GHCZS9)=1,H,25);

DRAWTEXT(GHCZS12 AND COUNT(GHCZS13 OR GHCZS14,GHCZS9)=1,H, ★主动止盈),COLOR00FFFF;

DRAWTEXT(GHCZS11 AND COUNT(GHCZS13 OR GHCZS14,GHCZS9)=1,H, ●被动止盈),COLOR0000FF;

DRAWICON(GHCZS14 AND COUNT(GHCZS13 OR GHCZS14,GHCZS9)=1,H,35);

DRAWTEXT(GHCZS14 AND COUNT(GHCZS13 OR GHCZS14,GHCZS9)=1,H, 止损),COLOR00FF00;

第三部分 选股公式

{连续长上影--选股}

XG1:=MA(C,5);

XG2:=H/C>1.025 AND (H-C)/(C-O)>2 AND H-C>C-L AND C>O;

XG3:=EVERY(XG2 AND C>XG1,2) AND REF(C,2)/REF(C,3)>1.05;

XG4:=C<REF(C,1) AND L>=REF(L,1);

XG5:=XG1>REF(XG1,1);

连续长上影X:XG3 AND XG4 AND XG5;

第四部分 指标图示

很赞哦! (1)

游客您好,本文中含有可下载的附件,请先回复后获取下载链接 下载次数:0次 回复