fxDreema

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

    Candle ID 1 and once per bar

    Questions & Answers
    3
    5
    280
    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.
    • M
      mangoose last edited by

      Hello

      https://fxdreema.com/shared/mBChz5sUb

      My EA works exclusively with Candle ID 1. It's a simple EA. CLOSE meets conditions, it should open on next bar.

      Entry : if candle id 1 CLOSE crosses below Williams percent R value AND candle id 1 CLOSE is above 200MA, go long

      Exit - if position close is below 200MA, exit

      in backtesting, it works perfectly on the 1 min OHLC model. however, on live, it'll have mixed results. sometimes it'll work perfectly. in some cases, trades will open and then close immediately, despite the exit conditions not being met. I trade on higher TF so I know its not slippage. the losses are very small, for the most part. except when there's a high volatility, then the losses become severe.

      I just wanted to get some extra eyes on this. Im not sure if it has to do something with the once per bar placement as I understand that if its placed above the condition block, it'll only check 1 tick or if it has something to do with candle ID.

      Please advise

      1 Reply Last reply Reply Quote 0
      • W
        William29 last edited by

        I don't have mt5 but you can check if the closing is caused by the EA by simply drawing some text on the chart when conditions are met.

        Alternatively there is an easy fix. All you need to do is add filter "check age" block. Just like.

        Obviously adjust waiting time to your timeframe.

        image.png

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

          Thanks Will for the quick response. I also have comments set in the buy block so I can identify each trade and "technically" are being closed by the EA. but I will also try the check age block as well.

          EDIT: I seen your response in another thread of broker manipulation and saw that coinexx was listed on there. I suspected this might be the case and I'm done dealing with unregulated monkey ran brokers. switching over to forex.com in the meantime.

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

            Light pink only goes under dark pink, it is like 2 blocks to make 1, dark selects the trade to work with, and light adjusts it.

            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! 😊

            W 1 Reply Last reply Reply Quote 0
            • W
              William29 @jstap last edited by

              @jstap could be, never used that block but did some testing while back

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

              Online Users

              S
              M
              2
              M
              M
              N
              B
              A
              B
              S
              E

              31
              Online

              146.6k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors