In V6, there was a "PlotSymbol" command that was useful to plot an external symbol in the current chart style, e.g. candlesticks.
How is this accomplished in V7?
Thank you for your time.
How is this accomplished in V7?
Thank you for your time.
Rename
Use GetHistory to get an external symbol history, and PlotBarHistory to plot it. Unlike in WL6, in WL7 you can even optionally specify a specific chart style to plot it in. Example:
CODE:
using WealthLab.Backtest; using WealthLab.Core; using System.Drawing; namespace WealthScript1 { public class MyStrategy : UserStrategyBase { //Initialize public override void Initialize(BarHistory bars) { BarHistory qqq = GetHistory(bars, "QQQ"); PlotBarHistoryStyle(qqq, "Bars", "Heikin Ashi", Color.Navy); } //Execute public override void Execute(BarHistory bars, int idx) { } } }
Thanks Glitch.
How do I get, say, moving averages to appear as overlays on that same plot?
Thanks again.
How do I get, say, moving averages to appear as overlays on that same plot?
Thanks again.
I also need to be able to see the OHLC values when hovering over an external symbol bar. How does that work in 7?
QUOTE:
How do I get, say, moving averages to appear as overlays on that same plot?
By specifying the paneTag for both calls:
CODE:
public virtual void PlotIndicator(IndicatorBase ib, Color color = default(Color), PlotStyles? plotStyle = null, bool suppressLabels = false, string paneTag = null))
Thank you, Eugene.
Wish this was more intuitive, but as long as we get where we're trying to go is all that matters.
I also need to be able to see the OHLC values when hovering over an external symbol bar. How does that work in 7?
Wish this was more intuitive, but as long as we get where we're trying to go is all that matters.
I also need to be able to see the OHLC values when hovering over an external symbol bar. How does that work in 7?
You're able to see the Close value of the external symbol by hovering over a bar.
Sure the Close is there, but also I need the OHL values, which don't appear as they did in V6 when hovering over a bar. This is for the external symbol pane, not the main pane.
It’s currently not possible, but you can open a #FeatureRequest to get his feature on the development list.
Your Response
Post
Edit Post
Login is required