获利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;