else if (State == State.Realtime)
{
// one time only, as we transition from historical
// convert any old historical order object references
// to the new live order submitted to the real-time account
if (entryOrder != null)
entryOrder = GetRealtimeOrder(entryOrder);
if (stopOrder != null)
stopOrder = GetRealtimeOrder(stopOrder);
}
1.Does this synchronize account in case of unexpected strategy shutdown? And strategy will manage stop like it used to, right?
2. Are there some limitations on using AddChartIndicator()? I can't add 1 indicator, it works on chart but not on strategy analyzer window. it just doesn't appear, no error in logs. I downloaded from ecosystem if it helps Color Regions
Comment