fxDreema

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

    Compare last candle range vs 1.2x ATR??

    Questions & Answers
    2
    2
    131
    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.
    • D
      DV4 last edited by DV4

      Hi,
      I'm relatively new to this, but slowly pulling together some EAs and refining them

      I have a strategy where I want to look for relatively small bars, and the 'relatively' I want to use is an ATR multiple because it is dynamic and adjusts relative to what the market is doing

      I have created a condition box and used
      Candle - Candle total size (pip) on Candle ID 1 <= ATR,14 period Candle ID 1, Adjust *1.0

      But this is not enabling any trades? is this because the ATR indicator has 4 decimals on say USDCHF but my brokers chart has 5 decimals?? i.e. fractional pips?

      if I remove this filter my EA works and is taking trades (but taking everything including those that are too large) so I'm not sure how to correct this

      Any help appreciated...

      Cheers!

      6f342ee7-1df2-4f42-b731-48561b107daf-image.png

      e9c63b09-2ed2-4bc6-9a25-13fff8bc5867-image.png

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

        ATR is a price fraction (not pips) if you search for posts by me (in tutorials) you will find how to convert, alternatively add this in adjust, +iATR(NULL,0,14,0)*1.2 to a 0 value, then you can compare left and right operand

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

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

        Online Users

        E
        R
        J

        13
        Online

        146.8k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors