Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

LotSize Calculation - script for MetaTrader 4

Views:
9003
Rating:
(5)
Published:
Updated:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Some traders prefer a clean chart without clutter from indicators or write-ups. This script helps calculate the appropriate lot size for Forex or CFD instruments. Simply choose either RiskByPercent (default) and enter your risk percentage, or select RiskByAmount and enter a fixed amount. Then, specify your stop loss in pips (for 4-digit brokers). The script automatically adjusts for 5-digit brokers if needed.

If the calculated lot size is below the minimum allowed, the script will use the minimum lot size.
If it exceeds the maximum permitted, it will use the maximum lot size instead.

An alert will display the calculated lot size, risk amount, converted stop loss, and tick value of the instrument. Use the lot size to enter your trade. 
You can also modify this script to suit your specific criteria or integrate it into an existing Expert Advisor (EA).

lc1

lc2


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.