fxDreema

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

    Posts made by james

    • RE: Formulas - joining up results

      For anyone else who is looking... from one novice to (perhaps) another...

      After spending half a day reading "how to program in MQL4" web pages (isn't the internet useful!), I concluded that the best way to get the maximum value (or minimum, or whatever) in a set of formulae was to do some custom coding, which I did in the "Custom MQL4 Code" block available in the excellent FxDreema.

      So, the image shows what I end up with in the user interface:

      [attachment=0:20z7n1i0]http://forum.mql4.com/35725 for more information.

      My especial thanks to Mr fxDreema himself for his help with this.

      ......
      formulas.jpg

      posted in Questions & Answers
      J
      james
    • RE: Formulas - joining up results

      Thank you so much. I'm very grateful. I guess the problem I have is being a spreadsheet user, and not familiar enough with programming logic! I'll go away and work with what you've given me here, which looks like the answer to my issue.
      Thanks again.;)

      posted in Questions & Answers
      J
      james
    • RE: Formulas - joining up results

      Sorry, I'm back again! 🙂

      I've created the following shared project to illustrate my query:

      http://fxdreema.com/shared/RLmTCDBcc

      So... at 01:00hrs the EA picks up some information using the 3 formulas
      Then... at 01:15hrs, it checks to see which formula resulted in the highest value (I hope I've understood the logic here - please say if I'm wrong!)

      ...but where can I store the resulting value coming out of one of the 3 "and" statements? Ideally I'd like it to be a variable, changed daily by this process so that I can use this variable later on.

      Or am I going totally wrong? 😞

      Many thanks.

      posted in Questions & Answers
      J
      james
    • RE: Formulas - joining up results

      Thank you very much for the speedy reply! I'm completely new to trading and MetaTrader, so this web site is a godsend! I only signed up yesterday, but already I'm getting to grips with things, and I feel I'll be taking out a paid subscription based on my experience thus far.

      Thanks again.

      posted in Questions & Answers
      J
      james
    • RE: Formulas - joining up results

      Hello

      I've constructed 3 formulas. Now I'd like to find the maximum one. In spreadsheet terms, "Max(formula1;formula2;formula3)".

      I may have missed the obvious, and if I have please point me in the right direction!

      Thanks.

      posted in Questions & Answers
      J
      james
    • 1
    • 2
    • 14
    • 15
    • 16
    • 17
    • 18
    • 18 / 18