MACD cross in Trend

MQL4 Experts

Job finished

Execution time 2 days
Feedback from customer
Great!! Fast and fit the spec perfectly.
Feedback from employee
Thanks for the order, I will be glad to further cooperation.

Specification

Requirements Specification for Programming of MT4 EA

1. EA - entries performed when MACD's main and signal lines have crossed (after candle closed) above or below zero level. Above or below being defined by the level of the signal line of the MACD.

• BUY on MACD crossing above signal line when signal line value is < 0.0000 at the close of the crossed candle.

OR

• SELL on MACD crossing below signal line when signal line value is > 0.0000 at the close of the crossed candle.


2. Additional filters 

a. Closing Candle value at MACD cross

Additionally at the close of the candle in which the MACD and signal line cross occurred, the closing value of the candle must be above TWO EMA values (x)EMA AND (y)EMA for a BUY or below both (x)EMA AND (y)EMA for a SELL. Where (x) & (y) are variable input parameters - The default values being 100 and 200.

BUY
Therefore, closing value of candle on MACD cross > (x)EMA AND >(y)EMA 
(Default) closing value of candle on MACD cross >200 EMA AND >100 EMA

SELL
Therefore, closing value of candle on MACD cross < (x)EMA AND < (y)EMA
(Default) Closing value of candle on MACD cross < 200 EMA AND < 100 EMA


All values must be calculated on the close of the candle in which the MACD has crossed the signal line. All values to five decimal places for precision.


3. Trading Signals:

• Buy signal: On close of candle the main MACD line has crossed the signal line upwards 
Signal Line on close of crossed candle < 0.0000
Closing value of candle on MACD cross > (x)EMA AND >(y)EMA

• Sell signal: On close of candle the main MACD line has crossed the signal line downwards 
Signal Line on close of crossed candle > 0.0000
Closing value of candle on MACD cross < (x) EMA AND < (y) EMA




The below figure shows Buy and Sell cases.

BUY
• MACD has crossed above signal line on close of candle

• Signal Line on close of crossed candle < 0.0000            (-0.00026)

• AND Closing value of candle on MACD cross (0.69668)  >200EMA (0.69175) AND > 100EMA(0.69405)

• Open Buy position on open of next candle 3 lots

• 1 lot buy at market 0.69668         
SL = Lowest closing value of previous 14 candles minus 7 pips (0.69249 -0.0007 = 0.69179) (48,9 pips)    (Image 2)                
TP = 1 x SL or 0.70157 (48,9 pips)    

• 1 lot buy at market 0.69668         
SL = Lowest closing value of previous 14 candles(0.69249 -0.0007 = 0.69179) (48,9 pips)    (Image 2)                
TP = 2 x SL or 0.70646 (97,8 pips)    

• 1 lot buy at market 0.69668         
SL = Lowest closing value of previous 14 candles(0.69249 -0.0007 = 0.69179) (48,9 pips)    (Image 2)                
TP = 4 x SL or 0.71624 (195,6 pips)    


NB If LOT 1 closes after reaching TP at 0.70157 then move remaining 2 lots SL to BE at 0.69668




SELL
• MACD has crossed below signal line on close of candle

• Signal Line on close of crossed candle > 0.0000            (0.00047)

• AND Closing value of candle on MACD cross (0.69104)  < 200EMA (0.69325) AND < 100EMA(0.69222)

• Open Sell position on open of next candle 3 lots

• 1 lot Sell at market 0.69104         
SL = Lowest closing value of previous 14 candles + 7pips (0.69310 + 0.0007 = 0.69380) (27,6 pips)    (Image 2)                
TP = 1 x SL or 0.68828 (27,6 pips)    

• 1 lot Sell at market 0.69104         
SL = Lowest closing value of previous 14 candles + 7pips (0.69310 + 0.0007 = 0.69380) (27,6 pips)    (Image 2)                
TP = 2 x SL or 0.68552 (55,2 pips)    


• 1 lot Sell at market 0.69104         
SL = Lowest closing value of previous 14 candles + 7pips (0.69310 + 0.0007 = 0.69380) (27,6 pips)    (Image 2)                
     TP = 1 x SL or 0.68000 (110,4 pips)    

NB If LOT 1 closes after reaching TP at 0.68828 then move remaining 2 lots SL to BE at 0.69104





4. Trade Specs & Position management
Open 3 LOTS total. 
a. 1 lot open at the market price, when a new bar emerges. SL to be set for a BUY at the lowest closing value of the last 14 candles (not lowest peak but close) -minus 7 pips. SL to be set for a SELL at the highest closing value of the last 14 candles (not highest peak but close) + plus 7 pips. TP to be set at 1:1 Risk/Reward ratio. 

b. 1 lot open at the market price, when a new bar emerges. SL to be set for a BUY at the lowest closing value of the last 14 candles (not lowest peak but close) - 7 pips. SL to be set for a SELL at the highest closing value of the last 14 candles (not highest peak but close) + 7 pips. TP to be set at 1:2 Risk/Reward ratio. 

c. 1 lot open at the market price, when a new bar emerges. SL to be set for a BUY at the lowest closing value of the last 14 candles (not lowest peak but close) - 7 pips. SL to be set for a SELL at the highest closing value of the last 14 candles (not highest peak but close) + 7 pips. TP to be set at 1:4 Risk/Reward ratio. 

d. NB. On successful close of TP in 4a. then SL to be moved to Break Even/Open for other two open lots.

