[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Possible coding error



PureBytes Links

Trading Reference Links

Steve,

It overwrites a COPY of close array used during evaluation
of current formula ONLY.
Has no effect on other formulas / data stored on disk.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Steve Dugas" <sjdugas@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, February 04, 2003 8:37 PM
Subject: Re: [amibroker] Possible coding error


> Hi TJ,
> 
> When you say "remove this line and everything will be back to normal" it
> makes me wonder...
> 
> In a situation like this, would it overwrite the permanent close stored on
> disk, or just some copy that AB has loaded into memory? If the latter, would
> the new close get saved when we exit AB? Thanks very much!
> 
> Steve
> 
> ----- Original Message -----
> From: "Tomasz Janeczko" <tj@xxxxxxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, February 04, 2003 2:00 PM
> Subject: [amibroker] Possible coding error
> 
> 
> > Hello,
> >
> > The formula attached to message
> > http://groups.yahoo.com/group/amibroker/message/32997
> > has a probable coding error in line
> >
> > C= A;
> >
> > This line OVERWRITES Close price with Average Price ( (H+L+C)/3 )
> >
> > Doing this is strongly discouraged because close is not longer close and
> may distort other indicators.
> >
> > If you REMOVE this line everything will be back to normal.
> >
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> >
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> >
> > Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> >
> >
> >
> 
> 
> 
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> 
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 

Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/