public static string GetDataSetName(WealthScript obj)public string GetDataSetName( WealthScript obj )
using System; using System.Text; using WealthLab; using WealthLab.Indicators;namespace WealthLab.Strategies { public class MyStrategy : WealthScript { protected override void Execute() { PrintDebug( this.GetDataSetName() ); } } }
using System; using System.Text; using WealthLab; using WealthLab.Indicators; using Community.Components; // GetDataSetName here /*** Requires installation of Community.Components Extension from www.wealth-lab.com > Extensions ***/namespace WealthLab.Strategies { public class MyStrategy : WealthScript { protected override void Execute() { // Pass a WealthScript instance Utility u = new Utility( this ); PrintDebug( u.GetDataSetName() ); } } }