源码
上顶线: SMA(HIGH,21,2)*1.05,COLORWHITE;
下顶线: SMA(LOW,21,2)*0.95,COLORYELLOW;
中线: SMA(LOW,2.9,1),COLORMAGENTA;
STICKLINE(close>=open,open,close,5,1),colorred;
STICKLINE(open>close,close,open,5,0),colorgreen;
STICKLINE(close>=open,close,HIGH,0.1,1 ),colorred;
STICKLINE(close>=open,open,low,0.1,1),colorred;
STICKLINE(open>close,close,low,0.1,0),colorgreen;
STICKLINE(open>close,open,HIGH,0.1,0),colorgreen;
PARTLINE(上顶线,上顶线-REF(上顶线,1)>0,RGB(255,0,0),上顶线-REF(上顶线,1)<=0,RGB(0,255,0));
PARTLINE(下顶线,下顶线-REF(下顶线,1)>0,RGB(255,0,0),下顶线-REF(下顶线,1)<0,RGB(0,255,0));