NI
    
        
            Multiple positions
            
                 20 May 2013, 09:24
            
                    
Hi cAlgo Team,
can you pls suggest method to initiate and manage multiple positions by placing limit orders?
algo should be able to keep track of all open positions and give a count of all positions that were closed at profit / loss etc.
Thanks and best regards

cAlgo_Fanatic
20 May 2013, 12:18
You can start by looking at this example that creates multiple positions: Multiple Positions.
OnPositionOpened method is triggered when a position is opened and OnPositionClosed when a position is closed by the robot.
@cAlgo_Fanatic