郎少 发表于 2011-12-5 10:04

[大智慧] 机构K线

{机构K线--判断指标}
c1:=10000*c/indexc;
h1:=10000*h/indexh;
l1:=10000*l/indexl;
o1:=10000*o/indexo;
STICKLINE(c1>=o1,c1,o1,6,0.2),COLORRED;
STICKLINE(c1>=o1,l1,h1,0.2,0.2),COLORRED;
STICKLINE(c1<o1,c1,o1,6,0.2),colorcyan;
STICKLINE(c1<o1,l1,h1,0.2,0.2),colorcyan;
MA1:MA(C1,5);
MA2:MA(C1,10);
MA3:MA(C1,20);
MA4:MA(C1,30);


{机构量能}
OBV:=SUM(IF(C>REF(C,1),VOL/100,IF(C<REF(C,1),-VOL/100,0)),0);
abc:=atan((OBV-ref(OBV,1)))*180/3.1416;
STICKLINE(abc>1 and OBV>ref(OBV,1), OBV,REF(OBV,1),8,1),colorred;
STICKLINE(abc<1 and OBV<ref(OBV,1), OBV,REF(OBV,1),8,1),COLORgreen;
MA40:MA(OBV,40);
MA96:MA(OBV,96);

音乐大师 发表于 2011-12-9 21:50

谢谢分享!

yhnee 发表于 2011-12-14 10:14

谢谢分享!

神剑 发表于 2011-12-14 10:59

谢谢分享!

连连涨 发表于 2011-12-14 12:31

谢谢分享,学习了

旺旺精彩 发表于 2012-2-11 12:57

谢谢分享!
页: [1]
查看完整版本: [大智慧] 机构K线