Deirf

MQL5 Experts

Spécifications

import talib

SYMBOL = 'V100'  # Indice Volatility 100 Index
PERIOD = 'M15'
STOP_LOSS = 100  # en pips
RISK_PER_TRADE = 0.01  # risque de 1% par transaction
REWARD_RISK_RATIO = 5  # ratio risque/rendement de 1:5
MAX_POSITIONS = 10  # nombre maximal de positions ouvertes
position_size = None


def initialize():
    global position_size
    # initialiser les variables nécessaires
    position_size = (Account.balance * RISK_PER_TRADE) / STOP_LOSS


def handle_tick():
    global position_size
    # récupérer les prix et calculer la TEMA(40)
    prices = History.prices(SYMBOL, PERIOD, 40)
    tem, _, _ = talib.TEMA(prices, timeperiod=40)

    # récupérer le dernier prix et le dernier signal de la TEMA
    last_price = History.price(SYMBOL, PERIOD, 0)
    last_tema = tem[-1]

    # vérifier si le dernier prix est supérieur à la TEMA
    if last_price > last_tema and len(Positions) < MAX_POSITIONS:
        # calculer les niveaux de stop loss et take profit
        stop_loss_price = last_price - (STOP_LOSS * Symbol.pipSize())
        take_profit_price = last_price + (STOP_LOSS * REWARD_RISK_RATIO * Symbol.pipSize())

        # calculer la taille de la position en fonction du risque par transaction
        position_size = (Account.balance * RISK_PER_TRADE) / (last_price - stop_loss_price)

        # ouvrir une position avec un stop loss et un take profit
        ticket = OrderSend(SYMBOL, OP_BUY, position_size, last_price, 3, stop_loss_price, take_profit_price)
        if ticket <= 0:
            print(f"Erreur lors de l'ouverture de la position : {ErrorDescription(ticket)}")

    # clôturer toutes les positions si le prix est inférieur à la TEMA
    elif last_price <= last_tema:
        for position in Positions:
            if position.symbol() == SYMBOL:
                position.close()

Répondu

1
Développeur 1
Évaluation
(35)
Projets
50
42%
Arbitrage
3
33% / 33%
En retard
4
8%
Gratuit
2
Développeur 2
Évaluation
(63)
Projets
84
26%
Arbitrage
23
22% / 48%
En retard
23
27%
Travail
Commandes similaires
i have a ready made SMC EA and looking for optimizing and debugging and also adding back the missing things in the requirement file. Basically work with the current code and refine it to fit the requirement file. Most indicator is already in the EA and the requirement file below are mostly finish. here are the things need to add back and debug based on the requirement file 1. TP from the filter and need to check
If you think you can replicate EA ("reverse engineering") from Metarader's Market, and create a new EA from scratch that works 100% the same - please send an offer. I have already managed to find out many features of that EA (entry times, risk management, averaging, trailing...) but I still miss a few
Candle wick bot The bot will have a set amount of wick length to enter trade at candle open price, there will be a set Amount in points that the candle wick has to be to then enter that opposite of the wick direction Settings will look like this : Timeframe: (meaning which candles you’re using to measure open price from for the wick length ) If set to 5 min it’ll be using 5 min candles , if set to 15 it’ll use 15
Looking for a developer to create an MT4 EA based on a custom currency strength indicator and simple moving average. Will provide currency strength indicator code to the selected developer. Buy rules If the EA added in the EURUSD chart and EUR has a currency strength above or equal to 6 and USD has strength less than 2. Wait for the prices comes back to SMA and open the buy trade if the price closes above SMA. Place
I have an equity reporter. This equity reporter displays the maximum and minimum equity reached over a specific interval. So, if the interval is set to 24 hours, the script will generate data in the format: "Profit ATT" (profit AtThatTime) shows max./min. during the specific interval This specific report shows data in pips. It can also be set to display in price or percentages. The interval is also easily adjustable
Sistema HTF EFECTIVO 30 - 60 USD
Hola, me gustaría que un programador experimentado creea un sistema de trading EA que abra y cierre operaciones muy rápido en segundos (HFT). Sería óptimo tener una opción/botón para activar solo para comprar o solo para vender (operaciones unidireccionales). Con una buena interfaz gráfica de usuario. Se agradece la implementación de su propia experiencia con sistemas de trading HFT. Es para mercados volátiles como
Hello, I would like an experienced programmer to create an EA trading system which opens and closes trades very fast within seconds (HFT). To have an option/button to activate either for only buy or only sell (one way trading) would be optimal. With a nice GUI. Implementing your own experience with HFT trading systems is welcomed. It's for volatile markets such as XAUUSD or US30. Taking advantage of order placements
The strategy is a martingale type . i.e if it hits the stop loss , it will double the lot size and place again in that direction, and when it hits the take profit at any level of the martingale, it will start over from the first lot size used initially
I want you to make me an indicator in Training View. Its idea is very simple, and I want it to have an alarm. Here's a clearer step-by-step guide to checking the last 50 candles on your chart and applying Fibonacci retracement levels based on their colors: Identify Candle Color: Start from the 100th candle from the left on the chart and check its color. If the 100th candle is green (i.e., the close is higher than the
I'm looking for a developer to assist in creating an Expert Advisor (EA) for use in a prop firm. The EA should be designed for the MT4 trading platform and include the following features: Scalping strategy Maximum drawdown of 3% Please let me know if you're interested and capable of handling this project

Informations sur le projet

Budget
50+ USD
TVA (20%): 10 USD
Total: 60 USD
Pour le développeur
45 USD