asking about EA refresh time

Nov 20, 2020 at 10:06
509 व्यू
2 Replies
तबसे मेंबर है Sep 26, 2013   16 पोस्टों
Nov 20, 2020 at 10:06

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
तबसे मेंबर है Aug 06, 2020   3 पोस्टों
Nov 24, 2020 at 05:16

//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
तबसे मेंबर है Sep 26, 2013   16 पोस्टों
Nov 24, 2020 at 10:18
Thank you soo much dhinosaurus
USD
You must be connected to Myfxbook in order to leave a comment
*व्यवसायिक इस्तेमाल और स्पैम को ब्रदाश नहीं किया जाएगा, और इसका परिणाम खाता को बन्द करना भी हो सकता है.
टिप: किसी चित्र या यूट्यूब या URL को पोस्ट करने से वे अपने आप आपके पोस्ट में आजाएगा!
टिप: @ चिन्ह को टाइप करें उपभोगता के नाम को अपने आप करने के लिए जो इस चर्चा में भाग ले रहा है.