EA for sending alerts to Telegram

MQL4 积分 其它

工作已完成

执行时间142 天

指定

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.

反馈

1
开发者 1
等级
(885)
项目
1410
67%
仲裁
123
32% / 41%
逾期
217
15%
空闲
发布者: 1 代码
2
开发者 2
等级
(647)
项目
1295
67%
仲裁
84
26% / 49%
逾期
338
26%
空闲
3
开发者 3
等级
(206)
项目
333
35%
仲裁
66
12% / 58%
逾期
87
26%
空闲
4
开发者 4
等级
(50)
项目
74
27%
仲裁
12
58% / 17%
逾期
14
19%
空闲
5
开发者 5
等级
(4)
项目
5
0%
仲裁
0
逾期
1
20%
空闲
6
开发者 6
等级
(69)
项目
93
34%
仲裁
10
40% / 30%
逾期
5
5%
空闲

项目信息

预算
45+ USD
截止日期
 1  5 天