公式网-网站导航


网站搜索:  

公式指标网 发表于2012/8/27 6:24:37

通用涨跌停主图代码(*ST、ST股都可用)

通用涨跌停主图代码(*ST、ST股都可用)

涨幅限制:=if(namelike('st') or namelike('*st'),105,110);{代表1.05和1.1}
跌幅限制:=if(namelike('st') or namelike('*st'),95,90);{代表0.95和0.9}
涨停:=round(close*100)>=round(ref(close,1)*涨幅限制) and close=high;
跌停:=round(close*100)<=round(ref(close,1)*跌幅限制+1) and close=low;
stickline(涨停,o,c,1,0),color00ffff;
stickline(跌停,o,c,1,0),colorff9900;

通用涨跌停主图代码(*ST、ST股都可用)



网站搜索:  



Copyright © 2009-2010 gszb.com ™,All Rights Reserved. 
公式网-www.gszx.com.cn-股票指标公式网