Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Indicatori

Lot calculator - risk management tool - indicatore per MetaTrader 5

Visualizzazioni:
40787
Valutazioni:
(56)
Pubblicato:
2018.01.30 12:04
Freelance MQL5 Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

Most of professional traders state that their success is based on strict risk management.

This simple tool is designed to show the correct lot size to trade with respect to the following basic risk management rules:

  1. Risk only a fixed percentage of the total money on the account (e.g. 1-2%).
  2. Risk is measured by distance in pips between order opening to and emergency stop loss.

So, for example you have €2000 in your account, and you want to put an order on EURUSD with an emergency stop loss 191 pips from the order open value, what can be the correct lot size to trade?

The formula is:

F * R / (p * pv)

, where:

  • T - total account free margin.
  • R - risk.
  • p - pips between open order and stop loss.
  • pv - pip value (in the same currency as the account main currency).

The result, as you can see in following figure, is 0.02 lots.

When €2000 available, risk is 191 pips, to risk the 2% you have to trade no more than 0.02 lots

With €2000 available, risk is 165 pips, to risk the 2% you have to trade USDJPY no more than 0.03 lots.

With €2000 available, risk is 165 pips, to risk the 2% you have to trade USDJPY no more than 0.03 lots

The indicator shows quantities already switched to the current account currency.

In order to change the indicator parameters, simply access indicator properties:

indicator properties


Parameters

  • Stop loss distance from open order: pips number to risk.
  • Free margin fraction to risk: a good value range is 0.01-0.02.
  • Check to read the actual free margin of your balance, uncheck to specify a simulated balance: flag used to consider the true free margin or the simulated balance.
  • Simulated balance: free margin value to simulate.
RAVI iFish RAVI iFish

Range Action Verification Index (RAVI) with inverse Fisher transform.

Chandes Quick Stick (Qstick) Chandes Quick Stick (Qstick)

Chandes Quick Stick (Qstick)

Chandelier exit Chandelier exit

Chandelier exit indicator is designed to keep traders in a trend and prevent an early exit as long as the trend extends. Typically, the Chandelier Exit will be above prices during a downtrend and below prices during an uptrend.

Reduce_risks Reduce_risks

This is an MQL5 version of the Expert Advisor described in the article "How to reduce trader's risks" (https://www.mql5.com/en/articles/4233).