fxDreema

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

    NO TRADE

    Questions & Answers
    4
    10
    1253
    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.
    • A
      ahmer last edited by ahmer

      IS THIS CORRECT ?
      BECAUSE ITS NOT WORKING0_1559657559812_1.png

      1 Reply Last reply Reply Quote 0
      • D
        DGRL last edited by

        Seems to be correct but we cant see the object on chart that you have as condition

        A 1 Reply Last reply Reply Quote 1
        • A
          ahmer @DGRL last edited by

          @dgrl

          0_1559665487104_1.png
          this is the object draw

          1 Reply Last reply Reply Quote 0
          • C
            CPBonzo last edited by

            The first thing I notice is that in the condition block the left operand is the bid price, which seems ok, but the right operand is the name of the object. The bid value is always going to be a price and therefore will not cross a text attribute. I would start by changing the Attribute of the object to set 1 (numeric) and the Property to price level 1, which is the price at which the line is placed on the chart.

            1 Reply Last reply Reply Quote 2
            • J
              josh01 last edited by josh01

              @cpbonzo
              Still no trade
              0_1559735265703_1.png

              C 1 Reply Last reply Reply Quote 0
              • C
                CPBonzo @josh01 last edited by

                @josh01 You will have your reason for wanting to use the Bid value on the left, but I use Candle such that the condition passes when the candle crosses a line. This example from a current project:

                0_1559770526991_16d1b31e-8700-4447-bf8f-5a7833a3f0f8-image.png

                J 2 Replies Last reply Reply Quote 1
                • J
                  josh01 @CPBonzo last edited by

                  @cpbonzo I tried with the candle as well, but it still didn't open any trade

                  1 Reply Last reply Reply Quote 0
                  • J
                    josh01 @CPBonzo last edited by

                    @cpbonzo
                    take a look at this: https://fxdreema.com/shared/af6GTUjAb
                    i dont understand whats going on it should work fine but its not working at all

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      CPBonzo @josh01 last edited by

                      @josh01 There are a couple of things that occur to me. Firstly, in the example you shared the drawn lines have no name, so theconditions, which related to named lines don't relate to the lines drawn. Secondly, you have the condition placed after once per bar, which means the condition will only be checked at the beginning of the bar (usually) if the candle doesn't cross at that moment then the condition isn't met.
                      I would suggest trying with the conditions conected after a "No Trade" block, that time the conditions block is running all the time there is no trade, or use the "Pass" block if you want it to run even if there are live trades. Then place the "Once per Bar" block between the condition and the Buy and Sell blocks, this will ensure than when the condition is met a trade is only plced once in that bar even if the candle crosses the line more than once in this time.

                      J 1 Reply Last reply Reply Quote 1
                      • J
                        josh01 @CPBonzo last edited by

                        @cpbonzo thanks it works

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

                        Online Users

                        K
                        M
                        T
                        E
                        A
                        P
                        V
                        R
                        M
                        G

                        19
                        Online

                        146.6k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors