Close Open Trade on MACD Cross (SL/TP)

MQL4 전문가 스크립트

작업 종료됨

실행 시간 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%
무료
비슷한 주문
Hi, I require a robot that can read this non MT4 object . Trade opened when the object shows ' Look to sell / Buy'. The closing logic is based on the crossing of another custom indicator . Stop loss based on Fib levels. Take profit and partial take profit also required using these levels. A more detailed breakdown of the logic to be provided. The robot/EA is to be created and installed on MT4 on my VPS
Hola comunidad, Estoy buscando un desarrollador que tenga el archivo de instalación de MetaTrader 4 build 1443 o que pueda ayudarme a volver a esa versión. Tengo un robot (EA) que funcionaba perfectamente en build 1443, pero mi plataforma se actualizó automáticamente a build 1470 y ahora el robot ya no funciona correctamente. Necesito alguien que: • Tenga el instalador de MT4 build 1443, o • Sepa cómo reinstalar esa
have the Beatrix Inventor Expert Advisor (EA) that was profitable in the past but has been losing money recently. I need an experienced EA developer/optimizer to study the trade history (especially Stop Loss hits, drawdown periods, SL/TP behavior, win/loss ratio, etc.) and recommend + implement specific tweaks so it becomes consistently profitable again. Your job: 1. Deep analysis of why the EA is no longer
Project: Ready MT5 Multi-Symbol Expert Advisor (No Grid/Martingale) Platform: MetaTrader 5 (MQL5) Type: Fully automated Expert Advisor (EA) Strict mandatory requirements: - Absolutely NO grid trading in any form - Absolutely NO martingale (no lot multiplication on losses, no averaging, no anti-martingale if risky) - No other high-risk money management (e.g., no unnecessary hedging or aggressive entries) - At least 1
want to develop a trading robot (EA) for MetaTrader 5 based on 10 specific rules. The robot should include a professional interface to control all settings, including: Fixed lot size (0.50), Stop Loss (10 USD), RSI indicators for entry/exit, News filter, Trailing stop, and daily profit targets. I have the full logic ready to discuss with the developer. Please ensure high-quality code and testing
Hi everyone! 👋 I’m searching for an experienced MQL4 / MQL5 programmer who is not focused only on big money , but is interested in working on very interesting trading projects that have the potential to conquer the market 📈🔥 💡 I have several unique EA ideas and trading tools in development. ⚡ I’m looking for someone who is available , communicates well , and can deliver projects relatively quickly . 🤝 I prefer
The improvements requested focus on: Faster range setup Automatic Fibonacci target calculation based on range size Cleaner and smaller control panel More visual workflow directly from the chart 1. Quick Range Setup (Automatic Range Creation) Currently, when clicking Add Range , the values are initialized as 0.0 . Instead, the EA should automatically create a default range around the current market price. Desired
We are seeking an experienced MQL5 developer to design and develop a high-performance Expert Advisor (EA) for trading Gold (XAUUSD) on MetaTrader 5 . This project is intended for large-scale capital deployment , with an available trading capital exceeding $8,000,000 USD . As such, we are looking for a developer capable of building a robust, scalable, and risk-controlled algorithmic trading system suitable for
I am looking for an experienced MT4 developer/designer who can create a custom chart template using a background image provided NOTE: Apply if you have done this type of job in the past, also provide the prove of your past project
حلل لي اصل مالي ) اكتب هنا مثلا XAU EUR USD USD اريد تحليلا تعليما و ليس توصية مالية ۱- نوع التحليل المطلوب : ( فني / اساسي / سلوك سعري ) ٢ - المدي الزمني : ( قصير / متوسط / طويل ) M15 / H1 / H4 / ) اذكر الفريمات المطلوبه + (D1 ما اريد استخراجه من التحليل : الاتجاه العام اقوي مستويات دعم و مقاومة رقمية سيناريو صعود و سيناريو هبوط مع شروط كل سيناريو ( IF / THEN ) اين يصبح السيناريو لاغيا مناطق دخول و خروج تعليمية (

프로젝트 정보

예산
30+ USD