日:=120;
昨前:=3;
高:=REF(HHV(H,日),昨前);
低:=REF(LLV(L,日),昨前);
一:(高-低)*0.191+低,NODRAW,COLOR505050;
二:(高-低)*0.236+低,NODRAW,COLOR003E00;
三:(高-低)*0.382+低,NODRAW,COLOR0000BB;
中:(高-低)*0.5+低,NODRAW,COLOR0F0F0F;
六:(高-低)*0.618+低,NODRAW,COLORB500B5;
八:(高-低)*0.809+低,NODRAW,COLOR0039B0;
车:(MA(H/L,120)-1)*100,NODRAW,COLOR000000;
SS:100,COLOR000000;
DD:0,COLOR000000;
DRAWTEXT(CURRBARSCOUNT=60,60,HYBLOCK),COLORred;
DRAWNUMBER(CURRBARSCOUNT=2,60,车),COLORFFFFFF;
DRAWNUMBER(ISLASTBAR AND C>=低 AND C<一,95,一),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C>=一 AND C<二,95,二),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C>=二 AND C<三,95,三),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C>=三 AND C<中,95,中),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C>=中 AND C<六,95,六),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C>=六 AND C<八,95,八),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C>=八 AND C<高,95,高),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C>=低 AND C<一,30,低),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C>=一 AND C<二,30,一),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C>=二 AND C<三,30,二),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C>=三 AND C<中,30,三),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C>=中 AND C<六,30,中),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C>=六 AND C<八,30,六),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C>=八 AND C<高,30,八),COLOR000000;
DRAWNUMBER(ISLASTBAR AND C<低,70,低),COLOR000000;