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%
空闲
相似订单
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 "Metatrader 5" Tradingview: for analysis, as the Strategy uses one second charts/candles, Metatrader 5: for executing and managing the trades. For this EA to work well for the project's aims, SPEED of execution is of upmost
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
Hi, I need a simple MT5 EA. Based on my simple trading strategy I'm going to discuss with you If you have experience in this kindly bid for this project Thanks
An Expert KBFX 30+ USD
Fill orders first execution and real time trading, my strategy is that wait for clean confirmation before entering the market and fill orders for a snappier entrance,then execute trade after making profit on the position
I am looking for a professionally developed Buy Stop / Sell Stop EA specifically for XAUUSD scalping that has already proven to be profitable in the live market (real account), not just backtests or demo results . Requirements: • Strategy: Buy Stop / Sell Stop pending order–based scalping • Instrument: XAUUSD (Gold) • Performance: Verified live profitability with consistent results • Risk Management: Strong risk
Project Overview I am looking to acquire high-quality, algorithmic trading strategies or specialized strategy testers developed in MQL5 . My primary focus is on the underlying logic and code architecture rather than historical performance (Track Record/Myfxbook). I require full ownership of the source code (.mq5) for further research, optimization, and scaling. Requirements & Scope I am interested in systems that
MosesRobot 100+ USD
"I am looking for an expert developer to build a custom Forex Expert Advisor based on my specific strategy. Requirements: Full Source Code (.mq5) must be delivered. I retain 100% Intellectual Property and ownership of the bot. Must include a Risk Management module (Fixed Lot or % of balance). Must include a Trailing Stop and Break-even feature. Bot must be compatible with the MT5 Strategy Tester for 99% quality
I am searching for a fully developed and already profitable Expert Advisor focused on XAUUSD scalping. I am not looking for a custom build or experimental system. The EA must already be trading successfully on a real live account. What I am looking for: • At least 6 months of verified live results • Daily drawdown controlled within 10% • Around 13% or more average monthly return • Clean risk management approach with
// @version= 5 indicator ( "Gold Plus" , overlay = true , max_labels_count = 500 ) // ===== COLORS ===== buyColor = #00ff00 sellColor = #ff0000 smartBuy = #0099ff smartSell = #ff9900 // ===== INPUTS ===== sigsensiviti = input.float ( 2.5 , "Sensitivity" , group = "Main Settings" ) signaltype = input.string ( "All Signals" , "Signals" , [ "All Signals" , "Smart Signals" ] , group = "Main Settings" ) factor = 11
I need a custom MT5 trade copier that can copy trades from one master account to 10 slave accounts in real time. Some slave accounts may share the same broker, while others will be on different brokers. Requirements: Copy all trades from the master account to slave accounts: Entries Stop Loss (SL) Take Profit (TP) Trade modifications Trade closing Handle multiple currency pairs simultaneously. Risk management: Option

项目信息

预算
30+ USD