通达信绝处逢生主副图 伏击庄股毫不费力 源码分享 附图

{绝处逢生幅图源码如下}
VAR28:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR26:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR28>0),91,0);
XG:(FILTER((VAR26>90),45));


{绝处逢生主图源码如下}

趋势:EMA(CLOSE,12),COLORYELLOW;
M5:MA(C,5),COLORWHITE;
MA20:MA(C,20),COLORLIMAGENTA;
VAR1:=NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('SST');
VAR2:=VAR1 OR NAMELIKE('S*ST') OR NAMELIKE('S ST');
VAR3:=(CODELIKE('688') OR (CODELIKE('300')));
VAR4:=IF(VAR2,C*1.05,IF(VAR3,C*1.2,C*1.1));
VAR5:=REF(C/REF(C,1)>1.035,1) AND O/REF(C,1)>1.015;
VAR6:=VAR5 AND BETWEEN(C/REF(C,1),1.05,0.98) AND V=HHV(V,30)AND C<O;
VAR7:=CONST(BARSLAST(VAR6));
VAR8:=CURRBARSCOUNT=VAR7+1;
VAR9:=CLOSE<OPEN AND CLOSE>REF(CLOSE,1);
VAR10:=CLOSE>OPEN AND CLOSE<REF(CLOSE,1);
VAR11:=NAMELIKE('ST') OR NAMELIKE('*ST');
VAR12:=CODELIKE('688') OR (CODELIKE('30') AND DATE>=1200824);
VAR13:=IF(VAR11,1.05,IF(VAR12,1.195,1.095)),NODRAW;
VAR14:=IF(VAR11,0.95,IF(VAR12,0.805,0.905)),NODRAW;
VAR15:=HIGH>=(REF(C,1)*VAR13) AND CLOSE<HIGH;
VAR16:=REF((CLOSE+OPEN)/2,1);
VAR17:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR28:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR17>0),91,0);
VAR26:=(FILTER((VAR28>90),45)),COLORYELLOW;
DRAWTEXT_FIX(1,0.85,0.03,0,STRCAT('次日涨停价:',CON2STR(VAR4,2))),COLORYELLOW;
DRAWTEXT_FIX(1,0.02,0,0,'所属行业:')COLOR0080FF;
DRAWTEXT_FIX(1,0.10,0,0,HYBLOCK),COLOR0080FF;
DRAWTEXT_FIX(1,0.21,0,0,'所属地区:'),COLOR00FFFF;
DRAWTEXT_FIX(1,0.28,0,0,DYBLOCK),COLOR00FFFF;
DRAWTEXT_FIX(1,0.35,0,0,'概念板块:'),COLOR00FFFF;
DRAWTEXT_FIX(1,0.43,0,0,GNBLOCK),COLOR00FFFF;
STICKLINE(1,REF((O+C)/2,BARSLAST(VAR8)),REF((O+C)/2,BARSLAST(VAR8))+0.01,5,0),COLORYELLOW;
STICKLINE(VAR9,O,C,1,0),COLORMAGENTA;
STICKLINE(VAR10,O,C,1,0),COLORLICYAN;
STICKLINE(C>=((REF(C,1)*VAR13)-0.01) AND C=H,O,C,1,0),COLORYELLOW;
STICKLINE(C<=((REF(C,1)*VAR14)+0.01) AND C=L,O,C,1,0),COLORBROWN;
STICKLINE(C>=((REF(C,1)*VAR13)-0.01) AND C=H,O,C,1,0),COLORYELLOW;
STICKLINE(C<=((REF(C,1)*VAR14)+0.01) AND C=L,O,C,1,0),COLORBROWN;
STICKLINE(VAR15,O,C,1,0),COLORBLUE;
STICKLINE(ISLASTBAR,VAR16,VAR16,9,0),COLORWHITE;
DRAWNUMBER(ISLASTBAR,VAR16,VAR16),COLORWHITE,DRAWABOVE;
STICKLINE(VAR26,C,O,0.50,0),COLOR00FFFF;
DRAWLINE(VAR26,H,REF(VAR26,1),REF(H,1),1),COLORRED,LINETHICK1;
DRAWLINE(VAR26,L,REF(VAR26,1),REF(L,1),1),COLOR00FFFF;
DRAWTEXT(VAR26,L*0.99,'逢生'),COLOR00FFFF;


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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