fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Linas
    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    Linas

    @Linas

    0
    Reputation
    2
    Profile views
    13
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Linas Unfollow Follow

    Latest posts made by Linas

    • RE: How to set Flag to true/false after consecutive losses?

      Yes, I did check it. Tried tried some experiments, but no luck.

      Closest to what I'm looking is this robot. It almost work: https://fxdreema.com/shared/dWf2q1lbd

      (I tried to incorporate your example into that "almost working robot" like this: https://fxdreema.com/shared/aPkR3pSad but then it is not working at all - what I see is "Flag" variable is updated by 11th block all the time)

      posted in Questions & Answers
      L
      Linas
    • RE: How to set Flag to true/false after consecutive losses?

      I will be glad to buy fxDreema subscription, but want to make sure that this kind of logic can be implemented. And if it will possible - I will want to create more complex robot on top of it where I will need much more connections. But seems this simple logic is not so simple to implement therefore I'm hesitating to go with subscription

      posted in Questions & Answers
      L
      Linas
    • RE: How to set Flag to true/false after consecutive losses?

      Thanks for help. And. Sorry, I don't get it.
      How to incorporate consecutive losses into it?

      The main purpose is to have possibility to - set after how many consecutive losses robot should start put opposite orders.

      posted in Questions & Answers
      L
      Linas
    • RE: How to set Flag to true/false after consecutive losses?

      Hi, just wonder is there anything else left to try in this path, or I need to go in total other way if I want to achieve what I'm seeking for?

      posted in Questions & Answers
      L
      Linas
    • RE: How to set Flag to true/false after consecutive losses?

      Here is the version with your suggestions: https://fxdreema.com/shared/7juuaLhOd
      I just left No Position blocks to filter Either Buy Or Sell, because otherwise it is opening both orders at once.

      The only issue left with this EA is shown in excel screenshot in previous comment.
      When I was looking visually into backtest, it seems that things happen in this sequence:

      1. Order closed with SL
      2. New order opened with old variable (though it should be opened as according new variable)
      3. Right after 2nd step (milliseconds pass) the variable is updated
      4. Next order is opened according new variable

      54925750-ee8b-4196-9f43-94e3ce22120b-image.png

      posted in Questions & Answers
      L
      Linas
    • RE: How to set Flag to true/false after consecutive losses?

      "No position" blocks (18 and 21) I think shouldn't be updated. I tried it, but somehow then both orders are opened at once every time the variable is updated.
      Position closed block - I have updated it. Sorry for missing it.

      And I got "interesting" results. It's very close, but something missing.
      The variable is updated (yey), but the update is lagging by one order.

      Tried to update sequence of blocks, tried to put everything in on Tick, and tried to put just position closed tree on tick - nothing worked. It is as close as never was, but still something missing

      1e44e73c-3b4b-4acc-8e71-3cdb06739855-image.png

      posted in Questions & Answers
      L
      Linas
    • RE: How to set Flag to true/false after consecutive losses?

      Still the same result
      Here it is: https://fxdreema.com/shared/BJdjOClC

      posted in Questions & Answers
      L
      Linas
    • RE: How to set Flag to true/false after consecutive losses?

      Moved the comment block.
      From it I see that my variable changes once and then it's not changing any more.

      I also tried to print on chart my variables every time variable is updated, but basically the result was the same - variable is updated just once.

      Not sure how to troubleshoot it further

      On trade
      e5dc9645-e87e-43cd-bb42-30fbd1c5ab40-image.png

      On tick
      9cc6f934-d521-4b62-8fa9-b257823b4d04-image.png

      posted in Questions & Answers
      L
      Linas
    • RE: How to set Flag to true/false after consecutive losses?

      Sure. I've updated and there is just one comment now https://fxdreema.com/shared/skrwkXjFb

      When backtesting still don't see it on chart

      image.png

      posted in Questions & Answers
      L
      Linas
    • RE: How to set Flag to true/false after consecutive losses?

      Created it. Tried to run a backtest, but it is not printing anything on chart.
      https://fxdreema.com/shared/g6rnT2kxb

      Or you have something else in mind?

      posted in Questions & Answers
      L
      Linas