Forum

How to calculate Maximum lot size based on Equity

I have been trying to write a function that calculates the maximum lot size allowed on my account based on my account balance. I am entering a market order so there aren't any stop losses, I put those on after the trade has been entered. I am only trading one position at a time so I can use the full

Disclaimer for an EA

I am currently writing an EA for a fee for someone that I don't know, and my wife is worried that if it goes wrong and he losses lots of money because the EA malfunctions he could sue me! Does anyone know if it is possible to be sued in this situation, and is there some sort of disclaimer I can add