以下是牛市调整回踩底部确认指标 现在行情你值得的拥有(无源码的请下载附件导入)
牛市调整回踩底部确认指标 现在行情你值得的拥有
M 数值对指标信号影响不大,一般12比较适合
N 数值超过30后信号变化不大,几乎无效,一般15天比较适合
公式源码
N 参数1,12,6
M 参数1 15 6
下面为代码
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
RSV1:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
K89:=SMA(RSV1,8,1);
D89:=SMA(K89,3,1);
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
XG2:=DYNAINFO(8)>0;
XG1:=S2 AND S3 AND XG2;
XG:D89>REF(D89,1) AND XG1 AND CCI<-90 AND MA(C,5)>MA(C,120),COLORRED;
RSV:= (CLOSE-LLV(LOW,M))/(HHV(HIGH,M)-LLV(LOW,M))*100;
TJ:= IF(RSV<5,0,RSV);
AA:=IF(TJ>95,100,TJ),LINETHICK4,COLORGREEN;
轰6:AA<20 AND D89>10 AND REF(D89,1)>REF(D89,2);
7355845.png
73155983.png
|