I need help to input automated lot size (lot size auto increase againts equity balance) in my EA

 

I have a workable EA based on RSI.

I seek for help to improve this EA with an automated lot size (increase or decreases automatically depending on current margin or equity)

Can someone help me with this?

 
Here.
 
or my code