Expert Advisor based on my trend reversal system

Trabalho concluído

Tempo de execução 37 dias

Termos de Referência

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.

 

 

 


Respondido

1
Desenvolvedor 1
Classificação
(12)
Projetos
14
14%
Arbitragem
1
0% / 100%
Expirado
3
21%
Livre
2
Desenvolvedor 2
Classificação
(45)
Projetos
58
33%
Arbitragem
12
42% / 42%
Expirado
7
12%
Livre
3
Desenvolvedor 3
Classificação
(144)
Projetos
186
41%
Arbitragem
24
58% / 21%
Expirado
13
7%
Livre
4
Desenvolvedor 4
Classificação
(9)
Projetos
8
0%
Arbitragem
9
0% / 67%
Expirado
3
38%
Livre
5
Desenvolvedor 5
Classificação
(69)
Projetos
146
34%
Arbitragem
13
8% / 62%
Expirado
26
18%
Livre
Publicou: 6 códigos
6
Desenvolvedor 6
Classificação
(322)
Projetos
499
67%
Arbitragem
5
40% / 0%
Expirado
4
1%
Livre
Publicou: 8 códigos
7
Desenvolvedor 7
Classificação
(70)
Projetos
91
25%
Arbitragem
26
19% / 54%
Expirado
25
27%
Livre
Pedidos semelhantes
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I am offering a ready-to-use trading system that connects MetaTrader 4 signals with automated trading on Polymarket. The system is already fully developed and working. What the system does: The bot copies signals from a custom MT4 indicator and executes trades automatically on Polymarket prediction markets. How it works: A custom MT4 indicator generates BUY or SELL signals using buffers. When a signal appears, it is
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
I need Ea that executes trade based on trading view indicator called Market Structure CHoCH/BOS (Fractal) [LuxAlgo] I need developer to recreate the indicator as an Ea in MQL5 The core of the system will be a structured Market Structure engine that detects CHOCH (Change of Character) and BOS (Break of Structure) Signals will be confirmed once the indicator gave ( the bos/choch) no need to wait candle close
Looking to purchase a Good forex or gold/ BTC trading EA and it's source code. Must be compatible with low budget like less than $500 accounts, Must need no manual intervention and run fully automated. If you are interested in selling me the source code, please share the Read only account access where the EA has already been running on, so i can check past performance and get an idea on how it works or runs. Dont
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for
I am looking someone to create an EA based on my MACD Histo indicator / strategy from Pinescript. I will send it to you for you to replicate. The EA shall have: - Divergence length in bars, min and max values. - Pivot Logic - Entry on close of divergence confirmation bar. - Dynamic lot size dependent on SL/TP, in monetary value. - SL / TP in percent away from entry, separate values for long and short. - Time, day and
Hello, I have a breakout EA with reversal logic. I own the full source code for both MT4 and MT5 versions. I need the modifications implemented for both MT4 and MT5 versions. I need several modifications: – Multiple reversals with configurable parameters – Breakeven functionality – Entry only after candle close beyond range + offset – Time-based activation – Alternative offset calculation logic – Automatic close at

Informações sobre o projeto

Orçamento
50+ USD