Explore the latest free tools from the MQL5 community. Here's a new indicator, expert advisor, or script for MetaTrader.

The functuion automatically calculates the lot size from the specified percent of free assets (х%) or uses the fixed lot size ("х" without "%" sign).
We add the function #include <Lot_Volume.mqh> to the program and call it in the necessary place: OrderSend(Symbol, Order Type, Lot_Volume(), Price, 0, Stop, Profit);
If you specify "10%", for example, then the size of the lot will be equal to 10% of free assets, and if you specify just "10" then the size will be equal to 10 lots.
Smooth out market noise with the Heiken Ashi Expert Advisor for MT4 and MT5. Reliable trend-following automation. Details here.
Certainly, the library is not perfect, I wait for your comments.
Build better strategies with RobotFX professional tools – check them out.
8556