Just created a simple strategy with 2 SMA of same period , one uses Highs, the other Lows as PriceType. On the Strategy chart only the second one (price Low) SMA is plotted. Whats wrong?
protectedoverridevoid Initialize()
{
ClearOutputWindow();
CalculateOnBarClose = true;
BarsRequired = 120;
SMA(LtMovAvg2).PriceType = PriceType.High;
Add(SMA(LtMovAvg2));
SMA(LtMovAvg2).PriceType = PriceType.Low;
Add(SMA(LtMovAvg2));
}

Comment