MQL5 EA risk percentage

 
Can anyone help me with adding a 'percentage risk' code, to add to an EA that I am using?
 
Reason: