fxDreema

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

    Grid Trading - Orders Doubling Up

    Questions & Answers
    2
    3
    926
    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.
    • K
      keydcuk last edited by

      Hi,

      I am trying to create an EA with an unconventional way of grid trading.

      I am using round numbers and buy/sells. After the first level, I am telling it to pick up from the buy or sell that has been placed and reinitialize the round numbers buy/sell loop.

      This is all fine for what I need it to do BUT it seems that once it returns to an open trade buy or sell level, it doubles up the buy or the sell.

      Is there a way I can check if an order is open at price level already and if so do not buy or do not sell?

      I need to be careful with this one because I can have a sell and a buy on the same price level this is no problem and actually wanted, what I can't have is 2 sells or 2 buys at the same price.

      I have attached a screenshot of my current configuration which is fine with exception of doubling up on buys and sells when moving away from an open trade and returning to it at a later instance.

      Thanks,

      Daniel

      ......
      Screenshot_1.png

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

        There is a block "No trade nearby".

        1 Reply Last reply Reply Quote 0
        • K
          keydcuk last edited by

          Thanks for your help. I will give it a try! 🙂

          Daniel

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

          Online Users

          A
          H
          H
          O
          R
          S
          Z
          M
          J
          M
          H
          S
          C
          T

          26
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors