fxDreema

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

    Replicating condition on custom mql code block

    Questions & Answers
    2
    3
    254
    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.
    • gooseman
      gooseman last edited by gooseman

      I would like to replicate the (top) block condition (MA200) to the custom MQL code block (bottom)
      fx1.PNG

      both conditions in the MA200 block and custom MQL block use the same logic. using the MA200 block connected to the green bars will execute on each bar below the 200 length moving average
      fx2.PNG

      But when i have the custom MQL block connected, it executes on all bars. above and below the 200 moving average. ive added print function to confirm that mt5 is reading this code and it is
      fxmt5.PNG

      im at a loss as to why its executing on all bars instead of the bars below the moving average.

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

        I know how much of a pain troubleshooting\debugging code is, If someone could please point me in the right direction, I can figure out the rest.

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

          Sadly, I'm not a programmer, so I'm afraid I cannot be any helpful. However, jstap is, so maybe he can.

          (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
          • 1 / 1
          • First post
            Last post

          Online Users

          N
          J
          S
          K
          A
          K
          M
          R
          D
          S

          16
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors