Close Open Trade on MACD Cross (SL/TP)

MQL4 Experts Scripts

Trabalho concluído

Tempo de execução 17 horas
Comentário do cliente
5 Stars, very professional and immediate response time! Thanks again!
Comentário do desenvolvedor
A great client and a friendly person too and i hope we work together soon

Termos de Referência

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?)





Respondido

1
Desenvolvedor 1
Classificação
(349)
Projetos
463
51%
Arbitragem
41
24% / 49%
Expirado
149
32%
Livre
2
Desenvolvedor 2
Classificação
(430)
Projetos
606
55%
Arbitragem
48
23% / 56%
Expirado
176
29%
Livre
Pedidos semelhantes
Pocket option bot 50 - 100 USD
I want a developer that can build a pocket option bot, You can only send application if you are experienced pocket option bot developer The bot should be develop base on my details that I will provided to the person that send application Best Regard
🔹 Job Offer: MQL5 Developer Needed for Prop Firm Challenge MT5 EA (US30 / GER40) I am looking for an experienced MQL5 programmer to build a high-performance trading bot for MT5, designed to pass prop firm challenges with selected providers. The EA should be focused on index trading , specifically US30 (Dow Jones) and GER40 (DAX) . Requirements: Proven expertise in MQL5 and algorithmic trading Development of a fast
Hello, good day to you Developers, I am looking for someone that can deliver on a project with the following requirements: The job I am about to give out will involve "Tradingview" and "cTrader" Tradingview: for analysis, as the Strategy uses one second charts/candles, cTrader: for executing and managing the trades. - For this cBot to work well for the project's aims, SPEED of execution is of upmost importance. - The
Job Description: · I am looking for an experienced MQL4 developer to create a high-speed scalping EA for US30 and DE40. The EA must be optimized for ultra-fast execution and should not rely on any indicators—only price action and pending orders (Buy Stop & Sell Stop). · I have written a complete and detailed documentation outlining the logic, execution flow, risk management, and required settings
The following Logic should be created example entryprice 3000 SL in the beginning 2996 Price reaches Entrpy oint = 3000 nothing happens Price reaches Entry point +NowTrailingSL_value(=2.0) price is then 3002 SL is moved to = 3000.20 ( is 3000+ 0.20) Price reaches Entry point +TopOnNowTrailingStoplossValue(=4.0) price is then 3004 SL is still 3000.20 Nothing happens Price reaches Entry point
I 'm contacting you because I'm currently managing an Excel project that centralizes the results monitoring of my trading accounts and the technical characteristics of my Expert Advisors (EAs) . The current system consists of several linked spreadsheets where : • Trading data is automatically uploaded from FXBlue/CSV • Key metrics are consolidated (Win Rate, Profit Factor, Expectancy, SQN, Drawdown, MAR , etc.) •
Looking for an EA that has been previously tested and can pass prop firm challenges. You will need to demonstrate the EA to showcase true nature. Please only apply if you have a system ready. This can be a previous job you already done for someone or have something in the files
Mthizo trades 30 - 200 USD
- *Currency Pairs*: Major pairs such as EUR/USD, XAU/USD and GBP/USD - *Funding Currency*: South African Rand (ZAR) - *Initial Deposit*: R100 (may require additional deposit for live trading) - *Risk Management*: Basic risk management features, such as stop loss and take profit - *Strategy*: Pre-defined strategy based on Smart Money Concept principles - *Cost*: Approximately R100-R200 (one-time cost or
I am interested in purchasing a ready-made automated EA (Expert Advisor) that is already tested and profitable. My key requirements are: Consistent profits with proven results (backtests and/or live performance) Low to medium risk, not overly aggressive Works on major forex pairs, indices, or gold Ready to use with minimal setup If you have an EA that meets these criteria, please share details, performance records
Robot (metatrader5) 30 - 200 USD
I need an Expert Advisor (EA) for MetaTrader 5 that trades only XAUUSD (Gold). The strategy should include: • EMA (50) on M15 timeframe • RSI (14) with overbought = 70 and oversold = 30 • ATR (14) for Stop Loss and Take Profit calculation • Higher timeframe EMA (200 on H1) as trend filter • Lot size calculation based on risk percentage (% of balance) • Magic number for trade identification • Trading hours: 07:00 –

Informações sobre o projeto

Orçamento
30+ USD
Desenvolvedor
27 USD