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

Binario - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
3687
Rating:
(10)
Published:
2018.06.18 12:34
Binario.mq5 (51.74 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Idea by: Scriptor.

MQL5 code by: Vladimir Karputov.

Working with pending orders Buy Stop and Sell Stop. A channel of two indicators iMA (Moving Average, MA).


Input parameters

  • Take Profit - Take Profit;
  • Trailing Stop - trailing;
  • Trailing Step - trailing step;
  • Lots - lot size is set manually (a NECESSARY CONDITION: Risk must be equal to zero!);
  • Risk - lot size is calculated automatically, in risk percents per trade (a NECESSARY CONDITION: "Lots" must be equal to zero!);
  • Difference - offsets from the channel borders;
  • Expert Every Tick - enable/disable working on every tick;
  • MA PRICE_HIGH and PRICE_LOW: averaging period - indicators averaging period;
  • MA PRICE_HIGH and PRICE_LOW: horizontal shift - indicators horizontal shift;
  • MA PRICE_HIGH: smoothing type - averaging type for indicator calculated by High prices;
  • MA PRICE_LOW: smoothing type - averaging type for indicator calculated by Low prices;
  • magic number - unique identifier for the EA.

Trading idea: Forming a channel of two indicators iMA (Moving Average, MA) - one based on prices PRICE_HIGH and another one on PRICE_LOW. Pending Buy Stop and Sell Stop orders are placed at the channel boarders. The calculation is on the break-through (catching a strong movement).

Binario signals

The EA can work in modes: On every tick and only when a new bar appears. The mode is defined by parameter Expert Every Tick. An example of how parameter Expert Every Tick affects the EA operation, exemplified by EURUSD,D1:

Binario Expert Every Tick false

Binario Expert Every Tick true

Please note that this strategy may have dead seasons, i.e., the times without any entrances, the period of no rollbacks for a currency pair:

Binario Dead season

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20844

BrainTrend2Stop_HTF BrainTrend2Stop_HTF

Indicator BrainTrend2Stop with the timeframe selection option available in input parameters.

BrainTrend2_V2 BrainTrend2_V2

Indicator BrainTrend2 that generates alerts and sends e-mails and Push-messages when the indicator changes its color.

Modified Moving Averages Modified Moving Averages

A slightly modified EA from the standard delivery: MQL5\Experts\Examples\Moving Average\Moving Average

DI DI

Oscillator DI (Damping Index) is designed for identifying the damping of the directed market movement.