Hi,
is it possible to download all indicators as a list?
Thanks
regards MaSto
is it possible to download all indicators as a list?
Thanks
regards MaSto
Rename
CODE:
using System; using WealthLab.Backtest; using WealthLab.Core; using WealthLab.Indicators; namespace WealthScript12 { public class MyStrategy : UserStrategyBase { public override void Initialize(BarHistory bars) { foreach (var item in IndicatorFactory.Instance.Smoothers) { WriteToDebugLog($"{item.Abbreviation,-20}\t{item.Name,-40}\t{item.Parameters}"); } foreach (var item in IndicatorFactory.Instance.Oscillators) { WriteToDebugLog($"{item.Abbreviation,-20}\t{item.Name,-40}\t{item.Parameters}"); } } public override void Execute(BarHistory bars, int idx) { } } }
sorry, unfortunately I can't program
All the Indicators are in a list in the Indicators section, and, you can use the Filter to "search" by text. What's the purpose of the list if you're not using it in a program?
Anyway, I updated it above for "no programming".
1. Just open a new C# coded strategy,
2. replace the code with this,
3. Run Strategy it on any (one) symbol,
4. Copy the result from the Debug Log.
Anyway, I updated it above for "no programming".
1. Just open a new C# coded strategy,
2. replace the code with this,
3. Run Strategy it on any (one) symbol,
4. Copy the result from the Debug Log.
Just copy the code above, open a new C# Coded Strategy and remove the default code it comes up with, and paste Cone's code. Click Run Backtest and the results will be written to the Debug Log tab.
Thank you, it works. I have received the list. But without the description.
I need the list to document how the indicators work.
It's clearer for me this way.
I need the list to document how the indicators work.
It's clearer for me this way.
You can embellish the output with indicator's HelpDescription text like this:
CODE:
WriteToDebugLog($"{item.Abbreviation,-20}\t{item.Name,-40}\t{item.Parameters}\t{item.HelpDescription}");
Thanks, it works.
Your Response
Post
Edit Post
Login is required