Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Experts

Get_Rich_or_Die_Trying_GBP - expert for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Published by:
Vladimir Karputov
Views:
5695
Rating:
votes: 30
Published:
2017.08.10 12:56

Author of the idea — John Smithauthor of the MQL5 code — barabashkakvn.

Positions are only opened at the specified time (+ shift set in "Additional hour"). Bullish and bearish bars are counted on PERIOD_M1 (M1). The money management classes CMoneyFixedMargin and CMoneyFixedRisk are used.

Inputs:

  • Stop Loss
  • Take Profit
  • Take Profit 2 — used for a program-based closing
  • Trailing Stop
  • Trailing Step
  • Money Management — risk calculation type (percent of free margin or fixed risk value)
  • Risk for a deal (in percent) allowable risk percent value
  • Count bars — the number of bars among which bullish and bearish bars will be counted
  • Additional hour — shift
  • Max positions  — the maximum number of positions

Comparison of lot calculation based on the free margin on GBPUSD,M1:

Get_Rich_or_Die_Trying_GBP fixed_margin

and the fixed risk value:

Get_Rich_or_Die_Trying_GBP fixed risk

The difference here is only the position load.

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/18710

Trailing_Profit Trailing_Profit

Closing all open positions with the specified profit percent.

EURUSD breakout EURUSD breakout

The EA trades during two trading sessions, starting at the specified session beginning time. Stop Loss. Take Profit.

HistoryPositionInfo version 2 HistoryPositionInfo version 2

Returns the profit of a position in points, as well as commission, swaps and profit in money based on the trading history.

MACD Signals MACD Signals

Indicator edition for new platform.