头底抛吸(实战指标 副图 源码)

2011-02-20 11:22:00来源:本站整理浏览:117

头底抛吸

P:=(HIGH + LOW + CLOSE)/3;{CCI}
CCI:=(P-MA(P,14))*100/(1.5*AVEDEV(P,14));
RK:SMA(CCI,3,1);RD:SMA(RK,3,1);RJ:3*RK-2*RD;
LO := REF(OPEN,1);
CCIO:=(LO-MA(LO,14))*100/(1.5*AVEDEV(LO,14));
LC := REF(CLOSE,1);
CCIC:=(LC-MA(LC,14))*100/(1.5*AVEDEV(LC,14));
LH := REF(HIGH,1);
CCIH:=(LH-MA(LH,14))*100/(1.5*AVEDEV(LH,14));
LL := REF(LOW,1);
CCIL:=(LL-MA(LL,14))*100/(1.5*AVEDEV(LL,14));
开:CCIO, LINETHICK0;
收:CCIC, LINETHICK0 ;
高:CCIH, LINETHICK0 ;
低:CCIL, LINETHICK0;
STICKLINE(收>开,开,低,0.5,1),COLORRED;
STICKLINE(收>开,高,收,0.5,1),COLORRED;
STICKLINE(收>开,收,开,5,1),COLORRED;
STICKLINE(收<开,高,开,0.5,1),COLORGREEN;
STICKLINE(收<开,低,收,0.5,0),COLORGREEN;
STICKLINE(收<开,收,开,5,0),COLORGREEN;

头:=390+REVERSE(EMA(RJ, 1));
底:=-290+REVERSE(EMA(RJ,1));
抛:IF(RJ>头,200,300),COLORGREEN;
吸:IF(RJ<底,-200,-300),COLORRED;

选股公式源码:
RK:=SMA(CCI,3,1);RD:=SMA(RK,3,1);RJ:=3*RK-2*RD;
xg:RJ<-150;

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式