Expert Advisor based on my trend reversal system

工作已完成

执行时间37 天

指定

I am an individual investor.  I have no ties to any trading organization.  My intent is to use this Expert System for my own trading exclusively. The code for this project and the specification will be my property exclusively. I attempted to write the code myself but decided to hire an experienced programmer since the system will be automatically trading my money.

This system was developed on the Think-or-Swim platform.  The goal of this project is to convert it to run as a fully automated trading bot on MetaTrader 5 using the MetaTrader VPS.  The time frames used will range from 1 minute to 1 day.  The delivered code must be ready to run back testing and be ready to load onto a remote server for actual trading.  The code should be commented and documented to allow me to understand enough to make minor changes in the future.  This system will be initially used on FOREX pairs. 

The system will have a manual input to trade either Long, Short, or Both.  I anticipate trading in the “Both” condition.  Having the ability to choose Long and Short only will help me analyze and understand the system.  In “Both” mode, the system will always be in the market.  As soon as a long position is closed, a short one is opened and visa-versa.

 

The algorithm starts with the oldest data (left hand side of chart).

1.     Define Trend –

a.     if two consecutive bars have higher high and higher low – Up Trend

b.     If two consecutive bars have lower lows and lower highs – Down Trend

 

2.     A Trend remains in place until a signal to buy or sell is generated which reverses the trend,

 

3.     Buy Signal

a.     A Down Trend must be in effect

b.     The “Long” or “Both” condition must be active.

c.      The current high is >= the lowest low of the current down trend plus the sum of:

                                                    i.          Average True Range x fixed multiplier

                                                   ii.          Fixed number defined by user

                                                 iii.          Percentage of current bar

 

4.     Sell Signal

a.     An Up Trend must be in effect

b.     The current high is <= the highest high of the current down trend minus the sum of:

                                                    i.          Average True Range x fixed multiplier

                                                   ii.          Fixed number

                                                 iii.          Percentage of current bar

 

 

5.     Stop Loss

In theory, the Stop-Loss will never be hit.  It is there in case of some sort of catastrophic failure; possibly a failure of a server or a data communication link.  I want the stop-loss to reside on the market makers system or the markets ECN to minimize steps in the process which could fail.

·       Long-Stop  is placed at a user defined number of PIPs below the low which was used to trigger the current long position.

·       Short-Stop is placed at a user defined number of PIPs above the high which was used to trigger the current short position.

Note: I am working on a more sophisticated Stop-Loss signal using volatility.  When I am happy with my work, I intend to contact you to integrate it.

 

 

6.     Order Execution

a.     As soon as a bar is closed, it is analyzed using the rules described above. If an order is triggered, several steps must happen immediately:

                                                    i.          Cancel the Stop-Loss

                                                   ii.          Close the current order

                                                 iii.          Initiate the new position

                                                 iv.          Initiate the new stop-loss

 

 

User Interface

            User selects trade types:

·       Long Only

·       Short Only

·       Long and Short

 

User selects algorithm parameters:

·       Number of contracts to be traded

·       Fixed Percentage

·       ATR Length

·       ATR Multiplier  

·       Stop Loss Pips

 

Concerns:

1.     By analyzing the data left to right and using small time frames such as 1 minute bar data, eventually the amount of data will become onerous.  When I am back testing, I want to have as much data as possible.  When I am doing automatic trading using real money, I want to use enough data to give me good results but not so much as to burden the CPU.

 

2.     I do not understand the process MLQ5 uses to ensure no data is missed or if any checks should be included in the code to address this situation.

 

 

 


反馈

1
开发者 1
等级
(12)
项目
14
14%
仲裁
1
0% / 100%
逾期
3
21%
空闲
2
开发者 2
等级
(45)
项目
58
33%
仲裁
12
42% / 42%
逾期
7
12%
空闲
3
开发者 3
等级
(144)
项目
186
41%
仲裁
24
58% / 21%
逾期
13
7%
空闲
4
开发者 4
等级
(9)
项目
8
0%
仲裁
9
0% / 67%
逾期
3
38%
空闲
5
开发者 5
等级
(69)
项目
146
34%
仲裁
13
8% / 62%
逾期
26
18%
空闲
发布者: 6 代码
6
开发者 6
等级
(322)
项目
499
67%
仲裁
5
40% / 0%
逾期
4
1%
空闲
发布者: 8 代码
7
开发者 7
等级
(70)
项目
91
25%
仲裁
26
19% / 54%
逾期
25
27%
空闲
相似订单
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
Hello! I am looking for an experienced, top-rated developer to build highly profitable strategy software that provides accurate signals for both long-term and short-term trades. The software must analyse the market correctly, indicating when to enter and where to set Take Profit (TP) and Stop Loss (SL) levels. It must deliver accurate results across all markets, including Forex, cryptocurrencies, metals, indices, and
I want EA would work like a bot. I will share the box size on daily market for XAUUSD AND BTC . The bot should apply the same box size on charts and when super trend signals buy it should buy and when sell it should sell with quantity which will shared like 0.01 or 0.10 Secondly when the trade is executed it should carry till trailing SL as for example If supertrend gives Buy signal Entry done at 100 for example and
I recently purchased an off the shelf 'multiple positions executor' EA in order to open multiple trades simultaneously using MT5 however the orders would fail. It seems they would fail because the EA uses PIPs and the broker I use with MT5 uses Points. The EA was sending an order with SL/TP values that violated the broker’s symbol rules. I need an EA developed which Opens multiple market orders simultaneously
For only developer who understand Chaos/ Profiunity trading system by Bill WIlliams, Create The Profitunity System Trading based on Bill Williams Chaos theory, Trade based on Trend Affirmation in Daily, entry in H4, using Williams Fractal, Williams Alligator, Awesome Oscillator, Accelerator Oscillator, Market Facilitation Index. Balance Line, entry on Reversal, add on while market show continuation sign. Please quote
Hi, I am looking for someone who has already developed a high-performance Gold EA that can outperform the one shown in my screenshot. If you have such an EA, please apply for this job. Please describe how the EA works (for example, whether it uses a grid system) and provide backtest results along with the set files. If the EA meets my expectations, you can make the necessary adjustments and I will use it as my own
Requirements Specification examples Here is an example of Requirements Specification for the development of the MACD Sample Expert Advisor, which is available in the MetaTrader 5 standard package. 1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average
I am looking for a developer to create a trading robot (EA) to trade XAUUSD, NAS100 and SPX500. The rules are as follows: Buy when the 2 EMA crosses over the 10 EMA and price closes over the 50 ema. Sell when the 2 EMAs cross below the 10 EMAs and the price closes below the 50 EMAs. The take profit and stop loss can be adjusted by me selecting from a drop-down box. I am open to other parameters to optimize
Description I need an very low latency MT5 Expert Advisor (EA) developed in MQL5 to automate TradingView alerts into MT5 trades for alerts set up done on trading view. The EA must work on both DEMO and LIVE accounts whichever will be attached to MT5 (XM, IC Markets and similar MT5 brokers) and be suitable for fast 1-minute timeframe scalping.End to End solution. Functional Requirements 1. TradingView Integration

项目信息

预算
50+ USD