Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
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
Indicateurs

Risk and Lot Size Calculator - indicateur pour MetaTrader 5

Blessing Samuel Olasunkanmi
Blessing Samuel Olasunkanmi
Forex trader, MQL5 developer and founder of OlaDigital Nexus Framework, a registered Nigerian business focused on programming, trading and e-learning.
Vues:
54
Publié:
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Risk and Lot Size Calculator helps you size every trade correctly before you place it. Instead of guessing the lot, you set your stop loss on the chart and the indicator tells you exactly which lot keeps your risk at the level you chose.
 
The indicator is a calculator only. It never opens, modifies or closes trades.
 
How to use:
1. Attach the indicator to a chart. Three lines appear: Entry (gold), Stop Loss (red) and Take Profit (green).
2. Drag the Stop Loss and Take Profit lines to your levels. Put the stop loss below the entry for a buy, above the entry for a sell.
3. Read the panel: direction, distances in points, reward-to-risk, lot size, real risk, profit at take profit and required margin.
4. Use the lot size shown when you place your order.
 
What the panel shows:
- Direction (BUY / SELL), detected from the position of the stop loss
- Entry, stop loss and take profit prices with distances in points
- Reward : risk ratio
- Risk target in money (and %)
- Lot size, rounded DOWN to the broker's volume step, so you never risk more than planned
- Real risk at that lot (shows a warning if the minimum lot is bigger than your risk)
- Profit at take profit
- Margin needed (warning colour if it is more than your free margin)
 
Accurate for every symbol:
Money values are calculated with OrderCalcProfit(), so they include the contract size and the currency conversion of the symbol: forex, gold, indices and synthetic indices. If the broker does not support it, the indicator falls back to tick value and tick size.
 
Inputs:
- Risk mode: % of balance, % of equity, or fixed money amount
- Risk value: for example 1 = 1%
- Entry line follows market price: on = the entry line stays on the current Ask (buy) or Bid (sell); off = you can drag it to plan a pending order
- Default SL distance in points (0 = automatic) and default take profit multiple (R:R)
- Panel position and width
 
Keys:
- R = reset the lines around the current price
- H = hide / show the panel
 
The lines are kept when you change the timeframe or the inputs, and everything is removed when you remove the indicator.
 
Screenshots to upload (take them yourself):
1. Buy setup: SL below entry, TP above, panel with lot size
2. Sell setup: SL above entry, TP below
3. The inputs window
4. Optional: gold and a synthetic index, to show it works on any symbol
 

Trade History Stats Trade History Stats

Read-only script that shows the real statistics of your trade history per symbol: win rate, net result, profit factor, average win/loss and longest losing streak.

Session Sweep Tracker: Does the Asian High and Low Hold, Get Swept or Break at the London Open? Session Sweep Tracker: Does the Asian High and Low Hold, Get Swept or Break at the London Open?

Measures what happens to the Asian high and low when the next session opens. Every day the Asian range is frozen, and during a watch window that follows, each side is classified as swept (a wick beyond the level that closes back inside), a failed break (closed beyond, then back inside) or a held break. The chart shows the Asian range with its midpoint, a line shows where the close is inside the range, and a panel gives the shares for each side, which side moves first, how long it takes, and one line that can be pasted into a comment to compare symbols. It gives statistics, not signals.

Smart Trade Assistant - MTF Trend Scanner with One-Click Risk Trading Smart Trade Assistant - MTF Trend Scanner with One-Click Risk Trading

Scans the trend on M5, M15, H1, H4 and D1, shows market bias, volatility, session and previous-day levels in one clean panel, and opens trades with one click using a risk-based lot, ATR stop loss and R:R take profit.

MACD Signals MACD Signals

Indicator edition for new platform.