PureBytes Links
Trading Reference Links
|
You use Ref to get past values
Range = (((H - L) + (ref(H,-1) - ref(L,-1)) + (ref(H,-2) - ref(L,-2))
+ ( ref(H,-3) - ref(L,-3)) + (ref(H,-4) - ref(L,-4))) / 5);
another way to write this with less keystrokes
Range = MA( H-L, 5 );
On Thu, 03 Mar 2005 02:13:10 -0000, teldridge@xxxxxxxxx
<teldridge@xxxxxxxxx> wrote:
>
>
> I am looking at using AmiBroker instead of my present scanning
> program. I tried to use a simple formula from my old program to find
> the average range of prices over the last 5 days in an Exploration in
> an end-of-day database.
>
> This is the formula from my present program that I tried to use:
> Range = (((H - L) + (H1 - L1) + (H2 - L2) + ( H3 - L3) + (H4 - L4)) / 5);
>
> After trying to read through the AFL reference guide I assumed this
> formula was too simple. If there is a way to code this in AmiBroker
> for a non-programmer I would appreciate being shown how?
>
> I am wondering if I am getting in over my head in attempting to use
> AmiBroker when I am not a computer programmer? Do any non-programmer
> traders use AmiBroker?
>
>
> 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
>
>
>
>
>
--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/
------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/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/
|