Was trying to move an existing Fibonacci Retracement drawing on a chart to a different time by changing StartTime and EndTime via IFibonacciRetracements interface.
// get the entry - it does this fine
IFibonacciRetracements fibRetracements = (IFibonacciRetracements)DrawObjects[draw.Tag];
// change the values
fibRetracements.StartTime = fibRetracements.StartTime.AddMinutes(-60);
fibRetracements.EndTime = fibRetracements.EndTime.AddMinutes(-60);
just doesn't work. The drawing disappears. When I changed only one value and it snapped to bar 0. It was originally drawn using time and not bars.
However if I use bars it works fine.
fibRetracements.StartBarsAgo = -100;
fibRetracements.EndBarsAgo = -100;
Is this an undocumented feature or a bug?
Comment