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: We need to have an in-built News Filter...It is high time we have this MT4 and MT5

      I disagree with myself too, lol

      Yes, news filter does have a benefit, to not open a trade 1 minute before NFP and such... But its not as important as many believe. Its the 99th step of making a good EA. Profitability of an EA will not and should not depend on news filters, unless you are intentionally building a macro data EA.

      I won't go into "prop firms" topic, as in my view those are just clever marketing schemes instead of actual trading institutions.

      posted in General Discussions
      roar
      roar
    • RE: Transformation of profit/loss into price level

      @l-andorrà

      1. Size is lot size, but "value" is a percentage of equity, the user input in in the "risk % of equity" setting. You can replace the whole ((value/100)/AccountEquity()) part with your own money variable.
      2. Yes
      3. Yes
      4. You can see how TickValue is fetched with SymbolInfoDouble() function a bit higher up in my screenshot. You can use that method or the fxdreema dropdown, its the same thing.
        I think you need to always use PipValue(symbol) as a custom function, there is no drop-down selection for that.
      posted in Questions & Answers
      roar
      roar
    • RE: ALERT AND BREAKEVEN

      @Chen-7 here is the label:
      bd0e6a27-18d6-48da-a5f7-3fd339c61179-image.png

      For BE, I would try setting some "pips on profit" value, maybe it cannot be empty. If that fails, reconstruct the BE using the purple blocks: for each trade -> check profit -> once per trade -> modify SL

      posted in Questions & Answers
      roar
      roar
    • RE: HOW CAN I DRAW A VERTICAL LINE IMMEDIATELY A CONDITION IS MET

      @daraseunmi you have selected to draw one line per candle, and redraw (move) the line when the requirements are met another time.

      Try setting these to "No".

      But a custom (seconds) chart might very well be an issue, I dont know about those.

      939ed588-94d8-4dde-acf1-0c640f4f846b-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Transformation of profit/loss into price level

      On every source code downloaded from fxdreema, there is a function called DynamicLots. Inside that function is an equation that calculates the lot size using a price distance (the SL) and a money value (% of equity).

      With some high school math, you can reverse that equation to calculate a price distance using the lot size and money value.
      @sktsec 's example appears to be about right 👍

      image.png

      posted in Questions & Answers
      roar
      roar
    • RE: ALERT AND BREAKEVEN

      @Chen-7 I think the alert data rows always need some label, it cannot be empty.

      In the BE block, you need to change the group filter as you did in the Position block.

      dabeccc1-5aa4-491c-bebe-55c4ff517d53-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: ERROR ON NON EXISTING BLOCKS

      12 and 56 are not block numbers, they are values in some fields.

      To find those fields, download the mq5 file and try to compile in your MetaEditor. The error message will show the problematic code lines, and then you can find the corresponding fxdreema block.

      posted in Questions & Answers
      roar
      roar
    • RE: Need Help Backtesting Error

      https://fxdreema.com/forum/topic/16494/close-positions-when-market-is-closed
      https://fxdreema.com/forum/topic/16638/mt5-optimizer-not-working-with-many-fx-dreema-ea-resolved
      https://fxdreema.com/forum/topic/16849/market-close-error-mt5-backtesting-solved

      posted in Questions & Answers
      roar
      roar
    • RE: How to do I build a multi timeframe\symbol portfolio?

      @gooseman oh, you need to repeat the same symbol on multiple timeframes?

      22f235b8-90f6-49ae-b686-da2e2e9220c0-image.png

      Then I think its best to use the Set TF loop block with multiple fixed timeframes (just put all the timeframes you ever use in this block).

      Next 2 blocks will filter out the symbol-timeframe pairs that are not allowed. Then we continue with the rsi target setting block.

      And yes, we can use the pipes again, but only in the condition block
      https://fxdreema.com/shared/aGKfK5Btd

      posted in Questions & Answers
      roar
      roar
    • RE: How to scan previous day for engulfing bars

      Just apply some filter. Once per bar

      posted in Questions & Answers
      roar
      roar
    • RE: How to scan previous day for engulfing bars

      @cyberspace just select A=No to see all rectangles

      11dc752a-6666-43a8-908f-21c63e960b73-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: How to scan previous day for engulfing bars

      @cyberspace to see the variables, just download the .mq5 file and then import it to your builder

      posted in Questions & Answers
      roar
      roar
    • RE: How to do I build a multi timeframe\symbol portfolio?

      @gooseman MT5 data handling is sometimes a mystery, but I would assume getting only D1 time is enough to refresh all timeframes.

      Also, you can keep the time array sized 1. It will just be written over again and again, and its not a problem because we dont actually use the time value.

      I use this method On Tick, but On Init should work fine.

      posted in Questions & Answers
      roar
      roar
    • RE: How to do I build a multi timeframe\symbol portfolio?

      @gooseman you need a time array, yes.

      If you use custom mql code block, you can put this inside it:

      datetime time_arr[1];  // Creates an array sized 1
      CopyTime("EURUSD", PERIOD_D1, 100, 1, time_arr);
      

      Thats it. This code doesnt need any constants or variables from your list. You will however need to replace "EURUSD" in some loop.

      posted in Questions & Answers
      roar
      roar
    • RE: Market Close Error MT5 Backtesting Solved

      This problem is also mentioned here
      https://fxdreema.com/forum/topic/16638/mt5-optimizer-not-working-with-many-fx-dreema-ea-resolved

      and here
      https://fxdreema.com/forum/topic/16494/close-positions-when-market-is-closed

      I think it needs addressing @fxDreema

      posted in Tutorials by Users
      roar
      roar
    • RE: Closing lots gradualy

      https://fxdreema.com/shared/z17uZY58b

      This example should get you going

      posted in Questions & Answers
      roar
      roar
    • RE: How to do I build a multi timeframe\symbol portfolio?

      To "wake up" your symbols before getting indicator data on them, you can use CopyTime function:
      https://www.mql5.com/en/docs/series/copytime

      CopyTime("EURUSD", PERIOD_D1, 100, 1, time_arr)
      

      This prepares 100 days of history data, for example

      posted in Questions & Answers
      roar
      roar
    • RE: How to get iMACD from MT4 to MT5

      @andrewfrank indicators work very differently on mql5. It would be easier to just use the "modify variables" block rather than custom code, when getting indicator outputs.

      But if you do it the custom way, you must first "load" the MACD indicator with the code you mentioned, and then use CopyBuffer() function to read some value from that indicator.

      posted in Questions & Answers
      roar
      roar
    • RE: 4k Monitor - Comment blocks Values overlay on screen

      It seems MT5 got a resolution selection in the latest update. I suppose this helps with objects

      image.png

      posted in Bug Reports
      roar
      roar
    • RE: How to do I build a multi timeframe\symbol portfolio?

      So the mistake was in my own example. Eh, sorry 😅

      I usually do that step in the quick adjust, no need to select datatype

      posted in Questions & Answers
      roar
      roar
    • 1
    • 2
    • 8
    • 9
    • 10
    • 11
    • 12
    • 120
    • 121
    • 10 / 121