Close Open Trade on MACD Cross (SL/TP)

Работа завершена

Время выполнения 17 часов
Отзыв от заказчика
5 Stars, very professional and immediate response time! Thanks again!
Отзыв от исполнителя
A great client and a friendly person too and i hope we work together soon

Техническое задание

Hey I'm not sure if this would be an EA or a script but here it goes:

Ideally it's a script I just double click after being in a trade I opened manually and that way I can forget about my trade and it will close it when the macd crosses against me for 1 period and that period closes across.

Currently:
I open positions manually in various time frames (15,30,1h) 

I close (TP/SL) my open trade(s) manually on the immediate open of the following period/candle/histogram bar of the MACD if the previous period/candle/histogram bar CLOSED across the 0 line from the trade direction.

For example:

I'm long
Histogram bar value is >0 
Histogram bar value becomes <0 (nothing happens yet)
Period ends (closes) with value <0
Immediately upon open of the following period my trade is closed.



- It must be set to the MACD settings I need

- The "Period" must be changeable. Whichever way is simplest but ideally if I'm taking 1 open trade on the 1h and have 1 trade open on the 15min, I want the 1h trade to follow the logic to follow 1h as the closing of the period. (Not sure if this is possible, how would you tie which timeframe I opened a trade in to what the period it should be etc.. Unless we hardcode the period in the code and I have 3 different versions of the script I can execute on 3 different charts loaded in their respective timeframes?)





Откликнулись

1
Разработчик 1
Оценка
(349)
Проекты
463
51%
Арбитраж
41
24% / 49%
Просрочено
149
32%
Свободен
2
Разработчик 2
Оценка
(430)
Проекты
606
55%
Арбитраж
48
23% / 56%
Просрочено
176
29%
Свободен
Похожие заказы
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Overview I am looking for an experienced algorithmic trading developer to build a professional Expert Advisor (EA) for MetaTrader 5 and/or cTrader. The objective is to create a robust automated trading system focused exclusively on XAUUSD (Gold) . This project is intended for serious
[8/4/2026 4:54 AM] DR.HassaN: AI Gold Analysis Web Platform Requirements Hello, I would like to build a professional AI-powered web platform dedicated exclusively to Gold (XAU/USD) analysis . This is NOT a trading platform or broker . It is an intelligent analysis platform that provides high-quality trading signals and detailed market analysis. The platform should have a modern, premium design with my own branding
Hello, I am planning to automate my own Gold (XAUUSD) scalping strategy using xCustomEA. Before purchasing xCustomEA and hiring a developer, I would like to know: Whether my strategy can be implemented in xCustomEA. Whether any custom MQL5 coding is required. The estimated cost. The estimated development time. I already have a detailed strategy document and will provide it after the initial discussion. The strategy
Project: GoldScalpBot (already published: https://www.mql5.com/en/code/75652 ) I need an experienced MT5 developer to improve my existing Expert Advisor and its local app bridge. Current stack: - MT5 EA (MQL5) for XAUUSD scalping (EMA/momentum/breakout, ATR SL/TP, London/NY sessions, win-based lot scale, daily loss stop) - Local Node.js HTTP bridge (heartbeat + command queue) for a React Native mobile app
I want to add to my EA on my grid ea trading many orders with different stop loss and take profit And copy and paste from my different Ea into this ea And to close the open orders on this grid step when profit reached
Ema100+Fibo 30+ USD
I need a robot that sends me a notification when the price aligns with the EMA and my Fibonacci levels—using specific Fibonacci settings—and then either opens a trade based on the Fibonacci SL and TP or simply sends me a notification. And I want the robot to run in both the Strategy Tester and on a demo account, so I can test it beforehand
I need an Expert Advisor (EA) for MT4 that automatically executes and close trades based on signals received from a Telegram channel. The EA must read Telegram messages, parse specific fields, determine BUY/SELL direction, and open trades according to predefined rules. Telegram signal is received from specific TELEGRAM_TOKEN and CHAT_ID Signal Parsing Requirements, I will provide signal samples. Trade Execution
Project Overview I am looking for an experienced MetaTrader 5 (MT5) Expert Advisor developer to build a professional, production-quality automated trading system from a detailed Software Requirements Specification (SRS). The strategy is based on a custom implementation of the MACD indicator combined with advanced trade management and a proprietary basket/grid recovery methodology. The complete strategy and
Hello, I'm looking for a developer to help me understand WebRequest. I'm currently using this robust and free tool: https://traderblox.com/ What I need: I want someone to help me get my SavePattern variable to become "Success". Currently, it's not working – I keep getting this error: ❌ ERROR - Status: -1 Attention my work is exclusive on website https://traderblox.com/ if you browse complete work in metaeditor

Информация о проекте

Бюджет
30+ USD