You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
Could someone please help me with my LotsizeCalc() function.
I would like to multiply my lotsize with the 'MartingaleAmount' if my last trade was a loser. If my last trade was a winner I would like to use the 'normal' lotsize. Unfortunately, when I backtest the EA I get error 4051 from the , which means "Invalid function parameter value.".
It has something to do with the lotsize, because the EA works when I try to run the EA without the "LotsizeCalc()" function.
Does anyone know why my lotsize function won't work?
Thanks in advance,
Thierry