通达信涨幅测量主图指标公式
2020/4/14 18:10:35
之幅度:=10;
最低:=TROUGHBARS(L,之幅度,1);{调整之字幅度找到低位起点}
低价:=REF(L,BARSLAST(最低=0));
低价_:=DRAWLINE(最低=0,L,ISLASTBAR,低价,0),COLORFFFF00;
FU:=C-低价_;
幅度:=FU/低价_*100,NODRAW;
低A:=DRAWTEXT(ISLASTBAR,低价_,'低价_'),COLOR208FFF;
_50%:DRAWLINE(最低=0,L*1.50,ISLASTBAR,低价*1.50,0),COLORAAAA11,DOTLINE;
_8%:DRAWLINE(最低=0,L*1.08,ISLASTBAR,低价*1.08,0),COLORAAAA11,DOTLINE;
_25%:DRAWLINE(最低=0,L*1.25,ISLASTBAR,低价*1.25,0),COLORAAAA11,DOTLINE;
_12%:DRAWLINE(最低=0,L*1.12,ISLASTBAR,低价*1.12,0),COLORAAAA11,DOTLINE;
_33%:DRAWLINE(最低=0,L*1.33,ISLASTBAR,低价*1.33,0),COLORAAAA11,DOTLINE;
{www.kanguba.com 看股吧_通达信股票指标公式}
DRAWTEXT(ISLASTBAR,_50%,'50%'),COLORAAAA11;
DRAWTEXT(ISLASTBAR,_8%,'8%'),COLORAAAA11;
DRAWTEXT(ISLASTBAR,_25%,'25%'),COLORAAAA11;
DRAWTEXT(ISLASTBAR,_12%,'12%'),COLORAAAA11;
DRAWTEXT(ISLASTBAR,_33%,'33%'),COLORAAAA11;
看股 吧公式 www.kan guba.com
其它股票公式列表