How to draw something outside bounds of the chart
Author: gpwr
Creation Date: 6/7/2009 5:15 PM
profile picture

gpwr

#1
I have a script that predicts a few bars ahead. How shall I draw these predicted values on the PricePane if Bars.Count-1 is the last bar number recognized by the system?
profile picture

Cone

#2
It's possible only to project manual drawing object lines (trendlines, reg channel, Gann fan, Fib tools, etc.) into the "padded bars" area.
profile picture

gpwr

#3
I think this an oversight and I would recommend adding the capability to extend the chart into the future beyond Bars.Count-1. For example, in metatrader this is done by allowing to shift a data series by any number of bars for charting only. WL5 can also advance a time series, but it would not show it beyond Bars.Count-1.

I would also recommend adding a capability to create a data series, prefilled with empty values, which would not be plotted unless you give selected bars a non-empty value. Again, the feature of matatrader that I like and it is more convenient than setting the bar color for the bars you don't want to display to transparent. These transparent bars still affect the y-scale and force you to select their values carefully. If you do "DataSeries MySeries=Open", then WL changes open values of all bars to the computed MySeries - a bug or a feature of WL, which I couldnot figure out.

Another thing I have noticed is that WL5 crashes every other day when streaming quotes from Fidelity are enabled. Restarting it does not help and leads to a crash again. There are days when I can't use WL at all because every time I turn the streaming on, it crashes. It makes it totally useless for autotrading.

Except for these three flaws (crashes and inability to plot predicted future values and prefill the series with non-displayed values), WL is way better than MT.
profile picture

Cone

#4
Please call your Fidelity rep to suggest enhancements you'd like to see implemented. It's fine to discuss them here (third party site), but unless it's something we at MS123 can create as an add-on, enhancement requests generally don't go further than the forum.

Streaming crashes are almost surely related to the barslockedexception which occurs when you initialize streaming charts near the end of an interval (pressing Go, changing symbols, scale, etc.). This will be fixed in the 5.4 release.
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).