Amend the coding of an existing cBot to suit requirements

There is a cBot, which is publically available. It is a sample Martingale Algo and can be found on the following link :-( [url removed, login to view] If you sort by name, It is called Martingale Robot and written by alexk on 17/02/12. )

I am wanting to have some simple amendments made to the Algo, so as to reduce the risk that is inherrent in a Martingale Algo, as follows:-

The current operation of the Algo is stated on the Algo as follows:-

...."The "Sample Martingale cBot" creates a random Sell or Buy order. If the Stop loss is hit, a new

// order of the same type (Buy / Sell) is created with double the Initial Volume amount. The cBot will

// continue to double the volume amount for all orders created until one of them hits the take Profit.

// After a Take Profit is hit, a new random Buy or Sell order is created with the Initial Volume amount..."

I am wanting the following amendments to be made to the Algo :-

1 - To take out the random order wherever it is used. I require the initial trade to be taken in the direction of an exponential moving average. Price above ema = long trade. Price below ema = short trade. And such ema parameter to be variable for optimisation purposes.

2 - Initial trade quantity to be determined as a percentage of account balance, or equity. Such quantity parameter to be variable as well.

3 - If the initial trade hits the stop loss, the next new trade is doubled per the existing cBot. Ok to keep this command. However, the direction of the new doubled trade is currently always in the same direction of the initial trade. I require the second trade (and any subsequent trade after a loss or win) to be taken in the direction of the ema. So, all trades,(either initial or after a win or after a loss) are to be taken in the direction of the ema. This can result in the algo changing direction of new trades, if the price crosses to the other side of the ema.

4 - If a trade hits the profit stop, it then takes a new trade, back to the initial quantity. That is fine, except that new initial trade should not be random but rather as per direction of ema, as previously outlined. Also, the qantity of trade is a % of account balance or equity, as previously outlined.

5 - I would like a maximum number of trades limitation put into the cBot. Such parameter to be variable. This will hopefully stop the cBot from totally wiping out a trading account.

Hope the above makes sense.



Skills: Algorithm, C Programming, C# Programming, C++ Programming, Financial Markets

See more: is there any shop or fashion design who need people to advertise cloths, also write to my ceo tell him that you want him to take care of his officer hotel reservation in egypt also insure my ceo that i, translate the sentence to afrikaans there is no formal education or cirtificate requirements to become a fashion designer you wi, it will also be used in different languages, amend riordan budget according following requirements, freelance coding requirements, coldfusion html css coding requirements, logmein bandwidth requirements, coding backlinking, miva merchant requirements, ocr non functional requirements, freelance coding siteexperts exchangecom, technical requirements websites, freelance coding projects, mq4 coding service, job posting website requirements net, matlab coding job, hourly rate website design php coding, check php coding errors

About the Employer:
( 0 reviews ) Noranda, Australia

Project ID: #11651289

5 freelancers are bidding on average $152 for this job


Looking forward to discuss further about the project details and deliver the same to your specifications

$211 AUD in 5 days
(111 Reviews)

Hello, I hope you doing very well! I have gone through the description and would like to provide a quality solution using my 5+ years of professional experience in required skills. (.NET/ASP.NET - MVC, EF, SQL, C#). More

$128 AUD in 3 days
(10 Reviews)

There is a cBot, which is publically available. It is a sample Martingale Algo and can be found on the following link :-( [login to view URL] If you sort by name, It is called Martingale Robot and written by al More

$155 AUD in 3 days
(2 Reviews)
$155 AUD in 3 days
(1 Review)
$111 AUD in 3 days
(1 Review)