All historical bar data are processed on strategy before indicators, so i'm can't use plot or custom dataserie on my indicators for my strategy on historical.
How i'm can insure all indicators have processed it's own historical bar before the strategy ?
Of course i'm don't have these sync problem on market replay or realtime, but sometime i'm facing sync problem when a first tick of new bar arrived, some indicators have processed this tick before the strategy, some other don't.
In my system, the strategy init and add on graph all indictor it use by calling the generated methode for have a indicator instance like:
public partial class Strategy : StrategyBase
{
/// <summary>
/// Enter the description of your new custom indicator here
/// </summary>
/// <returns></returns>
[Gui.Design.WizardCondition("Indicator")]
public Indicator._MyIndicator _MyIndicator(int boxSizeChart, string indicatorName, ....)
{
return _indicator._MyIndicator(.....);
}
Comment