Tough Boilerplate EA

Experts Bibliotecas

Trabalho concluído

Tempo de execução 25 dias

Termos de Referência

This EA will need to run on Forex.com and on Oanda.com on MT4 platforms.

The specification is tough. Extra consideration will be given to any Developer who identifies flaws or meaningful gaps in my specification prior to selection. I do need this EA running. IF you can code the business functions initially and follow up with 90% of the housekeeping but not do all the housekeeping let me know that and quote me a price for each milestone you define. Be sure to clearly define excluded features. A minimum would be the business math and the housekeeping to limit trading hours, exit all trades for the weekend and avoid reentering trades too early.

Intellectual Property Issues:

I own the copyright exclusively.  You can use the EA for your own trading with your own parameters.

You deliver Source Code with my specification comments adjacent to each functional unit.

You sign a NDA and do not publish my project or any unique portions of it.

You may build upon the project for your own use. However, if you do so, You provide me with source code including all revisions and appropriate comments each time you put a revised version in use.  

You own your intellectual revisions, providing me only a usage right, if I do not pay you for developing them.

Housekeeping and Risk Management features include:

Magic number = 21

Written for 5 digit prices

Eligibility to open a position or not, and price at which the position will be opened is calculated one time only at the beginning of each new bar.

Order parameters are stored in an array and checked against current price on a per tick basis.  

Displayed on the chart in the lower left corner is text in RED listing active Sell trigger price, or text in GREEN listing any active Buy Trigger price.  Suitable GREEN text would read “BarsSince = XX , Buy 3.27 Lots @ 1.27424, SL = 1.27156, TP = 1.28916”. If neither trigger is enabled the text is YELLOW and reads “Trade Entry Disabled by Basic Inspections”,  “Trade Entry Disabled because BarsSince = XX” or “Trade Entry Disabled by Trading Hours” .  On the next line below is a count of how many times the EA checked prices against the array during the previous bar text to read “XXXX cycles last bar” where XXXX is the count of price reviews the value is zero if triggering was disabled.

If the account currently has an opposing open position regardless of magic number of the opposing position, and the triggering event price is approached within one pip, the EA will close the opposing position.

If the account is currently in a correlated open position, any new position will be leveraged such that total leverage from the new position plus the existing position will equal the calculated leverage value. However, no triggering event will cause a correlated position to be reduced if it already exceeded this EA’s leverage allocation.

New positions are opened with Stop loss and Take profit in place. Values are calculated based on a percentage of opening price. “TakeProfit” initialized at 1.2% and “StopLoss” initialized at 0.3%.

Maximum position per order is set by external variable “MAXLOTSperORDER” Larger positions are entered by placing multiple orders without distressing the other logic limiting number of positions to be entered within a look back period.

“FirstMinuteOfWeek”, “LastMinuteOfWeek”, “FirstMinuteOfDay”, and “LastMinuteOfDay” to open new positions are set by external variable. Settings of “FirstMinuteOfWeek” at 1321 corresponds to Sunday 10:00 PM , “LastMinuteOfWeek” at 7801 corresponds to Friday 10:00 AM, “FirstMinuteOfDay” at 1141 corresponds to 7:00 PM Daily, and “LastMinuteOfDay” at 361 corresponds to 6:00 AM Daily. In the illustrated case trades would be enabled from 7:00 PM to 6:00 AM Daily, Open positions would be managed during off hours, Midnight would not confuse the operational hours.  

All times are chart time.

“CloseAllMinuteOfWeek” is set by external variable a zero value disables this feature. In the case where “CloseAllMinuteOfWeek” is set at 8091 all trades would close at 2:50 PM Friday.

IsTradeAllowed or whatever appropriate term is checked to avoid a race condition before placing an order.

Entry and Exit Orders are tracked for responses and managed if glitches occur.

When a position is opened adjusted (other than trailing stop adjustments), or closed, a screenshot of the chart the EA is running in is captured and emailed to me along with trade details, Magic number, price, slippage, account number, Lot size, SL, TP.

Risk Management:

Before opening a position Spread is verified to be < a maximum allowable spread initialized at 18 micro pips. Spread is not checked to enable closing positions.

Trade activity initiated on a tick basis with slippage set to 2 pips using market orders.

A double variable designated “Leverage” initialized to 5 that sets lot size such that the resultant position will have a value of roughly “Leverage” * Net Account Value . Position size is rounded up to the nearest micro lot.

An integer variable designated “BarsSince” initialized to 20 that defines a look back period such that the trigger that enables opening a new trade will not be active if conditions to enter a trade have occurred within the “BarsSince” look back period.

Logic to eliminate the possibility that a position will be reopened if the initial position from a triggering event is stopped out.

Business Math:

The following Logic is all written in Serial with && Logic for each line. I will be able to comment out any line without distressing the remaining code.

Only BUY Logic is shown. I do expect you to write the mirror of this logic into SELL parameters and include that logic to provide a product that trades symmetrically in long and short patterns.

Each line of logic is written to function in any timeframe of chart with the logic operating in the one minute environment unless noted otherwise. For example, “BarsSince” initialized to 20 running in a five minute chart will allow a trade on the fourth or fifth  bar after a previous trigger or as many as three trades in a single one hour bar. If I change the Code to reflect 5 minute bars,  “BarsSince” initialized to 20 running in a one minute chart will allow a trade on the one hundredth or 101st bar after a previous trigger. My inadvertently changing the chart timeframe should not change or disable the EA.

All inspections other than the actual trigger price discovery are calculated on each new bar only one time. Price is checked against an array if a target is set and trade at target price is enabled.

