When I use TimeSeriesSynchronizer.Synchronize it drops the original description on the TimeSeries.  Is this intentional or a bug?
    
    
    
    CODE:
using WealthLab.Backtest; using System; using WealthLab.Core; using WealthLab.Indicators; using System.Drawing; using System.Collections.Generic; namespace WealthScript5 { public class MyStrategy : UserStrategyBase { //create indicators and other objects here, this is executed prior to the main trading loop public override void Initialize(BarHistory bars) { TimeSeries tsSynched = TimeSeriesSynchronizer.Synchronize(bars.High, bars.Close); WriteToDebugLog(string.Concat("High: ", bars.High.Description)); WriteToDebugLog(string.Concat("Synched: ", tsSynched.Description)); } //execute the strategy rules here, this is executed once for each bar in the backtest history public override void Execute(BarHistory bars, int idx) { if (!HasOpenPosition(bars, PositionType.Long)) { //code your buy conditions here } else { //code your sell conditions here } } //declare private variables below } }
        Rename
    
        It's not intentional, I just fixed it for WL8, release tomorrow.
    
    
        Thanks.
    
    
            Your Response
            
            Post
        
        
        
    
            Edit Post
            
        
        
        
    
            Login is required