fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. SirLuk
    3. Posts
    S
    • Profile
    • Following 0
    • Followers 2
    • Topics 29
    • Posts 111
    • Best 2
    • Controversial 0
    • Groups 0

    Posts made by SirLuk

    • Close trades under condition once certain profit reached

      Hi guys, here is what I would like to do: I have an EA where only one trade at a time can be open. Once the trade reaches 100% of stop loss distance, I want a permanent (on tick) condition which closes the trade if price crosses the 50 MA. So the trade doesn't have a fix take profit. I have tried various things but can't really solve the issue. The thing is, I don't only want the trade to close when price crosses the MA while it is still 100% in profit (of SL). It should just activate that rule no matter what happens with the price later. Kind of like a trailing stop, where the stop is the crossing of the 50 MA.

      Is there anyone who can help with this?

      posted in Questions & Answers
      S
      SirLuk
    • RE: Show currency pair in alert message

      @jstap That seems to do the trick! At least the journal in the backtest says so. I'll have to see on Monday morning how it looks like. Anyway, really appreciate the help here from everyone.

      posted in Questions & Answers
      S
      SirLuk
    • RE: Show currency pair in alert message

      @jstap thanks for the help. I'm quite the newbie, so I'll have to ask: So I write a string variable? The name is alert and the Value is (Symbol()) + ("-Possible setup!");?

      And then, the pass and modify variables blocks, do I connect them to the alert message or just leave them independent from the rest of the EA?

      Thanks again!

      posted in Questions & Answers
      S
      SirLuk
    • RE: Show currency pair in alert message

      @l-andorrà 0_1629545559966_F57889B6-17B0-45AE-A19F-5EA650FE88B0.jpeg do you see the Problem? I have these 4 lines with the specific time of the setup, but since I use the EA on 28 pairs, I don’t know which currency pair the alert is for. I want these lines to contain the market symbol as well, so I don’t always have to double click it.

      posted in Questions & Answers
      S
      SirLuk
    • RE: Show currency pair in alert message

      @l-andorrà that’s not the problem. I get every alert according to the setups i designed. All good there. The problem is, I use this EA for 28 currency pairs. This means in trading the alert box opens and I see the message „Possible setup!“…what I want is to also see which currency pair is meant. Basically, I want the message in Data row 1 to be shown in the main alert message field. Anyway to do that?

      posted in Questions & Answers
      S
      SirLuk
    • RE: Show currency pair in alert message

      @l-andorrà thanks for your help! I‘m probably too new here to totally understand what you mean. Can you explain it easier or show me in an example? 😀

      posted in Questions & Answers
      S
      SirLuk
    • RE: Show currency pair in alert message

      @max-c seems to me I could somehow get that Data row 1 (Symbol: i.e. GbpAud) into the main alert field.

      posted in Questions & Answers
      S
      SirLuk
    • RE: Show currency pair in alert message

      https://fxdreema.com/shared/p1jV8jxkd

      posted in Questions & Answers
      S
      SirLuk
    • Show currency pair in alert message

      Hi, I searched through google for the answer to my question, but just can't find a solution. As you can see in the attached picture, my EA gives me setup signals. I use it across various currency pairs. Now, the first time the alert comes on, I see the currency pair at the top of the alert box. However, the individual alert messages don't contain the currency pair. So unless I close the alert message every time, I don't get the newest pair shown. Do you understand what I mean? 🙂 In short, I want each alert line to show the currency pair in question. Any ideas?

      0_1629355343427_Unbenannt.PNG

      posted in Questions & Answers
      S
      SirLuk
    • RE: Help with take profit options needed...

      @jstap that worked good, thanks!

      posted in Questions & Answers
      S
      SirLuk
    • Help with take profit options needed...

      Hi guys, I'm new here. Programming my first Forex EA and all good so far...until I hit the actual trade I want to make. So, what I want is the following: In a buy setup, I want the EA to calculate the distance between market price and the low of the last 5 candles. The EA should open the trade with the position size calculated by that distance, so it matches 1% of balance. I want the same distance for the take profit. Now comes the catch...I don't want a stop loss set. I haven't figured out how to get that profit target and the position size without actually having the stop loss. Does somebody know what I can do? Any help would greatly be appreciated.

      posted in Questions & Answers
      S
      SirLuk
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 6 / 6