根据量、价、时、空原理编辑,借鉴原飞狐特色指标改编而成。因为本人惯用通达信,所以就通达信的源码好了
源码
VAR1:=REF(CLOSE,1);
VAR2:=(SUM(VOL,2) / ((HHV(HIGH,2) - LLV(LOW,2)) * 100));
VAR3:=((CLOSE - VAR1) * VAR2);
VAR4:=SUM(VAR3,0);
VAR5:=SMA(VAR4,5,1);
VAR6:=SMA(VAR4,8,1);
OSC:(VAR5 - VAR6);
OSCMA:MA(OSC,4);
{OSC,COLORSTICK;}
VD:(SUM(IF((OSC > 0),(OSC * 1.003),((OSC * 1.003) > 0)),34) / 34),DOTLINE;
VE:(SUM(IF((OSC <= 0),(OSC * 0.97),((OSC * 0.97) < 0)),34) / 34),DOTLINE;
IF(OSCMA>VE,OSCMA,DRAWNULL),COLORRED;
DRAWBAND(OSCMA,RGB(0,224,224),OSC,RGB(255,96,96));
DRAWICON(CROSS(OSCMA,VE),OSCMA*0.80,1);