Create an Expert Advisor based on Moving Average and RSI with Trade Management

MQL4 Experts

Job finished

Execution time 7 days
Feedback from customer
Among the many who responded, the way Matt approached attracted me. He is 100% committed to getting what I wanted until its right. It was pleasant working with Matt. I highly recommend him.
Feedback from employee
Excellent Customer! Venkat had great communication and patience whilst I worked on his project. More than happy to work for him again!

Specification

Dear Developer,

I need a EA that will use 2 sets of Moving averages and RSI level to open trades. I need the trade to be managed by moving stoploss and apply some checks before opening the trade. The detailed requirements specification is below: Please get back to me if anything is not clear. 


Input Variable : (i can input values to)

int MAslow (default 50 period)

int MAfast (default 20 period)

int RSIperiod (default 14 period)

int RSIbuyLevel (default is 70)

int RSIsellLevel (default is 30)

double FixedLotSize (default is 0.01)

int SLadjustPips (default is 5 pips)

int MaxOpenTrades (default 10)

int TPTarget : 0 ( no target) , 1 (1x the risk), 2,3,4,5 (default is 0)

int MoneyAtRisk - 0 (no risk management), 1 (1% of balance to risk) ,2,3,4,5 (default is 2)

boolean NewTrades : Yes / No (default No)


Definition:

SMMA - Smootherned moving average

EMA - Exponential moving average


1. Buy trade:

1.1. The program should open a BUY trade based on when SMMA(MAfast) crosses over above EMA(MAslow)AND current RSI(RSIperiod) value >= RSIbuyLevel.

2. Trade mgmt - Stop loss for buy trade:

2.1.When trade is opened, the stop loss must be the LOWER value of a or b:

(a) previous candle Low - SLadjustPips

(b) current value of EMA(MAslow) - SLadjustPips

2.2. For every new candle, the stop loss must move up to value of current EMA(MASlow) - SLadjustPips.

3. Sell trade:

3.1. The program should open a SELL trade based on when SMMA(MAfast) crosses below MA(MASlow) AND current RSI(RSIperiod) <= RSIsellLevel .

4. Trade Mgmt - Stop loss for Sell trade:

4.1. When trade is opened, the stop loss must be the HIGHER value of a or b:

(a) previous candle High + SLadjustPips.

(b) current value of EMA(MAslow) + SLadjustPips

4.2. For every new candle, the stop must move down to value of current EMA (MASlow) + SLadjustPips

5. Buy/Sell Lots Size:

5.1. If MoneyAtRisk is set as 0, take input for FixedLotSize as buy/sell lot size.

5.2. If MoneyAtRisk selection is between 1 to 5, lot size should be calculated by 1% to 5% of the account balance value as risk amount based on previous candle length + SLadjustPips OR 0.01 lot (which ever is bigger).

6. Trade close:

6.1. If TPTarget input value is 1 to 5, then take profit is set as 1 to 5 times the pips at risk. If TPTarget is 0, no target is set and the trade is closed by Stoploss calculation.

6.2. Trade is closed when the price hits the TPTarget OR stoploss level OR closed manually.

6.3. When a trade is closed manually, the variable NewTrades should be set to No.

7. Manual trade:

7.1. If a manual trade is opened, then BOT should be able to take over the stoploss management by applying the same rules for Buy or Sell trade. (see requirements 2, 4, 6).

8. Other rules checked before opening a trade:

8.1. Only 1 trade per currency pair can be open at any given time and time frame.

8.2. If NewTrades is set to No for a currency pair, then no trades can open for that pair. Any open trade must be managed until closure.

8.3. MaxOpenTrades value to be checked against number of all open trades across all currencies before placing a trade and should not allow new trade if its exceeded.

8.4. Values of Lot Size, SLadjustPips, MaxOpenTrades, TPTarget, MoneyAtRisk, NewTrades must be displayed in the chart where EA is running.

8.5. All the above should work on EUR, USD, AUD, GBP, JPY, CHF, NZD, SGD, XAU combination pairs. (especailly lot and SL calculation).


Responded

