Develop EMA Threshold

Specifiche

Microsoft Word - EMA Threshold EA.docx

EMA Threshold
Using an Exponen-al Moving Average (Length and Source user defined), create an EA with the following

specifica-ons:

a. Entry Points:
The user can define a THRESHOLD (in $) – let’s say 11$ on US30.

- Long Entry: Open a long trade and close all short trades when the price crosses over the EMA value + THRESHOLD which is 11 USD (user defined). For example, EMA = 33200 and the price crosses over that value (EMA), as soon as the price crosses over 33211 a long posi-on is opened, and all short posi-ons are automa-cally closed.

- Short Entry: Open a short trade and close all long trades when the price crosses under the EMA value - THRESHOLD which is 11 USD (user defined). For example, EMA = 33200 and the price crosses under that value (EMA), as soon as the price crosses under 33189 (33200-11) a short posi-on is opened, and all long posi-ons are automa-cally closed.

b. Trades, Lots, Stop Loss, and Take Profit:

- The EA should allow up to 3 parallel trades with the ability of disabling trade #2 and / or trade #3. These trades should be executed in the order of priority: Trade 1 (highest), Trade 2 (second), Trade 3 (third).

- For each trade, users should be able to define specific LOTS.

- For each trade, users should be able to define specific take-profit points. If the take-profit is set to zero, no take-profit point will be set.

- Users should be able to enable a trailing stop (pips based) on each trade individually. This should be ac-vated when the price moves in the trade direc-on with a certain pips value and then follow the price using a user defined trailing step.

- Stop loss should be automa-cally calculated and entered using EMA and the user defined THRESOLD. Example: for the long posi-on described above (opened at 33211) should have a Stop loss at EMA – THRESHOLD (33200-11=33189). Example for the short posi-on described above, opened at 33189 (33200-11) this posi-on should have a stop loss set at EMA + THRESHOLD (33200+11=33211)

c. Trade Closure:

When a short condi-on is met, all open long posi-ons should be closed immediately before opening short posi-ons, irrespec-ve of their profit or loss posi-on. The same applies when a long condi-on is met, where all short trades are closed before opening long trades.

d. Control Measures:

The maximum number of trades that can be opened at any given -me is three (user defined input).

The EA should also have a user defined trading interval (i.e. ability to define the trading interval in such a way that the EA trades only Mon-Fri between 09:00 CET to 22:00 CET)

As a last request I would like to add the following:

I want the EA to count the trades made and distinguish them into winning and losing trades. This can be done (in my opinion) in two ways:
Variant 1: to keep track of the trades that reached the TP
Variant 2: to remember the trades that were closed at TP or manually on profit.

*in my opinion the best option is to calculate/remember the trades that were closed on profit (any value greater than 0)

Here we want to have a function where we define a number (greater than 0).
example: if we select 1 it means that the EA will work until we have a trade closed on profit (taking into account lost trades).

concrete example: we have 3 consecutive trades with SL, followed by 4 consecutive trades with TP/closed on profit. This is the case where the function we discussed above is activated, i.e. selecting variable 1.

if we have 3 consecutive trades closed on SL followed by 5 consecutive trades closed on TP then the result is 2.

And so on...
This is the functionality of this variable.

I gave the example of consecutive trades, but they may not be consecutive, in which case this rule works until it is fulfilled.

This means that the EA in some cases may work for 1 hour or 2 hours or 30 min or even the whole day. The EA will work until it fulfils this condition: the essential condition is that the number of trades closed at TP/manual on profit is higher than the number of trades closed at SL.
When the rule has been fulfilled the whole EA must stop executing any trades, then restart the second/third day (in case of weekends) under the same conditions.

Thanks,


Con risposta

