以下是综合整理的庄家监控副图指标公式源码,整合了多个技术分析维度的计算方法:
一、控盘度计算模块
textCopy Code
VAR1:=(3*CLOSE+OPEN+HIGH+LOW)/6; 控盘度:(EMA(VAR1,12)-REF(EMA(VAR1,36),1))/REF(EMA(VAR1,36),1)*100+50; STICKLINE(控盘度>50,0,控盘度-20,2.5,0),COLORFFFF00; STICKLINE(控盘度>=60,60,控盘度,2.5,0),COLORRED; STICKLINE(控盘度>=80,80,控盘度,2.5,0),COLORMAGENTA; //判断主力控盘强度:ml-citation{ref="1,5" data="citationList"}
二、资金流向监测
textCopy Code
换手:=V*100/CAPITAL; 主力能量:MA(换手,4)-(主力+大户+中户+散户)/4; JZ:=V/(ABS(主力能量)+ABS(大户能量)+ABS(中户能量)+ABS(散户能量)); STICKLINE(主力能量>0,JZ*ABS(主力能量),0,1,0),COLORYELLOW; //分层显示资金分布:ml-citation{ref="6,8" data="citationList"}
三、庄家异动信号
textCopy Code
BIAS6:(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*200; A62:=((CLOSE - LLV(LOW,36)) / (HHV(HIGH,36) - LLV(LOW,36))) * 100; A66:=CROSS(SMA(A62,3,1),SMA(SMA(A62,3,1),3,1)) AND SMA(A62,3,1)<12; STICKLINE(FILTER(A66,10),0,80,2,1),COLORMAGENTA; //捕捉启动信号:ml-citation{ref="3,7" data="citationList"}
四、买卖点提示
textCopy Code
C1:=EMA((((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5)))*100,4); C2:=EMA(0.667*REF(C1,1)+0.333*C1,2); DRAWTEXT(CROSS(C1,C2) AND C2<40,20,'买'),COLORWHITE; DRAWTEXT(CROSS(C2,C1) AND C1>90,85,'卖'),COLORYELLOW; //生成操作信号:ml-citation{ref="4,7" data="citationList"}
五、风险预警系统
textCopy Code
价量线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA(...),3,1); TGLXS:=(变异KD系数-REF(变异KD系数,1)); STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF; //监测资金异常波动:ml-citation{ref="8" data="citationList"}
该指标体系融合了价格强度分析、资金分布监测、主力行为识别等多重维度,通过颜色分层和文字提示直观展示庄家动向。实际使用中建议配合量价关系验证信号有效性,注意不同周期参数的组合优化。