大智慧浪花主图指标公式

N:=14;

Ar:=ma(C,17);

MA5r:MA(CLOSE,5),coloryellow,LINETHICK3;

我的:hhv(Ar,2),COLORCYAN,LINETHICK3;

理想:if(Ar<我的,(Ar-(我的-Ar)),我的),COLORRED,LINETHICK3;

朋友:我的=理想,LINETHICK0;

TYP:= (HIGH + LOW + CLOSE)/3;

{指标网-股票公式网站 www.gupanG.com}

cci:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));

RK:=SMA(CCI,3,1);

RD:=SMA(RK,3,1);

RJ:=3*RK-2*RD;

头:=390+REVERSE(EMA(RJ, 1));

底:=-290+REVERSE(EMA(RJ,1));

抛:=RJ>头;

吸:=RJ<底;

DRAWTEXT(吸,L*0.98,'*'),color9900FF;

DRAWTEXT(抛,HIGH*1.03,'*'),colorwhite;