An Expert Advisor based on Moving Averages and Fair Value Gaps

Auftrag beendet

Ausführungszeit 18 Tage
Bewertung des Kunden
This developer was very patient. We had several times of discussing the EA back and forth and he helped me get it doing what I wanted it to do. I highly recommend this developer.
Bewertung des Entwicklers
He is one of thegood customers I have worked with here, his communucation skills is very okay and patient enough to explain all requirements. Nice working with you. Thanks

Spezifikation

Requirements Specification

Forex Trending, April 2025, MT4

 

OVERVIEW OF THE STRATEGY

·      This EA is for the purpose of running the optimization feature in MT4 to find the best settings for the strategy. It will have many parameters.  It is to be used on Forex pairs.

·      Not all of the parameters will be used all of the time. If a value of “111” is entered into the parameter, that parameter will not be used. Zero “0” will be a valid parameter number. All parameters should have the option of being turned off by entering “111.”

·      Moving Averages will be used to determine when price is trending.

·      Moving Averages will also be used to determine whether to buy or sell.

·      When price is trending, the EA will enter trades based on Fair Value Gaps.

 

MOVING AVERAGES

·      Three Moving Averages will be used. A parameter will determine whether the Moving Averages are Simple Moving Averages or Exponential Moving Averages.

·      A parameter determines if the moving averages are displayed on the MT4 screen:

       -   Show MA1 on the screen

       -   Show MA2 on the screen

       -   Show MA3 on the screen

·      The first and second moving averages (MA1 and MA2) will have the following parameters:

       -   If MA1 is above MA2, only enter buy positions.

       -   If MA1 is below MA2, only enter sell positions.

       -   Number of bars to average for MA1

       -   Number of bars to average for MA2

       -   Number of bars to average for MA3

       -   MA1 is a [Simple Moving Average, or, Exponential Moving Average]

       -   MA2 is a [Simple Moving Average, or, Exponential Moving Average]

       -   MA3 is a [Simple Moving Average, or, Exponential Moving Average]

·      The third moving average (MA3) will be used to determine if price is in a trend. It will determine this by the percent change of the moving average from one bar to another (this is the same idea as determining the slope on a graph). When price is moving sharply in one direction, the MA will recognize it by the percent change in the MA.

       -   The “Percent Change” will be calculated this way:

               -  The latest Moving Average reading will be “x.”

                The previous Moving Average reading (from the previous bar) will be “y.” (see diagram below)

A graph with green and purple arrows

Description automatically generated

                The Moving Average value “x” will have “y” subtracted from it.

                That number will then be divided by the Moving Average value “x”.

                Then, the number will multiplied by 10000 (ten thousand).

                This will give the Percent Change number. (Side note: to get the actual percent change, we would only multiply by 100, but that would produce a very small decimal value and I want the number larger so it’s easier to work with).

                The formula looks like this: (x-y) / x * 10000

                An example:

A graph with a line and arrow pointing to the top

Description automatically generated with medium confidence

(1.08458 – 1.08435) = 0.00023

0.00023 / 1.08458 = 0.00021206

0.00021206 * 10000 = 2.12063

Percent Change = 2.12063

 

An example where price is descending:

(it always produces a negative number when descending)

(1.42602 - 1.42636) = -0.00034 / 1.42602 = -0.00023842 * 10000 = -2.38423

Percent Change = -2.38423

 

A graph with arrows pointing to a bar

Description automatically generated

 

                (A parameter, a decimal value) If Percent Change is greater than _____, enter buy positions. (That is, do not enter buy positions unless Percent Change is higher than that number.)

                (A parameter, a decimal value) If Percent Change is less than _____, enter sell positions. (That is, do not enter sell positions unless Percent Change is below that number.) (This will be a negative number.)

                (A parameter) Show Percent Change on the screen.


IDENTIFYING FAIR VALUE GAPS (FVG)

·      A Fair Value Gap is a three-candle setup. The FVG exists where the first and third candles do not overlap.

A graph of a candle stick graph

Description automatically generated

·      (A parameter) Show FVGs on the MT4 screen.

·      Bullish FVGs will be green.

·      Bearish FVGs will be red.

·      A FVG will only be considered after the third candle is formed. The FVG will not be considered while the third candle is forming.

 

OPENING A TRADE

