- Beranda
- Komunitas
- Pemrograman
- asking about EA refresh time
Edit Komentar Anda
asking about EA refresh time
Menjadi Anggota Sejak Sep 26, 2013
10 postingan
Nov 20, 2020 at 10:06
Menjadi Anggota Sejak Sep 26, 2013
10 postingan
Hello
I am developing an expert prototype.
i have an idea but i need help.
I need to know if we can incorporate a command line so that the expert checks the data every second and no longer relies on the tik candles on the different timeframes.
that is possible ?
I am a professional trader but I am new to MQL programming
thank you
USD
Menjadi Anggota Sejak Aug 06, 2020
3 postingan
Nov 24, 2020 at 05:16
Menjadi Anggota Sejak Aug 06, 2020
3 postingan
//mql4
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
void OnInit()
{
while(EventSetTimer(1) != true) //set your time interval here
{
Sleep(500);
}
Print("Init OK");
}
//+------------------------------------------------------------------+
//| Timer function |
//+------------------------------------------------------------------+
void OnTimer()
{
//type your code here
}
Step by Step
Menjadi Anggota Sejak Sep 26, 2013
10 postingan
Nov 24, 2020 at 10:18
Menjadi Anggota Sejak Sep 26, 2013
10 postingan
Thank you soo much dhinosaurus
USD
*Penggunaan komersial dan spam tidak akan ditoleransi dan dapat mengakibatkan penutupan akun.
Tips: Memposting URL gambar/YouTube akan otomatis menyematkannya di postingan Anda!
Tips: Ketik tanda @ untuk melengkapi nama pengguna secara otomatis yang berpartisipasi dalam diskusi ini.