fxDreema

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

    Need Help With This EA!

    Questions & Answers
    2
    3
    675
    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.
    • T
      thatashtonkid 0 last edited by

      I cannot figure out how to get my EA to work correctly... It is a buy/sell arrow indicator and I want it to open a buy when green arrow appears and I want it to exit and open the opposite position when the red sell arrow signals. I figured out how to do that, but the problem I am running into is that sometimes there are multiple green buy arrows or multiple red sell arrows in a row. I want the EA to open a new position on all consecutive same arrows until the opposite signal appears and have it close all trades until that signal. IE: there are 2 green consecutive buy arrows I want them to open buys for both, but I want both of them to close when a red sell arrow appears and then it will open a sell order from there. Please help. Thank you!

      T 1 Reply Last reply Reply Quote 0
      • T
        trader.philipps @thatashtonkid 0 last edited by

        @thatashtonkid-0 It would help if you share your project and maybe indicator here to have a detailed answer for you.

        However, there are 2 alternative solutions that I see, but both of them are not the 100% solution.

        Alternative 1: Work with "No trade" or "If trade" blocks and specify buy or sell depending on your condition tree. Like this you could avoid having multiple trades opened in the same direction. Disadvantage, If one of the trades get closed for whatever reason, there might be a new trade on next signal in same direction of the closed trade.

        Alternative 2: Use "Turn on" and "Turn off" blocks. So for instance once a buy signal was opened, you place a turn on block that turns on sell signals and another one that turns off buy block (usually you take the starting block). You do the same for Sell trades vice versa. Like this you ensure that a buy sell will only be opened after a the next sell trade. However, it might happen, that there is no sell signal after a buy signal for instance and in that case you might skip the next buy signal.

        Does that help?

        I like to share my knowledge, but expect the others to contribute as well.

        1 Reply Last reply Reply Quote 0
        • T
          thatashtonkid 0 last edited by thatashtonkid 0

          Hi @trader-philipps,

          Thank you for the reply. Here is the share link for my EA. I want it to basket trade on same direction consecutive signals and close out on opposite signals. Any ideas?

          https://fxdreema.com/shared/QlFz0oHwe

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

          Online Users

          S
          E
          S
          H
          M
          M

          18
          Online

          146.9k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors