fxDreema

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

    Best posts made by roar

    • RE: Problem scaling out

      Hi @marianomartinez!

      You can find more loop functions in the standard condition block. Specifically, you can make condition "current volume equals initial volume". Hope it works πŸ™‚
      https://fxdreema.com/shared/v86Sbv8nb
      0_1570036168437_44274954-ee7d-4a44-8b34-9ecfb3046006-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: exemple button help

      @ken-0 It takes time, because the EA updates on every tick (see the "on Tick" tab on top). If next tick happens 4 seconds later, your trade opens 4 seconds later.

      If you absolutely need faster execution (even if market is still), use the "on Timer" tab and modify the refresh time from project settings.

      posted in Questions & Answers
      roar
      roar
    • RE: Reset Block Number

      πŸ™‚

      0_1572420396457_0fa8bd2b-e3a9-4b4e-9904-f69eec7876ed-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Is there a way to run EA with computer off?

      @cpxiom said in Is there a way to run EA with computer off?:

      @miro1360 and anyone... Hello, just a quick question... Why multiple instances of Mt4?
      Maybe silly question πŸ™‚ but can't we open 2, 3 instances of same chart, same pair, in case we have several EA's for the pair.
      I ask this as best practice. How many EAs on one Mt4, if one per chart/pair.
      Thank you.

      I guess it's for testing and documentation purposes. If an account has multiple different strategies running simultaneously, it's sometimes hard to tell which strategy yields the actual profits.

      EAs interfering with each other's algorithms is whole another matter.

      posted in Questions & Answers
      roar
      roar
    • RE: Is there a way to run EA with computer off?

      @cpxiom The interfering would happen, for example, if EA1 checks some open trade's features and make some decisions based on that. But actually that open trade was made by EA2, which doesn't follow the same rules. This problem can be avoided with group numbers and such, but there is always a possibility for error in some part of code.

      I saw that a good approach would be to have many EA's to even out the equity curve, with not so perfect EA's, but good.

      Well that's basically the modern portfolio theory πŸ˜„
      To make it work, different EAs' returns should have negative covariance, so that the bots don't just amplify each other's ups and downs

      posted in Questions & Answers
      roar
      roar
    • RE: Problem with opening trade when current candle crosses below MA

      How do you troubleshoot this? A method:

      • break your structure into smaller pieces, as small as possible
      • test the logical passes piece by piece
      • use visual testing and some visual object to check: "comment"-block or "draw vertical line" are my favourites
      • if you get the visual confirmation from one piece of your project, modify the visual pointing to some other piece, and repeat
        -> at some point you must find what block / combination of blocks makes the error
      posted in Questions & Answers
      roar
      roar
    • RE: Can someone help turn the EIEO method into an EA?

      @ggtrader Hi!
      https://fxdreema.com/shared/FE3VNtfH
      ^This animal uses two loops, first finds the low and second finds the prior high.
      Download the .mq4 and then import it to your builder to get the constants and variables set up.

      0_1573507911448_ab1b1f6e-d363-48dc-97b6-54936bc73ed5-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Move the Take Profit on adding lots

      You could just calculate the average entry price:
      https://fxdreema.com/shared/ij7Qn3Mfd

      When you have the average, just add the extra pips

      Sounds like a cooking recipe lol
      0_1573558869809_c40a0420-f3a7-48ff-9ed5-f74ab1016617-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Can anyone see why this EA only goes short?

      0_1573586576931_c8dc1a98-9ebd-406e-b8b6-0893cb10c715-image.png
      @specialfx I think the "price of the last deal" is actually not what you want. It doesn't refer to your trades, but instead all of the market. Actually it doesn't seem to work at all, at least on demo account - the value is always 0.

      It doesn't open buys, because 0 is never above MA.
      It does open sells, because 0 is always below MA.

      posted in Questions & Answers
      roar
      roar
    • RE: Been wondering about this for a while

      @zackry You can loop through n number of candles with this simple logic:
      0_1573746141395_4805b1ee-2848-41a6-9854-1f73c10af121-image.png
      Now you can put the "loop_ID" as the "candle ID" setting in blocks 4 and below

      posted in Questions & Answers
      roar
      roar
    • RE: Been wondering about this for a while

      @zackry It's mt4. My first example has a mistake, though: block id 1 is smaller than block id 3, so block 4 always passes on to block 1, and block 3 never gets activated. Fixed that in the latter example.

      posted in Questions & Answers
      roar
      roar
    • RE: Compile Error

      @jzfusion Export your project to .mq4 (.mq5) and try to compile it in metaeditor. It will show you the exact line of the broken code. Go to that line and scroll up a bit, and you will see the corresponding block ID. It may be of help πŸ™‚

      posted in Questions & Answers
      roar
      roar
    • RE: Once per minutes/bar issue

      @paragorundu Hi!
      Personally I use the "once per bar" with a suitable timeframe setting, always works with no errors...

      "Once per minutes" bases its calculations on 60-minute intervals, maybe that (somehow) causes your issue.
      Check the info button on the "once per minutes" block:
      0_1574168127449_bcec5c01-3032-45b6-a4d4-d979542fc669-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Bollinger bands

      @shovel52 Here's your problem:
      0_1574772084974_6f8c7982-c63c-44ea-ab7d-94f551a3f1cf-image.png

      You are comparing pips to price.

      posted in Questions & Answers
      roar
      roar
    • RE: Bollinger bands

      @shovel52 said in Bollinger bands:

      Why is it usually "condition true" ?

      Check my example - the condition is true, because 15 is more than 1.1070.

      There is no glitch, the program just does what you tell it to do

      posted in Questions & Answers
      roar
      roar
    • RE: How can a SL based on currency be set up?

      @l-andorrΓ  When I think about it, actually it doesn't get that much more complicated.

      You just need to do the final correction with a pair EURxxx, where xxx is the base currency of your chart.
      Example: when trading GBPJPY, sl formula is now:
      SL (price fraction) = risked money / (lotsize*100000) * iClose(EURJPY,0,0)

      https://fxdreema.com/shared/mmBhaLp9
      Check this example project, it's mql5 though

      posted in Questions & Answers
      roar
      roar
    • RE: How to stop a buy or sell order when the condition is met with one per tick?

      @khalids222 I have used the "No trade" block for 5 years now and 100% of the time it has worked just as expected.
      Why do you think it causes a problem?

      posted in Questions & Answers
      roar
      roar
    • RE: How to skip certain number of candles?

      @rafaels919 Hi!

      Working with hours and minutes is always a pain, better avoid them altogether.

      • Create a variable skipcandles that increases +1 on every new candle (no conditions for it). Initial value for the variable should be big, like 100
      • When you need to "skip", just reset that variable back to 0.
      • Now you can check: skipcandles must be above 12 (for example) before new actions

      https://fxdreema.com/shared/mQ7gUp3me

      0_1575473361277_fb4a4e5c-34a2-4d90-9fa4-cd70cfd5d3e9-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: How to skip certain number of candles?

      @rafaels919 here:
      https://fxdreema.com/shared/gRjVji7md

      posted in Questions & Answers
      roar
      roar
    • RE: I want to use the atr as an input filter, to only place operations when there is good volatility, but I don't know how to do it and connect with the other conditions

      @luisjunior1224 Well, you should always trade only the volatile period (fast above slow), no matter if there is a trend or not.
      Fast below slow means that the price doesn't move at all -> your profits are small but spread+commission stays the same. Not wise to trade that.

      posted in Questions & Answers
      roar
      roar
    • 1
    • 2
    • 9
    • 10
    • 11
    • 12
    • 13
    • 21
    • 22
    • 11 / 22