fxDreema

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

    I need to keep the price of the order in a variable

    Questions & Answers
    2
    2
    382
    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.
    • R
      Robinfx5 last edited by

      Hi.
      When my EA placed an order, I need to keep the price of the order in a variable so that I can use that value price for the calculation of a second order. As I can do this ?.

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

        The better idea is probably to get this price when you are going to use it. If you want to get the open price of the last closed trade...

        For each Closed Trade (set "Not more than..." to 1) => in the next block, let's say Condition, navigate to (in loop).... and find Open Price
        http://prntscr.com/6pn6ok

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

        Online Users

        F
        M
        A
        M
        W
        E
        G
        K
        E
        A

        15
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors