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

MA Envelopes - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
4801
Rating:
(16)
Published:
2018.10.25 18:17
MA Envelopes.mq5 (44.33 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The author of the idea - Scriptor 

mq5 code author - barabashkakvn

NOTE: The EA works on hedge accounts only! Netting is prohibited!

The Expert Advisor sets pending Buy limit and Stop limit orders. The robot uses data of the iMA (Moving Average, MA) and iEnvelopes (Envelopes) indicators. The EA works only when a new bar appears and has a limitation of the working time range: from Start hour to End hour. 

It is able to set up to three pending limit orders in each direction forming a grid: a separate magic number is assigned to each order. Magic number assignment rule: 

  • for BUY #1: magic number + 1
  • for BUY #2: magic number + 2
  • for BUY #3: magic number +3
  • for SELL#1: magic number - 1
  • for SELL#2: magic number - 2
  • for SELL#3: magic number - 3

If there are non-activated pending orders, and the server time exceeds End hour, all pending orders are removed.

The default parameters, EURUSD M5:


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

Market_Direction_Indicator Market_Direction_Indicator

Market Direction Indicator

Murreys_Math_Oscillator Murreys_Math_Oscillator

Murreys Math Oscillator

Internal_Strength Internal_Strength

Internal Strength indicator

Extreme_TMA_line_indicator Extreme_TMA_line_indicator

Extreme TMA Line indicator