1
Developer 1
Rating
(174)
Projects
200
12%
Arbitration
39
38% / 33%
Overdue
5
3%
Free
Published: 2 codes
2
Developer 2
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
(130)
Projects
184
32%
Arbitration
18
28% / 67%
Overdue
27
15%
Free
Published: 1 code
4
Developer 4
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
5
Developer 5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(34)
Projects
51
43%
Arbitration
5
40% / 20%
Overdue
14
27%
Free
Published: 2 codes
7
Developer 7
Rating
(365)
Projects
507
40%
Arbitration
159
17% / 74%
Overdue
99
20%
Loaded
8
Developer 8
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
9
Developer 9
Rating
(26)
Projects
34
26%
Arbitration
7
14% / 43%
Overdue
7
21%
Free
10
Developer 10
Rating
(412)
Projects
543
75%
Arbitration
9
44% / 0%
Overdue
24
4%
Free
11
Developer 11
Rating
(618)
Projects
1429
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
12
Developer 12
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
13
Developer 13
Rating
(6)
Projects
6
0%
Arbitration
0
Overdue
0
Free
Similar orders
A robot 30+ USD
Je souhaite trouver un développeur pour réaliser ce travail et effectuer les paiements via cette application. Je m'engage à ne communiquer avec les candidats que par cette application, y compris par messageries tierces, correspondance personnelle ou courriel. Je comprends que toute personne ne respectant pas ces conditions sera interdite de publier des commandes sur la plateforme Freelance
I am looking for an experienced MQL5/MT5 developer to develop a custom Expert Advisor based on a complete technical architecture already prepared by the client. This is not a request to design a trading strategy from scratch . The strategy architecture, entry/exit concepts, filters, risk-management requirements and testing requirements are already documented. The main responsibility will be MQL5 development
EAs 100+ USD
To apply, you must already have your EA running on an active MT5 trading account connected to the market. The account must have genuine trading history that can be independently reviewed and verified. EA Requirements 1. Prop-Firm Compatible Risk Management - The EA must include daily and overall drawdown protection. - Required inputs: "MaxDailyLoss = 5%" "MaxTotalDrawdown = 10%" - Once either limit is
Strategy 40 - 60 USD
yo i have a strategy i would really like to turn into a signal bot basically please this is very technical and serious to me the strategy needs more time 1 time frame and the bot most be 100% accurate
Ready to use bot 100+ USD
seller must provide the following to be considered... i will answer to all who fit this description, and can purchase more than 1 EA... - brief strategy description - overall EA expectancy - 1 week limited trial version, with whatever settings you consider best (can be blocked on demo, i don't really care) - investor password from a reputable broker (if history is available... live / demo, same thing, doesn't really
I want you to develop a professional HFT trading robot for MT5/MQL5 , initially focused on XAUUSD . The robot should be designed for high-speed tick-level trading , analyzing real-time bid/ask movement, spread, tick velocity, momentum, volatility, price acceleration and short-term market microstructure to identify very short-term opportunities. The core strategy should be capable of opening 5–10+ positions in a
can you help me use a Tickblaze Algo NRBO on the NT platform? I have it somewhat set up, but I have other questions about running it & knowing how to operate it in NT. Thank you if anyone have experience in this kindly bib and let do it asap
I need a fully automated custom Expert Advisor for MetaTrader 5 (MQL5). The EA is intended for use on a The5ers $100,000 2-Step prop-firm account. IMPORTANT DELIVERY REQUIREMENT: I must receive the complete editable .mq5 source code as well as the compiled .ex5 file. Compiled-only delivery is NOT acceptable. The EA must be coded specifically for this project and must not copy trades, use external trading signals or
I've got a Pine Script from Trading View. I need help from a programmer who can help with optimising the strategy by 1) Adding a couple of further rules 2) Redesign the trading alert arrows & colours I need, please, a programmer who is 1) Good at Pine language 2) Has excellent after-job support (not for free though) 3) Possess the ability to work with others. 4) Able to deliver the job at the shortest possible time
I need an experienced TradingView Pine Script developer to build and test a custom intraday strategy for NQ/MNQ . I am not looking for a conversion . I need the strategy researched, developed, tested, and optimized based on my requirements. Requirements: NQ/MNQ intraday trading 5–15 minute charts New York session only Flat before market close Base logic using Zero Lag Signals , with additional filters if justified

Project information

Budget
30 - 60 USD
Deadline
from 2 to 5 day(s)