大智慧黄金四区主图指标公式,大智慧乾坤布林主图指标公式
admin888
|大智慧黄金四区主图指标公式,大智慧乾坤布林主图指标公式
大智慧黄金四区主图指标公式
{J黄金四区}DRAWGBKlast(DATE>900101,strip(RGB(0,0,150),RGB(0,0,50),1));
DRAWTEXTABS(15,5,'('+STKLABEL+') '+ STKNAME+''),Color00FFFF,LINETHICK2;
DRAWTEXTABS(10,20,'总股本: '+NUMTOSTRn(FINANCE2(35)/10000,1)+'亿股'),Color0088ff,LINETHICK2;
DRAWTEXTABS(10,35,'流通A股: '+NUMTOSTRn(FINANCE2(37)/10000,1)+'亿股'),Color00ff00,LINETHICK2;
DRAWTEXTABS(10,50,'市盈率: '+NUMTOSTRn(DYNAINFO(39),1)+'倍'),Color8800ff,LINETHICK2;
{K线}STICKLINE(OPEN>=CLOSE ,H ,L,0,0 ),COLOR00FF00,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLORFFFF00,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLOR777700,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR668800,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR559900,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR44AA00,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR33BB00,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR22CC00,LAYER2;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00EE00,LAYER2;
STICKLINE(CLOSE>OPEN,H,L,0,0) ,COLOR0000FF,LAYER2;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLOR000066;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000088;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR0000AA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR0000BB;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000DD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000EE;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000FF;
BC:=(2*C+H+L)/4;
MC5:EMA(MA(BC,5),2),Color99FF99,DOTLINE;
PARTLINE(MC5,(MC5>REF(MC5,1)),rgb(255,0,0) ),LINETHICK3,LAYER0;
X:=BARSLAST(DISPSTATUS=1)+1;
P:=BACKSET(DISPSTATUS=2,X/2+1);
K:=BARSLAST(CROSS(P,0.5))+1;
KJ:=HHVALL(HIGH)-LLVALL(LOW);
平衡:=IF(K>=0,LLVALL(LOW)+KJ/2,0);
压力:=IF(K>=0,HHVALL(HIGH)-KJ*0.191,平衡);
支撑:=IF(K>=0,LLVALL(LOW)+KJ*0.191,平衡);
DRAWRECTABS(180,1,200+(HHV(HIGH,K))*300/C ,80 ,rgb(0,0,255)),Color0000FF,LINETHICK2,LAYER3;
DRAWRECTABS(185,4,200+(压力)*300/C ,70 ,rgb(140,0,60)),Color99FF99,LAYER2;
DRAWRECTABS(190,7,200+(平衡)*300/C ,60 ,rgb(0,120,0)),Colorff00FF,LAYER1;
DRAWRECTABS(195,10,200+(支撑)*300/C ,50 ,rgb(80,0,80)),Color00ffFF,LAYER0;
DRAWRECTABS(200,21,200+(C)*300/C ,39 ,rgb(10,10,10)),Color0077FF,LINETHICK1,LAYER0;
DRAWTEXTABS(170,90,'【支撑 '+NUMTOSTRn(支撑,2)+' 元】'),Color00FFff,LINETHICK2,LAYER0;
DRAWTEXTABS(305,90,'【平衡 '+NUMTOSTRn(平衡,2)+' 元】'),Color44FF99,LINETHICK2,LAYER0;
DRAWTEXTABS(440,90,'【压力 '+NUMTOSTRn(压力,2)+' 元】'),Color0044FF,LINETHICK2,LAYER0;
DRAWTEXTABS(220,23,'【四区周期:--→ '+K+'天】'),Color00FFFF,LINETHICK2,LAYER0;
FILLRGN(压力,HHVALL(HIGH),X>K,RGB(0,0,255)),PRECIS2,LAYER7;
{该行设置背景色A}FILLRGN(平衡,压力,X>K,RGB(90,0,60)),PRECIS2,LAYER7;
{该行设置背景色B}FILLRGN(支撑,平衡,X>K,RGB(0,80,0)),PRECIS2,LAYER7;
{该行设置背景色C}FILLRGN(LLVALL(LOW),支撑,X>K,RGB(60,40,0)),PRECIS2,LAYER7;
{该行设置背景色D}M13:IF(K>=0,MA(C,13),0),COLOR00FFff;
M21:IF(K>=0,MA(C,21),0),COLOR00ff00;
M55:IF(K>=0,MA(C,55),0),COLOR0077ff;
A1:=hhv(h,X);
{x:=500}A2:=llv(l,X);
A3:=(A1+A2)/2;
K0:(0.5*A1+0.5*A2),COLOR00ffff;
K1:IF(K>=0,(0.618*A1+0.382*A2),0),COLOR0000ff,DOTLINE;
K2:IF(K>=0,A2+(A1-A2)*0.74,0),DOTLINE;
K3:IF(K>=0,A2+(A1-A2)*0.865,0),DOTLINE;
K4:A2+(A1-A2)*0.98,COLOR0077ff,LINETHICK2;
{最高}K5:IF(K>=0,(0.382*A1+0.618*A2),0),COLOR0598ff,DOTLINE;K6:IF(K>=0,A1-(A1-A2)*0.74,0),DOTLINE;
K7:IF(K>=0,A1-(A1-A2)*0.865,0),COLOR99ff99,DOTLINE;
K8:A1-(A1-A2)*0.98,COLORBLUE,LINETHICK2;
{最低}nnl:=DISPSTATUS=2;
DRAWTEXT(nnl,a1*0.998,'最高--→'+A1+'元'),ALIGN1,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,K3,'0.865-→'+NUMTOSTRN(K3,2)+'元'),ALIGN1,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,K2,'0.742-→'+NUMTOSTRN(K2,2)+'元'),ALIGN1,Color00FFff,LINETHICK1;
DRAWTEXT(nnl,K1,'0.618-→'+NUMTOSTRN(K1,2)+'元'),ALIGN1,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,K0,'0.500-→'+NUMTOSTRN(K0,2)+'元'),ALIGN1,Color00FF00,LINETHICK1;
DRAWTEXT(nnl,K5,'0.382-→'+NUMTOSTRN(K5,2)+'元'),ALIGN1,Color00FFff,LINETHICK1;
DRAWTEXT(nnl,K6,'0.258-→'+NUMTOSTRN(K6,2)+'元'),ALIGN1,Color0047FF,LINETHICK1;
DRAWTEXT(nnl,K7,'0.135-→'+NUMTOSTRN(K7,2)+'元'),ALIGN1,Color99FF99,LINETHICK1;DRAWTEXT(nnl,a2*1,'最低--→'+A2+'元'),ALIGN1,VALIGN2,Color0047FF,LINETHICK1;
HX:=HHVALL(x);
GX:(HX- x )+1,PRECIS0,LINETHICK0;
DRAWTEXT(GX=6,K0,'6'),COLORYELLOW;
DRAWTEXT(GX=9,K0,'9'),COLORYELLOW;
DRAWTEXT(GX=12,K0,'12'),COLORYELLOW;
DRAWTEXT(GX=15,K0,'15'),COLORYELLOW;
DRAWTEXT(GX=18,K0,'18'),COLORYELLOW;
DRAWTEXT(GX=21,K0,'21'),COLORYELLOW;
DRAWTEXT(GX=24,K0,'24'),COLORYELLOW;
DRAWTEXT(GX=27,K0,'27'),COLORYELLOW;
DRAWTEXT(GX=30,K0,'30'),COLORYELLOW;
DRAWTEXT(GX=33,K0,'33'),COLORYELLOW;
DRAWTEXT(GX=36,K0,'36'),COLORYELLOW;
DRAWTEXT(GX=39,K0,'39'),COLORYELLOW;
DRAWTEXT(GX=42,K0,'42'),COLORYELLOW;
DRAWTEXT(GX=45,K0,'45'),COLORYELLOW;
DRAWTEXT(GX=50,K0,'50'),COLORYELLOW;
DRAWTEXT(GX=60,K0,'60'),COLORYELLOW;
大智慧乾坤布林主图指标公式
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
{避免遮挡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
STICKLINE(C
{趋向监控}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>OAND (REF(K线整理,2)>REF(K线整理,1) AND K线整理>REF(K线整理,1))AND (REF(L,1)REF(牛熊线,1)) ANDVOL>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)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)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)
{出水芙蓉}出水1:=OPEN
出水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)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
LTJ2:=(C>O AND REF(C,1)REF(O,2) AND C>REF(C,2));
LTJ:=LTJ1 AND LTJ2;
放量突破:=DYNAINFO(4)>0AND HHV(HIGH,10)/LLV(LOW,10)<1.25AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)AND CLOSE>OPENAND 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))
三日价涨A:=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 三日量缩 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
黄金柱:=倍量黄金柱 OR 高量黄金柱 AND (DX-EMADX)>4;
倍量将军柱:=NOT(黄金柱) AND 四日前倍量柱 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
高量将军柱:=NOT(黄金柱) AND 四日前高量柱 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
将军柱:=倍量将军柱 OR 高量将军柱 AND (DX-EMADX)>4;
DRAWTEXT(LTJ,H+0.2,'量托+多方炮'),COLORYELLOW;
DRAWTEXT(量托,C*1,'量托'),COLORWHITE;
DRAWTEXT(放量突破,H+0.3, '放量突破'),COLORRED;
DRAWTEXT(量价飞 ,O*1.02,'?量价飞'),COLORYELLOW;
BACKSET100:=BACKSET(黄金柱 OR 将军柱 ,4);
FILTER100:=FILTER(BACKSET100,3);
BACKSET101:=BACKSET(黄金柱,4);
FILTER101:=FILTER(BACKSET101,3);
BACKSET104:=BACKSET(将军柱,4);
FILTER104:=FILTER(BACKSET104,3);
DRAWTEXT(FILTER101,LOW*0.976,'?黄金柱'),COLORYELLOW;DRAWTEXT(FILTER104,LOW*0.976,'?将军柱'),COLORRED;{金牛}金牛VV:=MA(VOL,5)>MA(VOL,10) AND MA(VOL,10)>MA(VOL,20);金牛AA:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30) AND MA(C,30)>MA(C,60) AND MA(C,60)>MA(C,120);金牛EE:=(HHV(C,60)-LLV(C,60))/LLV(C,60);金牛BB:=REF(金牛EE,1)<=0.30;金牛CC:=C>O AND C>=REF(HHV(C,60),1);金牛DD:=(C-REF(C,1))/REF(C,1)>=0.03;金牛出击:=金牛VV AND 金牛AA AND 金牛BB AND 金牛CC AND 金牛DD;DRAWTEXT(金牛出击,LOW,'金牛'),COLOR00FFFF;{追 击}VAR0:=IF((DATE<=1381006),1,0);多:=(EMA(CLOSE,3))*(VAR0);空:=(EMA(CLOSE,5))*(VAR0);买线:=(EMA(CLOSE,2))*(VAR0);卖线:=(EMA((SLOPE(CLOSE,21))*(20)+CLOSE,42))*(VAR0);穿越红线才能牛:=(HHV(MA(HIGH,13),13))*(VAR0);跌破受阻上支撑:=(LLV(MA(HIGH,13),1))*(VAR0);主力线:=(EMA(CLOSE,2))*(VAR0);散户线:=(EMA(CLOSE,4))*(VAR0);DRAWTEXT(CROSS(多,空) AND (买线>=卖线) AND (跌破受阻上支撑=穿越红线才能牛),O,'?追击'),COLOR00FFFF;
{攻击点}金分水岭:=SMA(SMA((CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE,13,1),2.5,1.5);
金牛线:=3*SMA((CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE,13,1)-2*SMA(SMA((CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE,13,1),2.5,1.5);
金熊线:=4*SMA(SMA((CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE,13,1),2.5,1.5)-3*SMA((CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE,13,1);
金TT:=CROSS(金分水岭 ,金熊线);
金TY:=CROSS(金牛线 ,金分水岭);
黄金买点:=IF((金TT AND 金TY),5,0);
暴GG:=COUNT((C-REF(C,1))/REF(CLOSE,1)>=-0.03,5);
暴SS:=COUNT((C-REF(C,1))/REF(CLOSE,1)<=0.03,5);
暴QQ:=IF((暴GG AND 暴SS),1,0);
暴涨买点:=IF((暴QQ AND 黄金买点),10,0);
攻击点:=黄金买点 AND 暴涨买点;
DRAWICON(攻击点,O*0.99,7);
{超级黑马}HM02:=IF((CLOSE>LLV(CLOSE,SUMBARS(VOL,CAPITAL))),1,(0-1))*IF((SUM(IF((CLOSE>REF(CLOSE,1)),VOL,IF((CLOSELLV(SUM(IF((CLOSE>REF(CLOSE,1)),VOL,IF((CLOSE
HM03:=(COUNT((IF((HM02=(0-1)),1,0)=1),8)>2);
HM04:=((CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,AMOUNT/SUM(AMOUNT,13)/10000))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,AMOUNT/SUM(AMOUNT,13)/10000)*100<(0-18));
HM05:=((CLOSE-MIN(REF(CLOSE, 5)*0.865,REF(CLOSE,21)*0.772))/CLOSE<0.009);
HM06:=((HM03 AND HM04) AND HM05);
HM07:=(((((OPEN
HM08:=(HM07 AND (COUNT(HM07, 5)=1));
HM09:=((((((((((((MA(CLOSE,3)>REF(MA(CLOSE,3),1)) AND (MA(CLOSE,5)>REF(MA(CLOSE,5),1))) AND (MA(CLOSE,10)>REF(MA(CLOSE,10),1))) AND (VOL/240>REF(VOL,30)*1.2/240*1.5)) AND (CLOSE> LOW*1.059)) AND (CLOSE > REF(MA(CLOSE, 3),1))) AND REF(CLOSE,1)) AND (MA(CLOSE,5)>REF(MA(CLOSE,5),1))) AND (MA(CLOSE,10)>REF(MA(CLOSE,10),1))) AND (MA(CLOSE,20)>REF(MA(CLOSE,20),1))) AND (MA(VOL,5)>REF(MA(VOL,5),1))) AND ((MA(CLOSE,5)-MA(CLOSE,10))<= 0.579));
HM0A:=FILTER(HM09,5);
HM0B:=((HM06 OR HM07) AND HM0A);
DRAWTEXT(HM0B,OPEN*0.98,'黑马'),COLORYELLOW;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。