fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. jado58
    3. Topics
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 14
    • Best 1
    • Controversial 0
    • Groups 0

    Topics created by jado58

    • J

      MA applied to Williams %
      Questions & Answers • • jado58

      7
      0
      Votes
      7
      Posts
      952
      Views

      l'andorrà

      @jado58 Thank you for sharing.

    • J

      zero divide error MT5
      Questions & Answers • • jado58

      4
      0
      Votes
      4
      Posts
      721
      Views

      J

      Lukily I had an older version I was working on before I moved to this version that don't have this issue. Thanks to both of you.

    • J

      Time Arithmetic and Input
      Questions & Answers • • jado58

      4
      0
      Votes
      4
      Posts
      858
      Views

      J

      I ended up using the custom MQL code block

      0_1586030104543_03b5d4f6-259c-42bf-b5ab-45524e57c736-image.png

      MqlDateTime str1,str2;

      TimeToStruct(StrToTime(starttime),str1);

      MqlDateTime hour1;

      hour1.day = str1.day;
      hour1.hour =str1.hour ;
      hour1.min =0 ;
      hour1.sec =00 ;
      hr1= str1.hour;

      MqlDateTime hour2;

      hour2.hour =str1.hour+1 ;
      hour2.min =0 ;
      hour2.sec =00 ;
      hr2=hour2.hour;

      MqlDateTime hour3;

      hour3.hour =str1.hour+2 ;
      hour3.min =0 ;
      hour3.sec =00 ;
      hr3=hour3.hour;

      MqlDateTime hour4;

      hour4.hour =str1.hour+3 ;
      hour4.min =0 ;
      hour4.sec =00 ;
      hr4=hour4.hour;

    • J

      Close and reverse position
      Questions & Answers • • jado58

      3
      0
      Votes
      3
      Posts
      873
      Views

      J

      Yes that was a mistake and also I had Symbol set as specific . Thank you!

    • J

      Passing a Variable value into a comment string
      Questions & Answers • • jado58

      3
      0
      Votes
      3
      Posts
      861
      Views

      J

      That was too easy lol. Thank you!

    • 1 / 1