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

1H EUR_USD - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
4287
Rating:
(17)
Published:
2018.09.27 15:10
1H EUR_USD.mq5 (46.14 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Idea by: Alberto Tortella

MQL5 code author: barabashkakvn


Input Parameters

  • Lots - position volume (always fixed, dynamic calculation is not used);
  • Stop Loss - stop loss ("0.0" == off);
  • Take Profit - take profit ("0.0" == off);
  • Trailing Stop - trailing stop ("0.0" == off);
  • Trailing Step - trailing step;
  • Number of elements (check iHighest and iLowest) - amount of bars, among which the highest and the lowest bars will be searched
  • Moving Average First - parameters of the first Moving Average:
    • MA First: averaging period;
    • MA First: horizontal shift;
    • MA First: smoothing type;
    • MA First: type of price or handle.
  • Moving Average Second - parameters of the second Moving Average:
    • MA Second: averaging period;
    • MA Second: horizontal shift;
    • MA Second: smoothing type;
    • MA Second: type of price or handle.
  • MACD - MACD indicator parameters:
    • MACD: period for Fast average calculation;
    • MACD: period for Slow average calculation;
    • MACD: period for their difference averaging;
    • MACD: type of price.
  • magic number - unique EA identifier.

EURUSD, H1, "Every tick based on real ticks":

1H EUR_USD

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

Trend_Intensity_Index Trend_Intensity_Index

The Trend Intensity Index oscillator displayed as a color histogram.

ColorXPWMA_Digit ColorXPWMA_Digit

A colored smoothed PWMA that displays the most recent value as a price label with the possibility to round the indicator levels up to a required number of digits.

Silence Silence

The Silence indicator displays aggressiveness (price change rate, the blue line) and volatility (the red line) in a separate window.

Slope_Direction_Line Slope_Direction_Line

The Slope Direction Line indicator is displayed as a colored moving average line indicating the average market movement direction.