sd1:=(c/ma((2*c+h+l)/4,10)-1)*100;
上涨线:sma(sd1,3,1),COLORRED,LINETHICK2;
平衡线:MA(上涨线,5),COLORGREEN,LINETHICK1;
0;
投机线:ma(c,5)-ma(c,200),colorwhite;
操作线:ma(c,21)-ma(c,200)coloryellow;
底线:ma(c,55)-ma(c,200),colorgreen;
0,pointDOT;
STICKLINE( c>O,h-ma(c,200) ,l-ma(c,200) ,1 ,0 ),COLORred;
STICKLINE( c>O,C-ma(c,200) ,O-ma(c,200) ,4 ,0 ),COLORred;
STICKLINE( O>=C,h-ma(c,200) ,l-ma(c,200) ,1 ,0 ),COLORcyan;
STICKLINE( O>=C,O-ma(c,200) ,C-ma(c,200) ,4 ,0 ),COLORcyan;
STICKLINE(上涨线>0 and 上涨线>平衡线,平衡线,0,2,0),Color6d0076;
STICKLINE(上涨线>0 and 上涨线<=平衡线,上涨线,0,2,0),Color6d0076;
STICKLINE(上涨线<=0 and 上涨线>平衡线,上涨线,0,2,0),ColorFFD1BE;
STICKLINE(上涨线<=0 and 上涨线<=平衡线,平衡线,0,2,0),ColorFFD1BE;
STICKLINE(上涨线>平衡线 and 上涨线>0,上涨线,平衡线,2,0),COLORRED;
STICKLINE(上涨线>平衡线 and 上涨线<=0,上涨线,平衡线,2,0),COLORYELLOW;
STICKLINE(上涨线<=平衡线 and 上涨线>0,上涨线,平衡线,2,0),COLORBLUE;
STICKLINE(上涨线<=平衡线 and 上涨线<=0,上涨线,平衡线,2,0),COLORBLACK;
强势区:PARTLINE(上涨线>0,0),COLORRED,LINETHICK2;
弱势区:PARTLINE(上涨线<=0,0),COLORCYAN,LINETHICK2;