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
評価
(272)
プロジェクト
401
27%
仲裁
39
41% / 49%
期限切れ
1
0%
仕事中
2
開発者 2
評価
(96)
プロジェクト
117
23%
仲裁
21
29% / 52%
期限切れ
8
7%
仕事中
3
開発者 3
評価
(154)
プロジェクト
193
58%
仲裁
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
評価
(309)
プロジェクト
556
35%
仲裁
78
32% / 42%
期限切れ
202
36%
仕事中
8
開発者 8
評価
(2644)
プロジェクト
3360
68%
仲裁
77
48% / 14%
期限切れ
342
10%
仕事中
パブリッシュした人: 1 code
9
開発者 9
評価
(450)
プロジェクト
477
69%
仲裁
6
67% / 0%
期限切れ
2
0%
類似した注文
Mt4 indicator 50+ USD
I was on co pilot and they said they can build this harmonic prz indicator for me but i was not able to build it. Can anyone help, I have the indicators in ex4 file but not the mq4 files. I want to add these indicators and you can turn it into a complete full indicator like the attached photo I sent and also if you can make it into an automated EA, that would be awesome
I want to fix my BOT that stopped working but I do not have the code file. I want to fix my BOT that stopped working but I do not have the code file. I want to fix my BOT that stopped working but I do not have the code file. I want to fix my BOT that stopped working but I do not have the code file. Verify EA Status The green "Automated trading enabled" confirms MT5 settings are correct. "Squared" means the EA hit a
need a high-quality Expert Advisor for MT5 based on the RSI strategy. ​Key Features: ​News Filter: The EA must stop trading 30 minutes before and after High-Impact news. ​Risk Management: > - Customizable Lot size (Default: 0.05). ​Hard Stop Loss fixed at 10 USD. ​Trailing Stop feature included. ​Strategy: RSI (30/70) entries for Gold and Forex. ​Please provide a professional and clean MQL5 code
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
Good morning, I have a Gap Fill strategy and a 10 min opening range break strategy that trade on RTH ES Futures data I have been working on that seem to have some bugs while live trading. They have both been coded by ChatGPT so I would like someone that know how to properly code a strategy to go over each to proof and debug them. Would you be able to do this and could you possibly add some context or features that
I am looking for an experienced MQL5 developer to build a fully automated trading bot (Expert Advisor) for MetaTrader 5 . The bot will focus on trend-following scalping and must be designed to trade XAUUSD and BTC on the M1 timeframe . The objective is to create a stable and efficient EA that can open multiple trades per day while managing risk using proper stop-loss, take-profit, and trailing stop mechanisms
I am looking for an experienced MT4 (MQL4) developer to build a Harmonic Pattern Indicator with a PRZ (Potential Reversal Zone) detection system , similar to advanced harmonic scanners. Kindly apply if you can handle this project. Note: I don't want unprofessional developer
hello, i want a convertion of this trading view indicator FVG (NEPHEW_SAM_) to mql5 to be add later to an expert advisor. i want to access this data, gap data printed on current timeframe and multi timeframe that i choose (current, timeF1, timeF2, timeF3, timeF4)(gap time, gap value, top gap value, low gap value, gap type bull / bear, gap type iFVG or FVG). a function that check if the price is checking the gap at
I have developed a ready-made quantitative trading system for MetaTrader 5. The system uses an ensemble of machine learning models (XGBoost, LightGBM, Random Forest) combined with a market regime filter based on a Hidden Markov Model. Core features: - Automated trading for XAUUSD - Risk management and dynamic position sizing - Market regime detection (trend / range) - Volatility filter - Telegram monitoring interface
Hello, I am looking for an experienced MT5 (MetaTrader 5) developer to create a simple and reliable Forex trading EA. Broker: Skyriss Platform: MT5 Requirements: • EA should work only on Forex pairs (EURUSD, GBPUSD, USDJPY, USDCHF) • Around 1–2 trades per day is enough • Proper risk management with Stop Loss (SL) and Take Profit (TP) • Prefer low-risk trading with 0.01–0.03 lot depending on balance • No martingale or

プロジェクト情報

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