M:=3;
VAR1:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*20,1);
多方籌碼:EMA(WINNER(C)*10,1),COLORRED,LINETHICK2;
多方籌碼月均:EMA(多方籌碼,21),COLORWHITE;
長(zhǎng)期成本:EMA(EMA(多方籌碼,1),89),COLOR009500;
背離籌碼:VAR1-多方籌碼+WINNER(C),COLORYELLOW;
Y:=MA(((WINNER((C*0.9))*100)*C),3);
D:=(IF((Y>10),Y,0)/2);
資金增倉(cāng):D,STICK,LINETHICK4,COLORRED;
資金均量:MA(D,5),COLORGREEN;
資金增倉(cāng)線:D,COLORYELLOW,LINETHICK1;
資金均量線:MA(D,5),COLORMAGENTA;
STICKLINE(C>0,0,0,10,0),COLORGRAY;
STICKLINE(C>0,10,10,6,0),COLORYELLOW;
STICKLINE(C>0,-20,-20,6,0),COLORRED;
實(shí)漲跌:=(C-REF(C,1))/REF(C,1)*100;
ZJ:=AMOUNT/(V*100),COLORGRAY;
真漲跌:=(ZJ-REF(ZJ,1))/REF(ZJ,1)*100;
漲跌幅:=IF(實(shí)漲跌>0,實(shí)漲跌*10/100,IF(實(shí)漲跌<0,實(shí)漲跌*11/100,0));
真漲跌幅:=IF(真漲跌>0,真漲跌*10/100,IF(真漲跌<0,真漲跌*11/100,0));
實(shí)漲幅:SUM((實(shí)漲跌+實(shí)漲跌)/2,M),COLORMAGENTA;
漲幅M:MA(實(shí)漲幅,M*0.618),COLORGREEN;
真漲幅:SUM(3.82*(漲跌幅+真漲跌幅),13),COLORWHITE,COLORSTICK;