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: MQL5 Files cannot be compiled anymore/impossibile to make some custom indicator work

      @gabrielebrignoli
      I'm not customer service, but are you absolutely sure you have the correct syntax?
      It looks like the correct argment here is Ask(Symbol())

      posted in Bug Reports
      roar
      roar
    • RE: Can we create neural network EA from fxDreema?

      Yes, I guess, if you use custom block.
      But fxdreema doesn't really have anything that directly supports neural networks, so everything would have to be custom - you could as well do it outside fxdreema.

      posted in Questions & Answers
      roar
      roar
    • RE: the most effective scalp plan to have a constantly profit of 4-6 pips(fOREx).

      @tony-1 This is a very large and controversial topic, but here's some general thoughts

      • If you trade intraday, focus on most volatile periods -> most important is to maximize candle size / spread ratio, this is critical for long term profitability
      • For scalping purposes, go against (weak) trend but don't go against momentum (this is just me)
      • Don't try to win every trade, try to get your average entry on positive. Using mt5 netting mode is a big help on this
      • Your EA has the advantage of monitoring the market 24/5, so there is no need to use fixed SL and TP - optimize the exits just like you optimize your entries -> closing buys when a sell entry happens is logically not a bad idea
      • Your most important developing tool is backtesting. Sketch up some idea -> test it -> if it is a clear failure -> try something radically different -> don't try to polish shit
      posted in General Discussions
      roar
      roar
    • RE: Testing out Swap, can't get it to work

      That function should work...
      Check my test: https://fxdreema.com/shared/TGLf2UFI
      Maybe your SwapLong is type bool, int or something else - it should be double.

      Use this to return the swap on current symbol:
      SymbolInfoDouble(Symbol(),SYMBOL_SWAP_LONG);

      posted in Questions & Answers
      roar
      roar
    • RE: 2019.10.11 20:21:25.225 2019.10.11 15:59:59 TESTING  EURUSD,H1: Expert Advisor self terminated

      @hanssolow
      Check the journal messages before that one, there is usually some hint.
      Probably some endlesss loop / stack overflow / division by 0

      posted in Questions & Answers
      roar
      roar
    • RE: How to keep a running total of profit/loss once EA has started

      https://fxdreema.com/shared/yRzNNgC3b

      This will show profit from current trades. Combine it with loop "for each closed trade" to find total profit.

      Remember to reset the variable totalprofit before beginning new calculations

      posted in General Discussions
      roar
      roar
    • RE: Possible bug in positioning candle in 'future' candles

      @fxdreema you should make a sticky post in all forum categories:

      "How to ask for help

      • what have you tried
      • what is the goal
      • the problem in most simple form
      • etc.

      otherwise support is not guaranteed. "

      Edit: I'm referring to this lol

      posted in Bug Reports
      roar
      roar
    • RE: Reference to candle price (setting an id for candle maybe? )

      Use a variable target_ID

      • At beginning set target_ID as 10
      • On every new candle, target_ID = target_ID+1

      Now the ID changes as time passes, but the reference candle stays the same.

      posted in Questions & Answers
      roar
      roar
    • RE: syntax error - please help - thx

      @bates
      When comparing, use double equal:
      if(strStopRun=="1")

      posted in Questions & Answers
      roar
      roar
    • RE: Compilation Error Message

      @alphaandy Glad it worked!

      There's another solution - not using those tick boxes at all, to get the values visible on mt4. Instead, you can declare some constants and use them. You can freely name your constants, use same constant in multiple blocks, and they will always show up on mt4.

      Import this to your builder to see how I made the constants:
      0_1570358144834_x.mq4

      posted in Questions & Answers
      roar
      roar
    • RE: Compilation Error Message

      @alphaandy
      Did you try to edit the heading like this:
      0_1570307522382_767d8ae6-ba67-494a-85c2-af07066eeeaa-image.png
      The grey part is the block ID, the EA uses that ID to process the logic. Spaces will mess up the code, so replace them with underscores.
      In any case, I think it is safer to modify the text on the green part, that does not play any role in the actual logic process. Just right-click to get that Edit title button:
      0_1570307744285_c002261c-54c0-42fe-a2f5-317070144791-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Ea enum constant

      @fabien-s
      Just declare the constant as type ENUM_APPLIED_PRICE
      🙂
      https://docs.mql4.com/constants/indicatorconstants/prices
      0_1570303541820_7551faeb-7484-468f-bd37-92afb695ac28-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Choppy, sideways markets

      There's lots of options... ADX is sort of designed to find trends.
      Another nice option is to move to a higher timeframe and using RSI.
      M30 market is usually choppy when D1 RSI is in 45-55 area.

      Eurusd seems to have a choppy nature most of the time - I'd just design my whole system to take advantage of the sideways moves, and limit risk when market enters to a stable trend.

      posted in Questions & Answers
      roar
      roar
    • RE: EA using fractals

      Using ID0 on the daily filter shouldn't be a problem in this case.

      This is a slight problem:
      0_1570113639252_8e422ad8-f0f5-4c5b-8622-525de3ba94ef-image.png

      You see, when candle ID 2 has no fractal, then its value is 0, which is below candle high. This will mess up your last_fractal variable and so on.

      Since we know that fractals (up and down) have value 0 when there are no fractals, we don't have to compare price at all to find the fractals - simply use "fractal down != 0" and "fractal up != 0" as your blocks #51 and #52

      posted in Questions & Answers
      roar
      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: Struggling to Add, Test and use an EA.
      1. Open your data folder with Ctr+Shift+D
        0_1569865433179_30050492-2cb0-4d99-bc5b-2b25f13abe32-image.png
      2. Navigate to MQL4/Experts. Put your .ex4 file to the Experts directory.
      3. Back in your terminal, press Ctrl+N to open your Navigator.
        0_1569865649974_fa350247-90dc-408f-909a-6d12480606cf-image.png
      4. Refresh the Expert Advisors list, and your EA should show up
      5. Now you can drag and drop the EA to any chart or strategy tester (Ctrl+R to open tester)
      posted in Questions & Answers
      roar
      roar
    • RE: Trying (and failing) to create a simple EA...appealing to all FXDreema gurus!

      Hi. I'm just dropping here without knowing all the details of the project, but in general I have found out that backtests with some 50 trades contain zero information on actual profitability. You should test longer periods to get more reliable results. My rule of thumb is at least 200 trades per test.

      In my opinion, mt5 has a far better environment for developing and backtesting, but unfortunately that is too big a transition for most people..

      posted in Questions & Answers
      roar
      roar
    • RE: How to include library?

      Hey @fxdreema, could you please shed some light on the library compability? Being able to use the statistical library would be equivalent to anabolic steroids for my projects 😄

      posted in Questions & Answers
      roar
      roar
    • RE: Problem Calculate Profits in Open Price (METATRADER 5), Image+code

      I have no idea how those trade buckets work. Maybe trading costs makes the difference.

      I would just use a variable and a loop to calculate any information. It's easier to troubleshoot:
      https://fxdreema.com/shared/eOts10xOc

      posted in Questions & Answers
      roar
      roar
    • 1
    • 2
    • 83
    • 84
    • 85
    • 86
    • 87
    • 120
    • 121
    • 85 / 121