整理的透视指标 劲道指数 A/D roc 等《以交易为生》书中指标源码介绍
整理的透视指标 劲道指数 A/D roc 等《以交易为生》书中指标源码
A/D SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,0);
ROC ROC:(CLOSE-REF(CLOSE,N))/REF(CLOSE,N)*100;
ROCMA:MA(ROC,M);
S-ROC em13:=EMA(CLOSE,13);
SROC:(em13-REF(em13,21))/REF(em13,21)*100;
劲道指数 JDZS2:EMA(VOL*(C-REF(C,2)),2);
JDZS13:EMA(VOL*(C-REF(C,2)),13);
0;
透视指标: A:=EMA(CLOSE,13);
多头力道:H-A,LINETHICK0;
STICKLINE(多头力道>0,0,多头力道,1,0),COLORRED;
STICKLINE(多头力道<0,多头力道,0,1,0),COLORGREEN;
空头力道:L-A,LINETHICK0;
H1:=MAX(HHV(空头力道,0),HHV(多头力道,0));
STICKLINE(空头力道>0,-2*H1,-2*H1+空头力道,1,0),COLORRED;
STICKLINE(空头力道<0,-2*H1+空头力道,-2*H1,1,0),COLORGREEN;
TRIN trin:(ADVANCE/DECLINE)/((SUM(v,ADVANCE ))/SUM(v,DECLINE));
ema(trin,n);
gd23267