- ago
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.
0
877
Solved
2 Replies

Reply

Bookmark

Sort
- ago
#1
You can accomplish this with the Index Profiler:
https://www.wealth-lab.com/extension/detail/IndicatorProfiler#screenshots
0
Glitch8
 ( 10.65% )
- ago
#2
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) { } } }


1
Best Answer

Reply

Bookmark

Sort