大智慧资金趋势副图指标
源码
VAR1:=CLOSE-REF(CLOSE,1);
VAR2:=OPEN-REF(OPEN,1);
VAR3:=HIGH-REF(HIGH,1);
VAR4:=LOW-REF(LOW,1);
VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;
天狼:MA(VAR5*VOL/10000,14)*5,LINETHICK0;
STICKLINE(天狼>0,天狼,0,6,0);
STICKLINE(天狼<0,天狼,0,6,0),colorFF0000;
HSV:=IF(SUM(VOL/CAPITAL,21)<1,SUM(VOL/CAPITAL,21),0.998);
VAR1:=DMA(EMA(CLOSE,13),HSV);
QS:(CLOSE-VAR1)/VAR1*100,COLORWHITE;
价量线:sMA(QS,3,1);
PARTLINE(价量线,价量线>ref(价量线,1),rgb(255,0,0),价量线=ref(价量线,1),rgb(67,185,247),价量线<ref(价量线,1),rgb(255,255,0)),linethick2;