fxDreema

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

    Weekly Candle High (by candle ID) Bug

    Bug Reports
    3
    8
    2594
    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.
    • H
      hamedonline last edited by hamedonline

      Hi there,
      I believe there's a bug regarding weekly timeframe candle high by Candle ID (maybe for other values too).
      I noticed this bug also effects calculation of Highest Price (Candles Period) for weekly timeframe.

      The following EA is a simple demonstration of values. As you can see, all comment output values of candle high for different week candle IDs show the previous week's (candle ID = 1) value.
      https://fxdreema.com/shared/F6I4KBxUb

      @fxDreema Please do check this bug immediately since it seems to be a serious and urgent one.

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        I think it is not bug, because candle ID 1 is previous candle ... current candle have value 0

        Between trading and gambling is a very small gap, be careful.

        H 1 Reply Last reply Reply Quote 0
        • H
          hamedonline @miro1360 last edited by

          @miro1360 Please check the shared EA and run it on your metatrader platform.
          Why do you think the output values for weekly candles 1, 2 and 3 are the same?

          1 Reply Last reply Reply Quote 0
          • M
            miro1360 last edited by

            because tester starts in some moment and not all candles before this moment are used for calculation, you must forward tester and ignore few candles until your higher TF is covered by candles from lower TF ...

            Between trading and gambling is a very small gap, be careful.

            H 1 Reply Last reply Reply Quote 0
            • H
              hamedonline @miro1360 last edited by

              @miro1360 In some cases this could be true, but there's another point though that falsifies this assumption. No other timeframe (except weekly as we see) with the same (Candle High) condition, produces this kind of behavior. This is why I'm skeptical and somehow sure that it is caused by a bug...

              By the way, I just updated the shared EA and you can see and confirm it for yourself (no duplicate values for Candle Low!).

              I'm pretty sure this is a bug and it also effects calculation of highest price by candles period (only if you choose weekly timeframe in More Settings) .
              => Market Properties -> Highest Price (Candles period) :: More settings -> timeframe: Weekly

              1 Reply Last reply Reply Quote 0
              • M
                miro1360 last edited by

                it must check admin 🙂

                Between trading and gambling is a very small gap, be careful.

                1 Reply Last reply Reply Quote 0
                • fxDreema
                  fxDreema last edited by

                  I tried this EA and it shows correct results to me http://prntscr.com/hmo4m1

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    hamedonline @fxDreema last edited by

                    @fxdreema ok, here's the problem. When you add the indicator in forward testing, numbers are right. The problem exists in backtesting as I have attached the samples:
                    https://prnt.sc/hmxpis
                    http://prntscr.com/hmxq42

                    and since we need the numbers to fine tune the variables in backtests, ea never works as expected. I even had a division by zero error while backtesting (I tracked that and noticed ea returns zero for highest price by candles period)...
                    I'd appreciate if you shed some light on this issue.

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

                    Online Users

                    R
                    G
                    S
                    M
                    G
                    C
                    F

                    24
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors