您的位置:查股网 > 查股公式 > 通达信牛熊趋势波段副图指标 源码 附图[查股公式]
股票行情消息查询:
大盘云图

通达信牛熊趋势波段副图指标 源码 附图[查股公式]

2022/4/24 11:24:05

DRAWGBK(C>0, RGB(0,108,108),RGB(108,38,38),0,'11',0);

生命线:=MA(C,60);

牛熊线:=MA(C,120);

DRAWBAND(生命线,RGB(200,50,55),牛熊线,RGB(0,100,50));

DRAWKLINE(H,O,L,C);

压力:=MA(REF(HHV(C,30),1),2);

支撑:=MA(REF(LLV(C,30),1),2);

中:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORFFFF00,LINETHICK2;

IF(中>=REF(中,1), 中 ,DRAWNULL),LINETHICK2,COLOR00FFFF,;

上:BBI+3*STD(BBI,10),COLOR00FF00,CIRCLEDOT;

下:BBI-3*STD(BBI,10),COLOR0000FF,CIRCLEDOT;

安全:=MA(C,30),CIRCLEDOT,COLORFF00FF;

TJ1:=下*1.05>中 AND 中*1.05>上 AND 中>=REF(中,1) AND REF(中,1)>=REF(中,2);

TJ2:=LLV(REF(VOL,1),60);

VAR91:=REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5);

VAR92:=VAR91/5;

LB:=V/VAR92;

TJ8:=C>LLV(LOW,120)*1.38;

VAR2:=(HIGH-LOW);

VAR3:=ABS((OPEN-CLOSE));

VAR4:=(HIGH-IF((CLOSE>OPEN),CLOSE,OPEN));

VAR5:=(IF((CLOSE>OPEN),OPEN,CLOSE)-LOW);

VAR6:=((VAR3/VAR2)*VOL);

VAR7:=((VAR4/VAR2)*VOL);

VAR8:=((VAR5/VAR2)*VOL);

GG:=(VAR6>=VAR7) AND (VAR6>=VAR8) AND (CLOSE>OPEN);

TJ3:=LB>2 OR VOL/REF(VOL,1)>2 AND GG;

WLT1:=EMA(C,3);

WLT2:=EMA(C,5);

WLT3:=EMA(WLT2,5);

QQ:=C<上;

MM:=WLT1<REF(WLT1,1);

DD:=QQ AND MM;

TJ6:=COUNT(DD,7)=1;

TJ7:=C<LLV(LOW,250)*2.1;

XG:=FILTER(TJ1 AND TJ7 AND TJ3,5) AND C<支撑*1.13;

DRAWICON(XG,L,23);

DRAWICON(TJ6 AND MM AND TJ8 AND 上>中*1.1,HIGH*1.01,19);

TJ81:=中>=REF(中,1) AND LAST(中<=REF(中,1),8,1) AND CROSS(C,中) AND C<支撑*1.13;

TJ82:=中>=REF(中,1) AND LAST(中<=REF(中,1),5,1) AND CROSS(C,中) AND C<HHV(H,55)*0.72 AND C<支撑*1.13;

布林兔:=(TJ82 OR TJ81) AND LAST(MA(C,120)>MA(C,60),34,0);

布林牛:=(TJ82 OR TJ81) AND MA(C,120)<MA(C,60) AND C<LLV(L,55)*1.5 AND C>MA(C,120);

DRAWICON(布林兔,LOW*0.997,26);

DRAWICON(布林牛,LOW*0.99,23);

DRAWTEXT(布林兔,L*0.987,'兔');

DRAWTEXT(布林牛,L*0.987,'牛');

DRAWBAND(WLT1,RGB(158,38,158),WLT2,RGB(0,38,138));

STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;

STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000099;

STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000CC;

STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.1,0 ),COLOR0000FF;

STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;

STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR999900;

STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBB00;

STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.1,0 ),COLORFFFF00;

STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;

STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR999999;

STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;

STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.1,0 ),COLORFFFFFF;

STICKLINE(TJ82 OR TJ81 ,O,(C+O)/2,5,0 ),COLOR00FFFF;

遵:IF(WLT1>=WLT2,WLT1,DRAWNULL),COLORRED;

守:IF(WLT2>=WLT1,WLT2,DRAWNULL),COLORFF9900;

纪:IF(WLT1>=WLT2,WLT2,DRAWNULL),COLOR00FFFF;

律:IF(WLT2>=WLT1,WLT1,DRAWNULL),COLOR00FF00;

IF(生命线>=牛熊线,生命线,DRAWNULL),COLORRED;

IF(牛熊线>=生命线,牛熊线,DRAWNULL),COLORFF9900;

IF(生命线>=牛熊线,牛熊线,DRAWNULL),COLOR00FFFF;

IF(牛熊线>=生命线,生命线,DRAWNULL),COLOR00FF00;

DRAWTEXT_FIX(1,0.0,0.06,0,DYBLOCK),COLOR0079FF;

DRAWTEXT_FIX(1,0.06,0.06,0,HYBLOCK),COLORFFFFFF;

DRAWTEXT_FIX(1,0.12,0.06,0,EXTERNSTR(0,10)),COLOR0077FF;

DRAWTEXT_FIX(1,0.0,0.00,0,'★小魔理念★:★趋势为先,看长做短, 波段操作★

★★严守纪律, 坚决止损★★ ★★★永远不要让个股的亏损超过5-7℅!★★★'),COLORFF66FF;

相关文章列表
天天查股公式列表

股票公式分类

查股网:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29