1
Sviluppatore 1
Valutazioni
(274)
Progetti
403
28%
Arbitraggio
40
40% / 50%
In ritardo
1
0%
Gratuito
2
Sviluppatore 2
Valutazioni
(104)
Progetti
127
24%
Arbitraggio
23
30% / 52%
In ritardo
8
6%
Gratuito
3
Sviluppatore 3
Valutazioni
(156)
Progetti
200
60%
Arbitraggio
10
80% / 0%
In ritardo
0
In elaborazione
Pubblicati: 1 codice
4
Sviluppatore 4
Valutazioni
(5)
Progetti
4
50%
Arbitraggio
4
0% / 75%
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(37)
Progetti
59
27%
Arbitraggio
26
19% / 54%
In ritardo
10
17%
In elaborazione
Pubblicati: 1 codice
6
Sviluppatore 6
Valutazioni
(72)
Progetti
80
10%
Arbitraggio
38
8% / 58%
In ritardo
6
8%
Gratuito
7
Sviluppatore 7
Valutazioni
(314)
Progetti
562
35%
Arbitraggio
81
31% / 44%
In ritardo
205
36%
In elaborazione
8
Sviluppatore 8
Valutazioni
(2668)
Progetti
3400
68%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
In elaborazione
Pubblicati: 1 codice
9
Sviluppatore 9
Valutazioni
(453)
Progetti
480
70%
Arbitraggio
6
67% / 0%
In ritardo
2
0%
Gratuito
Ordini simili
We have a professionally built MT5 security and monitoring module with pre-written code. We need an experienced MQL5 developer to REVIEW, FIX, and CERTIFY the SENTINEL MODULE. YOU ARE NOT BUILDING FROM SCRATCH. You are reviewing 6 existing .mqh files. WHAT YOU WILL DO: 1. Review 6 pre-written Sentinel module files 2. Verify drawdown calculations (3% daily / 7% total) 3. Fix DD warning spam bug (fires every tick —
We have a professionally built MT5 Expert Advisor with pre-written code ready. We need an experienced MQL5 developer to REVIEW, FIX, and CERTIFY the ENGINE MODULE. YOU ARE NOT BUILDING FROM SCRATCH. You are reviewing 8 existing .mqh files. WHAT YOU WILL DO: 1. Review 8 pre-written .mqh engine files 2. Fix known shutdown bug: "invalid pointer access in AlmudoEngine.mqh (60,10)" 3. Achieve ZERO warnings in MT5 Build
I do not have any startegy, and I want you to create one with your experience, you will provide me EA along with source code. you may use Grid or any logic, but the EA should keep generating profit during Newyourk and Asian session
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation
Hi,I am looking for an experienced developer specializing in the creation of Expert Advisors (EAs) for trading platforms. I would like to commission the development of an EA based on the open-source LuxAlgo code. The entry strategy will be based, among other things, on Martingale and Grid trading concepts. A detailed specification covering trade management, position sizing, and risk management rules will be provided
Hello, I need a MetaTrader 5 Expert Advisor (EA) for XAUUSD. Place Buy Stop orders above current price every 0.300 distance Place Sell Stop orders below current price every 0.300 distance 10 levels up and 10 levels down Lot size fixed 0.01 No TP/SL required, manual close only No duplicate orders on restart Please confirm if you can build this and your final price and delivery time
I have a EA for XAUUSD which works awesome in sideways and trending market as well, capital requirement is only 2000USd and weekly profit is around 1500-2000 USD. I am using this bot from 3 months and getting continuous good result
Dear All i am working on strategy in forex market specifically in xausud and i just want someone to make it automatic execution mode as per my requirements with propee risk management my broker is exness and i have an account in MT5
✅ MT4 EA Developer Checklist (For Your Ladder EA) 1️⃣ Indicator Integration EA reads signals from provided custom indicator (.ex4 or .mq4) Detects “Buy Next” / “Sell Next” signals on current candle Works with arrow-based or buffer-based signals 2️⃣ Next Candle Execution EA does not trade on the candle where the signal appears Orders placed only at first tick of the next candle Timeframes supported: M1, M5, M15
Hello, i need expert developer that have been develop so many profitable AI bots that work for mt5 and ctrader autonomously if you know you can easily execute this requirement bid for it. NOTE:- YOU MUST COME WITH SAMPLE FOR THE 2 TRADING PLATFORM. While i take a look at your profile and reach out to you thanks

Informazioni sul progetto

Budget
31 - 51 USD
Scadenze
da 1 a 3 giorno(i)