I'm trying to draw a vertical line as specified (e.e. 9:30 AM EST). However it is drawn somewhat earlier than that.
My code is:
PrintCSV(LogWindow, "================================================================================================"); PrintCSV(LogWindow, "\"Strategy: Trading Opened. DayProfit " + DayProfit.ToString(format) + " Day Profit Target " + DayProfitTarget.ToString(format) + " Day Stop Loss " + DayStopLoss.ToString(format) + " Strategy Profit " + StrategyProfit.ToString(format) + "\""); PrintCSV(LogWindow, "================================================================================================"); Draw.VerticalLine(this, "Trading Open " + CurrentBar.ToString(), 10, Brushes.Lime);
But the line is drawn at 8:47AM EST.
Many Thanks! Caesar.
Comment