I have a multi-timeframe indicator with four plots including the primary one. All works fine apart from when I code Draw.ArrowUp or Draw.ArrowDown signals. The arrows all occur at the correct bars, but all occur at the bottom of the screen instead of the Y axis position where I have coded them to appear. Is this an issue with the multi-timeframe?
Below is a sample of the code I have used for the Arrow signal.
if(((Values[3][0] < 50 || Values[1][0] < 50) && CrossBelow(Values[0], 50, 1)) //660T or 5Min < 50 & Main CrossBelow 50
|| (Values[0][0] < 50 && (CrossBelow(Values[3], 50, 1) || CrossBelow(Values[1], 50, 1)))) //Main < 50 & 660T or 5Min CrossBelow 50
{
Alert("myAlertStochK02", Priority.High, "StochK cross 50 bear signal", NinjaTrader.Core.Globals.InstallDir+@"\sounds\Alert1.wav", 10, Brushes.Red, Brushes.Black);
ArrowDown myTriangleDownB = Draw.ArrowDown(this, "MyTriangleDown" + CurrentBar, false, 0, High[0] + TickSize, Brushes.Magenta);
myTriangleDownB.OutlineBrush = Brushes.Black;
}

Comment