大智慧本利差主图指标公式

stICKLINE(C>=O,L,H,1,0),COLORRED;

STICKLINE(C>O,O,C,6,0),COLORRED;

STICKLINE(C>O,O,C,2,0),COLORCC66FF;

STICKLINE(C<O,O,C,6,0),COLORFF6600;

STICKLINE(C<O,O,C,2,0),COLORFF9900;

STICKLINE(C<O,L,H,1,0),COLORFF9900;

{ Gupang.com 股-旁-网_大智慧股票指标公式}

{以上是立体k线部分}

{分界---------------------------------}

{在高、收、低价的获利盘}

WH:=WINNER(H);

WC:=WINNER(C);

WL:=WINNER(L);

{在高、收、低价的成本}

CH:=cyc(H);

CC:=cyc(C);

CL:=cyc(L);

CWH:=CH-WH;

CWC:=CC-WC;

CWL:=CL-WL;

{在高、收、低价的成本获利差}

CWZH:(CWH+CWC+CWL)/3,COLORGREEN;

{在高、收、低价的成本获利差均值}

SC:DRAWICON(crOSS(h,CWZH)or CROSS(c,CWZH),L*0.998,7);

现价: if (DYNAINFO(4)=0,C,DYNAINFO(7)),color0077FF;