ivanyo / Publications
Forum
Risk per trade code not working
Hi all, New here and also new to coding/programming, so I apologise in advanced for any stupid questions. I am trying to code into my first EA the ability to only risk 2% per trade. I have the following which basically defines how large the stop loss is in pips (for pair GBPUSD, 5 digits)