{指标介绍:上层黄色是30日前的筹码,中间黄色是60日前的筹码,下层黄色是90日前的筹码,获利比例超过50%时,代表获利比例的线会变成红色。}
X_1:=PPART(30)*100;
X_2:=PPART(60)*100;
X_3:=PPART(90)*100;
X_4:=CLOSE =ZTPRICE(REF(CLOSE,1),0.1);
DRAWBAND(X_1,RGB(255,246,143),0,0);
DRAWBAND(X_2,RGB(238,201,0),0,0);
DRAWBAND(X_3,RGB(205,173,0),0,0);
X_5:=WINNER(CLOSE)*100;
获利:X_5,NODRAW,COLOR80FFFF;
NOTEXTHL:X_5,COLORRED,LINETHICK2;
NOTEXTHL2:IF(X_5 50,X_5,DRAWNULL),COLORWHITE;
DRAWNUMBER(ISLAstBAR,NOTEXTHL,ROUND(X_5)),COLORWHITE;