Description
Regarding /forum/cbot-support/753.
u
atrader
Joined on 10.10.2012
- Distribution: Free
- Language: C#
- Trading platform: cTrader Automate
- File name: forex.algo
- Rating: 0
- Installs: 3472
- Modified: 13/10/2021 09:54
Comments
hi dear i am robot tester, i found this robot a little successful on some pairs of my choice...........this robot has some bugs. please fix them if possible.
1. there must be an option to close positions automatically if given percentage of equity is in loss.
2. it does not open the positions as given in parameter.
Thanks,
waiting for a reply.
Hello,
Instead of _startingBalance = Account.Balance I would prefer _startingBalance = Last.Highest.Balance.
How would you do it the simplest way? (As Last.Highest.Balance does not exist!).
Tx.
JH,
Make sure you have the following directive at the top of your code somewhere:
using System.Linq;
Without it, you cannot use lambdas in your code, which would explain why your code is not working with lambdas used, and working when they're not used.
Hello,
I'm a newbie. Can you explain how Tralstart, Tralstop and Pipstep work?
Thank you very much for this robot. I runned it several times and the best results appear with EUR/USD, Firstlot = 10K, TakeProfit = 200, Tralstart = 50, Tralstop = 50, Pipstep = 300, Maxorders = 5.
Buenos dias, he probado este robot, pero no tiene stops loss, solo compra y permite correr las pérdidas. Podría facilitarme una versión corregida, por favor. Muchas gracias por su amabilidad.