Bug DataRequestType

Questions about MultiCharts .NET and user contributed studies.
chris1206
Posts: 3
Joined: 07 Aug 2013

Bug DataRequestType

Postby chris1206 » 07 Aug 2013

Hello,

in a Chart Window, the Output is correct. But in PortfolioBacktester, the Output is wrong.... (Multichart.net 8.7, some the other post)

Code: Select all

using System;
using System.Drawing;
using System.Linq;
using PowerLanguage.Function;
using ATCenterProxy.interop;

namespace PowerLanguage.Strategy {
public class CST_Test : SignalObject {
public CST_Test(object _ctx):base(_ctx){}



protected override void Create() {

}
protected override void StartCalc() {

Output.Clear();
InstrumentDataRequest req = Bars.Request;

Output.WriteLine("{0}, {1}, {2}, {3}, {4}",req.Range.Count,req.Range.From,req.Range.RequestType,req.Range.To,req.Range.ToAlwaysIsNow);

}
protected override void CalcBar() {



}
}
}

User avatar
Alex MultiCharts
Posts: 194
Joined: 09 Aug 2013
Has thanked: 43 times
Been thanked: 77 times

Re: Bug DataRequestType

Postby Alex MultiCharts » 13 Aug 2013

Thank you for reporting this issue. The information was forwarded to the Developers and confirmed. It should be fixed in the future versions.


Return to “MultiCharts .NET”