·      I will not be using bracket trades. No Stop Loss or Take Profit will be entered. Rather, the EA will open or close trades according to rules that will simulate Stop Loss and Take Profit. This is because some brokers don’t allow bracket orders.

·      The EA is to open only one trade at a time. If a trade is currently open, the EA will not open another trade until after the first one is closed.

·      When a bullish FVG is formed and price comes back and retouches the top of it, enter a buy trade. Price must come back and retouch the FVG within [a parameter: a whole number] bars.

·      When a bearish FVG is formed and price comes back and retouches the bottom of it, enter a sell trade. Price must come back and retouch the FVG within [a parameter: a whole number] bars.

A graph with arrows and candles

Description automatically generated

·      Only open trades between the hours of [a parameter: a time] and [a parameter: a time]. I would like to have three of these to allow for trading at specific times of day.

·      Only open trades between the hours of [a parameter: a time] and [a parameter: a time].

·      Only open trades between the hours of [a parameter: a time] and [a parameter: a time].

·      All orders will be market orders.

·      If an order, or part of an order, is not filled within [a parameter: a whole number, a number of seconds], cancel the part of the order that is not filled.

·      Only open a trade if the spread is equal to or less than [a parameter: a decimal number] pips.

 

CLOSING A TRADE

·      Close the trade if price moves against the position the distance of the FVG plus[a parameter: a decimal number]pips.

A screen shot of a graph

Description automatically generated

       -   The green bar in the diagram is a bullish FVG. It formed and price came back and retouched it. Price then extended out the bottom of the FVG by 3 pips. The trade would close if this parameter was set to 1, 2, or 3.

       -   For example, if the FVG is 3 pips wide and this setting is set to 2, the trade would close when price went against the opening price by 5 pips.

       -   Another example, if the FVG is 4 pips wide and this setting is set to 3, the trade would close went price went against the opening price by 7 pips.

·      This number of pips is called the “Risk.” The Risk is the width of the FVG plus the number of pips in this parameter.

       -   An example:

A graph with arrows pointing to a graph

Description automatically generated

       -   The minimum Risk to take is [a parameter: a decimal number] pips.

       -   The maximum Risk will be[a parameter: a decimal number] pips. The Risk will be limited to this number of pips even if the FVG calls for more.

       -   If the Risk is over [a parameter: a decimal value], do not open the trade.

·      Close the trade if price moves profitably [a parameter: a decimal number] times (multiplied by) the Risk. This is the Risk-to-Reward ratio.

·      For example, if the Risk is 5 pips and the value entered in the parameter is 2, close the trade at 10 pips profit.

·      Another example, if the Risk is 4 pips and the value entered in the parameter is 1.5, close the trade at 6 pips profit.

·      Another example, if the Risk is 5 pips and the value entered in the parameter is .9, the EA will multiply 5 by .9 which is 4.5. The trade will be closed when the trade is in profit by 4.5 pips.

·      [A parameter] If price reaches 1/2 way in profit but moves back to the entry price, close the trade. (This is simulating moving the Stop Loss to the entry point when price is 1/2 toward the Take Profit.)

·      OTHER WAYS TO CLOSE THE TRADE:

       -   Close the trade when in profit [a parameter: a decimal number] pips. (I may enter “111” in the parameters above and close the trade after a set number of pips instead.)

       -   Close the trade when in loss [a parameter: a decimal number] pips.

       -   Close the trade if price goes against its highest point by [a parameter: a decimal number] pips. (This is simulating a trailing Stop Loss.)

·      If the account balance drops below [a parameter: a dollar amount], close all trades and open no more trades.

 

OTHER CONSIDERATIONS

·      The number of lots to buy is [a parameter: a decimal number].

·      I would like a copy of the source code file, the mq4 file.

 

I WOULD LIKE THE PARAMETERS TO BE LABELLED THIS WAY:

·      MA1 is a [Simple Moving Average, or, Exponential Moving Average]

·      MA2 is a [Simple Moving Average, or, Exponential Moving Average]

·      MA3 is a [Simple Moving Average, or, Exponential Moving Average]

·      Show MA1 on the screen

·      Show MA2 on the screen

·      Show MA3 on the screen

·      If MA1 is above MA2, only enter buy positions.

·      If MA2 is below MA2, only enter sell positions.

