fxDreema

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

    Check Type (Last Loser)

    Questions & Answers
    2
    4
    1066
    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.
    • K
      keydcuk last edited by

      Hello,

      I am having a problem with this configuration I am trying to work out.

      Basically, I just want the EA to check the last loser type and if it was a buy, do not try to buy again until last loser is not a buy. The same goes with the sell condition not to sell when last loser was a sell.

      I attach a screenshot. I have tried it both with the pass condition set to yes and no.

      Please advise. It doesn't open trades at all at the moment but will if the check type block is removed.

      Many Thanks & Best Regards,

      Daniel

      ......
      Screenshot_1.png

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

        This is only an example, I don't use your settings and I don't even have a Condition block, but I think you want to do something like this - https://fxdreema.com/shared/gXqvNRWrd

        "Last loser" - this is NOT the last trade only if it's a loser, this block reaches to the first trade in history that was loser. It can be the first trade, it can be the second... whatever. And if you set it to look at Buys only, it will be the first found Buy trade in the history that is a loser.

        1 Reply Last reply Reply Quote 0
        • K
          keydcuk last edited by

          Hmmmm.. this doesn't really explain very well then why it doesn't open trades as it has not opened one trade at all through backtester. However, if it doesn't just check the last loser then it is not doing the job I need it to do. Thanks for your example. I may play around with a solution in what I am trying to do. I only want it to look at the last loser type and if it is buy, not to buy again until the last loser is sell.

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

            Well, note that when you backtest, you start with 0 trades in the history. This is sometimes the reason to not be able to open the first trade. I'm not sure that this is the case here, but probably

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

            Online Users

            S
            G
            L
            K
            H

            13
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors