M20:=MA(CLOSE,20);
A:(M20>REF(M20,1) AND ((M20-REF(M20,1))/M20)*1000>3)*0.5;
B:(M20>REF(M20,1) AND ((M20-REF(M20,1))/M20)*1000>5)*0.8;
D:M20>REF(M20,1) AND ((M20-REF(M20,1))/M20)*1000>7;
DRAWTEXT(CURRBARSCOUNT=20,0.90,'20天'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=10,0.90,'10天'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=30,0.90,'妖气'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=40,0.90,'茁壮'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=50,0.90,'初开'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=60,0.90,'混沌'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=70,0.90,'开天'),COLOR00FFFF;