fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. bxc184
    3. Posts
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by bxc184

    • RE: stack overflow

      fxDreema,
      Thank you for such a quick reply!!! This has been plaguing me for a week now, great eyes! I would love to use the built-in grid, but I plan on calculating a dynamic lot size for each level. I will fix the ==, but for testing it, this was the easiest approach.

      Thank you again,
      Beau

      posted in Questions & Answers
      B
      bxc184
    • RE: stack overflow

      Hi,
      First, thank you for such a great program! I am trying to create a customized grid, however, I keep getting a stack overflow. It will generally work for a few trades, and then I get the error. I can't use a pending order grid because I am going to be adding custom code once I get the preliminary EA working. The way I have the program setup, I calculate the distance that I want, and place the result in a variable. I then check to see if the current price is equal to any of the grid levels. Once I close all of the trades, I reset the values back to their original values. Also, occasionally, the grid level does get executed at the correct time. I have attached a screenshot, and you can see the distance between trade 29 & 30 is 20 pips, when it should be 10. The EA is called newgridimproved2, in case you need to load it. Any help is greatly appreciated! Keep up the great work!

      Thank you,
      Beau

      ......
      newgrid.png

      posted in Questions & Answers
      B
      bxc184
    • RE: profit/loss of group of trades

      I am trying to determine if multiple buy orders have more profit or loss than all of my sell orders. Is there any way to accomplish this?

      posted in Questions & Answers
      B
      bxc184
    • RE: Hedged grid

      Thank you for the help, looks like it is working now!

      posted in Questions & Answers
      B
      bxc184
    • RE: Hedged grid

      I am attempting to create a hedged grid, but cannot find a solution to close out all orders once the price retraces back to a certain level. I have tried closing all trades when it reaches a stoploss, closing all trades when I am positive on a certain number of pips. I have also tried setting flags to determine when I have a winner on the buy side, and sell side. Any suggestions would be greatly appreciated!

      posted in Questions & Answers
      B
      bxc184
    • 1 / 1