Two Simple Expert Advisors

MQL4 전문가

작업 종료됨

명시

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)


비슷한 주문
I'm looking for professional developer for long term. Who have skill in Converting trading to MT4/5. Also have good knowledge of Algo. And response and deliver tools on time and at the top need good communication. That's all we need
budget of 500 usd I want to create a rsi bot for eur usd money is the least important thing I want it to look good if you are going to apply do it but send me at least 3 photos or screenshots of this type of work with rsi bot my goal level 50 sell level 20 buy that's all it must have its basic robot functions
Hello, i would Like to convert my Ex4 file to mql4 file. The Expert Advisor is EX4 file convert it to mql4 file. I would like to add some exciting features on this EA like trailing stop loss, Take profit and stop loss to break even
Hi, Good mrng. I have an indicator, which creates some signals. I wanted to filter the unwanted signals generated there using just Candlestick Patterns Rules. All cases are highlighted in a clear manner with pics as well. https://docs.google.com/document/d/11soaICN7wDQRXbN8MDNbov9NbIo3xtpJ?rtpof=true&amp ;usp=drive_fs Please check the drive link for a proper word doc :) Condition 6: Avoid Early signals: True/False
I have simple EA i want to modify its parameters. If you are good at modifying EAs contact me for more details. I will issue the source code then you return after finishing without changing the buy or sell conditions
the code wasn't mine, i have got it somewhere on the web, but i like the performance of the EA, so i want to use it on mt5 platform. the given code based on price movements with ladder entry concept
* Advanced level dev only, NDA required * Hi, I have a multi timeframe, multiindicator expert that requires additional features added to it. First started development 5 years ago. Upgrading with new features. To be added Entry - Add Stochastic and CCI options for trade entry to be added to existing signal options. Add config options to existing menu Bulk Exit - Master switch for close all trades based on basket
I am developing a master EA that integrates several sub-EAs. The project is complex, and the documentation is thoroughly structured, spanning 50 pages with detailed step-by-step procedures. 1st sub-EA: This EA opens trades without using indicators. Instead, it opens a new trade based on the color or status of the last candle. For instance, if the last candle was green, a new buy trade is opened. 2nd sub-EA: This EA
Good Day I would like to order a trading robot. Pairs: XAUUSD (GOLD) EUR/USD USD/JPY The robot should be trading daily with TP/SL build in, would like to have trailing and stop loss, should execute up to 5 trades (preffarable setting choice) up to 10 trades Los sizes to be choise setting, must also trade major US vews events Like:US- PPI, CPI, NFP, Sales m/m and so on Must also show/display alert when opening
Hello Guys, I need a trading bot for the MT5 to place order based on my trading strategy which is based on - >> entry based on EMA with rejection from specific levels like support and resistance area - levels and time frame i will apply into the robot manually on daily basis. also need - trailing stoploss , shift to breakeven after gaining some points. need a highly expert developer

프로젝트 정보

예산
60+ USD
개발자에게
54 USD
기한
에서 1  5 일