Close Open Trade on MACD Cross (SL/TP)

MQL4 Asesores Expertos Sripts

Trabajo finalizado

Plazo de ejecución 17 horas
Comentario del Cliente
5 Stars, very professional and immediate response time! Thanks again!
Comentario del Ejecutor
A great client and a friendly person too and i hope we work together soon

Tarea técnica

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





Han respondido

1
Desarrollador 1
Evaluación
(349)
Proyectos
463
51%
Arbitraje
41
24% / 49%
Caducado
149
32%
Libre
2
Desarrollador 2
Evaluación
(430)
Proyectos
606
55%
Arbitraje
48
23% / 56%
Caducado
178
29%
Libre
Solicitudes similares
Profit EA 50+ USD
//+------------------------------------------------------------------+ //| SimpleEA.mq4 | //| Generated by MetaEditor | //| https://www.mql5.com/en/docs&nbsp ; | //+------------------------------------------------------------------+ #property strict // Input parameters input double LotSize = 0.1; // Lot size input int MovingAveragePeriod = 50; // MA
1. **Timeframe and Liquidity:** Focus on the 5-minute timeframe for liquidity analysis.(timeframe for liquidity should be editble) 2. **Candlestick MSS:** Monitor 1-minute candlestick patterns for entry signals.(should be editble) 3. **Swing Points:** Identify swing points using the high and low of the last three candles.(ict swimg high and low) 4. **Sell Setup:** - Wait for a 5-minute candle to take out the swing
i am looking for experienced programmer to create indicator for me. i am willing to pay for the service. and if it works amazingly like i expected. i will tip more money
High Low intraday ticker to display the most recent high low of up to 40 stock symbols. As a stock makes an intraday high low it will populate at the top and so on. Regardless of chart that's display it will continue to track high lows of the 40 stocks inputed. The 40 stocks can by manually changed. A high will display as green with the time (hour:minute:second), symbol, and last price. A low will be displayed as red
Modify an existing Python bot to trade bollinger bands, with iqoption api Currently the bot strategy is wrong, I am limited in my knowledge here and hope to fix this Hope to work with more experience people out there in relation to iqoption api and python
I need an EA to automate Tradingview alerts on MT4 using webhook alerts. The bridge/connector should be python based GUI. Required features at a minimum Mapping Tradingview alert formats to MT4 Automating market, limit and stop orders with entry price, stop loss, multiple TPs and trailing stop Lot sizing - fixed/% of balance/fixed amount breakeven, partial close and trailing stop Mapping pair name prefixes/suffixes
hi guys, I have a script, that I have been struggling to work. most of the work is done, just final touch of an expert is needed. The script Is using Fibonacci and Pivot standard in its base. look forward to hear from an expert! Best regards Sina
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 service. I have read the Rules of using the Freelance service and accept them. I agree

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD