fxDreema

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

    Simple Heiken Ashi Candle Condition problem

    Questions & Answers
    2
    4
    182
    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.
    • General Melchett
      General Melchett last edited by

      I am unsure whether this is user error.

      I wish to write a log message with a simple (bullish) signal:

      • Previous HA H4 candle has no bottom wick
      • Current price breaks above previous H4 candle high

      Same with bearish signal:

      • Previous HA H4 candle has no top wick
      • Current price breaks below previous H4 candle low

      So the below would be a bullish signal and I would like to write a message to log file.
      79b71b07-b16f-4bdd-aca9-bf2048951741-image.png

      But I am having problems with the conditional statement which is not working as expected.

      I am checking the HA open is the same as the low. This would mean bottom of candle has no wick. But the conditional statement seems to provide incorrect output in some scenarios. For example, the prev H4 in this instance definitely has a bottom wick. And you can see values in data window, but my EA is not functioning correctly, it should simply output 'Has Bottom Wick' to log:
      6926e4de-4a45-411a-9d2c-2bfe5bb51278-image.png

      Here is shared project, can anyone advise on what I'm doing wrong? I have tried numerous combinations in the 'chosen candle type'/'previous candle type' as well. Can't get it to work.

      (Ignore the blocks to the right, they are turned off anyway):
      https://fxdreema.com/shared/IvP3gqDbb

      1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà last edited by

        You are nor selecting any kind of candle type in blocks 18 and 32. IIRC, those locks don't work correctly unless candle types are specified.

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        1 Reply Last reply Reply Quote 0
        • General Melchett
          General Melchett last edited by

          Even when I specify candle types I am getting some very strange behaviour that is unexpected.

          Find a pair that has current/previous HA candles that are different and I always get flase positives.

          I've even tried simply detecting whether current/previous candle are both same direction, again, false positives. The way the block works is confusing in the documentation, or there is some kind of bug.

          For example:

          image.png
          If you leave '--' in the dropdown for 'previous candle type', is previous candle ignored? Is that allowed? Clarity from admin would be great on this!

          1 Reply Last reply Reply Quote 0
          • General Melchett
            General Melchett last edited by General Melchett

            And if the block does not pass, how do you control behaviour if it's in a loop? Does current loop just stop? And you can't process blocks afterwards to output error messages to trace bug etc?

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

            Online Users

            T
            B
            A
            P
            A
            A

            16
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors