After hours/Premarket trading

To add comments, please log in or register
antiseptic
103
antiseptic  
Is there a way to view pm/ah trades?  Or is this something only my broker can do?
soubra2003
31843
soubra2003  
antiseptic:
Is there a way to view pm/ah trades?  Or is this something only my broker can do?

I am not sure if I understand what you want!

but maybe if I am correct you want to know an order open time. so, see below might be useful with you



OrderOpenTime()

Returns open time of the currently selected order.

datetime  OrderOpenTime();

Returned value

Open time of the currently selected order.

Note

The order must be previously selected by the OrderSelect() function.

Example:

  if(OrderSelect(10, SELECT_BY_POS)==true)
    Print("open time for the order 10 ",OrderOpenTime());
  else
    Print("OrderSelect returned error of ",GetLastError());

To add comments, please log in or register