Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Bibliothèque

Probability and Signals class - bibliothèque pour MetaTrader 4

Vues:
3480
Note:
(5)
Publié:
2023.09.05 19:35
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The provided code is an MQL include file and an Expert Advisor demonstrating how the classes work.It implements a trading strategy based on various technical indicators and trend analysis. The script defines several custom classes to create and manage trading signals based on different technical conditions.

  1. Trend Class : This class is responsible for determining the long-term trend using different trend-checking methods, such as moving averages, price changes, and their combinations.

  2. Signal Class : This class serves as the base class for different types of trading signals. It contains methods and attributes shared by all signal types, including take profit, stop loss, and trend-related settings.

  3. Probability Class : This class calculates various probabilities and statistics related to trading signals, such as the likelihood of reaching take profit before stop loss, average price changes after entry, and entry success rates.

The overall purpose of this code is to automate the process of generating trading signals based on the specified technical indicators and conditions. Traders can customize the settings for each signal type and test their effectiveness using historical data. The script can be applied to different currency pairs and timeframes within the MetaTrader 4 platform to execute trading decisions based on the defined signals and conditions.


Check out the video I've made about it:



Ranged Grid Bot EA with pending orders Ranged Grid Bot EA with pending orders

The EA created sell/buy limit orders according to: - Grid number of orders - Trading range (computed automatically by uwing weekly highs and lows) - Current price

Ehlers reverse EMA Ehlers reverse EMA

A trend or cycle indicator with very low lag.

MaybeAwo EA MaybeAwo EA

a Versatile automated trading tool for the MetaTrader 4 platform. This EA is designed to assist traders in managing their positions effectively by offering features such as setting a breakeven point, trailing stop, stop loss, and take profit levels. It works with various input parameters, allowing you to customize its behavior to fit your trading strategy.

Using Moving Averages with an EA (Sample Source Code) Using Moving Averages with an EA (Sample Source Code)

This time, we're providing a sample that enters based on the Golden Cross and Dead Cross of the moving averages. If you want to see a sample where a long entry is made when the closing price of the candlestick crosses above the moving average, please refer to this article.