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

e-Skoch pending orders - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
4793
Rating:
(30)
Published:
2017.11.03 12:38
Updated:
2018.06.26 15:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The author of the idea: Skoch , the mq5 code author: barabashkakvn.

The EA executes trading operations at the opening of the bar, and does not work inside the bar (does not analyze ticks).

The "e-Skoch pending orders" Expert Advisor places stop orders based on the following rules:

  • Buy Stop: if the high of bar #2 on the D1 timeframe is higher than the high of bar #1 on the D1 timeframe and the high of bar #2 on the current timeframe is higher than the high of bar #1 on the current timeframe.
  • Sell Stop: if the low of bar #2 on the D1 timeframe is lower than the low of bar #1 on the D1 timeframe, and the low of bar #2 on the current timeframe is lower than the low of bar #1 on the current timeframe.


Input Parameters

  • Lots - lot size.
  • Take Profit for BUY (in pips) - the take profit level for pending buy orders.
  • Stop Loss for BUY (in pips) - the stop loss level for pending buy orders.
  • Take Profit for SELL (in pips) - the take profit level for pending sell orders.
  • Stop Loss for SELL (in pips) - the stop loss level for pending sell orders.
  • Indenting price from High (in pips) - distance from the high of the bar on the current timeframe.
  • Indenting price from Low (in pips) - distance from the low of the bar on the current timeframe.
  • true -> If there is a position, do not place a pending order - prohibits placing pending orders if there is an open position.
  • Percent equity - profit as percent of equity.
  • magic number - Expert Advisor's unique identifier.

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

Locker Locker

The EA lock positions.

Alligator Alligator

A trading system based on the Alligator indicator. If possible, the EA moves positions to breakeven and then enables trailing stop.

Nova Nova

The Expert Advisor checks the direction in which the price has been moving for the last 10 seconds, and opens a position in accordance with the movement. The EA sets Stop Loss and Take Profit.

MACD Stochastic MACD Stochastic

The trading system is based on iMACD (Moving Average Convergence/Divergence, MACD) and iStochastic (Stochastic Oscillator)