Expert Advisor based on my trend reversal system

İş tamamlandı

Tamamlanma süresi: 37 gün

İş Gereklilikleri

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.

 

 

 


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(12)
Projeler
14
14%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
3
21%
Serbest
2
Geliştirici 2
Derecelendirme
(45)
Projeler
58
33%
Arabuluculuk
12
42% / 42%
Süresi dolmuş
7
12%
Serbest
3
Geliştirici 3
Derecelendirme
(124)
Projeler
158
42%
Arabuluculuk
20
60% / 20%
Süresi dolmuş
8
5%
Serbest
4
Geliştirici 4
Derecelendirme
(9)
Projeler
8
0%
Arabuluculuk
9
0% / 67%
Süresi dolmuş
3
38%
Serbest
5
Geliştirici 5
Derecelendirme
(66)
Projeler
143
34%
Arabuluculuk
10
10% / 60%
Süresi dolmuş
26
18%
Serbest
6
Geliştirici 6
Derecelendirme
(298)
Projeler
443
64%
Arabuluculuk
5
40% / 0%
Süresi dolmuş
4
1%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(63)
Projeler
84
26%
Arabuluculuk
23
22% / 48%
Süresi dolmuş
23
27%
Serbest
Benzer siparişler
I want to decompile an ea file and get the source code, i need it really quick as fast as possible. the file must be delivered alongside the source code
I have an algo that is running on ProRealTime, they have their own language. It is a simple strategy with 5 conditions + SL/TP settings, very basic. I need someone that can convert or just create a functional MT5 algo (EA) from these conditions for me, if you do a good job I have around 10+ more algos that need to be transferred to MT5
Dear Developers, I would have a very simple request. I have a ML model developed in Python for EURUSD daily trading. I would like to backtest it in Meta Trader 5 using the Strategy Tester tool. For that I would need an Expert Advisor program. The input would be a csv file that contains two columns: - dates (going back for a few years on a daily basis) - trading signal (it can have only 2 values, either 1: Buy, or -1
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader 1. The Trading View indicator code needs to be converted into and adapted for Ninja Trader 8 2. An indicator and Automated Trading Strategy needs to be developed. 3. Any parts of the Trading View Indicator that can't be replicated needs to be discussed with me and agreed before excluding. (there should not be any) 4. Trailing stop and
1. The Trading View indicator code needs to be converted into and adapted for Ninja Trader 8 2. An indicator and Automated Trading Strategy needs to be developed. 3. Any parts of the Trading View Indicator that can't be replicated needs to be discussed with me and agreed before excluding. (there should not be any) 4. Trailing stop and Trailing Draw Down options need to be implemented 5. Risk needs to be in % of
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
Hi Developer, I would like to create the Scalping EA based for Mt4 on the investing.com data https://www.investing.com/currencies/eur-usd-technical EA have timing to adjust time to trade. follow the broker time. From starting time to end time EA have a adjustable Lot size (0.01 incremental to 0.01) EA have a adjustable TP (1pip to 100pip incremental 1pip) EA have a adjustable SL (1pip to 100pip incremental 1pip) EA
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader, I wanted this indicator in NT bcs I chart in NT, and if the indicator could also have been an automated strategy even better. Please confirm that it will be an indicator and Automated Trading Strategy
Hello I need a very simple indicator This indicator should show the highest floating or history drawdown of the account It means that it can display the highest number that the account drawdown to be displayed on the chart in this format max drawdown account(xxxx$$) ...date(00/00/00)time:(00:00) max drawdown currency ..( currency name with max drwadown) . (xxxx$$) date(00/00/00)time:(00:00) thanks

Proje bilgisi

Bütçe
50+ USD
Geliştirici için
45 USD