Technical Indicators for MetaTrader 5

Special Offer!

Time Left to Buy:

Up to 25% OFF

Shopping cart

The cart is empty

MetaTrader 5

Top Rated Products MT5

250 $188 $ KTS poverty killer robot
Thato Modiba
3.85714 5 7 Product
5 500 $4 125 $ Bonnitta EA MT5
Ugochukwu Mobi
4 5 3 Product
Request a price Boom500 Scalper
Vhutshilo Evidence Masithembi
2.33333 5 3 Product

Angles Ema Probability And Win

angles-ema-probability-and-win-logo-200x200-7603
1 299 $974 $

Free updates are included

We accept crypto: BTC, ETH, BCH and more...

30-Day Money Back Guarantee
100% Guarantee of Originality

Information

Experts
MetaTrader 5
Muhittin Cuneydioglu
2.0
5

Overview

MetaTrader 5 Algorithmic Trading Robot

Introduction

  • Code Name: ema19.mq5
  • Copyright: Copyright 2023, MetaQuotes Ltd.
  • Link: MetaQuotes Ltd.
  • Version: 1.00

Parameter List:

  • FastEMAPeriod: Period of the Fast EMA.
  • SlowEMAPeriod: Period of the Slow EMA.
  • LotSize: Lot size for each trade.
  • MaxAngleDifference: Maximum allowed angle difference (degrees).
  • MaxEmaDifference: Maximum allowed EMA difference (degrees).
  • HoursBetweenTrades: Hours between trades.
  • buySignalEnabled: Enable buy signals.
  • sellSignalEnabled: Enable sell signals.
  • CheckInterval: Interval for TP and SL checks (minutes).
  • TrailingStopDistance: Trailing stop distance (points).
  • Timeframe: Timeframe for trading.
  • MaxOpenPositions: Maximum number of open positions.

Strategy This MQL5 code implements an algorithmic trading robot using Fast and Slow Exponential Moving Averages (EMA).

Strategy Features

  • EMA Periods: Trend analysis using Fast and Slow EMA periods.
  • Lot Size: Fixed lot size per trade.
  • Maximum Angle and EMA Differences: Maximum angle and EMA differences for determining entry conditions.
  • Hourly Gap: Minimum gap between two trades.
  • Buy and Sell Signals: Options to enable buy and sell signals.
  • Take Profit and Stop Loss (TP/SL) Check Frequency: Frequency of checking TP and SL.
  • Trailing Stop: Trailing stop distance used in trades.

Code Structure Initialization:

  • Declaration of required libraries.
  • Initialization of the Trade class.

External Input Parameters:

  • Declaration of user-defined parameters.

Main Functions:

  • OnTick(): The main function that runs on every tick.
    • Check for trade permission.
    • Calculate EMA and angle differences.
    • Generate buy/sell signals and execute trades.
    • Perform TP and SL checks at specified intervals.
  • CheckTakeProfitAndStopLoss(): Function for TP and SL checks.

Time Functions:

  • OnTimer(): Function to control trade permissions at specific intervals.

Progress Control

  • Control for the minimum hour gap between trade permissions.
  • TP and SL are periodically checked and updated.
  • Trades are protected using Trailing Stop.

Results and Progress

  • Detailed backtests can be conducted to analyze and improve the robot's performance.
  • The code is open to user feedback and suggestions for further development.
  • Strategy parameters can be optimized for increased reliability and profitability.

Acknowledgments We thank the MetaQuotes Ltd. team for providing the platform and resources. User feedback is welcome. Contact us here .


Recently Viewed

99 $74 $ Trend Sniping
Ke Xiu
662 $497 $ Hulk Win
Dmitriq Evgenoeviz Ko
88 $66 $ Trend China EA
Zhenyang Dong
119 $89 $ Gold2H
Saeid Soleimani
Results 1 - 4 of 4

30-Day Money Back Guarantee

If for any reason you do not like the purchased program, you can request a refund within 30 days from the date of purchase. You can also make an exchange for any other product at an equal cost or by paying the difference.
Simply send a request for refund or exchange with your order number by email: support@fx-market.pro.
Refund requests received more than 30 days after purchase will be rejected.

Email Us Now! Support is available 24/7
by Email: support@fx-market.pro

Do You Need Help?
Click Here To Start Live Chat

Contact Us

Image

Search