·      Number of bars to average for MA1

·      Number of bars to average for MA2

·      Number of bars to average for MA3

·      Show Percent Change on the screen

·      (A parameter, a decimal value) If Percent Change is greater than _____, enter buy positions. (That is, do not enter buy positions unless Percent Change is over that number.)

·      (A parameter, a decimal value) If Percent Change is less than _____, enter sell positions. (That is, do not enter sell positions unless Percent Change is below that number.) (This will be a negative number.)

·      Show FVGs on the MT4 screen.

·      Price must come back and retouch a FVG within [a parameter: a whole number] bars.

·      Only open trades between the hours of [a parameter: a time] and [a parameter: a time]. I would like to have three of these to allow for trading at specific times of day.

       -   Only open trades between the hours of [a parameter: a time] and [a parameter: a time].

       -   Only open trades between the hours of [a parameter: a time] and [a parameter: a time].

·      If an order, or part of an order, is not filled within [a parameter: a whole number, a number of seconds], cancel the part of the order that is not filled.

·      Only open a trade if the spread is equal to or less than [a parameter: a decimal number] pips.

·      Close the trade if price moves against the position the distance of the FVG plus [a parameter: a decimal number] pips.

·      The minimum Risk to take is [a parameter: a decimal number] pips.

·      The maximum Risk to take is [a parameter: a decimal number] pips.

·      If the Risk is over [a parameter: a decimal value], do not open the trade.

·      Close the trade if price moves profitably [a parameter: a decimal number] times the Risk. 

·      If price reaches 1/2 way in profit but moves back to the entry price, close the trade.

·      Close the trade when in profit [a parameter: a decimal number] pips.

·      Close the trade when in loss [a parameter: a decimal number] pips.

·      Close the trade if price goes against its highest point by [a parameter: a decimal number] pips. (This is simulating a trailing Stop Loss.)

·      If the account balance drops below [a parameter: a dollar amount], close all trades and open no more trades.

·      The number of lots to buy is [a parameter: a decimal number].


Bewerbungen

