fxDreema

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

    Algorim not working as expected

    Questions & Answers
    2
    2
    982
    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.
    • M
      Mirotrader last edited by fxDreema

      Hello,

      I am using Fxdreema recently and I really like it, I have tried to make an algoritm that works like that : If a candle open is lower than last candle open then buy if a candle open is higher than last candle open then sell.
      so what happens is that the buy command works but it has to wait for the stop l/p of 100 then executes the sell command.
      what I actually need is a buy condition when the candle is lower than the last and then sell it if its higher than the last immediately .

      One more problem is that I use the " check last losses " so that supposing that the expert works it has to start after lets say 3 losses with the previous strategy.

      Please correct me im sure I am doing many mistakes with that algoritm I explained.

      Best regards!
      0_1479833592569_algo.jpg

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

        Block 29 is there for nothing. Here I described this problem: https://fxdreema.com/demo/mt4-wrong-closing-rule
        Blocks don't wait. Although there is a way to make them wait: https://fxdreema.com/demo/mt4-wait-crossovers But I don't believe that you need something like this now.

        If you want 1 trade at a time, just use one single "No trade" above. So, if there is any trade (Buy or Sell), the block would not pass and no other trade will be created until the current one finally closes.

        If you want to make buy-sell-buy-sell strategy.... it depends. I see that you probably got idea from this one: https://fxdreema.com/demo/mt4-buy-sell-buy-sell-opposite-conditions And in this one the result is really buy-sell-buy-sell, but the indicator itself makes that possible, it doesn't work with whatever you put in "Condition" blocks.

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

        Online Users

        M
        K
        B
        U
        R

        12
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors