以下是通达信资金趋势买买提示副图指标
通达信资金趋势买买提示副图指标
源码
N:=14;N2:=6;
AA:=EMA(C,2);
DD:=EMA(SLOPE(C,21)*20+C,42);
TYP := (HIGH + LOW + CLOSE)/3;
V1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),N)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),N);
HHH:100-(100/(1+V1));
DRAWICON(CROSS(AA,DD),HHH,1);
DRAWICON(CROSS(HHH,50),HHH,3);
DRAWICON(CROSS(80,HHH),HHH,2);
80;
50;
20;