Basic inspections for a LONG ENRY include the following, as they relate to the close of the previous bar:

BarsSince is >= the specified value. &&

A 20 bar SMA was > a 50 Bar SMA OR, a 50 bar SMA was 1.001 * a 50 bar SMA 50 bars ago. &&

An 80 bar SMA in one hour bars was > 1.01 * the same SMA was 100 hours prior. &&

Bid of the low was > A 20 bar SMA. &&

A 20 bar Standard Deviation was >1.5*a 1440 bar Standard Deviation. &&

Trading Hours are enabled.

Calculation of triggering event is done ONE TIME at the beginning of the current bar. Trigger calculation lines may be commented out to leave only one line active, a final trigger line that is always true may be employed to avoid logic errors from use of && in previous lines. Calculate what the collision point will be for moving targets only one time per bar. If open long triggers calculate more than one trigger price only the highest calculated trigger price is used.

OPEN LONG TRIGGER Events include the following:

BID is <= the lower band of a 50 period 2 deviation Bollinger Band &&

Bid is <= a 100 period WMA &&

Bid is <= 0.99 * the high of the previous 1440 bars &&

Bid is >=100 pips below the high of the previous 1440 bars &&

Spread is <= MAXSPREAD &&

No prior opening order has been sent this bar.

Close LONG logic to manage open trades otherwise awaiting dumb exits is shown. You will include appropriate CLOSE SHORT logic SMART EXITS are calculated as follows: 

Calculation of exit triggering event is done ONE TIME at the beginning of the current bar. Trigger calculation lines may be commented out to leave only one line active, a final trigger line that is always true may be employed to avoid logic errors from use of && in previous lines. Calculate what the collision point will be for moving targets only one time per bar.

Calculate what a OPEN SHORT trigger would be and exit one pip before the OPEN SHORT trigger is reached &&

Trailing Stop &&

Stop moved to one pip profit XX minutes into trade OR after price advanced XX Pips or 0.XX percent.

Price is < a Specified SMA &&

High of prior 3 ONE HOUR bars has averaged more than Top Band of a 50 hour 2 deviation Bollinger Band set exit price at >= high of past three bars. &&

Bid >= a 50 hour SMA + the maximum number of pips the Bid has been above that SMA within the last 60 bars. &&

2 > 1 OR

Trading Hours force exit.

Respondido

1
Desenvolvedor 1
Classificação
(73)
Projetos
257
53%
Arbitragem
16
50% / 38%
Expirado
83
32%
Livre
2
Desenvolvedor 2
Classificação
(59)
Projetos
182
55%
Arbitragem
31
45% / 16%
Expirado
103
57%
Livre
3
Desenvolvedor 3
Classificação
(187)
Projetos
367
56%
Arbitragem
45
22% / 56%
Expirado
188
51%
Livre
Publicou: 1 artigo, 6 códigos
4
Desenvolvedor 4
Classificação
(24)
Projetos
36
39%
Arbitragem
1
0% / 0%
Expirado
17
47%
Livre
5
Desenvolvedor 5
Classificação
(5)
Projetos
31
87%
Arbitragem
1
0% / 100%
Expirado
12
39%
Livre
Publicou: 24 códigos
Pedidos semelhantes
Bonjour , je cherche quelqu’un capable de crée un bot sur le gold type HFT , ouverture de plusieurs positions en quelques secondes , robot agressif , je cherche un robot qui marche sur du réel , qui a déjà était tester avec des résultats, pas basé que sur des backtest
Hello, I'm looking for an experienced MQL5 developer to build a clean and reliable Opening Range Breakout Expert Advisor for MetaTrader 5. I have previously experienced problems with EAs placing duplicate pending orders after terminal or VPS restarts. My priority is reliable execution, sensible risk management and an EA that I can confidently test and maintain. 1. Opening Range Strategy Platform: MetaTrader 5
Hi everyone. I came across a bot named ( Super Scalping EA Gold Tick Scalper ) in the free bots section on MQL5, and I’ve seen its trading results over a two-year period. I would like one of you to create a similar bot for gold trading that achieves the same (or very similar) results, but within a shorter timeframe—specifically 6 to 8 months. I also need the bot to be suitable for both small accounts ($30–$50) and
i have existing EA but its decrypted i dont have its source code , i want you to decrypt the EA and give me the original source code of it
Project: Custom MT5 Day Trading Expert Advisor I need a custom automated trading robot (EA) for MetaTrader 5, developed in MQL5. Markets: - Gold (XAUUSD) - Selected Forex pairs Trading style: Automated day trading. All positions should be closed according to predefined strategy rules and before the end of the selected trading session. Strategy: The developer should propose a clear trading strategy, explain its rules
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
1. Overview Build an MQL5 Expert Advisor for MetaTrader 5 that trades XAUUSD (Gold) as a scalper, using Heiken Ashi candles and a 50 EMA for entries. 2. Platform and symbol MetaTrader 5, Expert Advisor (.mq5 and compiled .ex5) Symbol: XAUUSD (must work with broker suffixes, e.g. XAUUSDm) Default timeframe: M5 (configurable; M1 to M15 should work) 3. Indicators Heiken Ashi candles, calculated inside the EA (no
I I am looking for an experienced MQL5 developer to build a robust, fully automated Expert Advisor (EA) for MetaTrader 5 based on a moving average pullback strategy. The EA must be optimized for multi-symbol and multi-timeframe processing, capable of running on a single chart while scanning and trading a user-defined list of currency pairs. 1. Core Strategy Logic * Trend Zone: The strategy utilizes the zone between
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester

Informações sobre o projeto

Orçamento
200 - 1000 USD
Prazo
de 7 para 30 dias