Two Simple Expert Advisors

MQL4 Experts

Job finished

Execution time 16 days
Feedback from employee
Thank you very much 🌹

Specification

This is a job for two expert advisors with very similar functionality. The difference is the trading entry logic.

The expert advisors required are based on pivots, here are the details:

MQL file required at the end please.

EXPERT 1

FIRST STEP: CALCULATE THE PIVOTS

At 8am CET every day the EA should use the opening price at 8am CET to calculate our pivots.

The pivots are percentages of the opening price, the percentages are +0.5%, +1.0% and +1.5% as well as -0.5%, -1.0% and -1.5%.

Example:

Price of FTSE at 8am CET is 7000, so all of the pivots are calculated on 7000. Here are two examples of the pivot calculation

+0.50% of 7000 = 7035
-1.00% of 7000 = 6930 and so on


NEXT STEP: CALCULATE THE MARKET BIAS 

The Bias will be calculated at 8am CET by a combination of two indicators:

1. SMA of 55 - is the SMA pointing up? If yes, it's Bullish. Else, it's Bearish

2. MACD (72 156 54) - is the histogram above 0? If yes, it's Bullish. Else, it's Bearish

If both indicators are bullish, then the MARKET BIAS is Bullish
If both indicators are bearish, then the MARKET BIAS is Bearish
Else the BIAS is NEUTRAL


NEXT STEP: TRADING LOGIC

Depending on the market bias, the EA will open limit orders based on the following:

IF MARKET BIAS IS 'NEUTRAL'
Sell Limit @ +0.5% and +1.0% and +1.5%
Buy Limit @ -0.5% and -1.0% and -1.5%

IF MARKET BIAS IS 'BULLISH'
Buy Limit @ -0.5% and -1.0% and -1.5%

IF MARKET BIAS IS 'BEARISH'
Sell Limit @ +0.5% and +1.0% and +1.5%

TRADING PARAMETERS

1. Stop Loss Level

This is a input for a fixed level, for example the input will be 25 points.


2. Take Profit Level

This should be a multiplier of the stop loss.
For example if the multiplier is 4.0 then the TP will need to 4.0 times bigger than the stop loss.
If the stop loss is 25 points, then the take profit target would be 100 points (4 x 25).


3. LOT SIZE

We will need the EA to calculate the lot size based on a percentage of the account, for example: 1%. So if a stop loss is hit, then it will cost 1% of the account size.


4. MOVE TO BREAKEVEN

Option for MoveToBreakEven after reaching 50% of target.
For example is the take profit is 100 points, then the move to break even will kick in after reaching 50 points profit.


5. AUTOMATIC CLOSE TRADES AT PARTICULAR TIMES

Close all trades by 19:00 CET
No trades allowed to remain open over the weekend

6. RESTRICT TRADES 
Three maximum losing trades (bullets) per day - After losing three trades, close limit orders and trades and restart the next day.

7. DAILY PROFIT TARGET

The EA should keep a track of our total profit for the day.
Example trade 1 is a stop loss (total gain = -1R)
Example trade 2 is a stop loss (total gain = -2R)
Example trade 3 hits target for 4R (total gain = +2R)
Example trade 4 hits target for 4R (total gain = +6R)

Close all remaining trades

8. NOTIFICATIONS

Option for Push, Email and Alerts


EXPERT 2

FIRST STEP: CALCULATE THE PIVOTS (Same as Expert 1)

NEXT STEP: CALCULATE THE MARKET BIAS (Same as Expert 1)

NEXT STEP: TRADING LOGIC

BUY
If price breaks above any +0.5%, +1.0% or +1.5% pivot level by 20 points or more, then open a buy limit order to buy at that pivot level.
For example if price breaks through the +0.5% level and pulls back, we want to buy limit at the +0.5% level. 
The EA should only open one limit order, per pivot level, per day. This means the EA could open buy orders order at +0.5% and +1.0% and +1.5%, depending on price action. But it would not open more than one trade at each level in a single day.

SELL
If price breaks below any -0.5%, -1.0% or -1.5% pivot level by 20 points or more, then open a sell limit order to sell at that pivot level.
For example if price breaks through the -0.5% level and then bounces, we want to sell limit at the -0.5% level. 
The EA should only open one limit order, per pivot level, per day. This means the EA could open an sell orders at -0.5% and -1.0% and -1.5%, depending on price action. But it would not open more than one trade at each level in a single day.

The EA could possibly open a maximum of six trades in one day.

TRADING PARAMETERS

1. Stop Loss Level (same as Expert 1)

2. Take Profit Level (same as Expert 1)

3. Lot Size (same as Expert 1)

4. MOVE TO BREAKEVEN (same as Expert 1)

5. AUTOMATIC CLOSE TRADES AT PARTICULAR TIMES (same as Expert 1)

6. RESTRICT TRADES (same as Expert 1)

7. DAILY PROFIT TARGET (same as Expert 1)

8. NOTIFICATIONS (same as Expert 1)


Responded

1
Developer 1
Rating
(84)
Projects
149
31%
Arbitration
32
34% / 41%
Overdue
43
29%
Free
2
Developer 2
Rating
(31)
Projects
42
26%
Arbitration
10
20% / 50%
Overdue
8
19%
Free
3
Developer 3
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(258)
Projects
395
28%
Arbitration
69
19% / 49%
Overdue
120
30%
Free
5
Developer 5
Rating
(117)
Projects
138
41%
Arbitration
30
7% / 77%
Overdue
17
12%
Free
6
Developer 6
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
7
Developer 7
Rating
(2)
Projects
3
67%
Arbitration
1
0% / 0%
Overdue
3
100%
Free
8
Developer 8
Rating
(66)
Projects
95
28%
Arbitration
20
25% / 55%
Overdue
24
25%
Free
9
Developer 9
Rating
(158)
Projects
175
43%
Arbitration
6
0% / 67%
Overdue
8
5%
Free
Similar orders
This EA must have the following functions together: BE: place BE when the price reach a certain gain in PIPS and you can choose the offset too, so, for example it activates after 10 pips with 1 pip of offset so you can have profit with BE too Auto SL and TP Can manage the trades made by phone when MT5 is open in the PC or VPS Trailing stop (step by step): I can decide at what number of pips the trailing stop get
This is a strategy based on crossing two trend indicators on the second timeframe (1s, for example). We work not only with the market but with the limit orders as well (robot must "read" an order book). Read the whole instruction please for more details. Speak Russian, English
Martingale EA for MT5 30 - 100 USD
Criteria: Only one trade at a time. Cannot open another trade if one is running Trade on EURUSD only, once job is completed I will be happy to schedule more for other pairs You choose entry strategy and criteria win rate must be above 50% in long term backtest of EURUSD Every trade has got TP and SL Trades to last about a day, few trades a week, at least 10 pips gain per trade, so that it can be launched on normal
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market
I want grate robot for making profits that know when to start a good trade and close a trade and must be active all time to avoid lost of money
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
Mbeje fx 50+ USD
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money

Project information

Budget
60+ USD
For the developer
54 USD
Deadline
from 1 to 5 day(s)