攻擊流量+最多連紅天副圖公式
地軸:0,colorwhite; 中軸:=25,coloryellow; 天軸:=50,colormagenta; PJJ:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9); JJ:=REF(EMA(PJJ,3),1); QJJ:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN)))); XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),IF((CLOSE < OPEN), (QJJ * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) + IF((CLOSE > OPEN), (0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN), (0 - (QJJ * (HIGH - LOW))),(0 - (VOL / 2))))); ZLL:=(VOL / CAPITAL); HSL1:=IF((ZLL > 10),10,ZLL); HSL:=((XVL / 20) / 1.15); 攻擊流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22)); GJJ:=EMA(攻擊流量,8); LLJX:=EMA(攻擊流量,3); CC:=MAX(C,O); SS:=(H-CC)/(H-L); XX:=(CC-L)/(H-L); ST:=ABS(C-O)/(H-L); 日流入:=IF(C>REF(C,1),ST*VOL*100,0)/CAPITAL,colorred; 日流出:=IF(C<REF(C,1),-ST*VOL*100,0)/CAPITAL,colorcyan; STICKLINE(((HSL * 0.4) >= 0),((HSL * 0.4) +LLJX),0,3,0),COLOR00FFFF; STICKLINE(((HSL * 0.4) < 0),((HSL * 0.4) +LLJX),0,3,0),COLOR00FF00; 資金流入:=IF((HSL*0.4+LLJX)>0,(HSL*0.4+LLJX),DRAWNULL),colorred; 資金流出:=IF((HSL*0.4+LLJX)<0,(HSL*0.4+LLJX),DRAWNULL),COLOR00FF00; 資金進(jìn)出:=(HSL*0.4+LLJX),LINETHICK0; 萬元:=AMOUNT/10000,VOLSTICK,COLORFF00FF; 資金凈進(jìn)出:IF((HSL*0.4+LLJX)>0,資金流入,資金流出),colorwhite,POINTDOT; 連紅天1:=BARSLASTCOUNT(資金凈進(jìn)出>0),,COLORA20FFD,NODRAW; 連紅天2:=IF(連紅天1=0,REF(連紅天1,1),連紅天1),,COLORA20FFD,NODRAW; 連紅天3:=IF(連紅天2=0,REF(連紅天1,2),連紅天2),,COLORA20FFD,NODRAW; 連紅天4:=IF(連紅天3=0,REF(連紅天1,3),連紅天3),,COLORA20FFD,NODRAW; 近期連紅天:IF(連紅天4=0,REF(連紅天1,4),連紅天4),,coloryellow,NODRAW; 最多連紅天1:=MAX(REF(近期連紅天,1),近期連紅天),coloryellow,NODRAW; 最多連紅天2:=MAX(最多連紅天1,REF(近期連紅天,2)),coloryellow,NODRAW; 最多連紅天3:=MAX(最多連紅天2,REF(近期連紅天,3)),coloryellow,NODRAW; 最多連紅天4:=MAX(最多連紅天3,REF(近期連紅天,4)),coloryellow,NODRAW; 最多連紅天5:=MAX(最多連紅天4,REF(近期連紅天,5)),coloryellow,NODRAW; 最多連紅天:MAX(最多連紅天5,REF(近期連紅天,6)),coloryellow,NODRAW; 流量10:MA(SUM(日流入,10)+SUM(日流出,10),2),colorlimagenta; 短線20:MA(SUM(日流入,20)+SUM(日流出,20),2),colorlired; 散戶30:MA(SUM(日流入,30)+SUM(日流出,30),2),colorligreen; 三日資金:SUM(資金進(jìn)出,3),colorwhite,NODRAW; 五日資金:SUM(資金進(jìn)出,5),COLORFF00FF,NODRAW; 十日資金:SUM(資金進(jìn)出,10),COLOR0000FF,NODRAW; 資金流量:=LLJX*50,LINETHICK0,COLOR0000FF; STICKLINE((資金流量 > 0),資金流量,0,3,0),COLOR0000FF; STICKLINE((資金流量 < 0),資金流量,0,3,0),COLORFF3300; 中戶60:MA(SUM(日流入,60)+SUM(日流出,60),2),colormagenta; 主力181:MA(SUM(日流入,181)+SUM(日流出,181),2),colorcyan; 莊家250:MA(SUM(日流入,250)+SUM(日流出,250),2),colorred; WWWCHNMONEYCOM:MA(SUM(日流入,5)+SUM(日流出,5),2),coloryellow; 黃柱初出藍(lán):=REF(資金流出,1)<0 AND 資金流入>30 AND C>O AND C>REF(C,1) AND C>MA(C,3);{擒牛指標(biāo)公式網(wǎng)} X:=(3*C+2*L+O+H)/7; 多空線:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6) +13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12) +7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+ REF(X,20))/210; 長黃柱:= 資金流入>300 AND CROSS(C,多空線); DRAWTEXT(黃柱初出藍(lán),-30,'★'),COLORFF00FF; DRAWTEXT(長黃柱 ,((HSL * 0.4) * 1.5)*1.4 ,'★'),colorred; STICKLINE(日流入,日流入*2,0,1,0),colorlimagenta; STICKLINE(日流出,日流出*2,0,1,0),colorligreen;
|