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

RE: [amibroker] Histogram centered around a non-zero value



PureBytes Links

Trading Reference Links

Dave

There are 2 ways you could achieve this

xO = 50;
xC = RSI(14) - 50;
xH = max(xO,xC);
xL = min(xO,xC);
PlotOHLC( xO,xH,xL,xC,"" ,colorblue,stylecandle);

Or

Plot( RSI(14)-50,"",colorwhite,stylehistogam);//your backghround colour
Plot( RSI(14), "", colorblue, stylehistogram);


I have just typed these out, hoping they work, but may have some typo errors

Cheers,
Graham
http://groups.msn.com/asxsharetrading
http://groups.msn.com/fmsaustralia 

-----Original Message-----
From: Dave Merrill [mailto:dmerrill@xxxxxxx] 
Sent: Wednesday, 3 December 2003 9:16 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Histogram centered around a non-zero value


What's the easiest way to plot something that looks like a histogram, but
has the bars extending up and down from some value other than zero? For
instance, suppose you wanted to plot RSI above and below 50. You could
subtract 50 and use a normal histogram, but that makes the readings in the
title, tooltip and to the right of the graph wrong.

Is there a simple solution I'm not thinking of?

Thanks,

Dave


------------------------ 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/mOAaAA/3exGAA/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/mOAaAA/3exGAA/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/