最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 量比指标公式源码

    正文概述    2024-05-04 04:35:22  
    {参数:M1:1105} 量比:/REF(ma(VOL,M1),1)*10,LINETHICK0,COLORYELLOW;二十日量比:SUM(VOL/REF(MA(VOL,M1),1)*1,20),NODRAW; stICKLINE(量比,量比,0,1,1),COLOR00FF00;正常量:10;换手:V/CAPITAL*100,COLORRED,NODRAW;十日换手:SUM(换手,10),NODRAW;二十日换手:SUM(换手,20),NODRAW; 关注线:20.5;MA5:=MA(量比,1),COLORFF00FF,LINETHICK2; 线:40,LINETHICK2;STICKLINE(量比 =关注线,量比,0,3,0),COLORRED; ZK1:="kd.K#WEEK"(9,3,3);IF(量比 REF(量比,1),量比,DRAWNULL),COLORYELLOW,LINETHICK3; ZD2:="KD.D#WEEK"(9,3,3);STICKLINE(量比 =10,量比,0,2,1),COLORYELLOW; ZF1:=".DIF#WEEK"(12,26,9); ZA2:="MacD.DEA#WEEK"(12,26,9); JCD:=FILTER(crOSS(ZK1,ZD2)ANDREF(ZD2,1) 30,13),NODRAW; 取点:=BArslAST(JCD); 吸筹区:=IF(取点 0AND取点 61,取点,0); ZS1:=吸筹区; ZS2:=吸筹区+1; ZS3:=换手/5; ZSA:=IF(ZS1 0,SUM((ZS3),吸筹区+1),0),NODRAW; %:=ZSA,NODRAW; 建仓天数:ZS1,NODRAW; 成交额【亿】:AMOUNT/100000000,NODRAW,COLORLIRED; 换手冷清:STICKLINE(换手 3,(0-6)*4,(换手-6)*4,0.5,1),COLORGREEN; 换手活跃:STICKLINE(换手 =3AND换手 7,(0-6)*4,(换手-6)*4,0.5,1),COLORRED; 换手热烈:STICKLINE(换手 =7,(0-6)*4,(换手-6)*4,0.5,1),COLORFF00FF;VAR4:=MA(CLOSE,5); VAR5:=MA(CLOSE,10);DRAWICON(二十日换手 30,(0-6)*5,9); DRAWICON(二十日换手 80,(0-6)*6,17); DRAWICON(十日换手 30,(0-6)*3,1); DRAWICON(十日换手 80,(0-6)*4,23); VAR6:=MA(CLOSE,30); VAR7:=MA(CLOSE,60); VAR8:=EMA(COST(85),7); VAR9:=EMA(COST(15),7); VARA:=(SUM(((CLOSE*VOL)*10),4)/SUM((VOL*200),4)); VARB:=(INTPART((VARA*10))/10); VARC:=(SUM(((CLOSE*VOL)*10),7)/SUM((VOL*200),7)); VARD:=(INTPART((VARC*10))/10); VARE:=(SUM(((CLOSE*VOL)*10),28)/SUM((VOL*200),28)); VARF:=(INTPART((VARE*10))/10); :=(EMA(CLOSE,5)-EMA(CLOSE,10)),COLORRED,LINETHICK1; 趋势:=EMA(短线趋势,9),COLORMAGENTA,LINETHICK2; VAR10:=((0-((10*(HHV(CLOSE,5)-CLOSE))/(HHV(CLOSE,5)-LLV(LOW,5))))+10); VAR11:=((0-((10*(HHV(CLOSE,10)-CLOSE))/(HHV(CLOSE,10)-LLV(LOW,10))))+10); VAR12:=((0-((10*(HHV(CLOSE,20)-CLOSE))/(HHV(CLOSE,20)-LLV(LOW,20))))+10); VAR13:=((0-((10*(HHV(CLOSE,30)-CLOSE))/(HHV(CLOSE,30)-LLV(LOW,30))))+10); VAR14:=REF(中线趋势,1); VAR15:=中线趋势; VAR16:=(VAR15-VAR14); VAR17:=REF(短线趋势,1); VAR18:=短线趋势; VAR19:=(VAR18-VAR17); VAR1A:=OPEN; VAR1B:=CLOSE; 吸筹:IF((((((((VAR1A =VAR4)AND(VAR1A =VAR5))AND(VAR1A =VAR6))AND(VAR1B =VAR4))AND(VAR1B =VARF))AND(VAR16 0))AND(VAR19 0)),20,0),LINETHICK2,COLOR66FF00; 短线指标:=IF(((((CROSS(短线趋势,中线趋势)AND(短线趋势 0))AND(中线趋势 (0-0.2)))AND(VAR11 45))AND(VAR16 0)),0.3,0.1),COLOR66FF00;N:=20;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW); QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW))); QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN)))); QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE)))); QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ))); ddx:((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,1000000,10000),COLOR00AAAA,LINETHICK; DX:=MA(DDX,5)*N; DDX1:=SMA(DX,3,1),COLORFFFFFF; DDX2:=SMA(DDX1,3,1),COLOR00FFFF; DDX3:=EMA(DDX2,5),COLORFF00FF; 预警:DDX 0ANDMA(V,5) MA(MA(V,5),5)ANDCROSS(DDX1,DDX2),LINETHICK; 天:=COUNT(DDX 0,5),COLORRED; DRAWTEXT(预警,DDX*1.06,'★'),LINETHICK3,COLOR00FFFF; 上斜线:=DRAWLINE(量比 =LLV(量比,20),量比,量比 =HHV(量比,20),HHV(量比,20),0),,COLOR00FFFF,LINETHICK2; 下斜线:=DRAWLINE(量比 =HHV(量比,20),量比,量比 =LLV(量比,10),HHV(量比,6),0),COLORFFCCCC,LINETHICK2; DRAWTEXT(CURRBARSCOUNT=30,突破线,'10日换手 30出红箭头, 80出红十字');DRAWTEXT(CURRBARSCOUNT=50,关注线,'20日换手 30出绿箭头, 80出桔子'),COLOR00FFFF; STICKLINE(C 0,80,80,5,0),COLOR7F00FF; STICKLINE(C 0,50,50,5,0),COLORFFCCAA; STICKLINE(C 0,20,20,10,0),COLORGRAY; STICKLINE(C 0,-10,-10,5,0),COLOR008000; STICKLINE(C 0,-40,-40,5,0),COLORMAGENTA; VV:=AMOUNT/100000000; LB:=vv/((HHV(vv,283)+HHV(vv,284))/2); DX:=DMA(c,LB); jh:=DMA(H,LB); JL:=DMA(L,LB); HH:=REF((HHV(JH,283)+HHV(JH,284))/2,1); LL:=REF((LLV(JL,283)+LLV(JL,284))/2,1); RSV:=(DX-LL)/(HH-LL)*100; K:=SMA(RSV+Sma(RSV-REF(rsv,1),15,1),15,1); RHH:=REF(HHV(jh,68),1); RLL:=REF(LLV(jL,68),1); RSV1:=(RHH-DX)/(RHH-RLL)*100; fK:SMA(RSV1+SMA(RSV1-ref(RSV1,1),5,1),5,1),COLOR00CCCC; XHH:=REF((HHV(jh,16)*2+HHV(JH,17))/3,1); XLL:=REF((LLV(JL,16)*2+LLV(JL,17))/3,1); XSV:=(XHH-DX)/(XHH-XLL)*100; XK:SMA(XSV+SMA(XSV-ref(XSV,1),3,1),3,1),COLORWHITE; :((DX-MA(DX,63))/(AVEDEV(DX,63)*6.75/100)),COLORRED; MCI:(eMA(cci+eMA(cci-ref(cci,1),7),7)+eMA(cci+eMA(cci-ref(cci,1),8),8))/2,COLORGREEN; DRAWTEXT(CROSS(CCI,FK)ANDK 20,25,'★'),COLORMAGENTA;

    公式解读:

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 量比指标公式源码 加入收藏