fxDreema

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

    Posts made by bigfoot

    • RE: Two Conditions to be Met - Possible?

      @sktsec thanks, I'll see if it makes a difference.

      posted in Questions & Answers
      B
      bigfoot
    • Two Conditions to be Met - Possible?

      Hi, this might seem a stupid question but does FXdreema allow conditions of more than 1 indicator to be met for a signal?

      An example would be RSI over 70 and a close of a candle below an ema?

      5549c176-38bd-44ec-ba1a-2f66926a53b1-image.png

      I'm asking because this seems inconsistent in trade opening?

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      @bigfoot Live tested this and magic number does the job and closes the trades as normaleven when turning the terminal off and on agin after the weekend. Solved thanks for your help guys! 😊

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      If it was me I'd probably use the count trade blocks. If more than one sell then use grid one at 5 pips if more than 2 then use grid pip distance more than 10 etc...

      So I'd add grid nearby pips as constants... grid5, grid10, grid20... not sure if it would work but that's where I would be looking

      image.png

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      I'm testing this now. A way around this would be to count number of open trades, as long as it counts preious trades (which it should if thy have a magic number) then I don't have a problem as i'm using the trade count to close open trades....? my internet connection is dodgy so it's not unusual for mt4 to disconnect and reconnect, which it has just done.. 1st trade on and then it registered the 2nd trade opened.

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      So thiswould be it?

      image.png

      I need a purple for each trade at the start of each open trade sequence followed by the pink once per trade command with the allow this to work with trades created before ticked to yes?

      And would this also count the previous trades as and close them as well as per the ea or would this just open new ones? So I would need to put these blocks in front of the close blocks?

      https://fxdreema.com/shared/glhLubdab

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      @jstap So I would just need one block as the 1st block before everything else?

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      0c7b5154-506a-4a66-a7fa-3da11b28b66e-image.png

      So to use this I will need to move all open trade trees and all close trade trees to on init?

      And then put a once per trade block above each open trade tree and each close trade tree?

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      @jstap I think it might have to go on the too difficult to do list for me at this time....

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      @jstap I've tried a few variations but on testing just seems to create issues I can't understand. For a testing point of view it would be nice to solve but in reality I can always review open trades at the end of the day and close manually.. also I think checky the value in money might be unstable so I might be better checking the value in pips. Food for thought 🙂

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      Where do I put this block? I tried as the 1st block and also above all open trades sequences and it stops all orders on tester?

      2b2bef5c-de7e-4bec-bf3a-90d2449c2aba-image.png

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      @jstap Yes but also close the profitable ones as well so the nett closing of the largest loser is positive whilst leaving any remaining positions open and running.

      From trying to solve this is seems quite complex to do?

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      @bigfoot I've now changed boxes 28,29,40 and 41 to the pink loop check profit and check loss. This is better but still closing all trades when profit (all) reaches the TP. Still can't figure out how to only (close the oldest loser) and (all in profit) at the TP, even though my logic seems pretty good...

      https://fxdreema.com/shared/KPcGmgaqc

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      @jstap thanks jstap good to know. I'll do this after i've sorted the close trades bit out 🙂

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      shared:

      https://fxdreema.com/shared/plnTQJbod

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      @l-andorrà would you mind having a look at this please? I've added the for each trade as loops and created variables to hold the values however I'm struggling with the formula. Currently it is just closing all trades at once when the oldest comes back into profit?

      I want to take the oldest losing trade and close that trade along with the in profit trades when those values reach a value in money. The next oldest trade in loss is left running and becomes the oldest and then it continues in the loop taking in profit trades to close them and the oldest loser.

      Boxes 25 to 36 close the buy trades and boxes 37 to 48 close the sell trades.

      Feels like I am close to solving this but not quite close enough!

      Thanks

      Bigfoot.

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      @l-andorrà ah ok I'll have a look at that, thank you.

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      Just one more question if I stop trading and turn my PC off, then the next day turn on again will the old trades still be counted or doI need to input more code? This would be leaving the ea on screen and not on Init?

      posted in Questions & Answers
      B
      bigfoot
    • RE: Hedging Grid Mix Lots @ Boxxocode

      @l-andorrà Thanks for pointing me in the right direction, I've figured it out now 👍

      posted in Questions & Answers
      B
      bigfoot
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 2 / 8