Hi,
I am using WL 5.1 to run a program. The time scale I use is 5 minutes.
I need to click 'go' to get updated price values so that the program runs again to compute including the last price values.
Is there a way to automate this so that every so often the program runs again.
Thanks!
Size:
Color:
What do you have in mind?
A. Is there a static datasource like ASCII (updated in the background by your "program") that you intend to turn into pseudo real time?
B. Or the term "program" should be treated as a WealthScript-based trading Strategy?
In other words, it's not yet clear.
Size:
Color:
Clicking "Go" doesn't give the script access to updated prices in a streaming chart if the larger interval is not complete. If you want to run the script once every minute, then use 1 minute bars instead. Use the timeframe functions to build indicators based on the 5-minute interval. If a Provider supports them, you can even use sub 1-minute bars or even tick bars for more frequent updates.
Size:
Color:
I would like my Wealth Lab Strategy to run continuously in 1 minute update mode. In other words instead of clicking 'go' I would like the Strategy to do this autonomously.
Can you please tell me how to do this?
Thanks,
Size:
Color:
QUOTE:
In other words instead of clicking 'go' I would like the Strategy to do this autonomously.
In other words, do what clicking "Streaming" on a 1-minute chart does, but in any time scale?
Size:
Color:
Thank you for your patience. It turns out the Strategy Monitor runs a Strategy at regular intervals to generate alerts (I have not checked this out yet --my strategy does not have an alert yet-- but the monitor says it keeps running it). However, while it runs the Strategy it does not update the associated Strategy window. Can this be made to happen?
Size:
Color:
QUOTE:
the Strategy it does not update the associated Strategy window.
Did you click the "Streaming" button?
Size:
Color:
QUOTE:
However, while it runs the Strategy it does not update the associated Strategy window. Can this be made to happen?
Strategy Monitor runs its own compiled copy of a Strategy, there is no associated strategy window.
Size:
Color:
If you right click on a strategy line in the strategy window there is a function called 'OPen this strategy in a strategy window' which works. However, this window does not update in the time scale. One must click 'go'.
The nice thing about having this capability is to see one's startegy working real time. This way one gets an idea of an approaching signal.
It would be nice for the strategy monitor to send an update signal to the strategy windows that have been opened this way.
Thanks!
Size:
Color:
haytac, it's not going to work that way, sorry. If you want to see it in realtime (updating) in a Strategy Window, you have to turn on Streaming.
It's a convenience to "open this strategy in a strategy window", but these are two separate tools that have no other connection between them.
Size:
Color:
Cone, thanks. I have 'streaming' on the lower right hand corner. But, it does not update itself every 1 minute, say. I have to click 'go'. Is there a way for it to refresh each 1 minute (or whatever time scale that was assigned to this window)?
Kind of like the quote window that updates every few seconds by itself.
Size:
Color:
No, there's no way to do that on a 1-minute chart.
A 1-min streaming window will update once every minute if there's been a trade in the interval. If it's not working that way, you've got a problem that we've never seen.
Size:
Color: