PureBytes Links
Trading Reference Links
|
Hi
Tomasz,
<FONT face=Arial color=#0000ff
size=2>
I have
to agree with Jon in that I still think some variation of the PREV function
should be implemented. Yes it is a slow computing function, but in the
context that it is used with today's computer speeds, it really isn't that great
of an issue. I understand that it would slow down Automatic Analysis scans
and back testing, but it still offers flexibility to the end user. I
find that working around the absence of the function requires one to reformulate
their ideas. This adds an additional layer of complexity that I feel is
unnecessary, especially for those that aren't full-time programmers. Last
night I spent two hours trying to figure out how to implement the trade day
function without using PREV, which could have been better spent performing
analysis. I'm all for testing my ideas first and then
reworking my code for performance benefits if it is too slow. It
helps to be able to implement new ideas quickly, with a minimum of time
invested.
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>Perhaps it could be implemented and then use of it would be discouraged
in the help file? Or implemented, but not supported
or documented?
<FONT face=Arial color=#0000ff
size=2>
Either
way, AmiBroker still remains one of the most powerful financial analysis
programs out there. Keep up the great work!
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>Daniel
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Tahoma
size=2>-----Original Message-----From: Tomasz Janeczko
[mailto:amibroker@xxxx]Sent: Friday, September 07, 2001 7:34
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker]
Another PREV example
Hello,
This is the reason why I think it is a good idea
NOT to have PREV in AFL.
In 80% of cases things may be coded without it in
much more efficient manner
(remember MS's PREV is very slow). The rest 20%
of cases could be coded
in script (also much more
efficiently).
Best regards,
Tomasz Janeczko
amibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Daniel Ervi
To: <A title=amibroker@xxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: 07 September, 2001 12:44
Subject: RE: [amibroker] AnotherPREV
example
<FONT face=Arial color=#0000ff
size=2>Hey that worked perfectly!
<FONT face=Arial color=#0000ff
size=2>
It
just goes to show that there is always a different perspective for every
problem. I never thought to use the barssince
function.
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>Thanks Jon and David for your help!
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>Daniel
<FONT face=Tahoma
size=2>-----Original Message-----From: jonf
[mailto:jonf_ca@xxxx]Sent: Thursday, September 06, 2001
11:25 PMTo: <A
href="">amibroker@xxxxxxxxxxxxxxxSubject:
Re: [amibroker] Another PREV example
Daniel,
barssince( month() != ref(month(),-1) ) +
1;
Hope this will help !
Tell me if it's not what you want !
Jon.
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
DanielErvi
To: <A
title=amibroker@xxxxxxxxxxxxxxx
href="">Amibroker Yahoo Group
Sent: Thursday, September 06, 2001
10:32 PM
Subject: [amibroker] AnotherPREV
example
Hi All,I've been struggling to figure out how
to code an MS indicator in AFLwithout using VBScript or
JScript. The function is pretty straight forward,but the
solution still eludes me. Here is the
function:
If(Month()<>Ref(Month(),-1),1,PREV+1)It is recursive,
which makes it very simple to understand. It is anindicator
that plots the current trade day number of the month.Can anybody
offer any ideas on how to get this going?Thanks in
advance!DanielYour use of Yahoo! Groups
is subject to the Yahoo!
Terms of Service. Your use ofYahoo!
Groups is subject to the <A
href="">Yahoo! Terms of Service.
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Your
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|