How can I get a ranking of ROC (Close, 250) from a DataSet?
How can I get all Close> SMA100 titles?
Thanks for the help.
How can I get all Close> SMA100 titles?
Thanks for the help.
Rename
You can accomplish this with the Index Profiler:
https://www.wealth-lab.com/extension/detail/IndicatorProfiler#screenshots
https://www.wealth-lab.com/extension/detail/IndicatorProfiler#screenshots
The "By Symbol" tab will be the way to go, but wait for Build 28. We recently overhauled the By Symbol tab and I see now it's no longer displying plotted indicators. But, after Build 28 is out, create a Strategy like this and you can then sort and rank on any of your plotted indicator values ...
CODE:
using WealthLab.Backtest; using WealthLab.Core; using WealthLab.Indicators; using System.Drawing; namespace WealthScript1 { public class MyStrategy : UserStrategyBase { //Initialize public override void Initialize(BarHistory bars) { PlotIndicator(ROC.Series(bars.Close, 250)); TimeSeries diff = bars.Close - SMA.Series(bars.Close, 100); PlotTimeSeries(diff, "Close-SMA100", "SMA", Color.Teal); } //Execute public override void Execute(BarHistory bars, int idx) { } } }
Your Response
Post
Edit Post
Login is required