同花顺廿天轨道副图指标 源码介绍
同花顺廿天轨道副图指标 源码
红色表示强势阶段,蓝色、绿色表示弱势阶段,白色表示下跌,玫瑰红色表示变盘。
AA:=(2*C+H+L)/4;
上轨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<B20 AND C<布林中轨,上轨40,B20,10,0),COLORFF0099;
STICKLINE(布林中轨>中轨40 AND B10<B20 AND PBX1<布林中轨,上轨40,B20,10,0),COLORFF0099;
STICKLINE(布林中轨>中轨40 AND B10<B20 AND C<布林中轨,上轨40,十八天,10,0),COLORFF0099;
STICKLINE(布林中轨>中轨40 AND B10<B20 AND PBX1<布林中轨,上轨40,十八天,10,0),COLORFF0099;
STICKLINE(布林中轨<中轨40 AND C<布林中轨,PBX1,布林中轨,10,0),colorwhite;
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;
上轨A40:(1+6/100)*MA(AA,20),coloryellow,LINETHICK2;
下轨A40:(1-6/100)*MA(AA,20),coloryellow,LINETHICK2;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
平均五天:(MA(AA,3)+MA(AA,6)+MA(AA,10)+MA(AA,15))/4,colormagenta,LINETHICK3;
十八天线:EMA(AA,18),colorgreen,LINETHICK3;
gd48126