fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Abade69
    • Profile
    • Following 0
    • Followers 3
    • Topics 33
    • Posts 125
    • Best 10
    • Controversial 1
    • Groups 0

    Abade69

    @Abade69

    10
    Reputation
    2136
    Profile views
    125
    Posts
    3
    Followers
    0
    Following
    Joined Last Online

    Abade69 Unfollow Follow

    Best posts made by Abade69

    • RE: Martingale principles

      @AlphaOmega I agree that backtesting is not good enough by itself, but it's x1000 times better than just assuming (hoping) that something works and then put money into it without any kind of analysis.

      The way I judge experts now is not how good or bad these are in isolation, but how good they are in relation to each other in specific markets and situations, and how they would be able to complement each other when one of the pieces fail.

      Markets change constantly and rigid strategies lose their edge and start underperforming when new volatility and structure regimes arise. This is why we also have to adapt and improve our strategy continuously.

      The new AI technology will make trading A LOT harder than it already is.

      posted in Questions & Answers
      Abade69
      Abade69
    • Any way to do this with indicators?

      Any of the following:

      A) Hide them.
      B) Change their color.
      C) Insert/remove them from the chart.

      Using a key stroke, condition, command from within the EA, and without changing templates (as it resets the variables and screws everything). I know i can do this with objects. Anyone?

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: Indicators and mqh include files

      @miro1360 Thank you miro, you are always helping other people selflessly, good man!

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: Martingale principles

      @NZEFILI You can trust me, I have backtested hundreds of martingale-grid-cost averaging free and commercial strategies and I would never put money into any of them. They got a bad reputation for a good reason.

      If you are willing to share your strategy logic I can tell you exactly why it's not such a good idea.

      Watering down the x2 multiplier of the martingale doesn't fix the main issue, you are still over-leveraging.

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: Is possible to use a mql5 indicator in an EA?

      I finished a very simple demo for trading execution using this indicator (please note that I don't recommend you trade like this in a real account), you can find it here:

      https://fxdreema.com/shared/WfOK6fDhb

      After a random backtest the MT4 platform will give you the indicator settings it was using for the signals:

      image.png

      So now we know that appliedPrice = 1 is "Open Price", so:

      0 = Close
      1 = Open
      2 = High
      3 = Low
      4 = Median
      5 = Typical
      6 = Weighted

      For TimeFrame "0" is equal to "current", and the rest of the list is in order (0,1,2,3,4,5).

      The reason why I don't recommend using "enum" is that you don't have the source file where they are enlisted, so you don't have a way to know the correct way of declaring them. The labels may be different from those shown in the site tutorials. And enums may cause conflict when two indicators within the same EA use similar declarations.

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: How do I use several buffers at the same time?

      @clubdio I believe you need to add an aditional block for your "trigger" signal.

      i.e.: You have your 3 (slower) signals as pre-conditions reading "Candle ID" = 1, then you have your "trigger" which also uses "Candle ID" = 1, so the new block should measure the state before that (Candle ID = 2). this way the EA should not open AGAIN during the same cycle of the fastest reading when the first trade closes after taking profit (which is the problem right now).

      Did I get your idea right?

      Another solution is to catch the precise buffer that triggers the arrow painting, I'll try to do that.

      Edit: I couldn't find it, but the rest of the buffers could be used to mimic the logic of the arrows, or better yet... Creating a MT5 version with the original CCI indicator readings (zero-cross signals) and remove the repainting "feature", it can work exactly the same or even better.

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: πŸ€” Stop Loss - Middle of Last Candle?

      @davidmcc This option brings the same results and it's much cleaner:

      2.png

      MT5 distorts the levels and candles, that's why it may seem a bit off in some places. Hope it works!

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: πŸ€” Stop Loss - Middle of Last Candle?

      @davidmcc Always check the "Candle ID" box, that's where the EA is taking the information from.

      Candle ID = 1 means you are reading the last candle information.
      Candle ID = 2 means you are reading the information of the candle before 1
      and so on..
      Candle ID = 0 means you are reading information of the current candle, so the total size will always be zero if you try to read it too early (that's the default value if you leave it empty).

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: Martingale principles

      @roar Here is a visual example:

      1.png

      It's the same strategy, same data-set and same instrument. The only difference is the in-sample (training) period.

      The first row shows the out of sample results for each month when using a whole year (more trades) for in-sample training. As you can notice it loses -29.22 in 10 months. When using 4 months for in-sample (less trades) it increases performance, even if the parameters that used are always different (inconsistent) for each month. Adapting to current market conditions is x100 times more important than the number of trades used for training.

      I know this will be a useful insight for a lot of traders.

      posted in Questions & Answers
      Abade69
      Abade69
    • Is it possible to change the used time-frame using input parameters (in blocks)?

      I think this may be asked a lot.

      Sometimes i need to create EA's that use multiple-timeframes but need the parameters to be editable to prevent duplication (and excessive work). This would add a lot of flexibility for creation AND for testing/optimization.

      0_1522874777511_10.png

      A view from one of my projects to demonstrate how big it can get without this option:

      https://fxdreema.com/builder/shared/YUoEVLcvb

      Thanks in advance πŸ™‚

      posted in Questions & Answers
      Abade69
      Abade69

    Latest posts made by Abade69

    • RE: Drawing a line in another chart

      @jstap Yes! An example to clarify: Chart #1 is "EURUSD_Renko" which is a custom chart I create and attach the EA into. The EA plots different lines for entry, TP and SL of hypothetical pending orders, this helps me visualize the ranges before I put an order. But it is impossible to execute directly on custom charts (MT5), so the EA sends an order to the original live chart "EURUSD" (chart #2) to do this. I have no problem reading or executing on a second chart, the problem is that I cannot draw or update an object on the second chart because there doesn't seem to be an option for any "draw" blocks:

      Draw.png

      I want to be able to analyze/view these ranges/objects in both the custom chart (renko chart) and the execution chart (time bar chart).

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: Drawing a line in another chart

      Hi @l-andorrΓ , thanks for the response, but if I do that I would be able to see the line on EURUSD (or whatever instrument the EA is attached to), but it would NOT draw and update on AUDUSD because there is no secondary "symbol" option in the "draw" block configuration. In other words, it only seems to be able to draw objects on the current symbol the EA is attached to.

      I could use global variables and two EAs to synchronize these objects, but I would like to know if there is a simpler solution that can be executed from a single EA instead of using two.

      This is the EA I try to use: https://fxdreema.com/shared/BUf6SjRVc . It is a scalping tool that uses horizontal level variables and objects (for visualization) to trade renko charts.

      MT5 doesn't allow trading/execution on custom charts directly, but the EA can handle that already. I just need help to synchronize the objects in both charts using the same EA.

      posted in Questions & Answers
      Abade69
      Abade69
    • Drawing a line in another chart

      Does someone know a way to draw a line (or any object) in a secondary chart? I:e using AUDUSD variables to draw a line in EURUSD within the same EA logic. There doesn't seem to be a "Symbol" option like in other blocks.

      Drawing_Line.png

      Thank you.

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: Optimization by mql5 cloud

      Hi!

      a) What kind of strategy are you trying to optimize? (i.e. scalping?)
      b) What's the timeframe it operates on?
      c) What are the type of operations it does intra-bar? (i.e. real-time trailing, etc.)

      In many cases you don't even need anything beyond open price modelling for optimizing (as long as your EA operates once per bar) . It'll save you a ton of time and money.

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: πŸ€” Stop Loss - Middle of Last Candle?

      @davidmcc Always check the "Candle ID" box, that's where the EA is taking the information from.

      Candle ID = 1 means you are reading the last candle information.
      Candle ID = 2 means you are reading the information of the candle before 1
      and so on..
      Candle ID = 0 means you are reading information of the current candle, so the total size will always be zero if you try to read it too early (that's the default value if you leave it empty).

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: How do I use several buffers at the same time?

      @clubdio I believe you need to add an aditional block for your "trigger" signal.

      i.e.: You have your 3 (slower) signals as pre-conditions reading "Candle ID" = 1, then you have your "trigger" which also uses "Candle ID" = 1, so the new block should measure the state before that (Candle ID = 2). this way the EA should not open AGAIN during the same cycle of the fastest reading when the first trade closes after taking profit (which is the problem right now).

      Did I get your idea right?

      Another solution is to catch the precise buffer that triggers the arrow painting, I'll try to do that.

      Edit: I couldn't find it, but the rest of the buffers could be used to mimic the logic of the arrows, or better yet... Creating a MT5 version with the original CCI indicator readings (zero-cross signals) and remove the repainting "feature", it can work exactly the same or even better.

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: πŸ€” Stop Loss - Middle of Last Candle?

      @davidmcc This option brings the same results and it's much cleaner:

      2.png

      MT5 distorts the levels and candles, that's why it may seem a bit off in some places. Hope it works!

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: πŸ€” Stop Loss - Middle of Last Candle?

      @davidmcc Here it is: https://fxdreema.com/shared/mnDuTcAvd

      It will paint a pink line where the mid point of the last candle is. Included execution examples for buys and sells and how to trail it using the mid point, hope it is a good starting point for your EA.

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: πŸ€” Stop Loss - Middle of Last Candle?

      @davidmcc Wait, I'll prepare an example... Are you using MT4 or MT5?

      posted in Questions & Answers
      Abade69
      Abade69
    • RE: Bollinger bands - Not taking orders

      @stlastla Glad it works now!

      MT5 journal section is very detailed and helpful.

      posted in Questions & Answers
      Abade69
      Abade69