指标效果,紫色显示的k线表示无量长阳k线,表示筹码锁定良好,本指标可辅助分析主力持仓状态,下面是源码
VAR2:=WINNER(OPEN)*100;
VAR3:=WINNER(CLOSE)*100;
VAR4:=WINNER(HIGH)*100;
VAR5:=WINNER(LOW)*100;
开:VAR2,LINETHICK0;
高:VAR4,LINETHICK0;
低:VAR5,LINETHICK0;
收:VAR3,LINETHICK0;
ER:=VOL/CAPITAL*100;
VAR6:=IF((VAR3-VAR2)>=18 AND ER<=3,1,0);
STICKLINE(VAR6>0,VAR2,VAR3,3,0),COLORMAGENTA;
STICKLINE(VAR6=0,VAR2,VAR3,3,1),COLORRED;
STICKLINE(VAR3
STICKLINE(VAR3=VAR2,VAR5,VAR4,0.3,0),COLORWHITE;
STICKLINE(VAR3>VAR2,VAR3,VAR4,0.3,0),COLORRED;
STICKLINE(VAR3>VAR2,VAR2,VAR5,0.3,0),COLORRED;
STICKLINE(VAR3