AA:=(2*C+H+L)/4;
天轨90:(1+15/200)*MA(AA,30);
上轨40:=(1+6/100)*MA(AA,20);
下轨40:=(1-6/100)*MA(AA,20);
中轨40:=(上轨40+下轨40)/2;
布林中轨:=(MA(AA,3)+MA(AA,6)+MA(AA,12)+MA(AA,18)+MA(AA,24)+MA(AA,30))/6;
PBX1:=(MA(AA,3)+MA(AA,6)+MA(AA,10)+MA(AA,15))/4;
日线中轨:=MA(AA,20);
B10:=MA(AA,5);
AB12:=(1+5/100)*B10;
B20:=MA(AA,10);
十八天:EMA(AA,18);
STICKLINE(PBX1<日线中轨,布林中轨,下轨40,2,1),colorwhite;
STICKLINE(C<布林中轨 AND PBX1<布林中轨,布林中轨,下轨40,10,0),COLOR00CC00;
STICKLINE(布林中轨<中轨40 AND B10<日线中轨,布林中轨,上轨40,10,0),COLORFF3300;
STICKLINE(布林中轨>中轨40 AND B10
STICKLINE(布林中轨<中轨40 AND C<布林中轨,PBX1,中轨40,10,0),colorwhite;
STICKLINE(布林中轨>中轨40 AND AA>布林中轨,布林中轨,中轨40,10,0),COLOR0000FF;
STICKLINE(B10<下轨40 AND B10>PBX1,PBX1,AB12,10,0),colorred;
天轨A90:(1+6/200)*MA(AA,20),colormagenta,LINETHICK2;
上轨A40:(1+6/100)*MA(AA,20),colorblue,LINETHICK2;
下轨A40:(1-6/100)*MA(AA,20),colorgreen,LINETHICK2;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
平均五天:(MA(AA,3)+MA(AA,6)+MA(AA,10)+MA(AA,15))/4,colormagenta,LINETHICK3;
三天线:EMA(AA,3),colorred,LINETHICK3;
平均三天:(MA(AA,1)+MA(AA,3)+MA(AA,5)+MA(AA,8))/4,colorgray,LINETHICK3;
十八天线:EMA(AA,18),coloryellow,LINETHICK3;