Edit Your Comment
asking about EA refresh time
Členem od Sep 26, 2013
10 příspěvků
Nov 20, 2020 at 10:06
Členem od Sep 26, 2013
10 příspěvků
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
Členem od Aug 06, 2020
3 příspěvků
Nov 24, 2020 at 05:16
Členem od Aug 06, 2020
3 příspěvků
//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
Členem od Sep 26, 2013
10 příspěvků

*Komerční použití a spam nebudou tolerovány a mohou vést ke zrušení účtu.
Tip: Zveřejněním adresy URL obrázku /služby YouTube se automaticky vloží do vašeho příspěvku!
Tip: Zadejte znak @, abyste automaticky vyplnili jméno uživatele, který se účastní této diskuse.