通达信考夫曼通道主图指标公式

通达信主控板眼黑底指标公式

通达信考夫曼通道主图指标公式:

DIR1:=Abs(CLOSE-REF(CLOSE,10));

VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);

ER1:=DIR1/VIR1;

CS1:=ER1*(2/3-2/31)+2/31;

CQ1:=CS1*CS1;

TRA:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));

AHR:=SMA(TRA,20,1);

AMA1:DMA(CLOSE,CQ1),COLORFFFFFF,LINETHICK2;

LH:AMA1+2*AHR,COLOR9314FF;

NH:AMA1+AHR,DOTLINE,COLOR00DFDF;

NL:AMA1-AHR,DOTLINE,COLOR00DFDF;

LL:AMA1-2*AHR,COLOR9314FF;

DRAWNUMBER(ISLAstBAR,LH,LH),COLOR9314FF;

DRAWNUMBER(ISLASTBAR,NH,NH),COLOR00DFDF;

DRAWNUMBER(ISLASTBAR,NL,NL),COLOR00DFDF;

DRAWNUMBER(ISLASTBAR,LL,LL),COLOR9314FF;

DRAWNUMBER(ISLASTBAR,AMA1,AMA1),COLORFFFFFF;

DRAWKLINE(H,O,L,C);

 

通达信游资资金指标公式