Develop EMA Threshold

指定

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,


応答済み

1
開発者 1
評価
(274)
プロジェクト
403
28%
仲裁
40
40% / 50%
期限切れ
1
0%
2
開発者 2
評価
(104)
プロジェクト
125
24%
仲裁
23
26% / 52%
期限切れ
8
6%
仕事中
3
開発者 3
評価
(156)
プロジェクト
197
59%
仲裁
10
80% / 0%
期限切れ
0
仕事中
パブリッシュした人: 1 code
4
開発者 4
評価
(5)
プロジェクト
4
50%
仲裁
4
0% / 75%
期限切れ
0
5
開発者 5
評価
(37)
プロジェクト
59
27%
仲裁
26
19% / 54%
期限切れ
10
17%
仕事中
パブリッシュした人: 1 code
6
開発者 6
評価
(72)
プロジェクト
80
10%
仲裁
38
8% / 58%
期限切れ
6
8%
7
開発者 7
評価
(313)
プロジェクト
559
35%
仲裁
80
31% / 44%
期限切れ
203
36%
8
開発者 8
評価
(2663)
プロジェクト
3386
68%
仲裁
77
48% / 14%
期限切れ
342
10%
パブリッシュした人: 1 code
9
開発者 9
評価
(452)
プロジェクト
478
69%
仲裁
6
67% / 0%
期限切れ
2
0%
類似した注文
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
Junior EA 30+ USD
1. EA for MT5, hedging allowed. 2. Entry: 50 EMA crosses 200 EMA on H1. Buy on bullish cross, sell on bearish. 3. SL: 100 pips, TP: 200 pips. No trailing stop. 4. Lot size: 0.01 fixed. Max 3 trades at once. 5. Trade only 08:00-18:00 GMT. No trades if spread > 20 points. 6. Inputs: EMA periods, SL, TP, lot size, start/end time
EliBoT 39+ USD
//+------------------------------------------------------------------+ //| TrendPullbackEA.mq5 | //| Simple Trend + Pullback Strategy EA (Beginner Friendly) | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; //------------------------------------------------------------------- // INPUT PARAMETERS
I need an experienced MQL5 developer to build a semi automated trading signal system for Gold (XAUUSD) on MT5. The system is NOT a martingale or grid EA. The goal is to build a clean rule based signal engine that detects high probability setups based on predefined strategy rules and sends trading alerts with optional pending order logic. Main Requirements: 1. Signal Generation - Buy and Sell signals - Buy Limit - Buy
Mambo 30+ USD
I need a bot that can trade weltrade synthetic indices that can be consistently making profits if you have one for deriv its also fine a bot that executes and closes trades automat Will be ideal
MT5 Expert Advisor Specification: Asian Liquidity Sweep & M5 FVG Entry ​Project Overview ​Automated Expert Advisor for EUR/USD on MT5. The strategy maps structural liquidity (Fractal Swings) for entry triggers but targets absolute session extremes for Take Profit. It enters on the first opposite M5 Fair Value Gap (FVG) and features a dynamic, user-controlled risk engine. ​1. Timezone & News Filter Requirements ​The
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
OBJETIVO Criar um Expert Advisor MT5 profissional para XAUUSD focado em: Consistência Baixo drawdown Scalping profissional Proteção da conta Crescimento sustentável Compatibilidade com conta micro e prop firms NÃO utilizar: Martingale Grid Hedge agressivo Recovery system Multiplicação de lotes após perda --- ATIVO XAUUSD apenas --- TIMEFRAMES Timeframe principal M5 Confirmação tendência M15 Confirmação macro opcional
I need a very advanced and intelligent MT5 Expert Advisor coded in MQL5 for XAUUSD, based on ICT + CRT + Smart Money Concepts. The goal is not a simple robot, but a professional decision-making system with strong filters, risk control, and high-quality trade selection. The EA must include: 1. Multi-Timeframe Analysis - D1 / H4 / H1 bias - M15 / M5 entry confirmation - Bullish or bearish market structure - BOS, CHoCH

プロジェクト情報

予算
31 - 51 USD
締め切り
最低 1 最高 3 日