code:
if (entryOrder == null && (Close[0] > Open[0]))
{
entryOrder = EnterLong("mar****rder");
}
TraceOrder output:
3/2/1993 12:00:00 AM Entered internal PlaceOrder() method at 3/2/1993 12:00:00 AM: Action=Buy OrderType=Market Quantity=100 LimitPrice=0 StopPrice=0 SignalName='mar****rder' FromEntrySignal=''
as well, please see attached image - the date of that market order according to the data box is 3/3/1993
the way I understand this, the entry condition is met on the close of 3/2/1993. according to the image, the buy order is placed on the open of 3/3/1993. according to the TraceOrder output, the market order is placed on 3/2/1993 at 12:00AM, which is actually BEFORE the entry condition was even met. what is going on here?? i am very confused.
(i am using yahoo for ohlc daily bars)
thanks kindly for any help,
ben
Comment