In a MultiTimeFrame strategy I get several messages:
Order for strategy 'MyStrategy' was placed in incorrect 'BarsInProgress' context. Order ignored.
What does this mean (when exactly does this happen) and how can I avoid it?
2nd Problem: in the same MultiTimeFrame Strategy trades are executed, but they don't show up in the Chart tab of the Strategy Analyzer (the Bars and Indicators do, but not the trade Entry and Exit signals). I don't understand ...
Amendment in Edit: With a different timeframe settings (50 Tick bars for primary, and 1 Tick for BarsArray[1] time series), the trades DID show up on the chart. So sometimes they do, sometimes they don't ... (but both timesIhave manytrades in the Trades/Executions and Orders tabs).
TIA,
Peter

. A few more (nontrivial and well commented) sample strategies downloadable from somewhere (maybe in a section 'Sample Strategies' in this forum) and programming examples would be *very* helpful for newbies like me. Doesn't have to be worded out nicely like in the Help Docu, just a pool of working code (no matter if profiable or not).
!
Comment