通达信椭圆方程指标公式

2013-05-06 09:19:00来源:本站整理浏览:344

M:=9;
N:=50;
P:1;
A1:=MA(C,5);
A2:=MA(C,20);
A3:POW(A1,2)/M+POW(A2,2)/N-P,COLORYELLOW,LINETHICK3;
A4:=MA(C,10);
A5:=MA(C,40);
A6:POW(A4,2)/M+POW(A5,2)/N-P;
A7:=MA(C,20);
A8:=MA(C,80);
A9:POW(A7,2)/M+POW(A8,2)/N-P,COLORGREEN,LINETHICK2;
A10:=HHV(C,1);
A11:=LLV(C,20);
DRAWBAND(A3,255,A6,RGB(34,195,34));
A12:POW(A10,2)/M+POW(A11,2)/N-P,COLORRED;
DRAWBAND(A12,255,A9,RGB(34,195,34));
DRAWBAND(A3,155,A6,RGB(34,195,34));
STICKLINE(1,A6,A9,0,0),COLORBROWN;
STICKLINE(C>REF(C,1) AND A12>REF(A12,1),A12,REF(A12,1),3,1),COLORRED;
STICKLINE(C>REF(C,1) AND A12<REF(A12,1),A12,A12*0.98,3,1),COLORRED;
STICKLINE(C<REF(C,1) AND A12<=REF(A12,1),A12*0.98,A12*0.97,3,0),COLORCYAN;


 


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式