fxDreema

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

    Check Profit&Loss

    Questions & Answers
    2
    4
    995
    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.
    • ekanters
      ekanters last edited by

      I found a solution for my previous question on Oct 24 🙂 One attached picture shows that many trades were made and closed with a profit in the end. Because I trade candles high and low and I never know when the bot will take such a trade its pretty important to know the overall loss or profit. So My question is about the second picture. Is this the right way to check loss and profit.

      (Oh I know the block nrs are set wrong at this moment)

      ......
      eurjpy-m5.png
      max.png

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

        Those blue blocks have their own loop inside. So now what you have is this: if there is a single trade that has loss > 100pips (which is profit < -100 pips), close multiple trades using the first blue block. It's the same with the other blue block.

        If you want to close the single trade that has this loss or this profit, use the pink "close" block instead of the blue "Close trades".

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

          I can't get my fingers behind it. Each time conditions are true the EA should sell without take profit or stop loss. However when all trades are in the combined loss may not exceed 100 dollar. When for example 35 se3ll trades have a combined loss of 100 dollar or more the EA should close all trades and terminate.

          So far I could only figure this out on one singel trade and not a whole group of trades.

          Below what I have and I know its wrong. Maybe you can give me a hint.

          ......
          combi.png

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

            The problem is that pink blocks does not work in this "combined" mode that you want. The first block is called "For each Trade"... just look at it's description. It says "for each", not "load all", this block creates a loop for each available trades and runs the next blocks multiple times. There are also some examples in fxdreema.com/examples.

            "check loss" checks the loss of a single trade at a time. Look at this topic, I just answered to a similar question viewtopic.php?f=2&t=3307

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

            Online Users

            S
            G
            L
            K
            H

            17
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors