PureBytes Links
Trading Reference Links
|
The code below is Metastock...can someone convert them to AB for me
please? I'm hopeless at code.....in fact my wife thinks its not only
code that I'm hopeless at.....but MOST THINGS.
Market Sentiment Indicator.
MaxVol:=2*(Mov(Volume,50,E));
Adjustment:=VOLUME-(VOLUME-MaxVol);
Value:=If(VOLUME>MaxVol,Adjustment,If(VOLUME<MaxVol,VOLUME,VOLUME));
Up:=IF(CLOSE>Ref(CLOSE,-1),(CLOSE-Ref(CLOSE,-1))*V
alue,(CLOSE-Ref(CLOSE,-1))*Value);
Down:=If(CLOSE<Ref(CLOSE,-1),(Ref(CLOSE,-1)-CLOSE)
*Value,(Ref(CLOSE,-1)-CLOSE)*Value);
Mov(Sum(Up,21)-Sum(Down,21),3,E);0;
OBV Index Indicator.
Periods:=Input(`OBV Periods',1.55.21);
Smooth:=Input(`Smoothing Periods',1,21,3);
Trigger:=Input(`Trigger Line',1,35,13);
Up:=(Sum(If(OBV()>Ref(OBV(),-1),0,OBV()-Ref(OBV(),-1)),Periods));
Down:=(Sum(If(OBV()<Ref(OBV(),-1),0,Ref(OBV(),-1)-OBV()),Periods));
Value:=(100-(100/(1+((Down+0.000001)/Up))));
Mov(Value,Smooth,E);
Mov(Value,Trigger,E);20;80;
Thanks in advance
Dumb (and hopless) Brusier!
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|