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


SAR trading v2.0 - expert for MetaTrader 5

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

Published by:
Vladimir Karputov
votes: 19
2018.01.22 10:04
2018.02.28 15:30

Author of the idea: Sergey Kazachenko, mq5 code author: barabashkakvn.

Trading signals are generated based on a comparison of two trend indicators: iMA (Moving Average, MA) and iSAR (Parabolic SAR). The EA works on the zero bar, only one position can be open. Position trailing.

Input parameters are divided into two groups. The main group contains trading settings:

  • Lots - position volume;
  • Stop Loss (in pips) - stop loss value (Attention! The 0 value disables the function, and a position may never be closed);
  • Take Profit (in pips) - take profit value (Attention! The 0 value disables the function, and a position may never be closed);
  • Trailing Stop (in pips) - trailing value;
  • Trailing Step (in pips) - trailing step value.

Indicator parameters are set in the second group. A different timeframe can be specified in indicator settings.

Results of testing in the "Every tick" mode on EURUSD, H1:

SAR trading v2.0

Translated from Russian by MetaQuotes Software Corp.
Original code:

DojiTrader DojiTrader

The Expert Advisor trades using the "Japanese Doji Candlestick" pattern.

Dealers Trade v 7.91 ZeroLag MACD Dealers Trade v 7.91 ZeroLag MACD

A further development of code "Dealers Trade v 7.74 MACD" ( "Zero-lag MACD" ( is used. When the number of positions increases, the following is also increased: step between positions, lot size, take profit (martingale).

Hi/lo mod Hi/lo mod

High/Low indicator mod.

Correlation Correlation

Correlation of two symbols.