Monitor "Total Profit/Loss" in Groups

Created at 26 Sep 2015
GoldnOil750's avatar

GoldnOil750

Joined 07.04.2015

Status

Closed


Budget

20.00 USD


Payment Method

Direct Payment

Job Description

Hi,

Want a simple cBOT which does the following :

1. From a particular date and time, it calculates the Net Profit/Loss of all positions open and closed.

2. Once the Target Net Profit reaches (e.g. USD 100) it closes all the Open Positions and Pending Orders too. (limit and stop both)

3. The above is called Group # 1 and the info regarding it will be dumped in a user specified CSV file.

4. As soon as the "next" New Position is placed, it is the Start Date and time for the Group # 2. 

5. cBOT works on ONE particular currency pair at a time.

6. several instances of cBOT will be running so it should not close the positions or pending orders of other currency.

7. cBOT will be running for months on server so efficient code is required which does not burden the server and there is no pressure on the server memory.

8.  Positions are placed/opened either by another cBOT or by end-user manually. Positions might hit stop-loss, take profit or closed by end-user.   THIS cBOT only calculates their accumalated Profit/Loss and as soon as it hits the "Target Profit", it will close open positions and pending order., call it Group # 1 and now wait for the next new position to be opened and those Positions will be part of Group#2, unless Target Profit Condition is met and then Group#3 and so on

9. have a word file and excel file explaining more in detail the display screen messages requirement and the information that needs to be dumped in the CSV file.

 

Thank you

Saleem Khan

Comments
No comments found.