Техническое задание
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()
Откликнулись
1
Оценка
Проекты
50
42%
Арбитраж
3
33%
/
33%
Просрочено
4
8%
Свободен
2
Оценка
Проекты
91
25%
Арбитраж
26
19%
/
54%
Просрочено
25
27%
Свободен
Похожие заказы
I am looking for an expert MQL5 developer to build a robust, professional Expert Advisor for Gold (XAUUSD). The EA must be Event-Driven (OnTick) with no 'Sleep' functions, ensuring instant execution. Core Logic: Grid Strategy: Start with 0.02 Buy/Sell. Lot size sequence: 0.02, 0.03, 0.05, 0.09, 0.14, 0.26, 0.44, 0.75, 1.28, 2.18 (Max 10 steps). Dynamic TP: Total basket TP must update instantly upon new order
I am currently using the attached Arbitrage MACD indicator. However, there are no signal alerts associated with this indicator. I would like to receive notifications on my android device the bar after a blue long arrow appears and the bar after a red short arrow appears. This is the current code: //+------------+-----------------------------------------------------+ //| v.22.04.07 | ArrZZx2.mq4 |
NT8 to mt6 trade copier
150 - 250 USD
I just copy and past what i need Features Opening and closing orders at market and limit price Copy Take Profit / Stop loss orders Trades are manually by using the "Chart Trader Feature" within NT8-Charts or separate Window. Advanced symbol and Lot mapping Blazing fast – copy as fast as 10 ms Copy multiple symbols in parallel In the Case that the connection between NT8 and MT5 is lost, including a solution to
Project Overview: I am looking for an expert MetaTrader 5 (MT5) developer/architect to build a highly optimized, professional-grade Trade Copier system. This is NOT a basic trade copier. It requires advanced execution handling, bypass mechanisms, strict risk management, and multi-threaded syncing. Here are the complete requirements for the project: 1. Architecture & Topology: Multi-Account Routing: Must support both
Binary trading taligram bot mt4
30 - 100 USD
: Hello, I am looking for an experienced MQL4 developer to create a custom Binary Options Trading Bot for MetaTrader 4 (MT4). The bot needs to automate trades based on clear conditions and must have a reliable integration feature. I would like the bot to work smoothly with Telegram so that it can either receive signals from a channel/group or send instant trade notifications directly to my Telegram. The code should
I am looking for an experienced MQL4 developer to create an Expert Advisor (EA) based on signals from a custom indicator. Requirements: 1. The EA must use a single custom indicator that draws buy and sell arrows directly on the chart. 2. When a buy arrow appears, the EA should wait until the current candle closes. If the arrow is still present after the candle closes, it should open a BUY trade. 3
Bhokhwe
30 - 200 USD
//+------------------------------------------------------------------+ //| ThreeBullEMA10EA | //| Strategy: 3 Bullish + EMA10 Break | //+------------------------------------------------------------------+ #property strict extern double LotSize = 0.01; extern int Slippage = 3; extern int MagicNumber = 12345; extern int EMA_Period = 10;
I have an expert advisor's investor login. I want you to study it and make me the exact same EA. There should be absolutely no differences or mistakes. You should have great observation skills for this aswell
I am looking for a developer to create an Expert Advisor (EA) for MetaTrader 5. Requirements: Trade XAUUSD (Gold) Automatically open and close trades Include Stop Loss and Take Profit settings Adjustable lot size and risk percentage Work on MT5 Allow me to change settings from the EA inputs Include backtesting support Source code preferred
FT_XAU_FollowTrend_v1.0
30+ USD
> izz: #property strict input double LotSize = 0.01; input int BuyStopDistancePips = 50; input int SellStopDistancePips = 50; input int TrailingStartPips = 30; input int TrailingDistancePips = 30; input int MaxPositions = 3; input double StopLossPips = 0; input int MaxSpreadPoints = 300; input ulong MagicNumber = 20260702; input double DailyLossLimitUSD = 50; double PipValue; int digits; int OnInit() { digits =
Информация о проекте
Бюджет
50+ USD