public static PositionSize GetPositionSize(this WealthScript obj)public PositionSize GetPositionSize( 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.GetPositionSize() ); } } }