fxDreema

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

    Only Allow Trade on the first 7 bar after Indicator Signal

    Questions & Answers
    3
    3
    798
    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.
    • E
      everjn17 last edited by

      Hi'
      I am currently working on my EA that i think need this touch. I want to only allow trade happen on the first 7 bar after my indicator give a signal.
      For example, let's say i have MA crossover as the main indicator and William%R as the confirmation indicator, both indicator need to be on the same signal to go for a trade. So, when the MA crossover happen and it's says BUY, i want to give the William%R 7 bar to catch up giving a BUY signal as well. Otherwise i don't open the trade.
      The question, how can possibly i do this? i tried using every "n" bar but just no good result so far.

      Thanks for your attention,

      T 1 Reply Last reply Reply Quote 0
      • T
        trader.philipps @everjn17 last edited by

        @everjn17 I don't know how you confirm with W %R, but by principle it should work like this

        0_1578847944345_b9c75452-ab8c-475b-ba28-00fadc1f3777-image.png

        x> with width 7 from my understanding means, that there was a cross within the last 7 candles and close price staid above the MA since that cross happened. I think that's what you're looking for.

        I like to share my knowledge, but expect the others to contribute as well.

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

          Trader.philipps is correct. However, if what you want is that trade is allowed only ONLY when the seventh bar has been created, you just need to change the number of the cande ID from 1 to 7 on the left operand and 8 to the right one. Additionally , the 'cross width' section shoud be modified to 1.

          (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

          A
          J
          D
          E

          29
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors