EA for sending alerts to Telegram

MQL4 Integração Outros

Trabalho concluído

Tempo de execução 142 dias

Termos de Referência

1. Low CPU consuming EA
2. To be pushed to a channel or a private number (it doesnt matter)
3. Alerts by triggers
4. Daily Alerts.

Code source must be provided of course.


Parameters and inputs:

Channel/Username: [channel/user.name]
Alias: ["Big Account"  - To identify the account by a custom name]
EquityAlert: 50 [means that the equity is equal or below 50% from the balance]
EquityFreq: 180 [means that we will get a new alert every 180 minutes if the equity has been changed from the last notification and still equal or below EquityAlert level]
MarginLevelAlert: 150 [means that the Margin level % is equal or below 150%]
MarginFreq: 180 [means that we will get a new alert every 180 minutes if the margin level has been changed from the last notification and still equal or below MarginLevelAlert level]
SwapSymbol: [EURUSD,XAUUSD,USDCHF] (use the specification values http://prntscr.com/rsuhf3)
DailyStatus:14,20,23 [to be sent on the mentioned hours, 24 format]

DD and margin level - to be checked every 3 minutes before the first notification.

Alert format for equity (DD) :
"Warning! [Account #login, alias ] has a drawdown of x%!"
Balance:
Equity:
Floating P&L:

Alert format for margin level:
"Warning! [Account #login, alias] has a margin level of x%!"
Balance:
Equity:
Floating P&L:

Daily Status Format:
Account [#Login], [alias] Daily Report:
Balance:
Equity:
DD: X% (drawdown by %)
Floating PL:
Daily Profit Loss By Money: [ (current Equity)-(midnight server time Balance) ]
Profit Loss Percentage: (same as above by %)
Swap:
EURUSD Long -5, Short 3
XAUUSD Long -4, Short 5
USDCHF Long -4, Short 5



-=-=-=-=-
When to send the alerts:

DD and Margin % should not be sent if there is no change with the equity/Margin.

For example, if we set EquityFreq, MarginFreq to 180 - 

if there is no change of equity/Margin%  from the last notification - the alert should not be sent.
So, if im trading fx only, I wont get notifications during the weekend.
But, if im trading crypto, I will get the notifications because the equity value has been changed from the last notification.

Respondido

1
Desenvolvedor 1
Classificação
(885)
Projetos
1410
67%
Arbitragem
123
32% / 41%
Expirado
217
15%
Livre
Publicou: 1 código
2
Desenvolvedor 2
Classificação
(647)
Projetos
1295
67%
Arbitragem
84
26% / 49%
Expirado
337
26%
Livre
3
Desenvolvedor 3
Classificação
(206)
Projetos
333
35%
Arbitragem
66
12% / 58%
Expirado
87
26%
Livre
4
Desenvolvedor 4
Classificação
(50)
Projetos
74
27%
Arbitragem
12
58% / 17%
Expirado
14
19%
Livre
5
Desenvolvedor 5
Classificação
(4)
Projetos
5
0%
Arbitragem
0
Expirado
1
20%
Livre
6
Desenvolvedor 6
Classificação
(69)
Projetos
93
34%
Arbitragem
10
40% / 30%
Expirado
5
5%
Livre

Informações sobre o projeto

Orçamento
45+ USD
Prazo
de 1 para 5 dias