fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. roar
    3. Posts
    • Profile
    • Following 0
    • Followers 184
    • Topics 35
    • Posts 2406
    • Best 422
    • Controversial 6
    • Groups 0

    Posts made by roar

    • RE: Close the oldest/farthest trade

      Maybe using the blue blocks is easiest way here:
      0_1531567688835_dacf3273-a864-4c42-9222-e8ec2258aac3-image.png

      This will close n (set to 3) most profitable trades, and immediately after that, the least profitable.
      https://fxdreema.com/shared/2HwUCstX

      posted in Questions & Answers
      roar
      roar
    • RE: Close the oldest/farthest trade

      Hi!
      What is the "first" losing trade? Is it the oldest, most pips, or most $ ?
      https://fxdreema.com/shared/2TwfqkIod
      https://fxdreema.com/forum/topic/6019/how-to-select-least-profitable-trade
      For finding the least profitable trade, check this post and example. It requires a bit tricky process (maybe there is some simpler one, idk)

      posted in Questions & Answers
      roar
      roar
    • RE: Profitable Startegy

      @moreirajbn
      I like your thinking, I recognized myself there 😄
      Trading with robots is very different than manual trading - robot can never have the human ability to see beyond the price data, consider aspects outside the standard strategy, it just follows its path.
      On the other hand, that is also something humans can never do: we can't analyze millions of price points in our heads. That is why robots should not follow the traditional price action rules, but to find some statistical edge, for example buying at 10 and selling at 4 🙂

      posted in General Discussions
      roar
      roar
    • RE: Dynamic "Pips Away" (Each Trade)

      Lets use a variable 🙂
      https://fxdreema.com/shared/MuBthInob
      0_1531085133974_d38c62c5-1e94-4cf5-91d1-5f6bea6fccdf-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: filtered by group

      You can add a group number to each trade from the "buy now" block, and use that to filter trades to groups 1-6

      posted in Questions & Answers
      roar
      roar
    • RE: Add a Position to a Current Winning Position

      @ronniethetrader said in Add a Position to a Current Winning Position:

      The screenshot is everything I have so far, original entry is pretty much an MA Cross Is there a way to specify to start the count after I am in the original trade and not before?

      This connection should do the trick 😄
      0_1530952173218_d8cfe389-681a-43ef-afa4-7c09a9365ce3-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: New user! MQ4 file won't run.

      The .ex4 file is in the correct folder but the 'Start' button won't press, or any of the buttons above it, such as 'Expert Properties.'

      This sounds like a problem with your terminal, does it run the other EAs properly?

      Check this example, I think this is close to what you want.
      https://fxdreema.com/shared/Ossluy54
      First it checks if there is no buy

      • if true, it checks if both 20 and 50 emas are above 200, and then opens buy
      • if false (trade is running), it checks if both emas are below 200, then closes.
        0_1530896051978_6dc84aa8-9f7e-4495-8746-0cc567a0c9e0-image.png
      posted in Questions & Answers
      roar
      roar
    • RE: New user! MQ4 file won't run.

      The algorithm runs on every tick, from start (block 1) to finish (block 8).
      You probably don't want your trades to be closed on the same tick as you open it 😉

      Try connecting the closing logic to the yellow (false) output of "no trade" block.

      Also, be careful with multiple crossing conditions - they rarely happen on the same candle.

      posted in Questions & Answers
      roar
      roar
    • RE: Once per bar but selected bars

      Connect the hours filter and once per bar blocks together 🙂

      posted in Questions & Answers
      roar
      roar
    • RE: How to Select "Least profitable trade"?

      @rafaelgrecco said in How to Select "Least profitable trade"?:

      What I was missing was:

      • Reseting the variable "smallestprofit" on every new loop

      We must reset the variables at some point, so the ea don't get "stuck" to some big loss that is already closed. Now it resets the variable on every tick, and also calculates it again so we always have the correct value. It is not the most cpu-optimal way but should work fine.

      • Using the second output of "Each Trade" to wait for all trades to be checked

      I think this is the correct way, we must first check all trades in order to find the lowest profit.

      The looping blocks work a bit different than other blocks, go ahead and test different logic builds 🙂

      posted in Questions & Answers
      roar
      roar
    • RE: How to Select "Least profitable trade"?

      https://fxdreema.com/shared/2TwfqkIod
      Well, I have an idea but its not the simplest one 😄
      We could use a position loop that goes through all your open trades, it finds the lowest profit and the trade number (loop id) - after that loop we have the amount and trade number identified and so we can select that individual trade, and also use the basic condition block.

      If you copypaste the blocks, you will need to create these variables to your project:
      0_1530636572822_bb986a9a-41a8-446a-bf09-6781aeabe4f1-image.png

      Hope you get the idea 😄

      posted in Questions & Answers
      roar
      roar
    • RE: Delete comment

      Hi!
      Creating another comment block will not work, because then the comments will just overlap.
      You need to update the existing comment. This needs a text variable:
      0_1530526182656_d214b7ff-5c0d-4578-82e5-36220afae3e9-image.png

      Creating the variable:
      0_1530525885719_aa705214-9a26-4161-a8cd-4ab38e39d26d-image.png

      Now you can just comment the "status" variable, and you will see whatever is stored inside it.
      https://fxdreema.com/shared/DSbRDedY

      posted in Questions & Answers
      roar
      roar
    • RE: how to martingle below than 1.5 multiplier

      You can find the martingale in the "buy now" block with adjustable multiplier
      0_1530139382601_c320acaf-d92f-4299-92d8-3caec9d841c2-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Only open new trade if last trade is closed x minutes before

      This is easy using a variable.

      For instance, a variable called minutes

      • on every minute, modify minutes to minutes + 1
      • OnTrade -> position closed -> modify minutes to 0
      • now you can check from the variable minutes how many minutes have passed since last close
      posted in Questions & Answers
      roar
      roar
    • RE: Not sure how to draw multiple objects at same time

      No need to apologize, that was a very good question actually.
      Its great you sorted it out!

      posted in Questions & Answers
      roar
      roar
    • RE: Conversion

      No, I don't think so.
      My understanding is the projects are imported to fxdreema via the hash at the bottom of the script, and not using the actual mql code.
      0_1529934690728_4265f117-060a-4990-959f-8e57b931dd58-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: problem when rich TP open onother position...

      You have a fixed pips tp?
      Then you don't need those "close position" blocks.

      posted in Questions & Answers
      roar
      roar
    • RE: Different RESULTS

      @antonio-0 Offset can surely be 0.
      Well, I don't really know what is happening with your testing.
      I assume you have a scalping strategy, because they are so sensitive to testing parameters. I recommend live testing, because mt4 backtesting is never good for scalping.

      posted in General Discussions
      roar
      roar
    • RE: Different RESULTS

      Okay, can you pinpoint any major differencies to other EAs? Market execution vs pending orders?

      posted in General Discussions
      roar
      roar
    • 1
    • 2
    • 103
    • 104
    • 105
    • 106
    • 107
    • 120
    • 121
    • 105 / 121