1 Tệp đính kèm không hoạt động nữa
https://www.forexibroker.com/attachm...1415711533.ex4
1 Tệp đính kèm không hoạt động nữa
https://www.forexibroker.com/attachm...1415711533.ex4
// ----------------------------------------------- ------------------- /| Supernova.mq4 |/ ----------------------------------------------- ------------------- #property indior_chart_window #property indior_buffers 2 #property indior_color1 DodgerBlue #property indior_color2 Magenta extern int SF = 1; extern bool Visual_Alert = false; extern bool Audio_Alert = true; chuỗi bên ngoài Audio_Up_File = alert.wav; chuỗi bên ngoài Audio_Down_File = alert.wav; extern bool Email_Alert = false; extern int Count_Bars = 1000; extern int Arrow_Offset = 10; double ExtMapBuffer1 []; double ExtMapBuffer2 []; bool up = false; bool dn = false; datetime last_t = 0; int init () SetIndexStyle (0, DRAW_ARROW); SetIndexArrow (0,108); SetIndexBuffer (0, ExtMapBuffer1); SetIndexEmptyValue (0,0.0); SetIndexStyle (1, DRAW_ARROW); SetIndexArrow (1,108); SetIndexBuffer (1, ExtMapBuffer2); SetIndexEmptyValue (1.0.0); return (0); int deinit () return (0); int Begin () int l = 0; if (Count_Barsgt; Bars) l = Thanh; elsel = Count_Bars; cho (int I = l; igt; = 0; I--) ExtMapBuffer1 [I] = 0; ExtMapBuffer2 [I] = 0; double qqe0_0 = iCustom (Biểu tượng (), 0, QQE, SF, 0, I); double qqe0_1 = iCustom (Biểu tượng (), 0, QQE, SF, 0, I 1); double qqe1_0 = iCustom (Biểu tượng (), 0, QQE, SF, 1, I); double qqe1_1 = iCustom (Biểu tượng (), 0, QQE, SF, 1, I 1); if (qqe0_0gt; qqe1_0 qqe0_1lt; = qqe1_1!) Up) ExtMapBuffer1 [I] = Giảm [I] -Arrow_Offset * Điểm; trở lên = true; dn = false; if (qqe0_0lt; qqe1_0 qqe0_1gt; = qqe1_1! Dn) ExtMapBuffer2 [I] = Cao [I] Mũi tên_Offset * Điểm; dn = true; trở lên = false; if (ExtMapBuffer1 [0] gt; 0) nếu (Visual_Alert) Alert (Cross up on: Symbol () tại TimeToStr (TimeCurrent ())); if (Audio_Alert) PlaySound (Audio_Up_File); if (Email_Alert) SendMail (QQE_Cross Alert, Cross up on: Symbol () tại TimeToStr (TimeCurrent ())); if (ExtMapBuffer2 [0] gt; 0) nếu (Visual_Alert) Alert (Cross down: Symbol () tại TimeToStr (TimeCurrent ())); if (Audio_Alert) PlaySound (Audio_Down_File); if (Email_Alert) SendMail (QQE_Cross Alert, Cross down: Symbol () tại TimeToStr (TimeCurrent ())); return (0);
Chỉ số của bạn phụ thuộc vào sự hiện diện của một chỉ số khác có tên là QQE. Bạn nên kiểm tra trước nếu chỉ báo kia nằm trong thư mục chỉ báo tùy chỉnh của bạn. Đây có thể là lý do nó hiện không hoạt động.