Expert Advisor based on my trend reversal system

Job finished

Execution time 37 days

Specification

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.

 

 

 


Responded

1
Developer 1
Rating
(12)
Projects
14
14%
Arbitration
1
0% / 100%
Overdue
3
21%
Free
2
Developer 2
Rating
(45)
Projects
58
33%
Arbitration
12
42% / 42%
Overdue
7
12%
Free
3
Developer 3
Rating
(120)
Projects
154
43%
Arbitration
20
60% / 20%
Overdue
7
5%
Free
4
Developer 4
Rating
(9)
Projects
8
0%
Arbitration
9
0% / 67%
Overdue
3
38%
Free
5
Developer 5
Rating
(66)
Projects
143
34%
Arbitration
11
9% / 55%
Overdue
26
18%
Working
6
Developer 6
Rating
(281)
Projects
421
63%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
7
Developer 7
Rating
(62)
Projects
84
26%
Arbitration
22
23% / 50%
Overdue
23
27%
Working
Similar orders
Dear sir/madam, I am in need of programmer who can create trading robot { EA } which is candlestick dependents, also can open 5 trades per signal, have global take profit and global stop loss, also able to select which session to trade, account percentage column
I needed one MT4 multicurrency’s connected Following FIFO Rule, No Hedging, with panel box EA. If making profit total 1%, 2%, 3% whatever setup of the total balance/equity then automatically close all open positions and, immediately open new trade positions (sell/buy.. buy/sell as setup). only for really good understandable, giving time and high professional good quality Developer. I’ll sent Everything in detail, we
I need to create something that will allow me to transfer information about the transaction (entry moment, Tp and SL levels) from the indicator I have on tradingview to metatrader 5. Additionally, I would like to be able to set trading hours, transaction risk in percentage, enter into transactions only with a trend, and the ability to enable and turning off the trailing stop loss
I have a renko chart generator EA and I want to modify it: 1. I would like it to have a start date where I can give the start time based on the year, month, day, hour, minute, second. 2. I would like to include a "type" section where I can specify whether to calculate the Renko bricks from the "opening" or "closing" price. The Renko EA generator is attached. Thank you
hello great developer I have an mt4 indicator that stopped working with the new mt4 build. Can you fix it to work with the new mt4 build? I do not have the source code. i will looing for great developer that wil bid for it quickly
can anyone here help me with develop a Pine script on TradingView's Pine Editor for a trading strategy based on certain variations of the Morning Star candlestick pattern which I have been noticing from last 2 years
Can you Make ea with mql5 MetaTrader This is ea Find the trends by 3 candles then open one trades counter to the trend and if its not arrive to TP open second currency 0.1 counter to the first trade, If not arrive to TP open new trade with the winner (Biggest win) trade if not arrive to TP open new trade with the winner So in the Max trades we will have one trade in the counter trend and 3 in the trends We find the
hi.. i have a pin script (TV) but some lines in the code needs to be fixed,,, i will attach the file, Also I will be paying $20 for the project cause i just need you to adjust some Minor things in it, i will explain more further in the message side
I have the source file for a FOREX EA that I would like to modify to allow it to trade crypto currencies. It currently gives the error that the currency is not recognized when trying to back test and optimize the EA. Will need the EA to recognize BTC/ETH/SOL pairs and be able to trade crypto currencies
Hello There With new mt4 update my EA by the name "BreakFast In Canada" does not work on the new mt4 version so I need someone to make it work, however it looks like I do not have the source code for it. So I do not know if it is still possible to work on it. I have attached the picture of the specific EA as there many EAs with this name

Project information

Budget
50+ USD
For the developer
45 USD