I have an uncompleted work need to send notification from MT4 to discord channel using Profitrobots bot

İş Gereklilikleri

Profitrobots bot: https://profitrobots.com/Home/NotificationsMT4


the msg showed on discord should look like this:

if an order is opened:

('Symbol', 'Date, time') '# of Lots'  'Long or short' Position 'Opened', 'Entered' at 'price level'

(XAUUSD, 13/05/2022 17:06:23) 1.5 Lot Long Position Opened, Entered at 1823.15

if an order is closed:

('Symbol', 'Date, time') '# of Lots'  'Long or short' Position 'Closed', 'Exited' at 'price level'

(XAUUSD, 13/05/2022 17:06:23) 1.5 Lot Long Position Closed, Exited at 1823.15



#import "AdvancedNotificationsLib.dll"

void AdvancedAlert(string key, string text, string instrument, string time, string text);

#import



//+------------------------------------------------------------------+

//| Custom indicator initialization function                         |

//+------------------------------------------------------------------+

int OnInit()

  {

//--- indicator buffers mapping

   

//---

   return(INIT_SUCCEEDED);

  }

  

datetime last_date;

//+------------------------------------------------------------------+

//| Custom indicator iteration function                              |

//+------------------------------------------------------------------+

int OnCalculate(const int rates_total,

                const int prev_calculated,

                const datetime &time[],

                const double &open[],

                const double &high[],

                const double &low[],

                const double &close[],

                const long &tick_volume[],

                const long &volume[],

                const int &spread[])

  {

  

//---

   if (last_date != Time[0])

   {

      AdvancedAlert("##Discord Channel Key Here##", "", _Symbol, TimeToStr(TimeCurrent(),TIME_SECONDS), "GMT+3");

      last_date = Time[0];

   }

//--- return value of prev_calculated for next call

   return(rates_total);

  }


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(328)
Projeler
387
33%
Arabuluculuk
2
100% / 0%
Süresi dolmuş
0
Çalışıyor
2
Geliştirici 2
Derecelendirme
(87)
Projeler
134
14%
Arabuluculuk
41
22% / 29%
Süresi dolmuş
14
10%
Serbest
3
Geliştirici 3
Derecelendirme
(57)
Projeler
72
22%
Arabuluculuk
13
46% / 15%
Süresi dolmuş
5
7%
Serbest
4
Geliştirici 4
Derecelendirme
(2)
Projeler
4
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
Here is a detailed instruction for the coder to implement the vertical lines based on the BrainTrainSignalAlert indicator: --- **Task: Implement Vertical Lines for Alerts from BrainTrainSignalAlert Indicator** **Objective:** Create a system that adds vertical lines on specified timeframes (M5 or M30) whenever an alert is generated by the BrainTrainSignalAlert indicator on the H1, H4, and D1 timeframes. The lines
Hello Guys! I want to modify/fix the indicator that uses sequential type of entries (it calculates from 1 to 9) and if the conditions are met it provides an arrow (signal) with alert. The problem is that, sometimes (for unknown for me reasons) it repaints arrow signal. Like on the picture: Signal 1 - correct signal Signal 2 - correct signal Signal 3 - correct signal Signal 4 - repaints (signal 3 arrow dissapeared
Merge 2 ZickZack indicators to 1 indicator. Indicator 1 is a ZickZack Pointer. Indicator 2 is based on 3 level ZickZack semaphore. Indicator source codes will be provided to the selected developer
Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Also, there is a website where I check all the data. In this case, you would need
Hello, i am searching for an experienced, professional software engineer, who can convert three Indicators from MQL4 to MQL5. This may sound like an easy job, but one indicator is like a trading system and therefore a bit complex. So you need to have a very good understanding of both languages. You should also be able to code MQL5 classes ( https://www.mql5.com/en/docs/basis/oop ). The intention is to code MQL5
I came across an indicator that's perfectly good in catching spikes in boom amd crash but i would want it to be modified and to improve accuracy As a professional you will have to go through the indicator and explain to me the strategy with which the indicator was buid and tell me the possibility of improving it better
An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
I have a full code ,, There are some errors in this.It does not add to the chart, does not show arrow marks, does not alert ,, fix this problem and work properly,, Contact on telegram @Gw_rakib1
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing

Proje bilgisi

Bütçe
30+ USD
Geliştirici için
27 USD