Averaging down/up EA for multiple currencies that works based on Telegram's signal

MQL4 Experts Forex Product Design

Job finished

Execution time 2 days
Feedback from customer
He is very experienced programmer, he also very patient to listen to what i want He promised me to finish the revision within 1-2 days, and turns out, few hours later he FINISHED. 5 STARS, no doubt!!

Specification

Hello Devs,

Iam looking forward to a simple averaging ea that reads telegram signal based on MT4. The ea is intended for the purpose of auto trading signals provided, the telegram signal will give the name of pair in text format and the EA will read it and will create an averaging position based on the given pair. The EA should have the ability to run bug free once the channel has been selected for the purpose of receiving the signals.

By simple it is meant that the ea does what it’s meant for i.e to auto trade telegram signals by incorporating functions as mentioned below and nothing more. For example it does not need to have functions like risk management, auto lot etc. For details please refer below:

Input Settings:

Not necessarily in the same order,

- MaxPairToOpen [1...10]
- MaxAveragingLayer [1...10]
- Pipsteps1
- Lot1
- Pipsteps2
- Lot2
- Pipsteps3
- Lot3
- Pipsteps4
- Lot4
- Pipsteps5
- Lot5
- Pipsteps6
- Lot6
- Pipsteps7
- Lot7
- Pipsteps8
- Lot8
- Pipsteps9
- Lot9
- Pipsteps10
- Lot10
   

REQUIREMENT #1: ea must be able to read signal in pair format, eg: USDJPY which given from telegram channel AUTOMATICALLY. The telegram channel can provide several pair of currency to be traded, but the max pairs that can be traded will be defined within the parameter

REQUIREMENT #2: Ea must be able to handle multiple pair at the same time. For an example: if at the moment, USDJPY was opened, and ea got new signal from telegram for EURGBP, then ea will open new position for EURGBP. And if lets say, I defined the max pairs to be traded as 2, so if there is another signal, EA will not open any position.

REQUIREMENT #3: Ea must be able to handle different type of pair and position at the same time. If there is a pair that still opened, and we have a new signal with the same pair that is opened, the EA will not open it again . 
For an example :
1. if at the moment we already opened BUY USDJPY, and 10 minutes later the signal is SELL EUR GBP, the EA can open it without any issue, while maintaining BUY USDJPY still open.
2. If at the moment we already opened BUY USDJPY, and 10 minutes later the signal is BUY USD JPY, the EA WILL IGNORE the signal.

REQUIREMENT #4: By default, the maximum pair that can be handled is 10 and the maximum averaging layer for each pair is 10. And there will be a parameter for lot and pipsteps for each averaging layers that is used. The number of maximum pair must be defined through parameter, similar with the averaging layer.



INPUT PARAMETER ILLUSTRATION:
====================
Pipsteps 1: 35
Pipsteps 2: 35
pipsteps 3: 45
pipsteps 4: 55
pipsteps 5: 65
pipsteps 6: 75
pipsteps 7: 0
pipsteps 8: 0
pipsteps 9: 0
pipsteps 10: 0
lot 1: 0.1
lot 2: 0.2
lot 3: 0.1
lot 4: 0.3
lot 5: 0.1
lot 6: 0.4
lot 7: 0
lot 8: 0
lot 9: 0
lot 10: 0

The settings will applied for pair #1 to pair #10 (if any, depends on the MaxPairToOpen)
from the illustration above, we know that for the first pair will have only 6 averaging layer. All the lot and pipsteps on the parameter will be input manually before running the ea.

