fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    in mt4, Error: Array out of Range in .... (retval = Time[0];)

    Bug Reports
    2
    2
    110
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lrreine last edited by

      in MT4, Error: Array out of Range in .... line: retval = Time[0];

      public: /* The main method */
      datetime _execute_()
      {
               ...
      	else if (ModeTime == 3)
      	{
      		ArraySetAsSeries(Time,true);
      		CopyTime(TimeMarket,TimeCandleTimeframe,TimeCandleID,1,Time);
      		retval = Time[0];
      	}
      
      1 Reply Last reply Reply Quote 0
      • F
        fxpim last edited by

        Hi, I've tackled this error many times. Are you using your EA multi timeframe and are you using once per bar blocks?

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        A
        V
        C

        23
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors