fxDreema

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

    Posts made by MaximumP

    • Check Trade Statistics for current pair only, not all pairs

      Hello.

      I need to know if there is a way to check longs exceed shorts but only for the pair the EA is active on.

      As you can see, 15 is condition checking if longs exceed shorts, but it checks all longs and shorts, of all pairs, when I only want it to check the pair of the chart it is on.

      I do not need to check the number of longs or shorts, only that longs exceed shorts, and there doesn't seem to be a way to do this other than for all open trades.

      Can anyone suggest how this can be done?

      https://fxdreema.com/shared/vwBRMSkcc

      posted in Questions & Answers
      M
      MaximumP
    • RE: Martingale trade immediately when stop loss hit, not at next open condition

      @xfire Your suggestion uses martingale but only when the "once per bar" condition is met. I need it to open a martingale position as soon as the previous trade is closed at stop loss, and not at the next bar.

      So, a buy trade hits stoploss and a sell trade is opened immediately.

      posted in Questions & Answers
      M
      MaximumP
    • RE: OCO creating opposite order at incorrect price

      @l-andorrà I have removed completely but it doesn't address the OCO issue apparent in blocks 4 and 19.

      posted in Questions & Answers
      M
      MaximumP
    • OCO creating opposite order at incorrect price

      Can anyone tell me what is wrong with this OCO instruction please?

      The pending Buy is correct at 2 pips above the previous 2 bars, but the sell is 12.4 pips below the previous 2 bars.

      https://fxdreema.com/shared/pP87pKU4

      posted in Questions & Answers
      M
      MaximumP
    • RE: Martingale trade immediately when stop loss hit, not at next open condition

      @l-andorrà The stop loss remains fixed, with no breakeven.

      I will be running this on multiple pairs with a separate basket close EA on another chart (so a losing trade with be offset by winning ones).

      posted in Questions & Answers
      M
      MaximumP
    • RE: Martingale trade immediately when stop loss hit, not at next open condition

      @xfire I believe the martingale function in menu only opens the martingale trade at the next open condition. I need it to open as soon as the previous trade is closes at stop loss.

      posted in Questions & Answers
      M
      MaximumP
    • Martingale trade immediately when stop loss hit, not at next open condition

      Hello

      I'd like to open a martingale position not when the next open condition is met, but immediately when the original position is closed at stop loss. I've tried with a loop checking the last closed position to confirm it;s stop loss (see below link) but this doesn't work correctly. Can anyone help with this?

      https://fxdreema.com/shared/AHINlPrN

      FYI the strategy is to have pending opposite positions above and below the last candle with stop loss at the opposite position's price. Basket close at x pips. The martingale would only be used if stop loss triggered.

      posted in Questions & Answers
      M
      MaximumP
    • RE: Add volume causing buy/sell sequence issues

      @l-andorrà There is no limit to the number of open positions, other than free margin.

      It continues to add a position (opposite direction to last) at a higher volume if the close condition isn't met at the PSAR cross.

      All positions are closed if collectively in profit at the PSAR cross, or the equity exceeds the balance by x amount, otherwise an additional position is opened.

      posted in Questions & Answers
      M
      MaximumP
    • RE: Add volume causing buy/sell sequence issues

      Anything that would add additional positions as follows would be valid:

      0.01 buy
      0.02 sell
      0.03 buy
      0.04 sell

      Close condition met, then new positions (following No Trade) is 0.01, and so on.

      posted in Questions & Answers
      M
      MaximumP
    • RE: Add volume causing buy/sell sequence issues

      They work fine if I remove the add volume section and replace with a simple buy now / sell now. Something about the add volume is messing things up.

      I suspect it's because add volume looks to the last position and decides what to do based on that rather than the buy/sell conditions. For example, if the last position was buy then the next open position (when PSAR reverses) should be sell, but add volume looks at the most recent (a buy) and adds volume to that so there are two consecutive buy positions.

      Basically, I think I need the correct way to increase volume that doesn't use add volume.

      posted in Questions & Answers
      M
      MaximumP
    • Add volume causing buy/sell sequence issues

      Add volume causing buy/sell sequence issues

      At every PSAR cross there should be either:

      1. Close all positions if basket in profit, then open new position at 0.01

      or

      1. Open new position but at increased volume, as below:

      0.01 - BUY
      0.02 - SELL
      0.03 - BUY
      0.04 - SELL
      0.05 - BUY

      This continues until one of the close conditions are met.

      When I include 'For Each Trade' -> 'Add To Volume' it is opening a BUY when it should be a SELL, so I have two consecutive BUYS.

      I removed the 'For Each Trade' -> 'Add To Volume' and replaced with a 'Sell Now' and it works OK, so the issue is with the add volume part.

      So basically, if the last trade was a buy then I need to open a sell at a higher volume, not add another buy at a higher volume.

      Can anyone point out where I'm going wrong please?

      https://fxdreema.com/shared/kKwiXE5Dd

      posted in Questions & Answers
      M
      MaximumP
    • 1 / 1