function to determine lot size trading 10% of account balance in usdjpy

 

hello

could any one help me find function to find lot size enter with 10 % risk of my balance in usdjpy xx.xxx (5 digit broker) mini account

thanks in advance 

 
https://www.mql5.com/en/job
 
hakona: function to find lot size enter with 10 % risk of my balance in usdjpy xx.xxx (5 digit broker) mini account
  1. You place the stop where it needs to be - where the reason for the trade is no longer valid. E.g. trading a support bounce the stop goes below the support.
  2. Account Balance * percent = RISK = (OrderOpenPrice - OrderStopLoss)*DIR * OrderLots * DeltaPerlot (Note OOP-OSL includes the SPREAD)
  3. Do NOT use TickValue by itself - DeltaPerlot
  4. You must also check FreeMargin to avoid stop out
Reason: