I see references to setting DrawOnPricePanel to false but this doesn't seem to be recognised in a strategy, only in a custom indicator. I can draw on the main price panel ok, but just don't know how to draw lines etc on a inbuilt indicator displayed by my strategy.
My code is something like;
public class myStrategy : Strategy { private IndicatorBase seriesMACD; protected override void Initialize() { seriesMACD = MACD(macdFastPeriod,macdSlowPeriod,macdSmoothing); Add(seriesMACD); CalculateOnBarClose = true; } protected override void OnBarUpdate() { // how to make this (or any other Draw method) appear over the MACD panel instead of price panel? DrawArrowDown(CurrentBar.ToString(), 0, 0, Color.Yellow); } }
Comment