fxDreema

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

    Posts made by Dewberries

    • RE: Martingale Strategy: How do I average down price and take profit for all trades?

      @l-andorrà Thank you for your reply!

      I have tried to use ‘bucket of trades’ block to obtain the average price and adjust it by 50 pips.

      However. The price modified for TP is not the average price + 50 pips, but instead 2x of average price + 50 pips.

      Do you know why?

      On a second problem, when I place the ‘modify stops’ block under ‘for each trade’, it only modifies the first trade TP and not the subsequent trades (eg, trade 2, trade 3). I need all previous trades to have TP modified together.

      Would you be able to propose a solution for this?

      posted in Questions & Answers
      D
      Dewberries
    • RE: Martingale Strategy: How do I average down price and take profit for all trades?

      @l-andorrà yes for 0.07 lot in total volume, all my trades should collect 350 pips in total.

      But all trades should close at the same TP which is 50 pips above the average buy price.

      For example:

      Trade 1: buy 0.01 lots at $1000, TP = $1050
      Trade 2: buy 0.02 lots at $9900, TP = 50 pips above average buy price = ($1000 + 2x$900)/3 +50 = $983

      I will need to modify trade 1 TP to be $983 as well, same as trade 2.

      Trade 3: buy 0.04 lots at $9800, TP = 50 pips above average buy price = ($1000 + 2x$900 + 4x$800)/7 + 50 = $907

      At this point, i will need to modify TP for trade 1, trade 2 and trade 3 = $907

      Trade 1 will close at: $907 - $1000 = -$93
      Trade 2 will close at: ($907 - $900)x2 = +$14
      Trade 3 will close at: ($907 - $800)x4 = +$428

      Total profit: $349, approximately 350 pips in total for 0.07 volume lots

      posted in Questions & Answers
      D
      Dewberries
    • “Add to lot” does not multiply

      Hello all,

      I am creating an EA as follows:

      Buy initial lot 0.01, if price move against trade by 100 pips, add to lot by 135% of current lot.

      So it should be:
      Initial lot: 0.01
      2nd lot: 0.01 x 1.35 = 0.0135 = 0.01 lot
      3rd lot: 0.0135 x 1.35 = 0.0182 = 0.02 lot
      4th lot: 0.0182 x 1.35 = 0.0246 = 0.02 lot
      5th lot: 0.0246 x 1.35 = 0.0332 = 0.03 lot
      … and so on

      When I try to put in 135% in ‘add to lot’ block under % of current volume lot, I only get 0.1 lots for all subsequent lot levels.

      May I ask how do I solve this?

      posted in Questions & Answers
      D
      Dewberries
    • Martingale Strategy: How do I average down price and take profit for all trades?

      Hello, I am trying to create a martingale strategy that averages down the price if price move against my trade. However, I am unable to get the part on modifying take profits right.

      For example:
      Buy 1st order: 0.1 lot at price 32590.00, TP = 50 pips at price 32640.00
      when price moves down by 100 pips, I will open a second order:
      Buy 2nd order: 0.2 lot at price 32490.00
      when price moves down by another 100 pips. I will open a third order:
      Buy 3rd order: 0.4 lots at 32390.00

      total: 0.7 lots with average price 32447. Total TP should be (7x50 = 350) pips in total, or 50 pips above the average price.

      How do put in the blocks to calculate average price for all lots and adjust TP for all trades to be 50 pips above the average price?

      I am currently receiving invalid TP error in strategy tester based on my project here: https://fxdreema.com/shared/y3U6u7vfc

      posted in Questions & Answers
      D
      Dewberries
    • 1 / 1