fxDreema

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

    i want to close trade if equity increases. How??

    Questions & Answers
    2
    2
    460
    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.
    • V
      vpraveen last edited by

      https://fxdreema.com/shared/hbE2aMtfd

      T 1 Reply Last reply Reply Quote 0
      • T
        trader.philipps @vpraveen last edited by

        @vpraveen 0_1575488041352_b0df3268-2993-4072-9457-e133f8aacc75-image.png

        That condition never will get true unless your Equity is 0. What you want to achieve is to compare equity at a given point in the past with the current equity value. In that case you need to store that euity value in past in a variable and compare it with the current equity.
        If there are no other trading actions on the account you may use Account Balance instead as that only changes if profit or loss ir realized.

        I like to share my knowledge, but expect the others to contribute as well.

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

        Online Users

        A
        S
        I
        H
        M
        D
        A
        W
        S
        F

        17
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors