通达信滑头主力副图,源码
本指标也是从其它论坛得来,本人除删除了部分无用的外,没有作任何改动,首先要关注滑头与主力的关系,再看主力与趋势的关系,滑头在线上牛为可能走牛,在线下熊之下为走熊。飞狐和通达信都可以用。
RSV:= (C-LLV(l,9))/(HHV(h,9)-LLV(l,9))*100;
FASTK:=SMA(RSV,3,1);
Y1A:=((SMA(FASTK,3,1))/2+40)*1.1;
线上牛:SMA(Y1A,3,1),COLORWHITE;
RSV1:= (HHV(H,9)-C)/(HHV(H,9)-LLV(l,9))*100;
Y2A:=(SMA(RSV1,3,1)/2)*1.1;
线下熊:SMA(Y2A,3,1),COLORGREEN;
LC := REF(C,1);
RSI2:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100;
RSI3:=IF(RSI2>50,RSI2*1.05,RSI2);
RSV3:=(C-LLV(l,54))/(HHV(H,54)-LLV(l,54))*100;
RSI4:=IF(RSI3>100,100,RSI3);
RRR:= EMA(SLOPE(RSI4,3),20);
滑头:RSI4, COLORRED,LINETHICK2;
主力:EMA(RSI2,13),COLORYELLOW,LINETHICK2;
趋势:EMA(主力,21) ,COLORMAGENTA,POINTDOT;