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 일