Specification
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()
Responded
1
Rating
Projects
50
42%
Arbitration
3
33%
/
33%
Overdue
4
8%
Free
2
Rating
Projects
91
25%
Arbitration
26
19%
/
54%
Overdue
25
27%
Free
Similar orders
Technical Specifications for MT5 Expert Advisor: CRT Multi-Timeframe Logic 1. Strategy Overview The EA is based on the CRT (Candle, Rejection, Target) model using a Multi-Timeframe (MTF) approach. It identifies liquidity sweeps on High Timeframes (HTF) and executes trades on Low Timeframes (LTF) following a Market Structure Shift. 2. Timeframes High Timeframe (HTF): 1H or 4H (User defined). Low Timeframe (LTF)
Copy trading mt5
50+ USD
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
MT5 EA wrapper project
30+ USD
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
I need an expert who trades gold on 1-minute and 5-minute timeframes and delivers good results. What are your capabilities for this task? What experience do you have in doing this? If you have any previous trading patterns, please share them with 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)
Project information
Budget
50+ USD