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.
Benzer siparişler
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. Core Trading Logic: Execute automatic Buy and Sell trades using high-probability entry signals. Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
I want to create a robot with 10 indicators.All to take a trade and all in stop folowing. Thanks to put in THE PARAMETERS Yes/No for the indicators to entry in position AND to the stop A trade with 2 takes profit and a breakeaven at the first TP. The goal is to be able to try the multiple combinations with these indicators
Hello International Developer, I need LIFETIME MT5 EA for XAUUSD Gold. REQUIREMENTS: 1. Lifetime bot - No expiry date, unlimited accounts, unlimited installations 2. Must include source code .mq5 file - This makes it lifetime 3. Every trade MUST have Stop Loss 300 points and Take Profit 600 points 4. No martingale, No grid, No averaging - Clean safe strategy 5. Auto lot size = 1% risk per trade for good margin growth