fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. gajus
    G
    • Profile
    • Following 1
    • Followers 0
    • Topics 8
    • Posts 15
    • Best 0
    • Controversial 0
    • Groups 0

    gajus

    @gajus

    0
    Reputation
    172
    Profile views
    15
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    gajus Unfollow Follow

    Latest posts made by gajus

    • GAP detecting not correct?

      Hi all,

      i want my EA to detect GAPs as follows to mark it:

      GAP Long: Open(C1) > Close (C2)
      GAP Short: Open (C2) > Close (C1)

      But even when Open (C1) price is equal to Close (C2) price (or vice versa on short) it's marked as an GA?P which it is obviously not.

      Why is it and how can I fix it?
      Thanks in advance ✌

      posted in Questions & Answers
      G
      gajus
    • RE: Trading history

      Hi @l-andorrΓ , thanx for your response.
      I was talking about the trade history symbols appearing on every chart of one instrument. I was wondering if there is a possibilty to see those history symbols only on the chart belonging to the specific trade (eg. trade in m5 = only m5-trading history symbols (arrows), trade in m15 = only m15 symbols and so on)...
      And the second questions was: How do I avoid a trade to be openend in the reverse direction (sell) eg. on m15 timeframe when a trade is already running (buy) on m5 in the same instrument - same ea, but different magic numbers.

      posted in Questions & Answers
      G
      gajus
    • Trading history

      Hi all,
      I'm using an EA build with fxdreema with different magic numbers on different time frames on one instrument. Unfortunately the trade history is shown on every chart of the instrument. Is there a way to only show the history on the chart where the trade was placed?
      And while running e.g. a buy trade on M5 timeframe I don't want a sell trade be opened on M15 chart. Is that possible when using different magic numbers?
      Any help is appreciated πŸ˜‰

      posted in Questions & Answers
      G
      gajus
    • RE: EA uses wrong lotsize

      I was able to find the solution by myself. I had two parallel trees of options and formulas. Although i was saving some values like "Volume" or "SL-Size" as variables EA didn't work as expected. I put my formulas inside the "option-tree" and now it works like charm.

      posted in Questions & Answers
      G
      gajus
    • RE: EA uses wrong lotsize

      Hi @roar, @Alan-paredes2,

      thanks for pointing me in the right direction, it looks as if it's still a way to go πŸ˜‰
      @roar: I did change things you suggested but with no better result. Still the Risk seems to be set randomly and not corresponding to the formula and also opens trades when it shouldn't because of the condition in block 44. Why do I have to check SL-level? To me it's part of the trading idea that Close C3 ist below Open C0 (buy) and vice versa on sell

      @Allan.paredes2
      I don't think it's the free margin - the trade should never be opened as the risk-size is greater than ATR-High (see condition block 44) and when the volume shouldn't be higher than 0.2

      posted in Questions & Answers
      G
      gajus
    • EA uses wrong lotsize

      Hi all, I'm wondering why my EA often uses the wrong lotsize.
      EA should trade on DAX40mini where I can trade Mini-Lots (0.1)
      I use a constant where I put my max risk in money (e.g. 10 € on a 1000 € account. I know that due to spreads etc. the result is roughly 10 €, but that's ok for me).
      The SL is calculated by body sizes of candle 1 + 2 but must not be greater than constant "ATR_High" (in this example 50). To get the Lotsize ("Risk") I use a formula "Money Risk/SL-Size" and round the entire result.
      So far the results seem to be correct as they can be seen on the upper left corner of the chart.

      Here are my issues/questions:
      a) Why does the EA not use the "Risk Rounded" but some other "random" Lotsize (e.g. in picture "chart3")
      b ) Why is a trade opened though the Risk-Size (SL) is greater than 50 (chart3)?
      c) Why do I get an error ("invalid SL requested", picture "chart 1"), when after that message the SL is accepted (picture "chart 2")?
      Here is the link to my project: https://fxdreema.com/shared/ycCqrXpXb

      Any help is appreciated
      Thanx in advance

      chart3.png chart2.png chart1.png

      posted in Questions & Answers
      G
      gajus
    • RE: Questions on engulfing EA

      @jstap ah, now I saw it. Sorry to bother you in that case. I changed the block, was running the strategy tester - no changes. I added another screenshot to show where the issues are...
      Updated project here: https://fxdreema.com/shared/llZsPIsfb
      0_1650818813500_Screenshot 2022-04-24 180015.png

      posted in Questions & Answers
      G
      gajus
    • RE: Questions on engulfing EA

      @jstap Hi jstap, thx for your reply. I'm sorry but I don't know what you mean. Would you be so kind to explain it?

      posted in Questions & Answers
      G
      gajus
    • Questions on engulfing EA

      Hi,

      I'm facing some problems with my project.
      This is what I'm trying to achieve:
      My EA should open long/short positions based on bearish/bullish engulfing patterns and moving averages in H1 timeframe. I'm checking the trend on an H4 chart. If the EMA 21 is above 13 and 13 above 8 trend is short. Short trade (Sell stop 5 pips below candle (1) low) should only be opened when H1-candle(1) of the bearish engulfing pattern closes below EMA 8. Long trend vice versa.
      Still testing and developing but here is what I noticed so far:

      Why are trades opened immediately instead sell stop being placed and the 5pips shift is ignored ?
      Why are double trades opened?

      Here's my project: https://fxdreema.com/shared/CeCvfv9pb

      Any help and guidance would be appriciated πŸ˜‰

      0_1650746285514_Screenshot 2022-04-23 223657.png

      posted in Questions & Answers
      G
      gajus
    • RE: Detecting Range

      @tipsywisdom hahaha, don't know. The idea came suddenly into my mind...
      For me it's a start to get deeper into ea programming using fxdreema - that's the reason why πŸ˜‰

      posted in Questions & Answers
      G
      gajus