質問編集履歴
1
タイトル変更、本文一部変更
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
MT4のサインインジケーターのアラート
|
1
|
+
MT4のサインインジケーターのアラートの音と共にメッセージ付きのポップアップウィンドウを表示したい
|
body
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
下のコードのどの部分をどのように修正すればサインが出たときにアラートが
|
2
|
-
|
2
|
+
音と共にメッセージ付きのポップアップウィンドウを表示できますか
|
3
|
-
|
4
|
-
|
3
|
+
#property indicator_chart_window
|
5
4
|
#property indicator_buffers 4
|
6
5
|
#property indicator_color1 Blue
|
7
6
|
#property indicator_color2 Red
|
@@ -14,7 +13,7 @@
|
|
14
13
|
extern int SlowEMA=21;
|
15
14
|
extern int RSIPeriod=17;
|
16
15
|
extern bool Alerts=false;
|
17
|
-
|
16
|
+
|
18
17
|
//---- buffers
|
19
18
|
double ExtMapBuffer1[];
|
20
19
|
double ExtMapBuffer2[];
|
@@ -127,7 +126,7 @@
|
|
127
126
|
//----
|
128
127
|
if(Alerts && entry)
|
129
128
|
{
|
130
|
-
|
129
|
+
|
131
130
|
if (sigPrevious==1)
|
132
131
|
{
|
133
132
|
MessageBox("Entry point: buy at "+entry_point+"!!", "Entry Point", MB_OK);
|
@@ -144,6 +143,4 @@
|
|
144
143
|
//----
|
145
144
|
return(0);
|
146
145
|
}
|
147
|
-
//+------------------------------------------------------------------+
|
146
|
+
//+------------------------------------------------------------------+
|
148
|
-
コード
|
149
|
-
```
|