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

MARTINGALE VI HYBRID - expert for MetaTrader 4

dwim | English Español Português 日本語 Deutsch

Published by:
Aharon Tzadik
Views:
17107
Rating:
votes: 20
Published:
2018.06.14 12:32
Updated:
2018.10.08 23:06

This EA enters trades according to the conditions of two "Moving Averages".

If the trade goes in the opposite direction after a predetermined number of pips, then it opens another trade in the same direction of the first trade. The process repeats itself until profit is taken.

By opening a trade only with a new candle it prevents multiple trades, so it is safe to use.

This Martingale EA can work on all pairs and all timeframes.

Best timeframe is daily.

Start with 0.01 lot.


Variables

  • TakeProfit - TP value of each trade in this Martingale EA (values: 10-60).
  • PipStep - Distance in pips which will open a new trade (values: 10-50).
  • Lots - Initial lots value, will be duplicated every step (values: 0.01-1).
  • Multiply - Multiplier value every step of new trade (values: 2-4).
  • MaxTrade - Maximum trades that can run (values: 2-10).
  • FASTMA - Fast Moving Average (values: 1-20).
  • SLOWMA - Slow Moving Average (values: 50-200).
  • CLOSEMAXORDERS - Close all orders if there are more than maximum orders.
  • MagicNumber - Magic number (values: 1-100000).

p1

p2

Links to more efficient versions in the Market:

Average Volume per Hour Average Volume per Hour

Calculate the average volume per hour in a 1 hour chart.

Record IsConnected, Spread, Stop, FreezeLevel Record IsConnected, Spread, Stop, FreezeLevel

EA is run say once every minute and writes the status of IsConnected, spread, stop and freeze level to a file.

SHA256, SHA384 and SHA512 + HMAC SHA256, SHA384 and SHA512 + HMAC

Many developers need these functions, while working with different kinds of external APIs, like Bitcoin and altcoin exchanges where it is often necessary to send data with the confirmation of parameters validity through HMAC-SHA512, HMAC-SHA384 and HMAC-SHA256.

s-Downloader (SingleTF) s-Downloader (SingleTF)

The script downloads the historical quote data of the current chart symbol and timeframe.