fxDreema

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

    need help True -False not working

    Questions & Answers
    2
    9
    1217
    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.
    • R
      raiderspaz last edited by

      All my Conditions will be true ( have the values outputted on screen so i know if its true or false ) but it will not place a buy or sell traded

      https://fxdreema.com/shared/2k4hKSi3c

      tired to use flags but had the same problem

      S 1 Reply Last reply Reply Quote 0
      • S
        seb 0 @raiderspaz last edited by seb 0

        @raiderspaz
        First try to remove "once per tick" and "AND" blocks, put all the blocks one below each other instead.
        Also can you tell me the value of "atrpip" ?

        R 1 Reply Last reply Reply Quote 1
        • R
          raiderspaz @seb 0 last edited by

          @seb-0 atrpip is the value of the atr rounded to 2 places. originally I didn’t have the ones per ticket in there I added it to see if it helped I can’t put the blocks one after the other I need to and because they have to all be true at once

          @seb-0 said in need help True -False not working:

          @raiderspaz
          First try to remove "once per tick" and "AND" blocks, put all the blocks one below the other instead.
          Also can you tell me the value of "atrpip" ?

          S 1 Reply Last reply Reply Quote 0
          • S
            seb 0 @raiderspaz last edited by seb 0

            @raiderspaz
            Placing them one below each other makes conditions necessarily simultaneously true to pass, that's why i asked you to do it. Basically it works the same way but simplifying things can avoids some issues. Both blocks "AND" and "once per tick" are almost always useless.
            I need to know the value of this variable while you are running the EA, it's number because a too little one can make it not work.

            R 1 Reply Last reply Reply Quote 0
            • R
              raiderspaz @seb 0 last edited by

              @seb-0
              Atrpip is around 20-50 depending on he volume

              S 1 Reply Last reply Reply Quote 0
              • S
                seb 0 @raiderspaz last edited by seb 0

                @raiderspaz
                Shouldn't be a problem then.
                However i tested your "buy execution" structure, it didn't work with the 2 blocks, it does without it.

                R 2 Replies Last reply Reply Quote 0
                • R
                  raiderspaz @seb 0 last edited by

                  @seb-0
                  could you show a screen shot of the blocks that did work?

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    seb 0 @raiderspaz last edited by

                    @raiderspaz
                    https://fxdreema.com/shared/zyx3ob25

                    1 Reply Last reply Reply Quote 0
                    • R
                      raiderspaz @seb 0 last edited by

                      @seb-0
                      also i found out while testing my broker did lock my demo trading account for hedging violation , i didnt know that till just a few minutes ago. i knew something was wrong because an earlier version of my ea that before placed trades didnt anymore . so made just a simple line cross ea and that didn't work. i called my broker mt4 help desk and they said they locked it because it had to many violations on the DEMO account

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

                      Online Users

                      R
                      F
                      S
                      D

                      14
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors