Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Lot-SL Scale - MetaTrader 4 Library | MT4 EA Download - MetaTrader 4 Resources

author EAcpu | 5 reads | 0 comments |

Lot-SL proposal - library for MetaTrader 4

Lot-SL proposal - library for MetaTrader 4

Lot-SL proposal - library for MetaTrader 4

The function returns the lot size calculated based on the stop loss size and the risk specified in the variables. That is, if the risk is set to 2% and the stop loss is set to 40 pips, the lot size will be calculated as follows: if the price reaches the stop loss, 2% of the margin will be lost.


Attachment download

📎 lot_risk_sl.mq4 (0.94 KB)

Source: MQL5 #14296

Lot-SL Ratio - MetaTrader 4 Library | MT4 EA Download - MetaTrader 4 Resource Usage and Screening Suggestions

Lot-SL Ratio - MetaTrader 4 Library | MT4 EA Download - MetaTrader 4 resources belong to MT4 EA related resources. Before downloading or referencing, it is recommended to confirm the platform version, transaction type, time period, whether DLL is required, whether source code is included, parameter description and historical update records.

Both automated trading tools and foreign exchange indicators should first undergo backtesting, simulated account observation, and small capital verification. Pay special attention to spreads, slippages, maximum drawdowns, position opening frequency, stop loss methods, trading periods and broker rules, and avoid direct real-time execution based on titles or short-term profit descriptions.

Verification code Refresh