EXAMPLE:
so if the channel give signal BUY USDJPY. I dont need to open position MANUALLY, the ea will open for the first time with a very minimum lot which is 0.01. (i called it position #0). If at that time it was 110.16, so the ea will open 6 positions downward, with the lot and position already defined within the parameter.

OPENED POSITION BY EA #1:
lot: 0.1, position: 109.81 (comes from 110.16 minus 35 pips)
OPENED POSITION BY EA #2:
lot: 0.2, position: 109.46
OPENED POSITION BY EA #3:
lot: 0.1, position: 109.01
OPENED POSITION BY EA #4:
lot: 0.3, position: 108.46
OPENED POSITION BY EA #5:
lot: 0.1, position: 107.81
OPENED POSITION BY EA #6:
lot: 0.4, position: 107.06

REQUIREMENT #5: if the averaging layers for USDJPY pair are already opened, i need to close the first position that i opened MANUALLY (Position #0), and it will close all the averaging layers, only for that pair. WITHOUT affecting the other pairs

The logic must be implemented SOLID Principles.

The ea needs to be as simple as possible and should incorporate functions only as detailed here. No other additional function is required for example move tp, sl or multiple tp, risk management, break even, auto lot or any other such popular functions. The ea is intended to open averaging orders and close orders as per the telegram signal and nothing beyond.


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.

Another feature to include is for 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.

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/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, to explain a bit on the logic that you build within the code.

Actually its a small project, so if you interested, please message me and tell me the price that you asked and how long for you to finish it.

Thank you.

Responded

1
Developer 1
Rating
(63)
Projects
68
25%
Arbitration
12
42% / 42%
Overdue
4
6%
Free
2
Developer 2
Rating
(197)
Projects
201
27%
Arbitration
0
Overdue
3
1%
Free
3
Developer 3
Rating
(63)
Projects
84
26%
Arbitration
23
22% / 48%
Overdue
23
27%
Free
4
Developer 4
Rating
(132)
Projects
170
18%
Arbitration
17
47% / 18%
Overdue
0
Working
5
Developer 5
Rating
(9)
Projects
11
27%
Arbitration
2
0% / 100%
Overdue
0
Free
6
Developer 6
Rating
(476)
Projects
505
53%
Arbitration
10
60% / 20%
Overdue
3
1%
Free
Similar orders
I have a hedging strategy idea I would like coded but it is complicated and advanced, I have two EAs I would like the idea coded to. I would like the coder to be professional and fast. The hedging strategy consists of opening multiple orders mixed of buys & sells. Please be experienced and don't waste my time or yours
I am looking for an experienced Forex trading expert to help me configure, set up, and run a fully automated trading account. I am new to Forex trading and am eager to learn, so I am seeking someone who can not only set up the account but also provide guidance and education throughout the process
This Indicator is for the 15minutes timeframe but it should be able to work on higher timeframes and with any currency pairs. I want an indicator that draws two horizontal lines - One from the Highest High, the other from the Lowest Low. The lines start from the start of a new Trading day and ends at 04:00 am. So the indicator draws the line from the highest high between time 0 and 4am AND the line from the lowest
I have an EA that works with GRID, very simple strategy. THE JOB - This current EA is not closing both sides when TP is reached so would like to make this function work. The strategy : The Expert will start and generate a position of buy\sell at the same time when added to chart. The frist and last positions are considered scalping positions with a smaller TP just for the purpose of generating IB comisisons. After
I would need a robot that will automatically enter buy and sell positions based on the renko chart. The trend is to be determined on the basis of Elliot Waves. Individual peaks and troughs are determined by the TMA centerband Indicator. The buy position is entered when a higher low appears via the buy signal of the TMA indicator A sell position is entered when a lower high appears via the sell signal of the TMA
hi. I hv a strategy on tradingview need to convert to MT4/MT5 expert advisor for algo trading. would like to add some tradingview strategy setting to the EA(not included in my tradingview code): recalculate after order is filled, order size: xx% of equity
Hello great developer i need a great developer that can help me to do the modification on Ninjatrader https://forum.ninjatrader.com/forum/ninjatrader-7/general-development/44785-real-time-data-feed-from-excel-sheet Need a simple tool to connect rt data from excel to Ninjatrader- Already a free tool available which extracts data from trading software called- Nest Trader - to Ninjatrader- Its possible to modify it to
Hello I would like to replicate ThinkTrader desktop version indicators to be used in MT4 . The indicators are 1) Trendrisk Trend and 2) Supertrend. These indicators will paint the candlestick of the chart. thanks
The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is
1. Combination of Market Profiles on daily basis a) this should be combined if the bell curve is similar to the previous day. Rotational day (volume - standard deviation). b) If breakout, new range should be drawn Conclusion: Market profile should be combined on daily after the market is closed 2. Use Vwap indicator, with 0.5 - slow trend, 1.0 - normal trend, 1.5 fast trend. The stop loss should be under the trend

Project information

Budget
200 - 500 USD
For the developer
180 - 450 USD
Deadline
from 7 to 10 day(s)