Multiple time frames in the same chart
Author: kelvinyip
Creation Date: 8/29/2019 2:25 PM
profile picture

kelvinyip

#1
Hi

I want to put say SPY daily , monthly, weekly, 60 mins in the same chart but different pane . I don't need dates to line up(just being lazy, I want to see multi time frame without opening 4 charts). doable ? any sample code ? thx in advance.
profile picture

Eugene

#2
Hi,

Not sure what you mean by lining up dates but it's possible to plot the data in multiple time frames in one window in WealthScript. Check out the WealthScript Programming Guide > Multi-Time Frame Analysis for code samples:

* Daily/Monthly (multiple panes)
* Intraday/Daily > How to: Overlay Daily Candlesticks on an Intraday Chart (single-pane overlay)
profile picture

kelvinyip

#3
I need something that looks like my screen shot except I want weekly, daily, hourly ,month all pulled up using a script. Note that the date don't need to line up at all.
profile picture

Eugene

#4
See reply above.
profile picture

kelvinyip

#5
yeah I saw the sample but the sample has weekly value plot as a constant till the date scale changes so the graph looks like a step function. I just need 2 regular charts like my screen shot shows.
profile picture

Eugene

#6
Like a step function, yes. There's only one time scale. You can't have two in one chart.
profile picture

kelvinyip

#7
any hack you can suggest to pull up different time frame charts ? it could be 4 independent charts... I have a hard time making sure they are showing the same symbol without typing it in for each opened chart
profile picture

Eugene

#8
It's easy with Linked charts. See "link charts" in the User Guide:

QUOTE:
Charts with link icons "enabled" automatically switch to display data for the next symbol entered in the Data Panel from any chart window. Each chart window continues to use its previously-established Scale, Data Range, and Position Size settings.
profile picture

kelvinyip

#9
wow, it works well. thanks
profile picture

Eugene

#10
Glad to help.
profile picture

ksarkar77

#11
Quick followup question. I am a TradeStation user and taking a test drive on Wealth-Lab. An overall beautiful product! The ability to use .Net platform is what I am looking for.

In the multiple time frame chart(multiple charts showing different time frames), is it possible to move the cross-hair cursor automatically across different time frames and show the corresponding bar if I am moving the cursor in one time frame? For example, if I am moving the cursor in daily time frame, the cursor will change automatically to the corresponding weekly bar once I move the cursor to a daily bar that belongs to a particular week? Tradestation has this ability and this helps tremendously in cutting down the research time for me.

Thanks in advance.
Kuntal
profile picture

Eugene

#12
Hi Kuntal,

Glad you like the product!

I'm afraid that such cursor behavior is not implemented.
profile picture

ksarkar77

#13
Thanks Eugine. Can this be requested as a feature request? If yes, kindly let me know if there is any formal website page where I can place this request?

Thanks
Kuntal
profile picture

Eugene

#14
Kuntal, thank you for the feature request. Please note that fixing the long standing bugs has high priority at this time, along with other goals set by Fidelity (the product owner). After that we may start looking at feature requests if they align with the product's design, have enough support and are feasible to implement.
profile picture

ksarkar77

#15
Thank you Eugene. I hope to bring this up again at some point in the future for your reconsideration.

Thanks
Kuntal
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).