通达信【尾盘买入战法】主副图指标 2.55预警 尾盘介入安全无忧

SWL:(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10;
SWS:DMA(EMA(CLOSE,20),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL)))),COLORWHITE,DOTLINE;
主力操盘线:IF(SWL>SWS,SWL,DRAWNULL),COLORRED,LINETHICK4;
生命线:IF(SWL<SWS,SWL,DRAWNULL),COLORGREEN,LINETHICK4;


KMJ:=MA(C,3);
VAR1:=KMJ>REF(KMJ,1) AND KMJ>REF(KMJ,2);
VAR2:=REF(VAR1,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR3:=REF(VAR2,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR4:=REF(VAR3,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR5:=REF(VAR4,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR6:=REF(VAR5,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR7:=REF(VAR6,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR8:=REF(VAR7,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR9:=REF(VAR8,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VARA:=REF(VAR9,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VARB:=REF(VARA,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VARC:=REF(VARB,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VARD:=KMJ<REF(KMJ,1) AND KMJ<REF(KMJ,2);
VARE:=REF(VARD,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VARF:=REF(VARE,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR10:=REF(VARF,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR11:=REF(VAR10,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR12:=REF(VAR11,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR13:=REF(VAR12,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR14:=REF(VAR13,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR15:=REF(VAR14,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR16:=REF(VAR15,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR17:=REF(VAR16,1) AND KMJ<=REF(KMJ,1) AND KMJ>=REF(KMJ,2);
VAR18:=REF(VAR17,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR
VAR17 OR VAR18,1) AND VAR1;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)
AND VARD;


NE:=IF(NAMELIKE('S') OR NAMELIKE('*S'),0.05,0.1);{通用个股}
涨停:=C/REF(C,1)-1>=NE-0.01/REF(C,1) AND C=H AND PERIOD=5;{仅在日线上变色}
STICKLINE(涨停,C,O,-1,0),COLORFF00F5;
跌停:=REF(C,1)/C-1>=NE-0.01/REF(C,1) AND L=C AND PERIOD=5;
STICKLINE(跌停,C,O,-1,0),COLOR00FF00;
{曾涨跌停 K线变色}
曾涨停:=H/REF(C,1)-1>=NE-0.01/REF(C,1) AND C<H AND PERIOD=5;
STICKLINE(曾涨停,H-(H-MAX(O,C)),H,0.5,0),COLORFF00F5;

假阴真阳:= C>REF(C,1) AND C<O AND PERIOD=5;
STICKLINE(假阴真阳,C,O,-1,0),COLORYELLOW;

曾跌停:=REF(C,1)/L-1>=NE-0.01/REF(C,1) AND L<C AND PERIOD=5;
STICKLINE(曾跌停,L+(MIN(O,C)-L),L,0.5,0),COLOR00FF00;
{涨跌停开盘 K线变色}
涨停开盘:=O/REF(C,1)-1>=NE-0.01/REF(C,1) AND O=H AND PERIOD=5;{阴阳线的十分之一变色}
STICKLINE(涨停开盘,C+(O-C)*0.9,O,-1,0),COLORFF00F5;
跌停开盘:=REF(C,1)/O-1>=NE-0.01/REF(C,1) AND L=O AND PERIOD=5;
STICKLINE(跌停开盘,C-(C-O)*0.9,O,-1,0),COLOR00FF00;

ZTT:=C/REF(C,1)>1.099;
VARZTT:=BARSLAST(ZTT);
DRAWTEXT(VARZTT=3,L*0.99,'3'),COLORYELLOW;
DRAWTEXT(VARZTT=5,L*0.99,'5'),COLORYELLOW;
DRAWTEXT(VARZTT=8,L*0.99,'8'),COLORYELLOW;
DRAWTEXT(VARZTT=13,L*0.99,'13'),COLORYELLOW;
DRAWTEXT(VARZTT=21,L*0.99,'21'),COLORYELLOW;


GZH:DRAWTEXT(VAR19,L*0.99,'←拐点'),COLORYELLOW;

GSKZ:DRAWTEXT(VAR1A,H*1.01,''),COLORGREEN;



未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图