1
Entwickler 1
Bewertung
(258)
Projekte
322
30%
Schlichtung
34
26% / 65%
Frist nicht eingehalten
10
3%
Frei
2
Entwickler 2
Bewertung
(6)
Projekte
5
0%
Schlichtung
4
25% / 75%
Frist nicht eingehalten
2
40%
Frei
3
Entwickler 3
Bewertung
(64)
Projekte
83
28%
Schlichtung
9
33% / 56%
Frist nicht eingehalten
9
11%
Frei
Veröffentlicht: 1 Beispiel
4
Entwickler 4
Bewertung
(274)
Projekte
403
28%
Schlichtung
40
40% / 50%
Frist nicht eingehalten
1
0%
Frei
5
Entwickler 5
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
6
Entwickler 6
Bewertung
(85)
Projekte
174
44%
Schlichtung
3
100% / 0%
Frist nicht eingehalten
5
3%
Frei
Veröffentlicht: 1 Beispiel
7
Entwickler 7
Bewertung
(70)
Projekte
91
25%
Schlichtung
26
19% / 54%
Frist nicht eingehalten
25
27%
Frei
8
Entwickler 8
Bewertung
(363)
Projekte
436
54%
Schlichtung
21
52% / 14%
Frist nicht eingehalten
30
7%
Beschäftigt
9
Entwickler 9
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
10
Entwickler 10
Bewertung
(11)
Projekte
15
20%
Schlichtung
6
0% / 100%
Frist nicht eingehalten
3
20%
Frei
11
Entwickler 11
Bewertung
(5)
Projekte
5
60%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
2
40%
Frei
Veröffentlicht: 1 Beispiel
12
Entwickler 12
Bewertung
(162)
Projekte
289
35%
Schlichtung
18
22% / 61%
Frist nicht eingehalten
43
15%
Frei
13
Entwickler 13
Bewertung
(62)
Projekte
90
29%
Schlichtung
24
13% / 58%
Frist nicht eingehalten
7
8%
Arbeitet
14
Entwickler 14
Bewertung
(64)
Projekte
144
46%
Schlichtung
20
40% / 20%
Frist nicht eingehalten
32
22%
Frei
15
Entwickler 15
Bewertung
(298)
Projekte
477
40%
Schlichtung
105
40% / 24%
Frist nicht eingehalten
81
17%
Beschäftigt
Veröffentlicht: 2 Beispiele
16
Entwickler 16
Bewertung
(314)
Projekte
560
35%
Schlichtung
80
31% / 44%
Frist nicht eingehalten
203
36%
Beschäftigt
17
Entwickler 17
Bewertung
(20)
Projekte
26
38%
Schlichtung
6
33% / 50%
Frist nicht eingehalten
0
Frei
18
Entwickler 18
Bewertung
(1)
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
19
Entwickler 19
Bewertung
(77)
Projekte
243
74%
Schlichtung
7
100% / 0%
Frist nicht eingehalten
1
0%
Frei
Veröffentlicht: 1 Artikel
Ähnliche Aufträge
Matriks programında güzel bir stratejim var, meta da kayıtlı olmayan iki indikatörümü de metaya yükledim, stratejim belli, ama robot oluşturmak konusunda bilgim eksik. Yardım istiyorum. Acil dönüş bekliyorum. 12-276 üssel ortalamayı hangi yöne keserse, alphatrend indikaörüde bunu desteklesin, kendi gömdüpüm diğer bir indikatörde seviyelere göre alsın satsın
Hi. Could you slightly rewrite my cBot for me to use a 5-minute chart without a fixed target? The stop should be a trailing stop at the level of the initial range
MT5 EA Developer for Structured ICT/SMC Market Logic Requirements Specification: I need an MT5 Expert Advisor only in MQL5. No indicator, no script, no DLL, and no external API. The EA must be built on a rule-based ICT/SMC-style framework with objective, backtestable logic. I am not looking for social-media-style ICT/SMC interpretation. I need a developer who can convert trading concepts into clear coding rules. The
Hi all, I am looking for a top-rated, experienced MQL5 developer to code Phase 1 (Retail Version) of an advanced Expert Advisor for MetaTrader 5. Key Requirements: 1. Pure Price Action Strategy: Uses H4 Trend Filter (Swing High/Low) and H1 Execution (Wick Scanning >= 66% & Engulfing Candlesticks). Places orders via Buy/Sell Limit at Fibonacci 50% level of the candle body (with Giant Candle threshold rules). 2
Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w tworzeniu niezawodnych i profesjonalnych robotów handlowych będzie dodatkowym atutem. Proszę o kontakt, jeśli zrealizowałeś już podobne projekty. wszystkie szczeguły podam w
I’m looking for an experienced MetaTrader 4 (MT4) developer to analyze, repair, and live-test an existing .EX4 Expert Advisor. Project Details Existing file: GannMadeEasy_pro.ex4 Platform: MetaTrader 4 Issue: EA is not loading properly on charts in newer MT4 builds Goal: Make the EA fully functional and compatible with current MT4 versions Requirements The developer must: Analyze the existing EX4 file Identify
i need the EA same working on trading view chart with same specifications of enter in a trade and sl/tp open 2 trades and 1 trade set tp1 & second trade set to tp 3 but sl should move to breakeven when tp1 hit and go to tp2 sl on tp1
Need a Profitable with a good trading system or strategy. would test the product first Looking for a professional MT5 Expert Advisor based on smart strategies. The EA should include session filters, risk management, trailing stop, multi-pair support, and low drawdown protection. I need a consistent, high-probability automated trading system optimized for long-term profitability and funded account compliance
I am looking for an experienced MQL4/MQL5 developer to build a custom MT4 indicator from scratch or cracking my ex4 file that i provide to you. I already have an existing indicator (EX4) which produces highly accurate buy/sell signals. I want a similar indicator developed based on its observable behavior and signal structure. my existing indicator is pc id protected so you have to do PC ID security bypass and source
I am looking for an experienced MQL5 developer to build a professional Expert Advisor with the following specs: TECHNICAL REQUIREMENTS: - Platform: MetaTrader 5 (MT5) - Pairs: GBPUSD and EURUSD - Broker suffix support (e.g. GBPUSD@, EURUSD@) - Primary timeframe: M5 -Higher timeframe bias: H1 and H4 (for trend direction only) - One chart setup — manages both pairs from one chart STRATEGY: - Price action based: BOS

Projektdetails

Budget
150 - 200 USD
Ausführungsfristen
von 1 bis 3 Tag(e)