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

RE: [amibroker] Re: Question, wanting to display change in price instead of % change in price chart



PureBytes Links

Trading Reference Links

I hadn't realised you could just put the array variable into a title, always
had to use the WriteVal function. Guess I should read the changes more often

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia


-----Original Message-----
From: Tomasz Janeczko [mailto:amibroker@xxxxxx] 
Sent: Thursday, 14 August 2003 7:30 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Re: Question, wanting to display change in price
instead of % change in price chart


Hello,

One correction, since there is a artitmetic operation inside string
concatenation it must be wrapped with parentheses as shown below:

Plot( Close, "close", 5, 64);

Title = Name() + " " + Date() + "Open: " + Open + 

" Hi: " + High + " Lo: " + Low + " Close " + Close + 

" Change: " + ( Close - Ref( Close, -1 ) ) + " Vol: " + Volume;


Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Tomasz Janeczko" <amibroker@xxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, August 14, 2003 1:25 AM
Subject: Re: [amibroker] Re: Question, wanting to display change in price
instead of % change in price chart


> Hello,
> 
> Just ADD IT AT THE END.
> 
> Plot( Close, "close", 5, 64);
> Title = Name() + " " + Date() + "Open: " + Open +
>  " Hi: " + High + " Lo: " + Low + " Close " + Close + 
>  " Change: " + Close - Ref( Close, -1 ) + " Vol: " + Volume;
> 
> Hope this helps.
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "tagrant67214" <tagrant67214@xxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Thursday, August 14, 2003 1:20 AM
> Subject: [amibroker] Re: Question, wanting to display change in price
instead of % change in price chart
> 
> 
> > Thanks,
> > 
> > I can't manage to find an example of how to do this on the on-line
> > afl reference.  I'm not a programmer so I have no clue what the heck 
> > I'm doing here. 
> > 
> > Where would I put this in the formula editor on this  example.
> > 
> > Plot( Close, "close", 5, 64);
> > 
> > the variation's I've tried all error out.
> > 
> > Thanks,
> > 
> > Todd
> > --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
> > wrote:
> > > Hello,
> > > 
> > > Simply add this to your custom chart:
> > > 
> > > Title = Name() + " " + Date() + "Open: " + Open +
> > > " Hi: " + High + " Lo: " + Low + " Close " + Close + 
> > > " Change: " + Close - Ref( Close, -1 ) + " Vol: " + Volume;
> > > 
> > > 
> > > Hope this helps.
> > > 
> > > Best regards,
> > > Tomasz Janeczko
> > > amibroker.com
> > > ----- Original Message -----
> > > From: "tagrant67214" <tagrant67214@xxxx>
> > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > Sent: Thursday, August 14, 2003 12:38 AM
> > > Subject: [amibroker] Question, wanting to display change in price 
> > instead of % change in price chart
> > > 
> > > 
> > > > Hello,
> > > > 
> > > > On the default chart or a custom chart, at the top it returns
> > > > 
> > > > The symbol, date, open, hi, lo, close (+ or - %) and volume.
> > > > 
> > > > I would like to know how I can make it show the change in price,
> > > > instead of the change in percent.
> > > > 
> > > > 
> > > > Thanks,
> > > > 
> > > > Todd
> > > > 
> > > > 
> > > > 
> > > > 
> > > > Send BUG REPORTS to bugs@xxxx
> > > > Send SUGGESTIONS to suggest@xxxx
> > > > -----------------------------------------
> > > > 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/
> > > > 
> > > > 
> > > >
> > 
> > 
> > 
> > Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> > Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> > -----------------------------------------
> > 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/
> > 
> > 
> > 
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> 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 ---------------------~--> Buy
Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer
at Myinks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
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 ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
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/