Risk/Reward ratios to be variable as inputs.
No other position exit methods are available.
IF A POSITION IS OPENED ON ONE CURRENCY PAIR NO OTHER POSITION SHALL BE OPENED IN THAT PAIR UNTIL OPEN POSITION IS FULLY CLOSED. i.e ONLY ONE OPEN POSITION MAY EXIST ON ANY CURRENCY PAIR (in any timeframe) AT ANY TIME. 


Variable Input Parameters
1. (x) EMA default value 200
2. (y) EMA default value 100
3. SL/TP (Risk/Reward) ratios LOT 1( 1:1 to be adjustable), LOT 2 (1:2 to be adjustable) , LOT 3 (1:4 to be adjustable)
4. No of LOTS 1 or .1( 1 mini contract) or .2 ( 2 mini contracts) etc. 



























Files:

PNG
Buy_Image1.PNG
385.2 Kb
PNG
Buy_Image_2.PNG
400.0 Kb
PNG
Sell_Image2.PNG
362.4 Kb

Responded

1
Developer 1
Rating
(329)
Projects
515
19%
Arbitration
35
46% / 31%
Overdue
34
7%
Working
2
Developer 2
Rating
(465)
Projects
815
49%
Arbitration
75
21% / 51%
Overdue
142
17%
Working
3
Developer 3
Rating
(100)
Projects
125
23%
Arbitration
12
0% / 75%
Overdue
22
18%
Free
4
Developer 4
Rating
(45)
Projects
63
52%
Arbitration
5
0% / 40%
Overdue
1
2%
Free
5
Developer 5
Rating
(85)
Projects
175
44%
Arbitration
3
100% / 0%
Overdue
5
3%
Free
Published: 1 code
6
Developer 6
Rating
(5)
Projects
1
100%
Arbitration
4
0% / 75%
Overdue
0
Working
7
Developer 7
Rating
(100)
Projects
139
51%
Arbitration
5
40% / 60%
Overdue
0
Working
8
Developer 8
Rating
(1125)
Projects
1813
61%
Arbitration
14
64% / 7%
Overdue
84
5%
Free
9
Developer 9
Rating
(626)
Projects
733
34%
Arbitration
48
52% / 40%
Overdue
14
2%
Loaded
10
Developer 10
Rating
(322)
Projects
499
67%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
Published: 8 codes
11
Developer 11
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
Similar orders
Trading bot ea 30+ USD
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
MT5 EA make work on zone break and candle confirm. Hi i need one expert person who can make exact what i want. My EA logic very simple.... few hrs market high and low make line then candle body close above or low then candle confirmation then pullback then entry RR1:2 no trail nothing,,,,, the line high low create after few hrs of the day i wll tell you later,,,,then 1hrs no trade if break then no trade for the
Hi, I need an Expert Advisor (EA) for MetaTrader 5, for my IC Markets account. Account MT5, hedging account, type: [Raw Spread / Standard: fill in] Deposit: 100 USD, leverage 1:30, account currency: [USD / EUR: fill in] Instruments Forex (major pairs) and gold (XAUUSD) Strategy and parameters may differ per instrument; each instrument must be tested and optimized separately If an instrument cannot be traded safely
المطلوب موشر لتداول الذهب مجرب وقوية يعطي اشاره قوية فقط مع وقف خساره ومختبر ومجرب في حال الموافقه علي لموشر بعد التجربه لمدة ٣ ايام يتم الشراء دايم مبلغ ٢٠٠ دولار
Masoudahg1 999999+ USD
Hello world, thank you for your helping and supporting for us from your for all everyone that investments or working in this programing and supporting seven/24 hours in daily and nightly for customers
Laily Mahmudy 100000+ USD
Thank you very much and of trying supporting and helping for us and my investfolio portfolio id is:"investfolio portfolio masoudahg1 id is":"7Zk0iVh7zuytHkQ9OJSzeY" &"35VmgKWofZxWowQ7O6CL8K" https://leylimahmudi46.atlassian.net is my Atlassian programing that when I working of this programs
Hi there I need someone who will create an ea then test it .. the ea should only place order on the bid price of it breakout in 1 point using invisible buy and invisible sell,, example if bid breakout in 1 point up automatically invisible buy active then invisible stop loss at where the ask price was same in sell If the bid breakout in 1 point down automatically invisible sell active then invisible stop loss where
I’m looking for an experienced MT5/MQL5 freelancer to help install and configure several existing EAs on IC Markets MT5 accounts using a Windows VPS. The work will include setting up the EAs on separate demo accounts and later running several together on one account with different risk settings. I also need help with MT5 backtesting and strategy optimisation, including comparing different risk levels and reviewing
I am looking for someone to build me a modular auto trader in Sierra chart and an Innie builder so that I can replicate my current Algas that I already have built. I've sent examples below can you please let me know how much you would charge me. I'm pretty good at building the signals myself but I do not know how to build the ocos order entry and I'm trying to get quotes and go with the person who seems they can help
i need price action and candle logic understand programmer need for this job... first understand logic and interested please message .... first understand logic and interested please message .... 2 types of hedge entry conditions: 1 is candle based 1- when i start point ea hh candle buy entry, after ll made 2- below the previous candle hedge sell order 3- if market goes again hh, if sell order profit book again

Project information

Budget
80 - 100 USD
Deadline
from 5 to 10 day(s)