以下是一些常见的主力散户副图指标公式:
主力进场指标公式
plaintextGZB1:=IF(C>REF(C,1),V,0)/100; GZB2:=IF(C<REF(C,1),V,0)/100; 主力:EMA(MA(GZB1,3),3),COLORWHITE,LINETHICK2; 散户:EMA(MA(GZB2,3),10),COLORGREEN,LINETHICK2; 比值:主力/散户,NODRAW; 差值:主力-散户,NODRAW; GZB3:=FORCAST(EMA(C,16),7); 总资金:AMOUNT/100000000,COLORFF00FF,NODRAW; GZB4:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); GZB5:=IF(CLOSE>OPEN,GZB4*(HIGH-LOW),IF(CLOSE<OPEN,GZB4*((HIGH-OPEN)+ (CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED; GZB6:=IF(CLOSE>OPEN,0-GZB4*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE<OPEN,0-GZB4*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00; 净入:GZB5+GZB6,COLORMAGENTA,NODRAW; 净比:净入/C*100000; 净值:ABS(净比/差值); STICKLINE(差值>0 AND 比值>=0 AND 比值<1.2,差值,0,9,0),COLORBROWN; STICKLINE(差值>0 AND 比值>=0 AND 比值<1.2 AND 净入>0 AND 净值>0.05,差值,差值+净比,9,0),COLORDB70DB; STICKLINE(比值>1.2,差值,0,9,0),COLORRED; STICKLINE(比值>1.2 AND 净入>0 AND 净值>0.05,差值,差值+净比,9,0),COLORDB70DB; STICKLINE(比值>1.2 AND 净入<0 AND 净值>0.05,差值,差值+净比,9,0),COLORGREEN; STICKLINE(差值<0 AND 比值>=0.8 AND 比值<1,差值,0,9,0),COLORBROWN; STICKLINE(差值<0 AND 比值>=0.8 AND 比值<1 AND 净入<0 AND 净值>0.05,差值,差值+净比,9,0),COLORYELLOW; STICKLINE(差值<0 AND 比值<0.8,差值,0,9,0),COLORGREEN; STICKLINE(差值<0 AND 比值<0.8 AND 净入<0 AND 净值>0.05,差值,差值+净比,9,0),COLORYELLOW; STICKLINE(差值<0 AND 比值<0.8 AND 净入>0 AND 净值>0.05,差值,差值+净比,9,0),COLORRED; 卖出:=比值>1.2 AND C<O AND 净入<0; DRAWICON(卖出=1,8,2); 买入:=比值>1.2 AND (差值+净比)>=REF((差值+净比),1) AND C>=REF(C,1) AND MA(净入,3)>=0 AND 卖出=0; DRAWICON(买入=1,8,1); plaintext991234567891011121314151617181920212223242526272829›GZB1:=IF(C>REF(C,1),V,0)/100;GZB2:=IF(C<REF(C,1),V,0)/100;主力:EMA(MA(GZB1,3),3),COLORWHITE,LINETHICK2;散户:EMA(MA(GZB2,3),10),COLORGREEN,LINETHICK2;比值:主力/散户,NODRAW;差值:主力-散户,NODRAW;GZB3:=FORCAST(EMA(C,16),7);总资金:AMOUNT/100000000,COLORFF00FF,NODRAW;GZB4:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));GZB5:=IF(CLOSE>OPEN,GZB4*(HIGH-LOW),IF(CLOSE<OPEN,GZB4*((HIGH-OPEN)+ (CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED;GZB6:=IF(CLOSE>OPEN,0-GZB4*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE<OPEN,0-GZB4*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00;净入:GZB5+GZB6,COLORMAGENTA,NODRAW;净比:净入/C*100000;净值:ABS(净比/差值);STICKLINE(差值>0 AND 比值>=0 AND 比值<1.2,差值,0,9,0),COLORBROWN;STICKLINE(差值>0 AND 比值>=0 AND 比值<1.2 AND 净入>0 AND 净值>0.05,差值,差值+净比,9,0),COLORDB70DB;STICKLINE(比值>1.2,差值,0,9,0),COLORRED;STICKLINE(比值>1.2 AND 净入>0 AND 净值>0.05,差值,差值+净比,9,0),COLORDB70DB;STICKLINE(比值>1.2 AND 净入<0 AND 净值>0.05,差值,差值+净比,9,0),COLORGREEN;STICKLINE(差值<0 AND 比值>=0.8 AND 比值<1,差值,0,9,0),COLORBROWN;STICKLINE(差值<0 AND 比值>=0.8 AND 比值<1 AND 净入<0 AND 净值>0.05,差值,差值+净比,9,0),COLORYELLOW;STICKLINE(差值<0 AND 比值<0.8,差值,0,9,0),COLORGREEN;STICKLINE(差值<0 AND 比值<0.8 AND 净入<0 AND 净值>0.05,差值,差值+净比,9,0),COLORYELLOW;STICKLINE(差值<0 AND 比值<0.8 AND 净入>0 AND 净值>0.05,差值,差值+净比,9,0),COLORRED;卖出:=比值>1.2 AND C<O AND 净入<0;DRAWICON(卖出=1,8,2);买入:=比值>1.2 AND (差值+净比)>=REF((差值+净比),1) AND C>=REF(C,1) AND MA(净入,3)>=0 AND 卖出=0;DRAWICON(买入=1,8,1);
主力散户资金指标公式
plaintextA:=IF((CLOSE>126.32),(AMOUNT)/(100000),VOL); 主力:MA(A,4),LINETHICK0,COLORYELLOW; 游资:MA(A,8),LINETHICK0,COLOR00FF00; 大户:MA(A,16),LINETHICK0,COLORRED; 散户:MA(A,32),LINETHICK0,COLORF0F000; 主比:ABS(((主力)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLORYELLOW; 游比:ABS(((游资)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLOR00FF00; 大比:ABS(((大户)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLORRED; 散比:ABS(((散户)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLORF0F000; 警戒线:MA(A,180),COLORFF66FF,LINETHICK1; STICKLINE((主力 > 0),0,主力,3,0),COLOR009CFF; STICKLINE((主力 > 0),0,主力,2.8,0),COLOR009CFF; STICKLINE((主力 > 0),0,主力,2.5,0),COLOR00C0FF; STICKLINE((主力 > 0),0,主力,1.5,0),COLOR00D1FF; STICKLINE((主力 > 0),0,主力,1,0),COLOR00EAFF; STICKLINE((主力 > 0),0,主力,0.7,0),COLORYELLOW; STICKLINE((游资 > 0),0,游资,3,0),COLOR00C100; STICKLINE((游资 > 0),0,游资,2.8,0),COLOR00CA00; STICKLINE((游资 > 0),0,游资,2.5,0),COLOR00D300; STICKLINE((游资 > 0),0,游资,1.5,0),COLOR00DB00; STICKLINE((游资 > 0),0,游资,1,0),COLOR00EA00; STICKLINE((游资 > 0),0,游资,0.7,0),COLORGREEN; STICKLINE((大户 > 0),0,大户,3,0),COLOR1020AA; STICKLINE((大户 > 0),0,大户,2.8,0),COLOR1020BB; STICKLINE((大户 > 0),0,大户,2.5,0),COLOR1020CC; STICKLINE((大户 > 0),0,大户,1.5,0),COLOR1020DD; STICKLINE((大户 > 0),0,大户,1,0),COLOR1020EE; STICKLINE((大户 > 0),0,大户,0.7,0),COLORRED; STICKLINE((散户 > 0),0,散户,3,0),COLORFF7700; STICKLINE((散户 > 0),0,散户,2.8,0),COLORFF8800; STICKLINE((散户 > 0),0,散户,2.5,0),COLORFF9900; STICKLINE((散户 > 0),0,散户,1.5,0),COLORFFAA00; STICKLINE((散户 > 0),0,散户,1,0),COLORFFBB00; STICKLINE((散户 > 0),0,散户,0.7,0),COLORLIBLUE;
突破买入信号指标公式
plaintextG1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH; GUP1:=(G1*2+G4+G2)/4; GUP2:=EMA(GUP1,13)-EMA(GUP1,34); GUP3:=EMA(GUP2,5); GUA1:=(-2)*(GUP2-GUP3)*3.8; GUA2:=2*(GUP2-GUP3)*3.8; STICKLINE(GUA2<0,0,GUA2*1,3.2,4),COLORGREEN; GUP4:=EMA(EMA(G1,9),9); GUB1:=(GUP1-REF(GUP4,1))/REF(GUP4,1)*30; 散户线:GUA1,LINETHICK3,COLORLIRED; 主力线:GUA2; GUB2:=CROSS(主力线,散户线),COLORMAGENTA; 买入:IF(GUB2,4,0),LINETHICK1,COLORWHITE; 出货:IF(GUB1<REF(GUB1,1) AND GUB1>0,GUB1,0),COLORRED,NODRAW; DRAWTEXT(买入,5,'突破'),COLORWHITE; GUC1:=(C-REF(C,1))/REF(C,1)*100; 生命线:=CCI(84)/10,COLORRED,LINETHICK2; DRAWTEXT(CROSS(生命线,0),-1,'主升'),COLORRED; DRAWTEXT(CROSS(生命线,25),2,'警戒'),COLORWHITE; DRAWTEXT(CROSS(生命线,12),2,'强势'),COLORYELLOW; STICKLINE(GUB1<0,GUB1,0,2,0),COLORLIRED;
这些公式可以在通达信等股票分析软件中使用,帮助投资者分析主力和散户的资金动向、趋势等,但请注意,指标公式只是一种辅助工具,不能完全依赖它们来进行投资决策。