fxDreema

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

    pin bars in a loop

    Questions & Answers
    2
    3
    124
    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.
    • N
      nasserminaei last edited by

      Hi I want to create this EA but couldn't figure out yet:

      1. loop through candles 1-10
      2. if there are 3 pin bars in the last 10 bars, then,
      3. play sound
        I want this as a trade assistant EA not to trade automatically.
        thanks
      1 Reply Last reply Reply Quote 0
      • jstap
        jstap last edited by

        Start a test project, but set up a single candle template, reset the variable to 0, loop n pass 10 times, add 1 to a variable every loop that finds, check this variable number, and play sound.

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        N 1 Reply Last reply Reply Quote 0
        • N
          nasserminaei @jstap last edited by

          @jstap thanks, I will share when I am done

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

          Online Users

          E
          R
          S
          A
          B
          N
          M
          A
          T
          V
          M

          23
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors