周线上红点持股,白点观望,绿点持币!
{玩股获利盘比}
HLP:WINNER(CLOSE)*100,CIRCLEDOT,COLORMAGENTA;
HS0:=SUM(HLP*(C/REF(C,1)-1)*100,0);
QS:SMA(FORCAST(HLP,3),13,1);
QS1:MA(QS,3),COLORYELLOW,LINETHICK2;
QS2:MA(QS,7),COLORRED,LINETHICK3;
IF(QS2<=REF(QS2,1),QS2,DRAWNULL),COLORGREEN,LINETHICK3;
10,DOTLINE;30,DOTLINE;50,DOTLINE;
ZRR:(YEAR-1991)*365+INTPART((YEAR-1989)/4)+IF(MONTH<=2,DAY+(MONTH-1)*31,DAY+
INTPART(13*(MONTH+1)/5)-7+(MONTH-1)*28+IF(INTPART(YEAR/4)=YEAR/4,1,0))+13,NODRAW;
T1:=BARSLAST(ZRR-REF(ZRR,1)>WEEKDAY-REF(WEEKDAY,1))+1,NODRAW;
C1:REF(HLP,T1),COLORBLUE;
IF(HLP<=C1,HLP,DRAWNULL),CIRCLEDOT,COLORWHITE;
IF(HLP<=QS,HLP,DRAWNULL),CIRCLEDOT,COLORGREEN;