通达信优化GPS系指标(源码)

2014-02-07 09:46:00来源:本站整理浏览:242

STICKLINE(CURRBARSCOUNT<150,HHV(C,14),LLV(C,14),4,1),COLORGRAY;
STICKLINE(CURRBARSCOUNT<150 AND C>=REF(C,1),C,LLV(C,14),3,0),COLORRED;
STICKLINE(CURRBARSCOUNT<150 AND C<REF(C,1),C,LLV(C,14),3,0),COLORCYAN;
量比:=V/REF(MA(V,20),1);
STICKLINE(CURRBARSCOUNT<150 AND C>REF(C,1),L,L+量比/10,2,0),COLORYELLOW;
STICKLINE(CURRBARSCOUNT<150 AND C<REF(C,1),L,L+量比/10,2,0),COLORBLUE;
DRAWTEXT(CURRBARSCOUNT<150 AND O/LLV(C,20)<1.05 AND 量比>2.2 AND C>REF(C,1),REF(C,1)*1.02,'2_3个点买'),COLORGREEN;
A1:=(C-LLV(C,14))/(HHV(C,14)-LLV(C,14))*100;
DRAWNUMBER(CURRBARSCOUNT<120 AND C>REF(C,1),HHV(C,14)*1.05,INTPART(A1)),COLORGREEN;
DRAWNUMBER(CURRBARSCOUNT<120 AND C<REF(C,1),LLV(C,14)*0.98,INTPART(A1)),COLORRED;
分界线:(HHV(C,14)+LLV(C,14))/2;
DRAWICON(L<分界线 AND INTPART(A1)<90 AND C>REF(C,1),HHV(C,14)*1.1,1);
DRAWICON(L<分界线 AND INTPART(A1)=0 AND C<REF(C,1),LLV(C,14)*0.95,1);


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式