Set the in-built MT4 price alarm by dragging a script into a chart

MQL4 指标 脚本

指定

Hello,

I need a script which I drag into the chart and then the in-built MT4 price alarm should be set.

The script should start like this:

//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
  {
   double price = WindowPriceOnDropped();
   
   [... your code ...]

  }

This price must be the alarm price level.

I can code some mql4-stuff but I think for this project it is necessary to know a lot about user32.dll and other Win32 API things.

Just to be very clear, I am talking about these alerts: https://www.metatrader4.com/en/trading-platform/help/overview/terminal/terminal_alerts

附加的文件:

PNG
euro.png
19.7 Kb

反馈

1
开发者 1
等级
(229)
项目
339
49%
仲裁
21
5% / 33%
逾期
24
7%
空闲
2
开发者 2
等级
(188)
项目
212
58%
仲裁
9
11% / 89%
逾期
8
4%
空闲
3
开发者 3
等级
(258)
项目
396
28%
仲裁
69
19% / 49%
逾期
121
31%
空闲

项目信息

预算
50+ USD