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
Évaluation
Projets
50
42%
Arbitrage
3
33%
/
33%
En retard
4
8%
Gratuit
2
Évaluation
Projets
91
25%
Arbitrage
26
19%
/
54%
En retard
25
27%
Gratuit
Commandes similaires
I have an existing MetaQuotes Language 5 Expert Advisor containing approximately 12,000 lines of code. The project requires auditing and targeted reprogramming to restore strategy profitability and accuracy. Key Tasks: Profit Tracking Reprogramming: Re-code and fix the profit tracking, trade management, and trailing mechanisms to ensure accurate execution. Trade Entry Audit: Perform a full review of all trade
Gold Scalper EA MT5
30 - 50 USD
Forex Simple EA Overview: Current Price → XX pips above = Buy Stop | XX pips below = Sell Stop → One order triggers → Delete opposite order → Maximum 1 position → Trade closes → Start a new cycle. Features Automatic Buy and Sell trading Stop Loss and Take Profit Trailing Stop Risk Management Spread Filter On-Chart Trading Dashboard Easy to install, simple to configure, and suitable for demo and live trading
1. PROJECT OVERVIEW Development of a custom automated and manual trading bot for NinjaTrader 8, primarily designed for Nasdaq Futures (NQ/MNQ). The bot will contain the original trading strategy, configurable risk management, automatic and manual operating modes, alerts, profit/loss management, partial profit taking, Break Even, backtesting functionality, and the additional configurable contract-averaging system
Overview I am seeking an experienced MQL5/MetaTrader 5 developer to build an automated trading system for Deriv MT5, emphasizing Deriv Volatility Indices with additional support for Forex, Gold, and Oil. Scope of work - Develop a custom MQL5 trading system for Deriv MT5 - Implement liquidity and market-structure analysis - Enable automated execution with Deriv Volatility Index support - Incorporate multi-timeframe
Hello, I have a custom indicator with a specific line. Logic I want: 1. When a candle closes and crosses the indicator line (I will tell you the buffer number of this line), start counting. 2. After the cross, wait for 3 consecutive candles with the same color / same direction. 3. If the 3 candles are bullish, open a BUY trade on the next candle open. 4. If the 3 candles are bearish, open a SELL trade on the
I’m looking for an experienced developer to help me build a forex trading performance tracking platform similar in concept to Myfxbook and FX Blue, but with a much cleaner, more modern UI and additional AI-powered features. The platform will be built as a SaaS product where users can sign up, connect their MT5 trading accounts, and track their trading performance through an easy-to-understand dashboard. The first
Simple RSI based EA
30+ USD
Require an EA that opens trades at preselected RSI values. The EA will then monitor the gain/loss of the open positions and close them as specified in terms of points gain/loss. Once a position closes, the action will trigger the opening of other positions as specified
I want to create decentralized
90 - 100 USD
Hi, Darijo ArbMarket is building a decentralized, non-custodial prediction market protocol on Arbitrum — think Polymarket, but Arbitrum-native from day one, with plans for ARB-denominated markets and Arbitrum ecosystem grant/incentive integration
To apply, you must already have your EA running on an active MT5 trading account connected to the market. The account must have genuine trading history that can be independently reviewed and verified. EA Requirements 1. Prop-Firm Compatible Risk Management - The EA must include daily and overall drawdown protection. - Required inputs: "MaxDailyLoss = 5%" "MaxTotalDrawdown = 10%" - Once either limit is
Looking for liquidity indicator
50+ USD
Look at this chart. The ellipses that I have identified show reversals and liquidity was I am trying to find a good way to identify these areas an indicator that automatically detects the sweep and reversal Look at this chart. The ellipses that I have identified show reversals and liquidity was
Informations sur le projet
Budget
50+ USD