PureBytes Links
Trading Reference Links
|
For further clarity, regarding my previous post, change the term
"system CONSTANTS" to "system VALUES". System "VALUES" should be
non-assignable.
Phsst
--- In amibroker@xxxxxxxxxxxxxxx, "Phsst <phsst@xxxx>" <phsst@xxxx> wrote:
> Fred is right...
>
> I suggest you give a little slack here and interpret Freds post to mean:
>
> Built in "system VALUES" should not be allowed to be used on the left
> side of the assignment statement "=".
>
> To my way of thinking, "system CONSTANTS" should be protected. Which
> means that any attempt to alter them should be prohibited and generate
> error messages.
>
> Open, High, Low, Close & Volume are "CONSTANTS"... BUY & SELL along
> with many others are "VARIABLES".
>
> Protect the "CONSTANTS".
>
> Regards,
>
> Phsst
>
> --- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxxx> wrote:
> > Not even BUY or SELL ?
> >
> > Maybe that's your secret? Hmmm I think I've found it guys!!
> >
> > d
> >
> > -----Original Message-----
> > From: Fred <fctonetti@xxxx> [mailto:fctonetti@x...]
> > Sent: Tuesday, February 04, 2003 3:17 PM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: [amibroker] Re: Possible coding error
> >
> >
> > TJ,
> >
> > No offense but it is also good programming language development
> > practice to NOT allow built in reserved words to be used on the left
> > side =.
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
> > wrote:
> > > Franco,
> > >
> > > I have posted my e-mail because I received a support question
> > > why the custom indicator using your code does not show close
> > > but other value. And the reason was that code used Plot()
> > > statement to plot Avg array instead of close while the title
> > remained "Close".
> > > Hence the confusion.
> > >
> > > It is good programming practice not to overwrite build-in constants
> > and/or price arrays.
> > >
> > > Best regards,
> > > Tomasz Janeczko
> > > amibroker.com
> > > ----- Original Message -----
> > > From: "Franco Fornari" <ffpsi@xxxx>
> > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > Sent: Tuesday, February 04, 2003 8:11 PM
> > > Subject: Re: [amibroker] Possible coding error
> > >
> > >
> > > > Tomasz,
> > > >
> > > > thanks for this clarification. One can choose A or C, replacing
> > all the
> > > > occurrences into the entire formula.
> > > >
> > > > Best regards,
> > > >
> > > > Franco
> > > >
> > > > ----- Original Message -----
> > > > From: "Tomasz Janeczko" <tj@xxxx>
> > > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > > Sent: Tuesday, February 04, 2003 8: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/
> > > >
> > > >
> > > >
> >
> >
> >
> > Yahoo! Groups Sponsor
> >
> > ADVERTISEMENT
> >
> >
<http://rd.yahoo.com/M=243376.2803712.4220031.1927555/D=egroupweb/S=1705
> >
632198:HM/A=1414910/R=0/*http://ad.doubleclick.net/jump/N879.ameritrade.
> > yahoo/B1054521.29;sz=300x250;adc=zhs;ord=1044389836667670?>
> >
> >
<http://us.adserver.yahoo.com/l?M=243376.2803712.4220031.1927555/D=egrou
> > pmail/S=:HM/A=1414910/rand=295404262>
> >
> > 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 the Yahoo! Terms of Service
> > <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/
|