sd1:=(c/ma((2*c+h+l)/4,10)-1)*100;
上涨线:SMA(sd1,3,1),COLORRED,LINETHICK2;
平衡线:MA(上涨线,5),COLORGREEN,LINETHICK1;
0;
{ _飞狐股票指标公式}
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;