AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通1:=AA*102/100;
通2:=AA*(200-102)/100;
DD:=DMA(CLOSE,ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20));
上:(1+7/100)*DD,COLORRED;
下:(1-7/100)*DD,COLORYELLOW;
中:(上+下)/2,COLORBLUE;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通1:=AA*102/100;
通2:=AA*(200-102)/100;
DD:=DMA(CLOSE,ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20));
上:(1+7/100)*DD,COLORRED;
下:(1-7/100)*DD,COLORYELLOW;
中:(上+下)/2,COLORBLUE;