fxDreema

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

    krunal20

    @krunal20

    0
    Reputation
    143
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    krunal20 Unfollow Follow

    Latest posts made by krunal20

    • RE: Partial close after 1 ATR at the time of trade open

      Thanks for that @jstap - That's really helpful.

      Just out of curiosity, do you know why my current setup isn't already doing this? Because as you said, i'm using the formula blocks after the buy/sell to save the trade open price +/- ATR into a variable and then using that variable in the 'pips away from open price' block to close half of the trade. As I would only ever have 1 live trade per symbol, the variable would only update once at trade inception (because of where I have placed the formula block) so there shouldn't be any issue of the ATR updating as time moves on. Thanks, KP.

      https://fxdreema.com/shared/WOFLE7Otb

      posted in Questions & Answers
      K
      krunal20
    • Partial close after 1 ATR at the time of trade open

      Hi All,

      I have a pretty basic EA which correctly works when placing the trades but i'm having trouble with my exit strategy for profitable trades. The exit strategy is as follows: Close 50% of the trade when price is at 1 ATR (ATR should be based off of the value at the time of opening the trade) and then the child trade (remaining 50%) should move the stop loss to break-even and the trade should close when the MACD signal and main lines cross.

      I have tried using the modify variable block, the pips away from open block as well as conditions based off of an ATR formula but can't get any of them to work. I'm not sure what i'm doing wrong. Any help would be much appreciate. Thanks, KP. Here is my setup:

      0_1629646399481_Screenshot 2021-08-23 at 01.31.27.png

      posted in Questions & Answers
      K
      krunal20
    • RE: Close all current trades and orders at next daily candle open

      @TipsyWisdom Thanks for the response! However, the time filter works in backtesting when i set it to 19:58 in some cases but I think you're right, I have seen cases where it hasn't worked as expected when I change the time to be something else.

      @l-andorrĂ  Thanks for that. I have tried that before but can't seem to get it to work. It doesn't close any trades at all, just waits until they hit the s/l or t/p.

      Just having a look at the chart behaviour and what I actually want is for the trades to be closed at the close of the current daily candle rather than the open of the next (even in cases where the trade has just been executed a minute before the close).

      Appreciate the replies guys. Please let me know if i'm not being clear on what i'm trying to achieve.

      Cheers, KP.

      posted in Questions & Answers
      K
      krunal20
    • Close all current trades and orders at next daily candle open

      Hello,

      I'm trying to get my EA to close all live trades and orders at the next daily candle open. Currently i'm using the time filter block to specify a GMT time to estimate what time the next daily candle will open. However, due to daylight saving time changes, this causes some trades/orders to close too early or late depending on the month we are in.

      So is there an easy way to just specify for my trades/orders to close at the next daily candle open? This way, all of the daylight saving time changes are taken care of. Any help or direction would be much appreciated. Thanks, KP.

      This is my current setup:

      0_1629540564276_Screenshot 2021-08-21 at 20.09.10.png

      posted in Questions & Answers
      K
      krunal20
    • RE: Buy trade working but Sell trade not working, can anyone help me have a look

      I am having the same problem where the sells are working but the buys are not. When I remove the Sell section then the buys work. Not sure what's happening.

      0_1629459911809_Screenshot 2021-08-20 at 21.44.57.png

      posted in Questions & Answers
      K
      krunal20
    • RE: No trade/orders block doesn't work - EA keeps placing multiple orders

      Hi @max-c & for everyone's infomation. I've got it to work by directly linking the formula to the if no trade/order block and then all of the conditions after that. I think it was creating multiple orders because the EA wasn't checking if there were any live trades/orders before the formula and so it was passing straight through to the last condition before the buy order.

      Thanks for the effort @max-c

      posted in Questions & Answers
      K
      krunal20
    • RE: No trade/orders block doesn't work - EA keeps placing multiple orders

      @max-c - I've tried to connect the formula block to once per bar but still no luck. I've also tried to connect the buy order to once per bar too but still doesn't work.

      Getting pretty frustrated because I thought the no trades/orders block should prevent the conditions from being activated if there's a live trade and/or order.

      posted in Questions & Answers
      K
      krunal20
    • RE: No trade/orders block doesn't work - EA keeps placing multiple orders

      @max-c No, I haven't tried connecting the formula block to once per bar but i'm struggling to understand why I would need that. Happy to give it a try though.

      So blocks 5, 6 & 7 are basically simulating a hammer candle (I wasn't sure how else to specify this), so block 5 is there to ensure the body of the candle is not larger than the range of the candle.

      posted in Questions & Answers
      K
      krunal20
    • RE: No trade/orders block doesn't work - EA keeps placing multiple orders

      @max-c - Here you go mate:

      posted in Questions & Answers
      K
      krunal20
    • RE: No trade/orders block doesn't work - EA keeps placing multiple orders

      Hey @max-c

      I've put the 'once per bar' block in at the top but it still seems to open multiple orders:

      0_1629440615695_Screenshot 2021-08-20 at 16.22.10.png

      posted in Questions & Answers
      K
      krunal20