通达信【笑傲牛熊】主图指标 趋势为先 看长做短 波段操作

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℅!★★★'),COLORFF8000;


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

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

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

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