Tough Boilerplate EA

Работа завершена

Время выполнения 25 дней

Техническое задание

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.

Откликнулись

1
Разработчик 1
Оценка
(71)
Проекты
254
53%
Арбитраж
16
50% / 38%
Просрочено
83
33%
Свободен
2
Разработчик 2
Оценка
(59)
Проекты
182
55%
Арбитраж
31
45% / 16%
Просрочено
103
57%
Свободен
3
Разработчик 3
Оценка
(187)
Проекты
367
56%
Арбитраж
45
22% / 56%
Просрочено
188
51%
Свободен
4
Разработчик 4
Оценка
(29)
Проекты
36
39%
Арбитраж
1
0% / 0%
Просрочено
17
47%
Свободен
5
Разработчик 5
Оценка
(5)
Проекты
31
87%
Арбитраж
1
0% / 100%
Просрочено
12
39%
Свободен
Похожие заказы
I use the translator I hope to make myself understood. I'm looking for a cyclical indicator. mt5. I attach videos to understand how it works. to be inserted at any point of the graph. It is possible to change the color and thickness of the line
This EA must have the following functions together: BE: place BE when the price reach a certain gain in PIPS and you can choose the offset too, so, for example it activates after 10 pips with 1 pip of offset so you can have profit with BE too Auto SL and TP Can manage the trades made by phone when MT5 is open in the PC or VPS Trailing stop (step by step): I can decide at what number of pips the trailing stop get
This is a strategy based on crossing two trend indicators on the second timeframe (1s, for example). We work not only with the market but with the limit orders as well (robot must "read" an order book). Read the whole instruction please for more details. Speak Russian, English
Martingale EA for MT5 30 - 100 USD
Criteria: Only one trade at a time. Cannot open another trade if one is running Trade on EURUSD only, once job is completed I will be happy to schedule more for other pairs You choose entry strategy and criteria win rate must be above 50% in long term backtest of EURUSD Every trade has got TP and SL Trades to last about a day, few trades a week, at least 10 pips gain per trade, so that it can be launched on normal
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market
I want grate robot for making profits that know when to start a good trade and close a trade and must be active all time to avoid lost of money
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are

Информация о проекте

Бюджет
200 - 1000 USD
Исполнителю
180 - 900 USD
Сроки выполнения
от 7 до 30 дн.