指定
I need an Expert Advisor that can read trade signals from a Telegram Channel and then execute those trades.
My telegram bot has admin access to the Telegram Channel
The EA needs the following functionality:
- Position Size:
- Auto: +Have fixed lot size set in settings. + Have lot size by % of account (set in settings)
- Manual: + From lot size set in trade signals message. + From lot size by % of account from trade signals message
- Max number of open trades. Eg. If you set this to 3, then you can only have trades (can have many trades) for 3 currency pairs open at any 1 time. - Settings
- Handle multiple trade signals on the same currency pair
- If a signal comes in trying to reduce the position then it can automatically start from the most recent trade OR it can reduce from a specified trade (based on the open price in message)
- Have a setting to allow for hede mode or not. (ON= can have long and short at the same time for the same currency pair, OFF=can only be long or short)
- (If hedge mode OOFF )If a trade signal message comes in flipping a trade from long to short (or vise versa) then it needs to handle that. (Closing the long, then opening short)
- Option for Pre set Stop Loss and Take Profit targets in % gain/loss or price point, (up to 5) - Settings
- Option for Pre set Stop Loss and Take Profit targets Sizing in % or lot size - Settings
- Option to set a trailing SL. - Settings
- Allow for this option SL and TP in the message
- Set a slippage % so the trade wont open if it is outside the slippage from the entry price, set a time frame if the trade falls back within the slippage allowance to open the trade - Settings
- Option for Blacklist, so it can ignore some currency pairs - Settings
- Give a response in the telegram chat of the order executed, or error – Via message
- A basic list of the commands available to the user sent in a message to the telegram chat when prompted – Via message
- Option to close all orders on a currency pair. – Via message
- Option to close all orders on all pairs – Via message
- The EA should be able to identify and manage its orders through magic number and not interfere with working of other EA’s. Both buy and sell orders need to have different magic numbers.
- Error management. The ea needs to check for any connection errors and market close times. Any signal/s received from telegram signal provider during the connection errors times and/or during the market close times, should be executed by the ea once the connection is restored and/or the markets opens after close respectively.
I will provide you with examples of what the messages will lok like when we discuss further.
I need to full copyright and ownership righs of the software.
The code must be bug-free and well documented/commented to allow for future debugging and expansion/modification. The source code of the EA has to be made available along with the EA. The EA has to be free from any limitation on the usage with respect to ip or multiple mt4 terminals. The entire function/operation of the EA should be executed on the personal computer OR VPS.
Once you finished the code, there are 3 things that we must do before you hand over to me the source code and close the project
1. You must demo it to me first, without any bug
2. I will run through everything as a QC and make sure there is no bug in the code
3. We MUST conduct a code review together by google meeting or zoom etc, to explain a bit on the logic that you build within the code.