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

Signals and Probability class - bibliothèque pour MetaTrader 5

Vues:
4739
Note:
(7)
Publié:
2023.09.05 19:31
MQL5 Freelance 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:


Ichimoku code for beginners by William210 Ichimoku code for beginners by William210

Ichimoku beginner tutorial to learn how to code in MQL5

MACD code for beginners by William210 MACD code for beginners by William210

MACD beginner tutorial to learn how to code in MQL5

Momentum  code for beginners by William210 Momentum code for beginners by William210

Momentum beginner tutorial to learn how to code in MQL5

Drag and Drop Move StopLoss Drag and Drop Move StopLoss

Set StopLoss by just dragging and dropping script on the desired price level.