Telegram MT4 Signal Trader EA is an EA that helps you trade signals received via Telegram channels, groups, chats.
You even donāt need to be the owner of the channels, if you can read the signal texts in your Telegram account, you can trade them all.
The EA needs a free tool ā the Telegram Reader app that read signal texts in Telegram channels, groups, private chats via Telegram API.
At the first running, the EA will check if there is the txt file ātelegramsignaltext.txtā in the data folder ā¦MQL4\Files\... . You can change the name ātelegramsignaltext.txtā by another name in the parameter āSignal text source fileā.
ON SUMMARY: The Telegram Reader application will copy the latest message text content in the signal channel, then paste and save the message in the txt file. Then the EA will read the txt file content and do an event or many events if all the conditions for the event(s) are met.
As default, the āRunning modeā parameter is āScan & Tradeā like the above image. It means the EA will read the txt file and trade.
The EA will do a process called events in order from 1 to 10 (see below image). You can turn off an event by setting its' value as āfalseā in the Events Management setting.
Check & open a buy order if all conditions in the settings of Texts TRIGGER⦠& Texts BLOCK⦠are met.
Check & open a sell order if all conditions in the settings of Texts TRIGGER⦠& Texts BLOCK⦠are met.
Check & open a buy limit order if all conditions in the settings of Texts TRIGGER⦠& Texts BLOCK⦠are met.
Check & open a sell limit order if all conditions in the settings of Texts TRIGGER⦠& Texts BLOCK⦠are met.
Check & open a buy stop order if all conditions in the settings of Texts TRIGGER⦠& Texts BLOCK⦠are met.
Check & open a sell stop order if all conditions in the settings of Texts TRIGGER⦠& Texts BLOCK⦠are met.
Check & open a new order with the same properties of a closed order if all conditions in the settings of Texts TRIGGER⦠& Texts BLOCK⦠are met.
Check & modify an order if all conditions in the settings of Texts TRIGGER⦠& Texts BLOCK⦠are met.
Check & move an orderās stop loss to its open price if all conditions in the settings of Texts TRIGGER⦠& Texts BLOCK⦠are met.
Check & close all orders if all conditions in the settings of Texts TRIGGER⦠& Texts BLOCK⦠are met.
Check & close all profit orders if all conditions in the settings of Texts TRIGGER⦠& Texts BLOCK⦠are met.
Check & close partially an order if all conditions in the settings of Texts TRIGGER⦠& Texts BLOCK⦠are met.
Check & close an order if all conditions in the settings of Texts TRIGGER⦠& Texts BLOCK⦠are met.
Auto manages all open orders (Stop trading, Pause trading, Auto Break-even, Auto Close an order,ā¦) without any signal.
The EA wouldnāt know which event is happening if there arenāt ākey textsā in the signal text. These ākey textsā will trigger the event. We will define the ākey textsā for triggering the event by input some texts in the parameter āTexts TRIGGER the ⦠eventā.
Some other texts will be a rule for skipping an event. If there are these texts in the signal text, the EA will skip the event and move to the next processes (next events). We will define those texts by input some texts in the parameter āTexts BLOCK the ⦠eventā.
For the example in the above image:
As default, all "Only trade symbols" parameters are blank. It means the EA will trade all symbols in your broker. If you want to trade all the symbols in your brokers, you don't need to do any thing in this steps, just leave them blank.
If you only want to trade some symbols, you need to input some symbol names in "Only trade symbols" parameters, and if you don't want to trade some symbols, you need to input some symbol names in "Don't trade Symbols" parameters.
For example: If you want to only trade 3 symbol names as EURUSD, GBPUSD, USDJPY, you can input value for "Only trade symbols" parameter as āEURUSD;GBPUSD;USDJPYā (don't write quotes).
If your broker provides the symbol names with suffix such as "EURUSDm, GBPUSDm, USDJPYm...", you should input the text "m" in an "Auto add symbol suffix" parameter of a "Re-write the signal text" function. See a below image.
Read the signal text from left to right, from top to bottom, you may find many numbers. Those numbers may be an orderās ID, or different values of open price, stop loss, take profit(s)⦠The EA will collect those numbers in order and store them in number location values. The first number you find will have a number location value = 1, the second number you find will have a number location value = 2, and so onā¦
For example, see a demo signal text below
OPENED ORDER
ID: 225579855
SELL: EURUSD
Lots: 0.03
Entry price: 1.18457
SL: 0.00000 (-11845.7 Pips)
TP1: 1.18357 (+10 Pips)
TP2: 1.18257 (+20 Pips)
TP3: 1.17957 (+50 Pips)
Tips: The EA only can get number values with the blank characters before and after them, otherwise they will be treated as the texts. Therefore, if you want to get the numbers with the none blank characters before and after them, you should use the Re-write signal text function to create blank characters before and after the numbers we want to get.
Sometimes you can get mistakes when you just look and fill in the number location values in the EA setting, that causes the EA can't trade or doesn't trade the signal correctly.
Let run the EA on "Analyze Signal Text" mode and the EA will tell you all the number locations values of all numbers in the signal text.
Read more about the "Running mode" here.
There are 3 row for āReplace textsā parameter so that you can input many text contents for replacing as you want.