fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Eric 0
    3. Posts
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 17
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Eric 0

    • MT5 EA not working on Daily timeframe

      The MT5 EA uses a filter that performs certain actions once per bar (current timeframe). It works on all timeframes except on the Daily timeframe.
      If I copy and paste the EA and build it in MT4, it works fine on all timeframes including Daily.

      posted in Bug Reports
      E
      Eric 0
    • RE: Delay funtcion needed

      I just tried the "Skip Ticks" block. It messes up a few things because the EA analyses the previous 3 candlesticks before executing a trade. But thanks for the tip, I'm sure I will find a way to figure it out.

      posted in Questions & Answers
      E
      Eric 0
    • Delay funtcion needed

      Hi guys.
      When a trade closes, there needs to be a delay before another trade can be opened. For example, on an hourly chart, I don't want the 2nd trade to open in the same candle in which the first trade closed. I need one or two hours delay before the EA can check for the conditions and open another trade.
      The EA needs to open a trade when a new candle opens. So, when a trade closes in the middle of a candlestick, and the conditions are met for a new trade, the new trade will be opened in the middle of the candle, which is incorrect. So, in order to avoid this, I need to program some sort of a delay.

      Can anyone give me some advice, please? I tried the 'delay' function but it creates a critical error when the EA runs.

      posted in Questions & Answers
      E
      Eric 0
    • RE: Bollinger band EA not firing all signals

      Thanks, Richard and Andy. Problem solved! Appreciate your help.

      posted in Bug Reports
      E
      Eric 0
    • RE: Bollinger band EA not firing all signals

      Thanks Ambrogio, appreciate it.

      posted in Bug Reports
      E
      Eric 0
    • RE: Bollinger band EA not firing all signals

      Okay, I also thought of asking him. I'm new on the forum, how can I contact him?
      And I really appreciate your efforts and help. Thanks a lot.

      posted in Bug Reports
      E
      Eric 0
    • RE: Bollinger band EA not firing all signals

      I understand that the price could sometimes 'miss' the upper/lower band because itself and the bands move all the time. But the fact of the matter is, that when the price is actually above the upper band or below the lower band, a trade needs to take place every time (if all other criteria are met, obviously). And that is the problem, this is not happening.

      So that tells us that there is a program error in that the candle ID0 setting is not performing its function like it should be doing. Like I mentioned to you earlier, I have built other robots using candle ID0 that work 100% every time.

      posted in Bug Reports
      E
      Eric 0
    • RE: Bollinger band EA not firing all signals

      0_1546113151697_d1e7f364-afd9-4c09-9bd6-08517ea70c51-image.png

      In this screenshot, you can see that the crosshair is on the current candle (which has not closed yet) and this displays the current values in the data window. So here you can see that the price is currently above the current value of the upper bollinger band. So this would have triggered a sell trade, even though the candle has not yet closed yet.

      posted in Bug Reports
      E
      Eric 0
    • RE: Bollinger band EA not firing all signals

      (Although the example I just gave you is on a moving average, the principle is the same as with bollinger bands)

      posted in Bug Reports
      E
      Eric 0
    • RE: Bollinger band EA not firing all signals

      I understand what you're saying. But with a candle that isn't closed yet, the bollinger band indicator displays values of the upper and lower bands based on the current market price which is used for the calculation. So what I'm saying is that although the candle has not closed yet, MT4 calculates the current bollinger values on the current market price which acts as the close price of the candle, even though it hasn't closed yet.

      To give you an example, I built an EA that doesn't use a take profit, but it closes the trade when the price breaches the 5-period moving average of the current daily candle. When you backtest this strategy, you can actually see how the EA uses the MA value of the current candle, even though the candle is not closed yet. So, this EA effectively uses candle number zero for its calculations.

      posted in Bug Reports
      E
      Eric 0
    • RE: Bollinger band EA not firing all signals

      (I don't know if you maybe have a practical solution to overcome this obstacle?)

      posted in Bug Reports
      E
      Eric 0
    • RE: Bollinger band EA not firing all signals

      Are you saying that it is not possible to generate a buy or sell signal with price data of the current candle with the bollinger indicator? Because that is actually what I would like to achieve. I am aware of the candle ID function. That is why I put zero in those boxes to open trades when the price touches the bollinger band's upper/lower bands.

      posted in Bug Reports
      E
      Eric 0
    • RE: Bollinger band EA not firing all signals

      I just noticed that sometimes the EA doesn't open the trade before the candle closes. But when there was a short trade running that hit its stop loss above the upper band, the next short trade is executed immediately without waiting for the candle to close. Very strange. Do you think this could be a problem with the MT4 backtester? Perhaps this problem will not exist with demo/live trading.

      posted in Bug Reports
      E
      Eric 0
    • RE: Bollinger band EA not firing all signals

      Here is a screenshot of missed trades:
      0_1546095091307_48a59518-3730-4cac-896b-fe63bde54b79-image.png

      As you can see, the price closed above the upper band in one of the instances.

      Here is another example:
      0_1546095213974_ac0813cd-b564-4675-a1b2-f46c1d1eb170-image.png

      posted in Bug Reports
      E
      Eric 0
    • RE: Bollinger band EA not firing all signals

      Thanks for your help and suggestions, Ambrogio.

      The issue is not the 'trade overlap', though. There is some other obscure reason for some trades not being opened. When I get home I will send you a screenshot. I will also follow your advice with splitting the buy/sell signals. Thanks for that handy tip.

      posted in Bug Reports
      E
      Eric 0
    • RE: Bollinger band EA not firing all signals

      Here is the EA: https://fxdreema.com/shared/cGHzLEbSc

      The first block is 'No Trade'
      2nd block is 'Once per bar'
      Then it splits into two columns - one for buy and one for sell
      1st block in the buy column: condition that checks when the current market price dips below/equal to the lower Bollinger band (standard bollinger band settings)
      1st block in sell column: checks for price above/equal to upper bollinger band
      2nd block in buy column: buys when the preceding blocks are true
      2nd block in the sell column: sells when the preceding blocks are true.

      Thanks for your attention!

      posted in Bug Reports
      E
      Eric 0
    • Bollinger band EA not firing all signals

      Hi guys!
      I built a Bollinger band EA that needs to execute trades when the price dips below the bottom band in the current candle. For some reason, the EA only takes some of the signals. I can't understand why.
      Maybe someone has a tip or explanation for me, please?
      Eric

      posted in Bug Reports
      E
      Eric 0
    • 1 / 1