fxDreema

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

    Condition x>

    Questions & Answers
    2
    4
    920
    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
      mfuetterer last edited by

      Hi,

      I can't get sorted this out:

      2016-10-22 17_58_06-Forex Pivot.png

      Pivot is a Variable.
      The Buy part is fired, the Sell not.

      i. e. Cross overs above the pivot line are working (not always, but mostly), below newer.

      The blue dashed line is the pivot line:
      2016-10-22 18_01_44-500162830_ GKFX-Demo-1 - Demokonto - [EURUSD,M15 (visual)].png

      Any help much appreciated.
      Thanks
      Mic

      ......
      2016-10-22 17_58_06-Forex Pivot.png
      2016-10-22 18_01_44-500162830_ GKFX-Demo-1 - Demokonto - [EURUSD,M15 (visual)].png

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

        Well, if I run the backtest long enough, some sells start to appear for me. But you have the same Pivot variable used in both blocks - 37 and 38. Its value is either above or below the current price. Are you sure you want to use the same variable in both blocks?

        Note that because you have "No trade" above like that, when you have one trade, no other trades can be created - no more buys, no more sells. 1 trade at a given moment.

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

          Yes, I want to have the same Pivot in both blocks.
          In case it's running under it, I want a Sell order in case it runs above, I want a Buy order.

          Is there a good way to implement a threshhold?
          Let's say I want to Buy if Pivot crosses +10 and Sell if it crosses -10.
          Is the only way to do it generate two variables, P1=Pivot+10 and P2=Pivot-10?

          Thanks for the "no trade" hint, that makes absalutly sense 😉

          Thanks for your support.
          Mic

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

            http://prntscr.com/cyfdic

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

            Online Users

            A
            G
            Q
            C
            T
            S
            A
            M
            R
            G
            G
            Y

            23
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors