以下是几个常见的庄家建仓副图公式:
主力建仓指标公式
plaintextZYG1:=EMA(C,2); ZYG2:=EMA(ZYG1,2); ZYG3:=EMA(ZYG2,2); ZYG4:=EMA(ZYG3,2); ZYG5:=EMA(ZYG2,3); ZYG6:=EMA(ZYG3,5); ZYG7:=EMA(ZYG4,7); ZYG8:=(H+L+O+C*3)/6; ZYG9:=(ZYG8-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; ZYG10:=SMA(ZYG9,2,1); ZYG11:=SMA(ZYG10,3,1); ZYG12:=100-ZYG10; ZYG13:=ZYG11>=ZYG12; ZYG14:=EMA(ZYG8,2); ZYG15:=EMA(ZYG14,12)-EMA(ZYG14,26); ZYG16:=EMA(ZYG15,9); ZYG17:=(3*ZYG15-2*ZYG16); ZYG18:=EMA(MAX(ZYG15,0),3); ZYG19:=IF(ZYG17>0,ZYG18,DRAWNULL); ZYG20:=IF(ZYG17>0,ZYG18*0.8,DRAWNULL); DRAWBAND(ZYG5,RGB(150,50,125),ZYG7,RGB(0,105,0)); 主力:=ZYG13 AND ZYG17>0; 建仓:=BARSLASTCOUNT(主力)=1; STICKLINE(建仓,O,C,2,0),COLOR00FFFF; DRAWTEXT(建仓,L*0.978,' ★主力建仓'),COLOR0000FF; plaintext991234567891011121314151617181920212223242526›ZYG1:=EMA(C,2);ZYG2:=EMA(ZYG1,2);ZYG3:=EMA(ZYG2,2);ZYG4:=EMA(ZYG3,2);ZYG5:=EMA(ZYG2,3);ZYG6:=EMA(ZYG3,5);ZYG7:=EMA(ZYG4,7);ZYG8:=(H+L+O+C*3)/6;ZYG9:=(ZYG8-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;ZYG10:=SMA(ZYG9,2,1);ZYG11:=SMA(ZYG10,3,1);ZYG12:=100-ZYG10;ZYG13:=ZYG11>=ZYG12;ZYG14:=EMA(ZYG8,2);ZYG15:=EMA(ZYG14,12)-EMA(ZYG14,26);ZYG16:=EMA(ZYG15,9);ZYG17:=(3*ZYG15-2*ZYG16);ZYG18:=EMA(MAX(ZYG15,0),3);ZYG19:=IF(ZYG17>0,ZYG18,DRAWNULL);ZYG20:=IF(ZYG17>0,ZYG18*0.8,DRAWNULL);DRAWBAND(ZYG5,RGB(150,50,125),ZYG7,RGB(0,105,0));主力:=ZYG13 AND ZYG17>0;建仓:=BARSLASTCOUNT(主力)=1;STICKLINE(建仓,O,C,2,0),COLOR00FFFF;DRAWTEXT(建仓,L*0.978,' ★主力建仓'),COLOR0000FF;
庄家进场建仓副图指标公式
plaintext主力:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2; 抄底信号:10,LINETHICK2,COLORRED; 预警:IF(CROSS(主力,抄底信号),66,10),LINETHICK2,COLORFF00FF; cta1:=(C*2+H+L)/4*10; cta2:=EMA(cta1,13)-EMA(cta1,34); cta3:=EMA(cta2,5); cta4:=2*(cta2-cta3)*5.5; cta5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8; cta6:=EMA(3*cta5-2*SMA(cta5,18,1),5); cta7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10; cta8:=(INDEXC*2+INDEXH+INDEXL)/4; cta9:=EMA(cta8,13)-EMA(cta8,34); cta12:=EMA(cta9,3); cta13:=(cta9-cta12)/2; 庄家撤:IF(cta4<=0,cta4,0),COLORGREEN; 庄家进:IF(cta4>=0,cta4,0),COLORRED; 主力资金进:IF(cta13>=0,cta13,0),COLORYELLOW; 主力资金撤:IF(cta13<=0,cta13,0),COLORBLUE;
主力建仓副图公式
plaintextM:=55;N:=21; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); VAR2:=REF(LOW,1); VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3); VAR5:=LLV(LOW,30); VAR6:=HHV(VAR4,30); VAR7:=IF(MA(CLOSE,58),1,0); VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; BBA:=IF(VAR8>100,100,VAR8); N1:=31;K2:=3; 量能: EMA(100*(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1)),K2)/001, STICK,COLORRED; DRAWICON(量能<1,3,94); 黄线上买入: 38,COLORYELLOW; 警戒线: 85,COLORMAGENTA; 吸筹:=IF(BBA>0,BBA,DRAWNULL),COLORBLUE,NODRAW; 吸筹1:=IF(BBA>0,BBA,DRAWNULL),COLORBLUE; STICKLINE(吸筹1>-100,0,吸筹1,2.8,0),COLORBLUE; BA2:= 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)); 庄家建仓:=IF(VAR8>100,100,VAR8),COLORBLUE; STICKLINE(庄家建仓>-100,0,庄家建仓,2.8,0),COLORBLUE; 线:IF(BA2>0,BA2,DRAWNULL),NODRAW; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 资金线1:IF(EMA(J,6),EMA(J,6),DRAWNULL),COLORYELLOW,LINETHICK3; 资金线:=EMA(J,6),COLORYELLOW,LINETHICK3; VARC3:=MA(CLOSE,13); VARC4:=100-ABS((CLOSE-VARC3)/VARC3*100); VARC5:=LLV(LOW,75); VARC6:=HHV(HIGH,75); VARC7:=(VARC6-VARC5)/100; VARC8:=SMA((CLOSE-VARC5)/VARC7,20,1); VARC9:=SMA((OPEN-VARC5)/VARC7,20,1); VARCA:=3*VARC8-2*SMA(VARC8,15,1); VARCB:=3*VARC9-2*SMA(VARC9,15,1); VARCC:=(100-VARCB); 庄家线:IF((100-VARCA),(100-VARCA),DRAWNULL),COLORFF3300,LINETHICK3; X:=资金线; Y:=线; XG1:=CROSS(X,Y),NODRAW; DRAWTEXT(XG1=1,97,'金叉'),COLORYELLOW;
以上公式均为通达信软件的指标公式,不过需要注意的是,指标公式具有一定的局限性和滞后性,不能单纯依靠这些公式来进行股票交易决策,还需要结合其他技术分析方法、基本面分析以及市场行情等因素综合判断。