cannot find in the market stoploss based on equity risk %

Ayman T  

anyone knows where to find one 


thank you 

Ayman T  
I mean auto stop loss utility based on equity risk % for example it set the stoploss value after you define risk % and choose your lot size 
William Roeder  

You've got things backwards. You are trying to use an arbitrary lot size.

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.

Then you compute the lot size for your chosen risk.

Search for a GUI/Trade Assistant EA like mine (for MT4): 'Money Manager Graphic Tool' indicator by 'takycard' - Risk Management - Articles, Library comments - MQL5 programming forum - Page 6 #55 (2018) and modified for screen resolution #75 (2020.02.17)

CodeFx  
Alex Will #:
I mean auto stop loss utility based on equity risk % for example it set the stoploss value after you define risk % and choose your lot size 
double equity    = AccountInfoDouble (ACCOUNT_EQUITY);
if(equity - PositionsTotal()*0.01*equity)       // Equity reduces by 5% (if total open positions = 5) 
  {
   double SL = 100 - PositionsTotal();          // as equity reduces, stop loss reduces too
   double Lot_size = 1 - PositionsTotal()*0.01; // you can change/redefine how you choose lot size  
   return;
    } 
Reason: