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

RE: [amibroker] Chart Title Formatting



PureBytes Links

Trading Reference Links

Hello,

 

check out the timeframeset and/or timeframegetprice functions.

 

- - - - - - - - - - - - - - - - -

Best Regards

 

Thomas

 <http://www.tradingbasis.com/>  <http://www.tradingbasis.com/>
http://www.tradingbasis.com

- - - - - - - - - - - - - - - - -

  _____  

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of hercdriver98
Sent: Monday, June 19, 2006 6:15 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Chart Title Formatting

 

I am trying to make a few changes in the appearance of the chart title
in my realtime intraday charts. I am currently using the following
script in the chart title:

_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g,
Lo %g, Close %g (%.g) {{VALUES}}", O, H, L, C, SelectedValue( C - Ref(
C, -1 ) ) ));

However, this gives the actual change from close on the previous bar.
While using realtime 5-minute intraday charts, I would like to see the
change from the previous "daily" close, vice the close from previous
5- minute bar. The same concept would apply for 15-minute charts or
3-minute charts.

What is the correct way to do this?

Thanks in advance,

Herc