通达信筹码DDX指标公式,通达信筹码DDY指标公式
通达信筹码DDX指标公式
获利:=WINNER(C);
筹码ddx:((获利)-REF((获利),1)),stICK;
筹码DDX1:SUM(筹码DDX,60);
筹码DDX2:MA(筹码DDX1,5);
筹码DDX3:MA(筹码DDX1,10);
集中度:SUM(筹码DDX,0),NODRAW;
净额:(CAPITAL*筹码DDX)*C/10000,NODRAW,COLORFFCC66;
多头:LAST(筹码DDX1>筹码DDX2 AND 筹码DDX2>筹码DDX3,1,0),NODRAW,COLORCCCCFF;
连红:LAST(筹码DDX>0,1,0),COLOR0000FF,NODRAW;
拾红:COUNT(筹码DDX>0,10),COLOR3300CC,NODRAW;
廿红:COUNT(筹码DDX>0,20),COLOR8000FF,NODRAW;
陆拾红:COUNT(筹码DDX>0,60),COLOR3333CC,NODRAW;
1,DOTLINE,COLORFF7676
DRAWBAND(筹码DDX2,RGB(180,50,0),筹码DDX1,RGB(0,50,180));
DRAWBAND(筹码DDX3,RGB(200,0,100),筹码DDX2,RGB(0,100,100));
DRAWTEXT(ISLASTBAR,获利,'筹码大单动向'),COLORYELLOW;
通达信筹码DDY指标公式
获利1:=WINNER(C);
套牢1:=1-获利1;
{计算}筹码DDY:(获利1-套牢1),stICK;
筹码DDY1:SUM(筹码DDY,3);
筹码DDY2:MA(筹码DDY1,5);
筹码DDY3:MA(筹码DDY1,10);
多头1:LAST(筹码DDY1>筹码DDY2 AND 筹码DDY2>筹码DDY3,0,0),NODRAW,COLORCCCCFF;
连红1:LAST(筹码DDY>0,0,0),COLOR0000FF,NODRAW;
拾红1:COUNT(筹码DDY>0,10),COLOR3300CC,NODRAW;
廿红1:COUNT(筹码DDY>0,20),COLOR8000FF,NODRAW;
陆拾红1:COUNT(筹码DDY>0,60),COLOR3333CC,NODRAW;
DRAWBAND(筹码DDY2,RGB(180,50,0),筹码DDY1,RGB(0,50,180));
DRAWBAND(筹码DDY3,RGB(200,0,100),筹码DDY2,RGB(0,100,100));
1,DOTLINE,COLORFF7676;
DRAWTEXT(ISLASTBAR,获利1*0.95,'筹码涨跌动因'),COLORFFFFFF;