当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:中线黄蓝带(通达信公式 主图 源码 测试图)
软件名称:[B]中线黄蓝带(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:13.0 KB
官方主页:Home Page
更新时间:2021-08-22 00:15:28
软件简介:
中线黄蓝带
STICKLINE(CLOSE>=MA(CLOSE,45),REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR220080;{多色柱}
STICKLINE(CLOSE<MA(CLOSE,45),REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR408048;{空色柱}
VAR1:=(2*CLOSE+HIGH+LOW)/4;
DRAWBAND(MA(VAR1,30),RGB(220,250,0),MA(VAR1,60),RGB(0,200,250));
买:=CROSS(MA(C,20),MA(C,30));
卖:=CROSS(MA(C,30),MA(C,20));
MA5:MA(CLOSE,5),COLOR00BBFF,LINETHICK3;
降:IF(MA5<=REF(MA5,1),MA5,DRAWNULL),COLORCYAN,LINETHICK3;
{DRAWICON((REF(MA5,1)<REF(MA5,2)) AND (MA5>REF(MA5,1)),LOW*0.999,11);图标 黄食指向上
DRAWICON((REF(MA5,1)>REF(MA5,2)) AND (MA5<=REF(MA5,1)),HIGH*1.001,12);图标 黄食指向下}
{MA5:MA(CLOSE,5),COLORWHITE;MA5角度取自量学太极线}
MA5角度:ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416,NODRAW;
乖离率:(CLOSE-MA5)/MA5*100,COLORWHITE,NODRAW;
MA20:MA(CLOSE,20),COLORFF00FF,LINETHICK2;
IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK3;
DRAWICON((REF(MA20,1)<=REF(MA20,2)) AND (MA20>REF(MA20,1)),LOW*0.99,11);{图标 黄食指向上}
DRAWICON((REF(MA20,1)>REF(MA20,2)) AND (MA20<=REF(MA20,1)),HIGH*1.01,12);{图标 黄食指向下}
{黄蓝带 对照世基黄蓝带}
MA45:MA(CLOSE,45),COLORBLUE,LINETHICK2;
STICKLINE(C>=MA45,MA20,REF(MA20,1),4,0),COLOR00BBFF;
STICKLINE(C<MA45,MA20,REF(MA20,1),4,0),COLORBLUE;
DRAWICON(CROSS(C,MA45),LOW*0.960,34);{黄底勾向上}
DRAWICON(CROSS(MA45,C),HIGH*1.060,35);{绿底勾向下}
{CYC∞}
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)));
CYC∞:IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120)),COLORYELLOW,CIRCLEDOT;
DRAWKLINE(H,O,L,C);{画K线}
{以下为资金情况}
换手率:VOL/CAPITAL*100,COLORRED,NODRAW;
预换手:IF(CURRBARSCOUNT=1 AND PERIOD=5,换手率*240/FROMOPEN,DRAWNULL),COLORWHITE,NODRAW;
量比:V/REF(MA(V,5),1),NODRAW,COLORWHITE;
预量比:DYNAINFO(17),NODRAW,COLORWHITE;
机构:(L2_VOL(0,0) - L2_VOL(0,1))*10000/FINANCE(7),NODRAW,COLORYELLOW;
大户:(L2_VOL(1,0) - L2_VOL(1,1))*10000/FINANCE(7),NODRAW,COLORRED;
中户:(L2_VOL(2,0) - L2_VOL(2,1))*10000/FINANCE(7),NODRAW,COLORMAGENTA;
散户:(L2_VOL(3,0) - L2_VOL(3,1))*10000/FINANCE(7),NODRAW,COLORGREEN;
主力:机构+大户,NODRAW,COLORYELLOW;
主力占比:主力/换手率*100,NODRAW,COLORMAGENTA;
三日主力:SUM(主力,3),COLORYELLOW,NODRAW;
五日主力:SUM(主力,5),COLORRED,NODRAW;
十日主力:SUM(主力,10),COLORMAGENTA,NODRAW;
廿日主力:SUM(主力,20),COLORWHITE,NODRAW;
STICKLINE(主力>0,O,C,2,1),COLORYELLOW;
STICKLINE(主力<0,O,C,2,1),COLORLIBLUE;
STICKLINE(机构>0,O,C,1,0),COLORYELLOW;
STICKLINE(机构<0,O,C,1,0),COLORBLUE;
STICKLINE(大户>0,O,(O+C)/2,1,0),COLORRED;
STICKLINE(大户<0,O,(O+C)/2,1,0),COLORGREEN;
DRAWTEXT(买=1,L*0.99,'↖买'),COLORYELLOW;
DRAWTEXT(卖=1,H*1.01,'↓←卖'),COLORGREEN;
M1:=REF(MA(CLOSE,3),3);
M2:REF(MA(CLOSE,25),5),COLORGREEN;
止损止赢:IF(M1>M2,M2,M1),COLORRED;
{波段顶底,属未来,大马路123}
VAR111:=ZIG(3,10);
DRAWICON((REF(VAR111,2) > REF(VAR111,1)) AND (VAR111 > REF(VAR111,1)),LOW*0.93,5);{黄笑脸}
DRAWICON((REF(VAR111,2) < REF(VAR111,1)) AND (VAR111 < REF(VAR111,1)),HIGH*1.03,6);{蓝哭脸}
DRAWNUMBER(ISLASTBAR ,C,C),COLORFF00FF;
{K线形态解盘}
TT:=240/FROMOPEN;
比:=TT;
J12:=(HIGH - ((HIGH - LOW) / 3));
J23:=(LOW + ((HIGH - LOW) / 3));
T1{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1)
< REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));
T2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1)
> REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02
AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),1,0));
T3{长十字}:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0));
T4{垂死十字}:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH),1,0));
T5{早晨十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1)
< REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));
T6{黄昏十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.05 AND REF(OPEN,1)
> REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND
CLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2)),1,0));
T7{射击之星}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >
3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0));
T8{倒转锤头}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >
3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0));
T9{锤头}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >
3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0));
T10{吊颈}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >
3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0));
T11{穿头破脚}:=CONST(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96
AND CLOSE<REF(OPEN,1)
AND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04
AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1))),1,0));
T12{乌云盖顶}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97
AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1)),1,0));
T13{曙光初现}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03
AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1)),1,0));
T14{身怀六甲}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04
AND ABS(CLOSE-OPEN)/CLOSE<0.005 AND
MAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN)
> MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));
T15{十字胎}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04
AND CLOSE=OPEN AND
CLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1)
,REF(OPEN,1))),1,0));
T16{平顶}:=CONST(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0));
T17{平底}:=CONST(IF(((ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1)
-REF(LOW,2))/REF(LOW,1)<=0.001)),1,0));
T18{大阳烛}:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW < CLOSE/OPEN+0.018),1,0));
T19{三个白武士}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)
>REF(OPEN,1) AND CLOSE>OPEN
AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1)),1,0));
T20{双飞乌鸦}:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN
AND CLOSE/OPEN<0.98),1,0));
T21{孕育线}:=CONST(IF((REF(CLOS
[url=http://www.70822.com/soft/sort013/sort05/down-157643.html]中线黄蓝带(通达信公式 主图 源码 测试图)[/url]
[url=http://www.70822.com/soft/sort013/sort05/down-157643.html]中线黄蓝带(通达信公式 主图 源码 测试图)[/url]