源码如下:
rsi cci==两个经典指标的组合!
{rsi cci}
LC:=REF(CLOSE,1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*300,color00ffff,linethick3;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI14:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),colorff00ff,linethick3;
STICKLINE(ma(c,30)>ref(ma(c,30),1) and ma(c,60)>ref(ma(c,60),1) and
barsLAST(MA(C,5))<REF(MA(C,5),1) AND HHV(C,13)/LLV(C,13)>1.25,0,200,
1,0),COLORRED,linethick3;
强势:(ma(c,30)>ref(ma(c,30),1) and ma(c,60)>ref(ma(c,60),1) and
barsLAST(MA(C,5))<REF(MA(C,5),1) AND HHV(C,13)/LLV(C,13)>1.25),COLORRED,linethick3;
0,linethick3;100;-100;200;-200;
{顶尖财经网www.58188.com整理}
|
|
|
|
|