fxDreema

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

    buy-sell programs

    Questions & Answers
    2
    5
    321
    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
      drscreen last edited by

      Hello:
      i spent hours trying to uncover the solution to this problem, but finally must ask for help. I am trying a program similar to the example on the site called "Buy-Sell-buy-sell on opposite conditions". i have checked my input blocks many times but no matter what I do, when I test it the program it either only buys or only sells, but not both which is what I want. When i test, the one that is working (buy or sell), works as intended, but I need both sides to execute. I cannot figure out the reason. Can anyone offer some ideas on how to fix this?

      1 Reply Last reply Reply Quote 0
      • B
        biztet last edited by

        Share project please.

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

          attached you can see the project. it is very simple as a trial. Trade count says up to 6 on each. Conditions involve buying or selling in a relative distance from a moving average, but they are mirror images. Buys and Sells are lots of 0.5, so each side essentially uses the same term (at opposite distances).

          As I was experimenting with the project parameters, at first ONLY the sells executed. I got frustrated and erased the project and started over. Then ONLY the buys executed, but there was no big difference in version 2. this photo is Version 2, when only the BUYS execute. So I know it works partially, but I cannot see a single reason it will not execute both sides when the conditions are met. I was thinking maybe something with my computer?

          0_1625255057226_Screenshot_2021-07-02 EA.png

          1 Reply Last reply Reply Quote 0
          • B
            biztet last edited by

            ok @drscreen , so maybe since you are using distance from MA and the condition doesn't met.
            also you can put the Close Trade block after Buy/Sell Now block to close when the signal reverse.

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

              thank you for your thoughts. i am certain the conditions were met at times because in version 1 the conditions were the same as version 2 and SELLS worked. Then in version 2 the BUYS worked but not sells. The Buy now and Sell now blocks had a fixed profit in pips so for all the trades that did execute, closing them also worked correctly.

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

              Online Users

              S
              F
              H
              H
              G

              11
              Online

              146.8k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors