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

Lot calculation - MetaTrader 4 script | Forex indicator download - MT4/MT5 resources - MetaTrader 5 resources

author EAcpu | 5 reads | 0 comments |

LotSize Calculation - script for MetaTrader 4

LotSize Calculation - script for MetaTrader 4

LotSize Calculation - script for MetaTrader 4

LotSize Calculation - script for MetaTrader 4

The script calculates the correct lot size for Forex and non-Forex instruments without adding any indicators to the chart.

choose risk percentage or Amount to risk , enter your stop loss in pips (4 digits) and the script will automatically adjust for 5 digit brokers. The script also enforces broker minimum and maximum lot limits.

The alert displays the calculated lot size, risk amount, converted stop loss and tick value.

=======================================================================================================

=======================================================================================================

LotSize Calculation - script for MetaTrader 4

LotSize Calculation - script for MetaTrader 4

Demonstration of how this works on two different brokers using the Mt5 interface

LotSize Calculation - script for MetaTrader 4

LotSize Calculation - script for MetaTrader 4


Attachment download

📎 LotCalculate2.mq4 (7.87 KB)

Source: MQL5 #61681

Verification code Refresh