Tough Boilerplate EA

İş tamamlandı

Tamamlanma süresi: 25 gün

İş Gereklilikleri

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.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(73)
Projeler
257
53%
Arabuluculuk
16
50% / 38%
Süresi dolmuş
83
32%
Serbest
2
Geliştirici 2
Derecelendirme
(59)
Projeler
182
55%
Arabuluculuk
31
45% / 16%
Süresi dolmuş
103
57%
Serbest
3
Geliştirici 3
Derecelendirme
(187)
Projeler
367
56%
Arabuluculuk
45
22% / 56%
Süresi dolmuş
188
51%
Serbest
Yayınlandı: 1 makale, 6 kod
4
Geliştirici 4
Derecelendirme
(24)
Projeler
36
39%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
17
47%
Serbest
5
Geliştirici 5
Derecelendirme
(5)
Projeler
31
87%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
12
39%
Serbest
Yayınlandı: 24 kod
Benzer siparişler
Trade, buy and sell stocks for me. A bot to help create my android app and buying and A bot to help create my android app and buying and A bot to help create my android app and buying and A bot to help create my android app and buying and A bot to help create my android app and buying and A bot to help create my android app and buying and A bot to help create my android app and buying and A bot to help create my
Ca$h robot 32+ USD
A robot that can learn from errors read and decide and research companies at the time of using multiple resources in the web all.sites Yahoo Google forbes the actual.business or financial web domains able t sell buy trade currency stocks crypto on multiple platforms allowed in here and always generate profits even small amounts daily hourly on top of able t mine coins as many as possible mining for generating profits
Hi, I require a robot that can read this non MT4 object . Trade opened when the object shows ' Look to sell / Buy'. The closing logic is based on the crossing of another custom indicator . Stop loss based on Fib levels. Take profit and partial take profit also required using these levels. A more detailed breakdown of the logic to be provided. The robot/EA is to be created and installed on MT4 on my VPS
Hola comunidad, Estoy buscando un desarrollador que tenga el archivo de instalación de MetaTrader 4 build 1443 o que pueda ayudarme a volver a esa versión. Tengo un robot (EA) que funcionaba perfectamente en build 1443, pero mi plataforma se actualizó automáticamente a build 1470 y ahora el robot ya no funciona correctamente. Necesito alguien que: • Tenga el instalador de MT4 build 1443, o • Sepa cómo reinstalar esa
have the Beatrix Inventor Expert Advisor (EA) that was profitable in the past but has been losing money recently. I need an experienced EA developer/optimizer to study the trade history (especially Stop Loss hits, drawdown periods, SL/TP behavior, win/loss ratio, etc.) and recommend + implement specific tweaks so it becomes consistently profitable again. Your job: 1. Deep analysis of why the EA is no longer
Project: Ready MT5 Multi-Symbol Expert Advisor (No Grid/Martingale) Platform: MetaTrader 5 (MQL5) Type: Fully automated Expert Advisor (EA) Strict mandatory requirements: - Absolutely NO grid trading in any form - Absolutely NO martingale (no lot multiplication on losses, no averaging, no anti-martingale if risky) - No other high-risk money management (e.g., no unnecessary hedging or aggressive entries) - At least 1
want to develop a trading robot (EA) for MetaTrader 5 based on 10 specific rules. The robot should include a professional interface to control all settings, including: Fixed lot size (0.50), Stop Loss (10 USD), RSI indicators for entry/exit, News filter, Trailing stop, and daily profit targets. I have the full logic ready to discuss with the developer. Please ensure high-quality code and testing
Hi everyone! 👋 I’m searching for an experienced MQL4 / MQL5 programmer who is not focused only on big money , but is interested in working on very interesting trading projects that have the potential to conquer the market 📈🔥 💡 I have several unique EA ideas and trading tools in development. ⚡ I’m looking for someone who is available , communicates well , and can deliver projects relatively quickly . 🤝 I prefer
The improvements requested focus on: Faster range setup Automatic Fibonacci target calculation based on range size Cleaner and smaller control panel More visual workflow directly from the chart 1. Quick Range Setup (Automatic Range Creation) Currently, when clicking Add Range , the values are initialized as 0.0 . Instead, the EA should automatically create a default range around the current market price. Desired
We are seeking an experienced MQL5 developer to design and develop a high-performance Expert Advisor (EA) for trading Gold (XAUUSD) on MetaTrader 5 . This project is intended for large-scale capital deployment , with an available trading capital exceeding $8,000,000 USD . As such, we are looking for a developer capable of building a robust, scalable, and risk-controlled algorithmic trading system suitable for

Proje bilgisi

Bütçe
200 - 1000 USD
Son teslim tarihi
from 7 to 30 gün