分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]大智慧乾坤布林主图指标公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:28.0 KB
官方主页:Home Page
更新时间:2012-06-30 01:20:34
软件简介:

M:=10;P:=3;N:=-1;
趋势:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
上轨:趋势+P*STD(趋势,M),coloryellow,linethick2;
下轨:趋势-P*STD(趋势,M),colorwhite,linethick2;
N1:=6+N;
N2:=55+6*N;
N3:=86+55*N;
E5:=(EMA(CLOSE,4)+EMA(CLOSE,5))/2;
A5:=(MA(CLOSE,4)+MA(CLOSE,5))/2;
E9:=EMA(CLOSE,N1);A9:=MA(CLOSE,N1);
E36:=EMA(CLOSE,N2);A36:=MA(CLOSE,N2);
E153:=EMA(CLOSE,N3);A153:=MA(CLOSE,N3);
ZQ:=DATATYPE;
MX:=IF(ZQ=13,A5,IF(ZQ=10,A9,IF(ZQ=9,A36,A153)));
EX:=IF(ZQ=13,E5,IF(ZQ=10,E9,IF(ZQ=9,E36,E153)));
FILLRGN(MX,EX,MX>EX,RGB(16,166,68),MX<EX,RGB(168,18,38)),LAYER7;
{避免遮挡K线}
STICKLINE(C>O OR (C=O AND C>REF(C,1)),H,L,0,0),COLOR5454FF;
STICKLINE(C>O OR (C=O AND C>REF(C,1)),C,O,7.5,0),COLOR000000;
STICKLINE(C>O OR (C=O AND C>REF(C,1)),C,O,7.5,1),COLOR5454FF;
STICKLINE(C<O OR (C=O AND C<=REF(C,1)),H,L,0,0),COLORFFFF00;
STICKLINE(C<O OR (C=O AND C<=REF(C,1)),C,O,7.5,0),COLORFFFF00;
{趋向监控}
QN:=14;QM:=5;
TR1:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),QN,1);
HHD:=HIGH-REF(HIGH,1);
LLD:=REF(LOW,1)-LOW;
DMP:=SMA(IF(HHD>0 AND HHD>LLD,HHD,0),QN,1);
DMM:=SMA(IF(LLD>0 AND LLD>HHD,LLD,0),QN,1);
PDI:=DMP*100/TR1;
MDI:=DMM*100/TR1;
ADX:=SMA(ABS(MDI-PDI)/(MDI+PDI)*100,QN,1);
DX:=(ADX*14-REF(ADX,1)*13)*IF(PDI>MDI,1,-1);
EMADX:=EMA(DX,QM);
{强势监控}
个股BBI1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
大盘BBI2:=(MA(INDEXC,3)+MA(INDEXC,6)+MA(INDEXC,12)+MA(INDEXC,24))/4;
个股:=(C-个股BBI1)/个股BBI1*100;
大盘:=(INDEXC-大盘BBI2)/大盘BBI2*100;
{黄金K线}
NX:=(3*CLOSE+LOW+OPEN+HIGH)/6; {重心线}
牛线:(20*NX+19*REF(NX,1)+18*REF(NX,2)+17*REF(NX,3)+16*REF(NX,4)+15*REF(NX,5)+14*REF(NX,6)+13*REF(NX,7)+12*REF(NX,8)+11*REF(NX,9)
+10*REF(NX,10)+9*REF(NX,11)+8*REF(NX,12)+7*REF(NX,13)+6*REF(NX,14)+5*REF(NX,15)+4*REF(NX,16)+3*REF(NX,17)+2*REF(NX,18)+REF(NX,20))/210,COLORRED,LINETHICK1;
牛熊线:MA(牛线,4),COLORYELLOW,LINETHICK2;
熊线:MA(牛线,8),COLORFFCC18,LINETHICK1;
partline(牛熊线,牛熊线<=牛线,rgb(255,0,0),牛熊线>牛线,rgb(0,255,0)),linethick2;
{均线}
K线整理:=MA(CYC(2),2);
湿吻:=CROSS(K线整理,牛熊线) AND K线整理>牛熊线 AND (DX-EMADX)>0 AND (个股-大盘)>1 AND (DX-EMADX)>4 ;
DRAWTEXT(湿吻,牛线*1,'↖湿吻'),COLORYELLOW;
DRAWTEXT(湿吻,REF(L,1)*1,STR(REF(BARSLAST(湿吻),1))),COLORred;
唇吻:=REF(K线整理,2)>REF(牛线,2) AND REF(K线整理,1)>REF(牛线,1) AND K线整理>牛线 AND C>O
AND (REF(K线整理,2)>REF(K线整理,1) AND K线整理>REF(K线整理,1))
AND (REF(L,1)<REF(牛线,1) AND 牛熊线>REF(牛熊线,1)) AND VOL>REF(VOL,1)
AND (ATAN((K线整理/REF(K线整理,1)-1)*100)*180/3.1416)>20 AND (ATAN((牛熊线/REF(牛熊线,1)-1)*100)*180/3.1416)>=0;
DRAWTEXT(唇吻,REF(L,1)*1,'↖唇吻'),COLORYELLOW;
{均线定义}
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA40:=MA(CLOSE,40);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
MA240:=MA(CLOSE,240);
{老鸭头提示}
LYDAY1 := BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,60)));{5日均线上穿60日均线}
LYDAY2 := BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,60)));{10日均线上穿60日均线,至此形成鸭颈部}
LYDAY3 := BARSLAST(HIGH=HHV(HIGH,LYDAY2));{形成头部,要下跌}
LYDAY4 := BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));{下跌后,5日均线和10日均线死叉}
LYDAY5 := BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)));{回落不久,5日均线和10日均线形成金叉,形成部}
YA1:= LYDAY1>LYDAY2 AND LYDAY2>LYDAY3 AND LYDAY3>LYDAY4 AND LYDAY4>LYDAY5 AND LYDAY5<5;
YA2:= COUNT(CROSS(MA(CLOSE,10),MA(CLOSE,5)),LYDAY2)=1;
YAA:=IF(YA1 AND YA2 AND MA(CLOSE,5)>=MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,60),10,0);
BBY:=FILTER( YA1 AND YA2 AND MA(CLOSE,5)>=MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,60),5);
老鸭头:=YAA AND BBY;
{金蜘蛛提示}
金蜘蛛:=BARSLAST(CROSS(MA20,MA40))=BARSLAST(CROSS(MA20,MA60)) AND BARSLAST(CROSS(MA20,MA60))=BARSLAST(CROSS(MA40,MA60))
AND REF(MA20,1)<REF(MA40,1) AND REF(MA40,1)<REF(MA60,1) AND MA20>MA40 AND MA40>MA60;
YJZZ:=(BARSLAST(CROSS(MA5,MA10))=BARSLAST(CROSS(MA5,MA20)) AND BARSLAST(CROSS(MA5,MA20))=BARSLAST(CROSS(MA10,MA20)) OR (BARSLAST(CROSS(MA5,MA10))-BARSLAST(CROSS(MA5,MA20))=1 OR BARSLAST(CROSS(MA5,MA20))-BARSLAST(CROSS(MA10,MA20))=1))
AND REF(MA5,2)<REF(MA10,2) AND REF(MA10,2)<REF(MA20,2) AND MA5>MA10 AND MA10>MA20 ;
YJZZ1:=BARSLAST(CROSS(MA5,MA10))=BARSLAST(CROSS(MA5,MA20)) AND BARSLAST(CROSS(MA5,MA20))=BARSLAST(CROSS(MA10,MA20)) AND MA5>MA10 AND MA10>MA20 AND BARSLAST(CROSS(MA5,MA10))=1;
月蜘蛛:=YJZZ OR YJZZ1;
{一穿三线}
一穿三:=MA(CLOSE,5)>O AND MA(CLOSE,10)>O AND MA(CLOSE,30)>O AND MA(CLOSE,5)<C AND MA(CLOSE,10)<C AND MA(CLOSE,30)<C AND CLOSE>OPEN ;
{出水芙蓉}
出水1:=OPEN<MA(CLOSE,18) OR OPEN<MA(CLOSE,34) OR OPEN<MA(CLOSE,55);
出水2:=C>MAX(MA(CLOSE,18),MAX(MA(CLOSE,34),MA(CLOSE,55)));
出水3:=V/MA(V,30)>1.2;
出水4:=C/REF(C,1)>1.049;
芙蓉出水:=出水1 AND 出水2 AND 出水3 AND 出水4;
{东方红}
HSL:=V/CAPITAL*100;
ZTJ:=(COUNT((HSL>2 AND C>REF(C,1)),13)>=3) AND (C/REF(C,1)>1.049 AND HSL>3) AND (REF(SUMBARS(V,CAPITAL),13)>34) AND (HIGH/C<1.021) ;
东方红:=ZTJ AND (REF(BARSLAST(ZTJ),1)>20 OR BARSSINCE( ZTJ)=0);
{DRAWTEXT(圆弧突破,圆弧突破,'圆弧突破'),COLORC854FF;}
DRAWTEXT(金蜘蛛,MA20+0.08,'金蛛'),COLORYELLOW;
DRAWTEXT(月蜘蛛,MA40-0.08,'月蛛'),COLORYELLOW;
DRAWTEXT(老鸭头,MA10-0.08,'老鸭头'),COLORGREEN;
DRAWTEXT(一穿三,C*0.98,'穿三线'),COLORFF00FF;
DRAWTEXT(芙蓉出水,H*0.98,'芙蓉出水'),COLORGREEN;
DRAWTEXT(东方红 ,H*1.01,'东方红'),COLORRED;
{量能定义}
VOL5:=MA(VOL,5);
VOL10:=MA(VOL,10);
VOL20:=MA(VOL,20);
VOL40:=MA(VOL,40);
量托:=VOL5>=VOL40 AND CROSS(VOL10,VOL40) AND REF(VOL10,1)<REF(VOL40,1) AND C>O;
LTJ1:=(BARSLAST(CROSS(VOL5,VOL10))>BARSLAST(CROSS(VOL5,VOL20)) OR BARSLAST(CROSS(VOL5,VOL10))=BARSLAST(CROSS(VOL5,VOL20))) AND BARSLAST(CROSS(VOL5,VOL20))=0 AND VOL10<VOL20;
LTJ2:=(C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2) AND C>REF(C,2));
LTJ:=LTJ1 AND LTJ2;
放量突破:=DYNAINFO(4)>0
AND HHV(HIGH,10)/LLV(LOW,10)<1.25
AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)
AND CLOSE>OPEN
AND CLOSE>=HHV(HIGH,10);
{量价配合}
LJ3:=VOL>=HHV(VOL,20) AND VOL/REF(VOL,1)>=2;
LJ4:=C/O>1.02 AND C>REF(C,1);{收盘价咯大于昨天涨幅大于百分之二 }
量价飞:=LJ3 AND LJ4;
{将军黄金柱}
三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3);
三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2))<REF(V,3));
三日价涨A:=C>=REF(C,1);
三日价涨B:=C<REF(C,1);
三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);
TIM:=IF(DATE<1140214,1,0);
缩倍柱:=(VOL*1.95<=REF(VOL,1))*TIM;
百日低量:=(VOL=LLV(VOL,100))*TIM;
倍量柱:=C>REF(C,1)*1.04 AND (VOL>=1.9*REF(VOL,1))*TIM;
四日前倍量柱:=(REF(VOL,3)>1.9*REF(VOL,4))*TIM;
四日前高量柱:=(REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)<1.9*REF(VOL,4) AND 三日量缩)*TIM;
前三引用不成立:=COUNT(REF(四日前倍量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0;
倍量黄金柱:=四日前倍量柱 AND 三日量缩 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
高量黄金柱:=四日前高量柱 AND
[url=http://www.70822.com/soft/sort013/sort03/down-50160.html]大智慧乾坤布林主图指标公式[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:62.50000 毫秒