Deirf

MQL5 Experten

Spezifikation

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()

Bewerbungen

1
Entwickler 1
Bewertung
(35)
Projekte
50
42%
Schlichtung
3
33% / 33%
Frist nicht eingehalten
4
8%
Frei
2
Entwickler 2
Bewertung
(70)
Projekte
91
25%
Schlichtung
26
19% / 54%
Frist nicht eingehalten
25
27%
Frei
Ähnliche Aufträge
hello great developer I need to copy trading signals from the Forex Precision app. I receive push notifications with the trades, and I must manually copy them into MetaTrader 4 (MT4), including the entry price, take profit, and stop loss. Is necessary Copy from Forex precision take the type AUD/JPY Copy the entry value and type sell or buy and put this info in mt4 and put the take profitt +10 and stop loss -10
I need help in modifying an amibroker AFL indicator the indicator already works but I need per symbol static variable isolation, parameters persistence per symbol after restart, non declining trailing stop logic, parameter auto restore when switching symbols and a global reset function for static variables. For better understanding As discussed, this is the official offer for restructuring my RAD Chandelier stop loss
I am looking for an experienced MQL5 developer who already has or can provide an advanced grid-style Expert Advisor based on Bollinger Bands, designed for trading multiple forex pairs simultaneously. The EA should use intelligent grid placement logic derived from Bollinger Band levels, with dynamic lot sizing, proper risk management, and optimized trade management to handle ranging and volatile market conditions
Hi, I have a clear MT5 EA wrapper project with locked TSCEA, requiring enhanced execution logic (“pending OR better market” order handling). I can share detailed spec. Please let me know your availability and quote range. Thanks, Tom Pike ------------------------------------------------------------------------------------------------------------------------------ Title: MT5 Wrapper EA – “Limit Order OR Better
I need a professional MT5 Expert Advisor coded to combine two strategies: SMC Strategy (Smart Money Concept) using H1 candlesticks, supply/demand zones, and market structure shifts. Breakout Strategy using M15, M30, H1, and H4 candlesticks, with the same rules as SMC but based on pre‑session highs/lows and breakout confirmations. Parameters: Adjustable Lot size: adjustable (default 0.01) Positions per trade: 2 Stop
ICT Strategy 100+ USD
Hello, I want help coding an ICT strategy: entering 5M FVGs in the direction of bias/DOL between 3–4 AM NYC. The problem is that finding the bias/DOL is discretionary—are there indicators or ways to make it codable? Anyone that can do this should message me
ICT_OneTrade_2R 100 - 200 USD
🔥 ICT_OneTrade_2R Precision. Discipline. Consistency. ICT_OneTrade_2R is a professional Expert Advisor designed for traders who value structured execution and controlled risk. This system is built around a fixed Risk-to-Reward ratio of 1:2 (RR 2.0) — meaning every trade is planned with precision: Risk 1 → Target 2. No randomness. No overtrading. Just one high-quality trade per session. ⚙️ Key Features ✔ Fixed RR 1:2
Candle EA 30+ USD
I'm looking for ea based on below requirement Buy trade When 1st candle (previous candle) is sell candle then the 2nd candle (current candle) turn buy and past the opening price of 1st candle put instant buy Hidden TP - 20pips Hidden SL - 1st candle lowest price then add another 10 pips (5 digit)
I’m looking for developer to build an AI-assisted trading system for Metatader 5 . You to deliver, working MT5 module, AI module (Python or compatible), source codes for both This phase is focused strictly on core logic and AI integration , not UI or dashboards. Kindly reach out only if you have experience on AI integration and prove of past work
​ Description: I am looking for a professional MQL4 developer/quant trader with a proven track record in EA optimization. This project involves optimizing a third-party EA that currently has a 2-year live track record. ​ The Task: ​ In-Sample Optimization: Optimize the EA parameters using historical data prior to January 1, 2024. ​ Out-of-Sample (Walk-Forward): Validate the optimized settings against the period of

Projektdetails

Budget
50+ USD