{控盘通道F源码如下}
HGW1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
HGW2:=DMA(CLOSE,HGW1);
HGW3:=(CLOSE+HIGH+LOW)/3;
HGW4:=EMA(HGW3,5);
HGW5:=REF(HGW4,1);
HGW8:=(1-10/100)*HGW2;
HGW9:=HGW4>HGW5;
XG:HGW9 AND NOT(REF(HGW9,1)) AND REF(L,1)<HGW8;
{控盘通道主源码如下}
HGW1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
HGW2:=DMA(CLOSE,HGW1);
HGW3:=(CLOSE+HIGH+LOW)/3;
HGW8:=EMA(HGW3,5);
HGW9:=REF(HGW8,1);
上轨通道1:(1+10/100)*HGW2,COLORBLUE,LINETHICK2;
下轨通道2:(1-10/100)*HGW2,COLORGREEN,LINETHICK2;
STICKLINE(HGW8>HGW9,HGW8,HGW9,4,0),COLOR00FFFF;