以下是通达信钻石通道指标副图贴图
A1:=1;
A2:=1;
MID:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,LINETHICK2;
UPPER:MID + (2 * (STD(CLOSE,20))),COLORYELLOW;
LOWER:MID - (2 * (STD(CLOSE,20))),COLORMAGENTA;
MID1:=MA(CLOSE,20),COLORWHITE;
UPPER1:MID1 + (2 * (STD(CLOSE,20))) ;
LOWER1:MID1 - (2 * (STD(CLOSE,20))),COLORRED;
A3:=((CLOSE - (LLV(LOW,9))) / ((HHV(HIGH,9)) - (LLV(LOW,9)))) * 100;
A4:=SMA(A3,3,1);
A5:=((SMA(A4,3,1)) * A1) * A2;
A6:=(3 * A4) - (2 * A5);