Quotes and Performance in charts?
Author: P_Cherry
Creation Date: 9/17/2008 8:28 AM
profile picture

P_Cherry

#1
Is it possible to have in the chart:


A) 1week performance (close to close) of defined indices as text?
B) Quotes of the defined instruments (directly in the chart instead of Watchlist)?

Is there any script support for that, thanks for help.

Peter
profile picture

Eugene

#2
Yes, it's possible.
QUOTE:
A) 1week performance (close to close) of defined indices as text?

CODE:
Please log in to see this code.

QUOTE:
B) Quotes of the defined instruments (directly in the chart instead of Watchlist)?

The same way.
profile picture

P_Cherry

#3
Quite a good tool this Wealth-Lab:) And you are good in scripts programming for that.

GetExternalSymbols returns just Bar information, not streaming...so is it possible to show streaming last and change in percentage?
profile picture

Eugene

#4
QUOTE:
GetExternalSymbols returns just Bar information, not streaming...so is it possible to show streaming last and change in percentage?

Yes - on a streaming chart, of course.
profile picture

P_Cherry

#5
It means, the code will be the same?

index.Close in a streaming chart means the last streaming price?
profile picture

Eugene

#6
Wealth-Lab's designed around the concept of bars. If this is a streaming chart, and a new bar has been formed, then the text will update. So you won't get a "streaming text" within the time span of an incomplete bar.