1.同花顺主力相对才参与度指标公式
同花顺主力相对才参与度指标公式
不知道这个指标符合要求不?同花ost源码详解 演示在下面网址里
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主力控盘:2*3.8,colorred;
主力持仓:EMA(*(CLOSE- LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,)),3),colormagenta,LINETHICK2;
主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH- OPEN)+(CLOSE-LOW)),VOL/2)),colorred,POINTDOT;
主动卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLORFF,POINTDOT;
STICKLINE(VOL>0,VOL,0,2,1),colorwhite;
平均成本线:COST(),coloryellow,LINETHICK2;
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,);
MA3:MA(CLOSE,);
DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.,1) ;
DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.,2);
STICKLINE(主动买盘>0,0,主动买盘,2,0),colorred;
STICKLINE(主动卖盘<0,0,主动卖盘,2,0),COLORFF;