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
Excel writer
31 - 200 USD
I’m a versatile freelancer who can handle a wide range of tasks. Whether it’s research, writing, data entry, virtual assistance, or problem-solving, I’m ready to help and committed to delivering reliable results
I need an automated trading robot for crypto trading. Strategy: - Use EMA 20 and EMA 50. - Buy when EMA 20 crosses above EMA 50. - Sell when EMA 20 crosses below EMA 50. Risk management: - Stop Loss: 2% - Take Profit: 4% Timeframe: 15 minutes. The robot should: - Open trades automatically. - Close trades automatically. - Show signals on the chart. Platform: MetaTrader 5 Market: Crypto (BTCUSDT)
Trading Bot for MT5 with fixed risk management
30 - 150 USD
I need an Expert Advisor for MetaTrader 5 based on SMT and CISD strategy using NASDAQ and S&P500. Strategy logic: - The bot compares NASDAQ and S&P500. - Timeframe: 3 minutes. - First condition: One of the pairs must take liquidity from a previous high or low while the other pair does NOT take that liquidity (SMT divergence). - Second condition: The pair that took liquidity must close back below the high (or above
A robot
80+ USD
De breedste selectie betaalde en gratis robots, die een breed scala aan handelsstrategieën implementeren — selecteer degene die het beste bij uw handelsstijl past. Gedetailleerde productbeschrijvingen met screenshots en video's, maar ook recensies van andere kopers helpen u bij het maken van de juiste keuze. Profiteer van gratis tests om de producteigenschappen te evalueren voordat u het aanschaft. Uitgebreid prijzen
Cash Flow EA
30+ USD
I want a trading robot with proper risk management and good trading strategies it must make money ,place stop loss below the entry and place a take profit no loss only wins mostly trade major
Busco robot para trading en el oro o forex.
30 - 50 USD
Busco un robot para trading de scalping en oro o forex, el robot debe ser rentable en esos mercados, podemos automatizar mi estrategia basada en medias móviles con estrategia de scalping o bien si él desarollador tiene uno que funcione así y sea rentable podemos ver la opción de un demo o cuenta de lectura para estar seguros de la rentabilidad en el robot
Create a simple EA using to mql5 indicators.
120 - 180 USD
MT4 EA TO TAKE TRADES FROM (A) HYDRA TREND RIDER AND (B) IQ GOLD GANN LEVELS ON MQL5.COM The MT4 version of these two indicators can be found on the mql5.com website with the following links: Hydra Trend Rider: https://www.mql5.com/en/market/product/111010?source=Site +Profile+Seller IQ Gold Gann Levels: https://www.mql5.com/en/market/product/134335?source=Site +Profile+Seller (1) ENTRY (a) Hydra Trend Rider
Need a Developer for Designing Robot for MT4
100 - 500 USD
I have a strategy for US100 where I want a bot to trade according to my strategy, contact me who have proven experience in making bots for MT4 or MT5
I want a person who can help me to create bot. Setup would be 25 ema 50 ema cross over, when 25 ema cross 50 ema we will buy on upside and when it cross down side we will sell, condition is ADX I want to add ema of adx which I can explain in trading view only but I want to use this one in as a bot so how can we do it ? Need to do it in mt5 platform
Looking To Purchase a Prop Firm EA (Source Code Required)
200 - 2000 USD
I am currently looking to purchase a ready-made MT5 Expert Advisor designed specifically for prop firm trading . Requirements: Strategy must be safe for prop firm rules Maximum daily drawdown: below 4% Maximum overall drawdown: below 8% Target performance: 10% monthly return No martingale or high-risk grid strategies Must be able to run consistently on MT5 Purchase Conditions: I will require full source code (.mq5)
Informations sur le projet
Budget
50+ USD