以下是一些常见的庄家散户吸筹副图指标源码:
主力吸筹战舰副图
plaintextDRAWICON(FILTER(J>REF(J,1) AND 操作线>=REF(操作线,1) AND 操作线<25,5),操作线,4); 卖观注:STICKLINE(操作线 - AA6>85,98,96,15,1),COLORFFFF00; DRAWICON(FILTER(J<REF(J,1) AND 操作线<=REF(操作线,1) AND J>85,5),J,5); 90; 70,COLORRED,LINETHICK1; 35; 10;
新版主力吸筹副图
plaintextm:=55;n:=34; 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); abc1:=if(year>=2038 and month>=1,0,1); abc2:=ref(low,1)*abc1; abc3:=sma(abs(low - abc2),3,1)/sma(max(low - abc2,0),3,1)*100*abc1; abc4:=ema(if(close*1.3,abc3*10,abc3/10),3)*abc1; abc5:=llv(low,30)*abc1; abc6:=hhv(abc4,30)*abc1; abc7:=if(ma(close,58),1,0)*abc1; abc8:=ema(if(low<=abc5,(abc4 + abc6*2)/2,0),3)/618*abc7*abc1; 吸筹:if(abc8>100,100,abc8)*abc1,colorred; 庄家吸筹:stickline(吸筹>-150,0,吸筹,8,0),colorred; 散户:100*(hhv(high,m)-close)/(hhv(high,m)-llv(low,m)),colorliblue,linethick1dotline; 牛熊分界:50 linethick2 colorwhite; aa:=c>ma(c,10); 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; 庄家:ema(j,6),colormagenta,linethick2; drawtext(cross(庄家,散户)and aa,庄家*1.002,'★启动'),coloryellow; drawicon(cross(庄家,散户)and aa,庄家*1.002,5);
通达信调整结束吸筹指标副图
plaintextasr:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100; JBM:=C/FINANCE(33)< 100 AND vol>0; 浮动筹码:ASR; 庄家仓位:HHV(90*WINNER(HHV(HIGH,15)*0.85),20); AA:=CROSS(MACD.DIF,MACD.DEA); BB:=LLV(ASR.ASR,21)>50; CC:=MACD.DIF>-1; 调整结束:(AA AND BB AND CC)*20; JM:=CROSS(KD.K,KD.D); JM2:=KDJ.J>REF(KDJ.J,1) AND REF(KDJ.J,2)>REF(KDJ.J,1) AND KD.K>KD.D; DAYS:=BARSLAST(REF(JM,1)); LOWJM:=KD.K>REF(KD.K,DAYS) AND REF(KD.K,DAYS)< 50; BB1:=JM AND LOWJM; BB2:=NOT(JM) AND JM2 AND LOWJM; KDJ双金叉:(BB1 OR BB2)*20; AA3:=ASR.ASR< 20; BB3:=HHV(ASR.ASR,5)>60; CC3:=REF(MACD.MACD,1)< 0.3 AND MACD.MACD>=0; 拉升在即:(AA3 AND BB3 AND CC3)*20,COLOR0000FF; plaintext991234567891011121314151617181920›asr:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100;JBM:=C/FINANCE(33)< 100 AND vol>0;浮动筹码:ASR;庄家仓位:HHV(90*WINNER(HHV(HIGH,15)*0.85),20);AA:=CROSS(MACD.DIF,MACD.DEA);BB:=LLV(ASR.ASR,21)>50;CC:=MACD.DIF>-1;调整结束:(AA AND BB AND CC)*20;JM:=CROSS(KD.K,KD.D);JM2:=KDJ.J>REF(KDJ.J,1) AND REF(KDJ.J,2)>REF(KDJ.J,1) AND KD.K>KD.D;DAYS:=BARSLAST(REF(JM,1));LOWJM:=KD.K>REF(KD.K,DAYS) AND REF(KD.K,DAYS)< 50;BB1:=JM AND LOWJM;BB2:=NOT(JM) AND JM2 AND LOWJM;KDJ双金叉:(BB1 OR BB2)*20;AA3:=ASR.ASR< 20;BB3:=HHV(ASR.ASR,5)>60;CC3:=REF(MACD.MACD,1)< 0.3 AND MACD.MACD>=0;拉升在即:(AA3 AND BB3 AND CC3)*20,COLOR0000FF;
以上代码是基于通达信软件的指标源码,不同的软件可能需要进行一些调整才能使用。同时,这些指标仅供参考学习,不建议直接用于实际交易决策。