短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORFF00FF;
中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORFFFF00;
中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLOR00FFFF;
长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR0000FF;
DRAWBAND(短期,RGB(250,0,250),0,RGB(0,0,0));
DRAWBAND(中期,RGB(0,250,250),0,RGB(0,0,0));
DRAWBAND(中长期,RGB(250,250,0),0,RGB(0,0,0));
DRAWBAND(长期,RGB(250,0,0),0,RGB(0,0,0));
STICKLINE(短期>=90,100,105,2,0),COLORFF00FF;
STICKLINE(短期<=10,0,-5,2,0),COLORFF00FF;
STICKLINE(中期>=90,105,110,2,0),COLORFFFF00;
STICKLINE(中期<=10,-5,-10,2,0),COLORFFFF00;
STICKLINE(中长期>=90,110,115,2,0),COLOR00FFFF;
STICKLINE(中长期<=10,-10,-15,2,0),COLOR00FFFF;
STICKLINE(长期>=90,115,120,2,0),COLOR0000FF;
STICKLINE(长期<=10,-15,-20,2,0),COLOR0000FF;
0;
STICKLINE(C>0,10,10,2,0),COLORFF00FF;
20;
80;
STICKLINE(C>0,90,90,2,0),COLOR00FF00;
100;