Hi Guys,
1. Can a magic number be a 10 digit number. Basically I would like to use Time[0] as the magic number cos its unique.
2. If there are no orders in this history with a particular Magic Number which is Time[0], then I would like to place a buy or a sell order. I am not able to write a code for retrieving OrdersHistoryTotal() and checking if there was a previous order with a particular Magic Number. Please help me solve this.
Cheers
Brijesh
1. Can a magic number be a 10 digit number. Basically I would like to use Time[0] as the magic number cos its unique.
2. If there are no orders in this history with a particular Magic Number which is Time[0], then I would like to place a buy or a sell order. I am not able to write a code for retrieving OrdersHistoryTotal() and checking if there was a previous order with a particular Magic Number. Please help me solve this.
Cheers
Brijesh