View Single Post
  #3 (permalink)  
Old 06-05-2006, 11:12 PM
Aaragorn's Avatar
Aaragorn Aaragorn is offline
Senior Member
 
Join Date: Jun 2006
Location: USA
Posts: 801
Aaragorn is on a distinguished road
Quote:
Originally Posted by harryhid
Yes, i want to know too. If we can do this then we can just make an EA base on some stadart simple indicator.
i know how to do it in a spreadsheet but I'm afraid I don't know how to tell you to do it in code but there is probably more than one solution that will work if you know how to do it. Can you write a code to detect if a position is already open? What can you detect about the account with code? Can you tell when the last order was opened, what the available margin is? Something about the account that you CAN detect which will be obviously different if a position is already open?
Reply With Quote