i am a novice at using automated programs; i am wondering how i can write a simple program to close off my positions at the end of the day when i won't be around the computer. for example, i enter the trades manually in the morning and then set a stop loss, and then come back to cancel all untriggered stop loss orders and then close off all positions (using market on close order).
i do this manually now but how can i write a simple program to automatically cancel all my untriggered stop loss orders at say 3:45pm and then automatically put in market on close orders for the remaining open positions?
thks for any advice...
i do this manually now but how can i write a simple program to automatically cancel all my untriggered stop loss orders at say 3:45pm and then automatically put in market on close orders for the remaining open positions?
thks for any advice...