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

RE: [amibroker] Re: Possible coding error



PureBytes Links

Trading Reference Links




Ok, 

<FONT face=Arial color=#0000ff 
size=2> 
I'm 
going to add a LOT more clarity:  It was a joke, duude!  Fred got it 
and you didn't?
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>Clear?
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>d

  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: Phsst 
  <phsst@xxxxxxxxx> [mailto:phsst@xxxxxxxxx] Sent: Tuesday, 
  February 04, 2003 10:19 PMTo: 
  amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re: Possible coding 
  errorFor further clarity, regarding my previous post, 
  change the term"system CONSTANTS" to "system VALUES". System "VALUES" 
  should benon-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@xxxx] > > 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> > > > > <A 
  href="">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: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)> 
  > > > >> > > > > Check group FAQ at:> 
  > > > <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html> 
  > > > >> > > > > Your use of Yahoo! Groups is 
  subject to > > <A 
  href="">http://docs.yahoo.com/info/terms/> 
  > > > >> > > > >> > > > 
  > > > > > > > > > > > > Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx > > > 
  > (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)> 
  > > > > > > > Check group FAQ at: > > <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  > > > > > > > > Your use of Yahoo! Groups is 
  subject to > > <A 
  href="">http://docs.yahoo.com/info/terms/ 
  > > > > > > > > > > > 
  >> > > > > > > > Yahoo! Groups 
  Sponsor      > > > > 
  ADVERTISEMENT> >  > ><<A 
  href="">http://rd.yahoo.com/M=243376.2803712.4220031.1927555/D=egroupweb/S=1705> 
  >632198:HM/A=1414910/R=0/*<A 
  href="">http://ad.doubleclick.net/jump/N879.ameritrade.> 
  > yahoo/B1054521.29;sz=300x250;adc=zhs;ord=1044389836667670?> 
        > >  > ><<A 
  href="">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: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)> 
  > > > Check group FAQ at:> > <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  > > > > Your use of Yahoo! Groups is subject to the Yahoo! 
  Terms of Service> > <<A 
  href="">http://docs.yahoo.com/info/terms/> 
  .Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT









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.