fxDreema

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

    condition

    Questions & Answers
    2
    4
    971
    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.
    • T
      Trader3487 last edited by

      This ea should close trade when bid line goes below open price but it doesn't work: http://fxdreema.com/shared/4xGbaOaR
      Maybe right operands of blocks 11 & 12 are not correct?

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        In your condition you have Bid + 1. If for example Bid is 1.3243, then 1.3243+1=2.3243. Better use +0.0001 or +1pips.

        1 Reply Last reply Reply Quote 0
        • T
          Trader3487 last edited by

          ok, I'll try thanks. Just to review on 5-decimal system like EURUSD, isn't 1 pip = 0.00001 (5 decimal places) so if I write +1pips wouldn't it mean 0.00001 instead of 0.0001 (4 decimal places)?

          where is "toPips" defined in code?

          thanks 🙂

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            "pips" uses the point format defined in options, so it depends.
            search for "double toPips", I can tell where exactly it is located because what functions to be used inside the project depends on the project itself - only the ones needed are places in the code.

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

            Online Users

            W
            S
            A
            H
            H
            T
            S

            15
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors