MA1:MA(CLOSE,13) COLORGREEN;
上升1:IF(MA1>REF(MA1,1),MA1,DRAWNULL),COLORRED,LINETHICK1;
下降1:IF(MA1<REF(MA1,1),MA1,DRAWNULL),COLORGREEN,LINETHICK1;
Q:-(4*SUM(BARSSINCE(15)*STICKLINE(C/REF(C,1)>=1.095,O,C,1.5,0),4)-SUM(BARSSINCE(15),4)*SUM(STICKLINE(C/REF(C,1)>=1.095,O,C,1.5,0),4))/SQRT((4*SUM(BARSSINCE(15)*BARSSINCE(15),4)-SUM(BARSSINCE(15),4)*SUM(BARSSINCE(15),4))*(4*SUM(STICKLINE(C/REF(C,1)>=1.095,O,C,1.5,0)*STICKLINE(C/REF(C,1)>=1.095,O,C,1.5,0),4)-SUM(STICKLINE(C/REF(C,1)>=1.095,O,C,1.5,0),4)*SUM(STICKLINE(C/REF(C,1)>=1.095,O,C,1.5,0),4)))/30,COLORWHITE,LINETHICK2;
MAQ:MA(Q,10),COLORYELLOW,LINETHICK2;