通达信博尔多空概率指标公式,通达信DDX大单动向指标公式
通达信博尔多空概率指标公式
{DRAWGBK((CLOSE > 0),stRIP(RGB(4,1,28),RGB(4,1,35),0));}
做空95:HHV((HIGH+LOW+OPEN+2*CLOSE)/5+H-L,5);
做空68:HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-L,5);
平衡点:LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3);
做多68:LLV((HIGH+LOW+OPEN+2*CLOSE)/5*2-H,8);
做多95:LLV((HIGH+LOW+OPEN+2*CLOSE)/5-H+L,8);
F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND F<0,1,0);
P1:=今小昨;
今小前:=IF(C<REF(O,2) AND F<0,1,0);
P2:=今小前;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,6,0),COLORmaGENTA;
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0,OPEN,CLOSE,3,0),COLORBLUE;
通达信DDX大单动向指标公式
N:=10;
AA:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0;
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORCYAN;
大单动向:(买量+卖量)*10000/FINANCE(7),COLOR00FFFF,NODRAW;
stICKLINE(大单动向<0,0,大单动向,2,0),COLORCYAN;
STICKLINE(大单动向<0,0,大单动向,2,0),COLORCYAN;
STICKLINE(大单动向<0,0,大单动向,2,0),COLORCYAN;
STICKLINE(大单动向<0,0,大单动向,0.5,0),COLORCYAN;
STICKLINE(大单动向>0,0,大单动向,2,0),COLORRED;
STICKLINE(大单动向>0,0,大单动向,1,0),COLORRED;
STICKLINE(大单动向>0,0,大单动向,1.5,0),COLORRED;
STICKLINE(大单动向>0,0,大单动向,0.5,0),COLORRED;
ma1:MA(大单动向,N)COLORYELLOW;