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

SAR trading v2.0 - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
5689
Rating:
(20)
Published:
2018.01.22 10:04
Updated:
2018.02.28 15:30
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 Ltd.
Original code: https://www.mql5.com/ru/code/19608

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" (https://www.mql5.com/en/code/19535). "Zero-lag MACD" (https://www.mql5.com/en/code/170) 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.