M:=13;N:=30;
A01:=(C+O+L+H)/4;
A02:=(WINNER((A01 * 1.04)) * 100.000);
A03:=(WINNER((A01 * 0.96)) * 100.000);
A04:A03,NODRAW;
A08:A02-A03,NODRAW;
A06:( 100.000 - A02),NODRAW;
STICKLINE( 1.000,0,A04, 2,0),COLORRED;
{ _通达信指标公式}
STICKLINE( 1.000, 100.000,A02, 2,0),COLORGREEN;
STICKLINE( 1.000,A04,(100-A06), 2,0),COLORYELLOW;
A0A:=(((((HHV(A04, 15.000) - A03) / A03) * 100.000) > N) AND (HHV(A04, 15.000) > 50.000));
STICKLINE(A0A,(0 - 2.000), 2.000, 4,0),COLORYELLOW;
STICKLINE(NOT(A0A),(0 - 2.000), 2.000, 4,0),COLORMAGENTA;
获利:MA(A03,M),COLORRED,LINETHICK3;
浮动: (MA(A02,M) - MA(A03,M)),COLORYELLOW,LINETHICK3;
套牢: (100.000 - MA(A02,M)),COLORGREEN,LINETHICK3;