Watch how to download trading robots for free
Find us on Facebook!
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
Experts

EzoO Lot Calculator - risk based lot size panel with one-click BUY / SELL - expert for MetaTrader 5

Vinay Saini
Vinay Saini
  • MQL5 / MQL4 Developer at  EzoO Bots
  • India
  • 362
MQL5 / MQL4 developer specialising in XAUUSD (Gold) and forex Expert Advisors.
What I build:
- Expert Advisors: grid, hedge, breakout, session and Fibonacci-based strategies
- Custom indicators with alerts, arrows and dashboards
- TradingView Pine Script to MQL5 / MQL4 conversion
Views:
27
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

EzoO Lot Calculator is a small panel Expert Advisor that answers one question before every trade: how many lots can I trade for the risk I want to take?

Enter the risk and the stop loss in points. The panel immediately shows:

- the lot size, rounded down to the symbol's volume step and limited to the min / max volume,

- the money at risk for that lot and the reward-to-risk ratio when a take profit is set,

- the margin the trade will need.

The loss per lot is calculated with OrderCalcProfit, so it is correct for forex, metals, indices and CFDs, including symbols whose profit currency differs from the account currency.

Click the mode button to switch the risk between % of balance, % of equity and a fixed amount of money. The BUY and SELL buttons open a market order with the calculated lot, SL and TP. Before sending, the EA checks the broker stop level and the free margin, and by default it asks for confirmation.

Inputs: risk mode, risk value, default SL and TP in points, ask before opening, magic number, panel position.

The EA never trades on its own. It only opens a trade when you press BUY or SELL.

EzoO MTF Trend Dashboard - trend of M5 to D1 in one table with EMA and RSI EzoO MTF Trend Dashboard - trend of M5 to D1 in one table with EMA and RSI

Multi-timeframe trend table (M5, M15, M30, H1, H4, D1): price vs fast EMA vs slow EMA, RSI for each timeframe and an overall bias.

EzoO News Countdown - countdown to the next economic news from the built-in MT5 calendar EzoO News Countdown - countdown to the next economic news from the built-in MT5 calendar

Countdown to the next important economic news from the built-in MetaTrader 5 calendar, with a vertical line and a before/after zone for every event.

EzoO Daily Loss Guard - daily loss limit and profit target for the whole account EzoO Daily Loss Guard - daily loss limit and profit target for the whole account

Daily loss limit and daily profit target for the whole account (prop firm style). When a limit is hit it closes positions, deletes pending orders and keeps the account flat until the next daily reset.

EzoO Close All - close all, profitable, losing, buy or sell positions in one click EzoO Close All - close all, profitable, losing, buy or sell positions in one click

Script that closes positions in one click: all, only profitable, only losing, only buys or only sells, for this symbol or all symbols, with a magic filter and optional pending order delete.