通达信卖出参考主图指标(源码)

2014-01-21 08:36:00来源:本站整理浏览:318

均价线:=AMOUNT/V/100;
C2:=REF(C,1);
AA1:MA(C,4),COLORRED;
卖出:IF(AA1<=REF(AA1,1),AA1,DRAWNULL)COLORGREEN,LINETHICK2;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,4.6,0),COLORRED;
STICKLINE(涨停,OPEN,CLOSE,3.5,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
B1:='┄┄┄┄';
DRAWTEXT(均价线 AND 涨停,均价线,B1),COLORGREEN;
B3:='┄┄┄┄';
DRAWTEXT((O+C)/2 AND 涨停,(O+C)/2 ,B3),COLORMAGENTA;
B2:='┄┄┄┄';
DRAWTEXT_FIX(1,0,6,0,'☆ 公式网 WWW.GPXIAZAI.COM ☆'),COLOR00FFFF;
DRAWTEXT(涨停,L,B2),COLORGRAY;
DRAWTEXT(涨停,H*0.988,' ---涨停'),COLORYELLOW;
HH:=COUNT(涨停,15)>=1 AND H/C<1.025 AND C>REF(C,1);
VC:=((CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100+(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100+(CLOSE-MA (CLOSE,30))/MA(CLOSE,30)*100)/3;
S2:IF(VC>20 AND FILTER(VC< REF(VC,1),5),H*1.001-0.012,DRAWNULL),CIRCLEDOT,LINETHICK5,COLORGREEN;


股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式