fxDreema

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

    Send email when trade is closed

    Questions & Answers
    2
    6
    1303
    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.
    • D
      DGRL last edited by

      Dear forum members,

      Hope someone can help me with this
      My EA is email bombing me LOL
      i open sell and buy position based on certain conditions
      I made the EA to send me email when a trade is closed
      When the conditions are right the sell will close and the buy will open
      The open sell and buy block is sending me 1 email at a time but since the conditions to close my sell and open a buy are met every tick the close sell block is sending me 1 email per tick LOL
      How can i make the EA that is will only send me 1 email when the trade is closed and not on every tick?

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

        go to the OnTrade tab and make a block on trade close and connect the email block to it.

        1 Reply Last reply Reply Quote 0
        • D
          DGRL last edited by DGRL

          HI
          Thanks for the reply
          Do you mean "if trade"? Coz i cant tfind the "on trade" tab

          What i have now is,

          If trade --> cond --> cond --> Close trade --> send email
          It is sending every time when this cond is met and not only once when trade is actually closed

          1 Reply Last reply Reply Quote 1
          • D
            DGRL last edited by DGRL

            Did not fixed it yet
            I will try your solution

            Thanks for helping me out

            1 Reply Last reply Reply Quote 1
            • Spuzy
              Spuzy last edited by

              glad it helped somehow 😄
              this is what I meant tho
              0_1557490512159_22d5235f-8815-4e2d-b3a2-3ad9735a5866-image.png

              this way might be more efficient as that block won't be firing on every tick but only on a trade event.

              1 Reply Last reply Reply Quote 1
              • D
                DGRL last edited by

                This did the trick
                Thanks a lot for pointing this out
                KUDOS for you!!

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

                Online Users

                H
                E
                E
                M
                S
                M
                N
                H
                P
                E

                15
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors