fxDreema

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

    Martingale via add volume ADX used for grid distance issue

    Questions & Answers
    2
    2
    900
    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.
    • I
      Ipod last edited by

      Hi Guys

      I am trying to make an EA that uses martingale via the add volume from pips distance, I would like to add an option to use ADX or maybe ADR so the grid distance will be variable depending on the market conditions but cannot get it to work.

      One method worked but the ADX value was positive so only added volume on the wrong side of the trade.

      Any help is appreciated.

      https://fxdreema.com/shared/KykLx25jc

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

        I see some problem here - string vs boolean - not a good idea to compare them like that:
        0_1552928477571_31bec418-7a48-490a-91ad-51223e722002-image.png
        Better select Numeric or even Boolean, but don't use Text.

        So, are you asking how to make the ADX value negative? Try that:
        0_1552928683252_fa0f37dc-e699-4c8c-9e84-aef85ddf771b-image.png

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

        Online Users

        V
        G
        J
        K
        P
        M
        S
        P
        H
        N
        1

        20
        Online

        146.8k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors