Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Scripts

LotSize Calculation - script pour MetaTrader 4

Vues:
9759
Note:
(5)
Publié:
Mise à jour:
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

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

Choose RiskByPercent or RiskByAmount, enter your stop loss in pips (4-digit), and the script will automatically adjust for 5-digit brokers. The script also enforces broker minimum and maximum lot size limits.

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

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

Update: Fixed an issue with non-Forex lot size calculations across different brokers.

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

Front


lc2


Using Mt5 interface to demonstrate how this works on two different brokers


Broker_1 stepsize =0.01 for US30

broker 1



Broker_2 stepsize = 0.10 for US30

broker 2

Eliot Waves Eliot Waves

"Eliot Waves" EA draws 2 Trend Lines with "zigzag" on chart and trades When a Eliot retracement is formed,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

2 Moving Averages with Bollinger Bands 2 Moving Averages with Bollinger Bands

"2 Moving Averages with Bollinger Bands" is a custom MT5 indicator that combines two configurable moving averages and optional Bollinger Bands. It generates real-time Buy and Sell arrows when crossovers occur, with optional alerts, sound, and email notifications. Suitable for all timeframes and symbols.

Viral MACD Strategy (3.5M+ Views) — Recreated and Automated Viral MACD Strategy (3.5M+ Views) — Recreated and Automated

This Expert Advisor implements a well-known MACD strategy made popular through a viral video. It combines MACD signals with trend and support/resistance filters.

MT4-BuildYourGridEA MT4-BuildYourGridEA

The expert is a system to help any trader to make a grid of orders.