fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. adamghous
    3. Topics
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 10
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by adamghous

    • A

      Enter trade when price hits a rectangle
      Questions & Answers • • adamghous

      12
      0
      Votes
      12
      Posts
      794
      Views

      jstap

      @Pascal-0 👍

    • A

      Simple button to change a variable output
      Questions & Answers • • adamghous

      2
      0
      Votes
      2
      Posts
      974
      Views

      fxDreema

      I will suggest to put those purple blocks always on the top. I think logically it is better. Because that "on Chart" event fires on wide range of chart events and it's better to filter the events first and then do something else.

      Try this example: https://fxdreema.com/shared/sKFJN0Ffb I'm setting the value in the variable in the Condition block, you will see. Then on the Alert you will see values 0 or 1, but it is the same as false and true.

    • A

      Button to bring Stop Loss to Break Even - Problem with Modify Stops of trades
      Questions & Answers • • adamghous

      2
      0
      Votes
      2
      Posts
      1108
      Views

      fxDreema

      (on Trade) Event Data will not work correctly under "on Chart". Better imagine that you are under "on Tick". The data for (on Trade) Event Data in only set when some trade event happens - when some order is created, removed or modified, but not when you click on a button.

    • A

      Martingale based on variable lots sizes (risk % of balance)
      Questions & Answers • • adamghous

      3
      0
      Votes
      3
      Posts
      1040
      Views

      fxDreema

      I think you need to do it in a custom way, using some Variable. So, before the Buy block you can have a block to check the profit of the last trade (whether it was profitable or not), then set the value of some Variable depending on that, and then in the Buy block to use that value for the risk % option.

      Now the Martingale option looks at the actual lot size of the last trade and multiplies that lot size to 2 (by default) on loss. It doesn't care what the balance it, it looks at the lot size.

    • A

      Position sizing appears correct but account wiped out after one loss
      Bug Reports • • adamghous

      2
      0
      Votes
      2
      Posts
      769
      Views

      fxDreema

      Interesting. I think this happens when the second symbol in the pair is not the same as the deposit currency. It works properly for me on EURUSD when the deposit currency is USD. I need to check what is going on.

    • A

      Set pending orders based on chart objects
      Questions & Answers • • adamghous

      2
      0
      Votes
      2
      Posts
      658
      Views

      fxDreema

      But in this case you don't really have pending orders. Why don't you place bunch of pending orders with let's say "Buy pending orders in grid"?

      Otherwise it can be made, but it depends a little bit. Who draws those lines?

    • A

      Finding the most recent candle close high point
      Questions & Answers • • adamghous

      4
      0
      Votes
      4
      Posts
      1243
      Views

      A

      Thanks to your example i think ive cracked it. Just had to have the EA recognise the pattern of lower close-higher close-lower close and then remember the value of Candle Shift 2 for the higher close. Once that was stored in the variable I could use that value as an entry point. https://fxdreema.com/shared/uonU4E21e

    • 1 / 1