源码
把σ:SQRT(SQRT(HHV(CLOSE,3)*LLV(CLOSE,3)*HHV(HIGH,3)*LLV(LOW,3))),LINETHICK0;
DD:SQRT(SQRT(HHV(CLOSE,3)*LLV(CLOSE,3)*HHV(HIGH,3)*LLV(LOW,3))),SHIFT1;
WMA1:="MA.MA1#week"(1,10,15,20);
WMA4:="MA.MA1#week"(4,10,15,20);
WW:(WMA4*4-WMA1)/3;
MMA1:="MA.MA1#MONTH"(1,10,15,20);
MMA4:="MA.MA1#MONTH"(4,10,15,20);
MM:(MMA4*4-MMA1)/3;
DRAWNUMBER(ISLASTBAR,把σ,把σ,2),SHIFT1,color808080;
DRAWNUMBER(ISLASTBAR,WW,WW,2),SHIFT1,color808080;