短线:(CLOSE-ma(CLOSE,13))/ma(CLOSE,13)*20,LINETHICK0,COLORYELLOW;
中线:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,colorwhite;
红柱:sma(短线,3,1),LINETHICK0,Color0000FF;
蓝柱:sma(中线,3,1),colorstick,ColorFFFF00;
{红柱}
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,8,0),COLOR0000AA;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,7,0),COLOR0000BB;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,6,0),COLOR0000CC;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,5,0),COLOR0000DD;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,4,0),COLOR0000EE;
STICKLINE(红柱<ref(红柱,1)and 红柱>0,0,红柱,3,0),COLOR0000FF;
STICKLINE(红柱<ref(红柱,1)and 红柱>0,0,红柱,2,0),COLORRED;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,8,0),COLOR0000AA;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,7,0),COLOR0000BB;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,6,0),COLOR0000CC;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,5,0),COLOR0000DD;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000EE;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,3,0),COLOR0000FF;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,2,0),COLORRED;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,9,0),COLOR0000FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,7,0),COLOR0033FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,6,0),COLOR0055FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,5,0),COLOR0077FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,4,0),COLOR0099FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,3,0),COLOR00BBFF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,2,0),COLOR00DDFF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,1,0),COLOR00FFFF;
{蓝柱}
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,8,0),COLORFF0000;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,7,0),COLORFF3300;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,6,0),COLORFF5500;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,5,0),COLORFF7700;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF9900;
STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,3,0),COLORFFBB00;
STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,2,0),COLORFFDD00;
STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFFF00;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,8,0),COLORFF0000;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,7,0),COLORFF3300;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,6,0),COLORFF5500;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,5,0),COLORFF7700;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,4,0),COLORFF9900;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,3,0),COLORFFBB00;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,2,0),COLORFFDD00;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFFF00;
STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,10,0),COLOR998800;
STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,7,0),COLORBBAA90;
STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,4,0),COLORDDCC99;
STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,1,0),COLORFFEEBB;