機構通道凈買賣資金統(tǒng)計占比 精品主圖指標 源碼無未來 這是最近花300元購買的計算統(tǒng)計機構通道凈買賣資金的指標,大于一定金額才會顯示,占比是凈買入的占比,也是大于一定比例才會顯示。 【主圖公式代碼】 AAV:=VOL/((H-L)*2-ABS(C-O)); KKPU1:=IF(C>OPEN,AAV*(HIGH-LOW),IF(C<OPEN,AAV*((HIGH-OPEN)+(C-LOW)),VOL/2)),NODRAW; KKPU2:=IF(C>OPEN,0-AAV*((HIGH-C)+(OPEN-LOW)),IF(C<OPEN,0-AAV*(HIGH-LOW),0-VOL/2)),NODRAW; 凈流入:=(KKPU1+KKPU2)/99,NODRAW; KKPU3:=(C/REF(C,1)-1)*100; DRAWTEXT(凈流入>=300 AND KKPU3>=4,L*0.995,VARCAT(VARCAT('凈買:',VAR2STR(凈流入,0)),'萬')),COLORCYAN; DRAWICON(凈流入>=300 AND KKPU3>=4,L,1); DRAWICON(凈流入<-300 AND KKPU3<=-3,H,2); DRAWTEXT(凈流入<-300 AND KKPU3<=-3,H*1.01,VARCAT(VARCAT('流出:',VAR2STR(凈流入,0)),'萬')),COLORGREEN; AP:=AMOUNT/10000;占比:=凈流入/AP*100,NODRAW; DRAWTEXT(凈流入>=200 AND KKPU3>=3 AND 占比>=15 ,L*0.965,VARCAT(VARCAT('占比:',VAR2STR(占比,0)),'%')),COLORMAGENTA; DRAWTEXT_FIX(1,0.92,0.85,0,' '),COLORWHITE; DRAWTEXT_FIX(1,0.94,0.9,0,''),COLORWHITE; DRAWTEXT_FIX(1,0.92,0.95,0,''),COLORBLUE; A:=(C/REF(C,1)-1)*100>9.82 AND H=C AND H<>L,NODRAW; B:=BARSLAST(A),NODRAW;B1:=REF(BARSLAST(A),1),NODRAW; AO:=REF(C,B),NODRAW;XX2:=CROSS(C,AO) AND C>O AND C>REF(C,1) AND B1>=3 AND B1<=10 NODRAW; XX2A:=FILTER(XX2,30); KMJNHB1:=AO-0.01,NODRAW; XX2B:=CROSS(C,KMJNHB1) AND C>O AND C>REF(C,1) AND B1>=3 AND B1<=10 AND H=C; KMJNHB2:=FILTER(XX2B,30),COLORMAGENTA; A3P:=REF(O,B); A3A:=A3P+(AO-A3P)*0.7,NODRAW; XX2C:=CROSS(C,A3A) AND C>O AND C>REF(C,1) AND B1>=3 AND B1<=10 ; KMJNHBP:=FILTER(XX2C,30),COLORMAGENTA; 有資金才有買點:XX2A OR KMJNHB2 OR KMJNHBP,NODRAW; UUJ:=COUNT(A,10)>=2; DRAWTEXT_FIX(C>0,0.004,0,0,HYBLOCK),COLORYELLOW,LINETHICK2; DRAWTEXT_FIX(C>0,0.080,0,0,DYBLOCK),COLOR8000FF,LINETHICK2; DRAWTEXT_FIX(C>0,0.16,0,0,GNBLOCK),COLORLIBLUE,LINETHICK2; DRAWTEXT_FIX(1,0,0.10,0,FGBLOCK),COLORCC99CC,LINETHICK2; DRAWTEXT_FIX(1,0.00,0.18,0,':')COLORWHITE; DRAWTEXT_FIX(1,0.09,0.18,0,EXTERNSTR(0,1))COLORWHITE; DRAWTEXT_FIX(1,0.00,0.26,0,':')COLORFF00FF; DRAWTEXT_FIX(1,0.09,0.26,0,EXTERNSTR(0,2))COLORFF00FF; |
|
來自: 種田的狼 > 《戰(zhàn)法指標》