[Request for Experts] Complete Formula to calculate Lot Size

 

I want to risk a fixed % of my account for each trade I make,

but obviously, the account equity/margin is changing after every trade

So, to make it follow the growth of my equity/balance,

I want to adapt the LOT SIZE every time I trade.

I need the formula to calculate the correct LOT SIZE

corresponding to the chosen % of my equity.

I would like that the formula will include all these factors:

ACCOUNT TYPE (1.000, 10.000, 100.000)

TICK SIZE FOR THE CURRENCY PAIR (0,0001 for EURUSD)

LEVERAGE (100, 200,..., 500)

CURRENCY PAIR QUOTATION

ACCOUNT EQUITY (MARGIN)

RISK %

Is someone able to help me?

With the formula I will make a little spreadsheet and I will post it here.

Thank you very much

Michele

Reason: