Trabalho concluído
Tempo de execução 1 hora
Comentário do cliente
Thanks for the fast and well done job! I will happily work again with you!
Comentário do desenvolvedor
old customer
nice to meet again
:)
Termos de Referência
Hello,
I am looking for a programmer who can modify an existing code for trailing SL (below you see the example for sell trades).
This code will add a trailing SL if a certain price has reached (see yellow part of code)
if ( nsell(Magic1)>0 ) { for(int j=0;j<OrdersTotal();j++) { if(OrderSelect(j,SELECT_BY_POS,MODE_TRADES)) { if(OrderType()==1 && OrderSymbol()==Symbol() && OrderMagicNumber()==Magic1) { double _commission=(OrderCommission()*-1/OrderLots()/MarketInfo(Symbol(),MODE_TICKVALUE)*MarketInfo(Symbol(),MODE_TICKSIZE)); double _trailmove=(Trail_Start*point); double _spreadmove=((Trail_Start+MarketInfo(Symbol(),MODE_SPREAD))*point); double _minmove=MathMax(_trailmove,_spreadmove); double _totalmove=NormalizeDouble((_commission+_minmove),5); if ( (OrderStopLoss()>Close[0]+(Trail_Start+Trail_Steps)*point || OrderStopLoss()==0) && (OrderOpenPrice()-Close[0])>=(_minmove) ) { bool sb=OrderModify(OrderTicket(),OrderOpenPrice(),Close[0]+(_totalmove),OrderTakeProfit(),0,clrMagenta); if(sb) { hsb=Close[0]+(_minmove); Print("Move TSL Sell "+StringSubstr((string) _totalmove,0,6)+" pips"); } } } } } } }
Right now the code will only add the SL to sell trades which have:
(OrderOpenPrice()-Close[0])>=(_minmove) The code should be changed so the same SL will added to all open sell trades, so they will be closed at the same time when SL is hit (basket close).
Please understand that this is just the snipet for the trailing stop function.
If you have questions then dont hesitate to ask me.
Kind regards,
silverchair
Respondido
1
Classificação
Projetos
4
25%
Arbitragem
3
33%
/
67%
Expirado
1
25%
Livre
2
Classificação
Projetos
73
23%
Arbitragem
11
9%
/
55%
Expirado
18
25%
Livre
Publicou: 1 artigo, 1 código
3
Classificação
Projetos
644
26%
Arbitragem
92
72%
/
14%
Expirado
12
2%
Trabalhando
Publicou: 1 código
4
Classificação
Projetos
97
43%
Arbitragem
2
50%
/
0%
Expirado
2
2%
Livre
5
Classificação
Projetos
744
56%
Arbitragem
48
31%
/
31%
Expirado
120
16%
Livre
Publicou: 1 código
Pedidos semelhantes
I have a EA/indicator that I want built. I should say 1st off dont know how to code myself so I will be using AI to verify that the source code is complete and matches the documents spec or if better so if you can not truly do the job do not waste either of out time. This is a idea I came.up wit and used AI to produce a framework for it.... and of course AI isn't 100% accurate so I need a knowledgeable quantitative
TumiiFX
30 - 20000 USD
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback
I Need HFT bot working on MT4
30 - 100 USD
I am looking for an experienced MQL4 developer to build a professional High-Frequency Trading (HFT) / Low-Latency Expert Advisor for MetaTrader 4 (MT4) . The EA will be deployed on an IC Markets Live account and should be optimized for the fastest possible execution using a low-latency VPS located in LD4 or NY4 . The primary instruments will be US30 and XAUUSD (Gold) . The goal is to create an EA capable of
A robot
50+ USD
HIGH-FREQUENCY M5/M15 CONCURRENT ENTRY SNIPER import time class HighFrequencySniper: def __init__(self): self.target_profit = 25.00 # Targeted Delta Move self.max_execution_time = 3600 # 1 Hour Sandbox (Seconds) self.lot_allocation = "CALIBRATED_TO_RISK" def execute_hft_scan(self, current_price, m5_rsi, m15_order_block): print(f"[SCANNING] Current Kernel Metric: ${current_price:.2f
I need a trading bot, please i need this project urgently and when messaing me kindly send me samples of past works and dont forget i need the project to be done as soon as possible
A lightweight MT5 chart overlay displaying total floating P&L, average entry price, combined lot size, and current symbol exposure as a percentage of account balance, all updating in real time with color-coded profit/loss indicators, delivered with clean object-oriented source code and no DLL dependencies
ENTRY EXIT TIMING (ET BANDS)
30 - 50 USD
QUIERO CONSEGUIR EL CODIGO FUENTE DE ESTE INDICADOR QUE ME GUSTA MUCHO TAMBIEN TIENE EL NOMBRE DE ET BANDS O ENTRY EXIT TIMING . no se los componentes pero estas son las imagenes. que mejor lo describen
I am looking to convert my existing TradingView Pine Script (v5) strategy into an MQL5 Expert Advisor (EA) for MetaTrader 5. Strategy Details: Asset: Gold (XAUUSD) Timeframe: 15-minute Strategy Logic: The strategy is based on a breakout concept. Anchor Candle: The base calculation starts from the Specified Candle Entry Window: The EA should only look for entries As Per Indicator Risk Management: The strategy
Writing of an Expert Advisor
30 - 200 USD
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance
Akram boushaba
30 - 500 USD
مرحبا كيف حالكم انا اكرم مهتم بالتداول احاول ان اصمم برنامج روبوت قادر على التداول من تلقاء نفسه من يمكنه ان يساعدني او يعلمني كيف استطيع فهل ذلك وسأكون ممتناً له وشكرا لكم
Informações sobre o projeto
Orçamento
30+ USD
Prazo
de 1 para 2 dias