PureBytes Links
Trading Reference Links
|
Thomas,
No offense at all. I am just very new to the use of amibroker and the
afl code language. And of course i did try it myself first, wich was
not a success :-(
I wanna thank you very much for your efforts and help
Kind regards
--- In amibroker@xxxxxxxxxxxxxxx, Thomas Ludwig <Thomas.Ludwig@xxx>
wrote:
>
> > Isn't there anyone that can help me?
>
> Eddie,
>
> no offense - but just a short look into the AB manual would have
given the
> solution to you as the Metastock and the AFL codes are very similar.
>
> This should do the job:
>
> Base=MA(RSI(14),6);
> ATRcustom=HHV(
> ValueWhen(RSI(14)>Ref(RSI(14),-1),ATR(1),1)OR
> ValueWhen(RSI(14)>Ref(RSI(14),-1),ATR(1),2)OR
> ValueWhen(RSI(14)>Ref(RSI(14),-1),ATR(1),3),14);
> Part1=
> //up coefficient is a factor 2.3 AND added
> (2.3*(MA(ATRcustom, 15)));
> Part2=
> //down coefficient is factor 2.1 AND subtracted
> (2.1*(MA(ATRcustom, 15)));
> /*Part3=if RSI closes up OR equal to, then part1,else, if RSI
closes down,
> part2*/
> RDI=IIf( Base>=Ref(Base,-1),
> //RSI up=True, then
> Base+Part1,
> //else
> //RSI up=False,then
> Base-Part2);
> Plot(RDI,"RSI Derivative Index",colorRed,styleLine);
>
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|