fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. gooseman
    3. Posts
    • Profile
    • Following 1
    • Followers 0
    • Topics 12
    • Posts 62
    • Best 6
    • Controversial 1
    • Groups 0

    Posts made by gooseman

    • FULL STOP - FFS stop trying to "code" the news!!!

      If youre coding a strategy using fxdreema

      please please please remove the idea from your head of trying to "filter" news. At the time of this post, weve all seen this chart:

      f911b018-d2c7-46e6-82b4-68ea11f2e683-image.png

      this is the s&p daily. reflect on the current macro politics...do you REALLY think the markets should be making all time highs? lol youre lying to yourself if you think they should NOT. you see? data doesnt give a fuck. quantify your data. use as much data possible. make sure your cost are covered.

      I want to make this post because this is a massive CASE IN POINT.

      THE MARKET DOESNT GIVE A SHIT ABOUT FUNDAMENTAL NEWS AND NIETHER SHOULD YOU.

      posted in General Discussions
      gooseman
      gooseman
    • RE: Replicating condition on custom mql code block

      I know how much of a pain troubleshooting\debugging code is, If someone could please point me in the right direction, I can figure out the rest.

      posted in Questions & Answers
      gooseman
      gooseman
    • Replicating condition on custom mql code block

      I would like to replicate the (top) block condition (MA200) to the custom MQL code block (bottom)
      fx1.PNG

      both conditions in the MA200 block and custom MQL block use the same logic. using the MA200 block connected to the green bars will execute on each bar below the 200 length moving average
      fx2.PNG

      But when i have the custom MQL block connected, it executes on all bars. above and below the 200 moving average. ive added print function to confirm that mt5 is reading this code and it is
      fxmt5.PNG

      im at a loss as to why its executing on all bars instead of the bars below the moving average.

      posted in Questions & Answers
      gooseman
      gooseman
    • Custom MQL5 MA crossover condition

      Capture.PNG

      I could use the condition blocks to achieve this but i would prefer to use code as i have many conditions (multipe MA constants)

      Its a very simple ma cross over signal using index 1 and 2. yet when i run this in the mt5 backtester, its shorting all candles as if the custom mql code box doesnt exist. am I missing something here?

      posted in Questions & Answers
      gooseman
      gooseman
    • RE: Strategy testing error

      add a time filter just above your buy\sell block and set it to your broker session time. also place that time filter above any close position blocks. see if that helps.

      posted in Questions & Answers
      gooseman
      gooseman
    • RE: Project disappear in FXDreems

      try going back a couple of steps of history. i didnt have this same exact issue as you, but mine was stuck loading but couldnt open any of the blocks. when i did a search here on the forums on it, some had resolved it by trying another browser (as everyone mentioned here) or by restoring history snapshots. try with the latest and keep going back until you get your stuff back, thats what i did.

      posted in Bug Reports
      gooseman
      gooseman
    • Incorrect description in no position block?

      Hello

      b8e60379-e58e-47f1-9d21-523ab04653d9-image.png

      The description should be the other way around, no?

      posted in Bug Reports
      gooseman
      gooseman
    • RE: How to get ATR multiple as an adjustable input filed?

      in your constants window, try changing the data type to STRING instead of DOUBLE

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

      @roar finally! no more error codes! I eliminated the LV variable and made that into different constants instead and created separate block structures for each of those LV. I coded all the symbol and TF into the project and I loaded up the robot on a demo last night to see if I woke up to any codes. I woke up and found no codes and its trading! the portfolio still doesn't match historical results

      897f1ef5-be97-400f-a1f6-781ffdd70086-image.png

      A - Current version
      B - Original version

      but it is fine! ill run with this portfolio in the meantime. I will learn mql5 language and dissect this portfolio and get it running at 100%. still! missing over 4k trades is not bad at all. Thanks @roar @sktsec for the help. I really appreciate it.

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

      @roar ive turned the RSI parameter to a constant instead of a variable. Now each RSI parameter has its own set of blocks.

      image.png

      now that we have the TF and SYMBOL as variables
      2657729f-dee7-4cf1-a90e-191cdd7496ac-image.png

      CADCHF H1 has 142 historical trades
      CADCHF H2 has 101 historical trades

      I've removed the code and tested it individually and does return the correct amount of trades. but when together

      (market == "CADCHF_QDM_FTMO_II" && (TF == PERIOD_H2 || TF == PERIOD_H1))
      

      I get a total result of 190 when it should be 243 total amount of trades. any ideas?

      43aabb72-735c-469c-b7d3-3d2db8e43f2a-image.png

      EDIT

      Ive tried out the old code as well:

      if(market == "CADCHF_QDM_FTMO_II")
      {
      	TF = PERIOD_H1;
      }
      if(market == "CADCHF_QDM_FTMO_II")
      {
      	TF = PERIOD_H2;
      }
      

      This results in H1 only being traded. H2 is ignored.

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

      @ambrogio I also utilize Time Filter block to avoid market closed errors.

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

      @roar hmm. ive tried what you suggested and its trading but something isnt right. I say that because im comparing the total trades to my historical test and getting lower results. So I just wanted to make sure were on the same page here. Here is a small sample of the portfolio. Each row is independant from each other, an asset. Column D are the historical total trades of n years. The ones that are marked with the red line, ive ammended to the project

      image.png

      f6534667-b316-4ccb-bdbf-4b1e4197eb03-image.png

      This will backtest all symbols but not all trades. in other words, the total trades do not match my historical total trades (352 trades) I can confirm symbols being traded but not sure if its either the TF or LV variable is the culprit here. I understand the mql code but guess what I dont understand is the logic here so please forgive me if im repeating myself here. Once this portfolio is live, my next step is learn how to code in mql5. Between you guys helping, chatgpt, mql5 youtube videos, Im finding it more interesting and cant wait. so thank you guys for being patient with me.

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

      @sktsec any advice on the previous post?

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

      @roar I am looking at the previous post, I have to apologize, that's just bad practice\troubleshooting. To try and figure out why the system is not taking all trades is not on you. I should have known better as I am in the IT industry lol. I think I've figured it out though. What I did is start with 1 symbol and tested it. the system was able to take all trades. no problems and is working as intended. I added another, but different symbol. the backtest results show the correct amount of trades. it works. great! let's try 2 of the same symbol this time with different parameters.

      image.png

      Ah ha! found the issue! historically, H1 CADCHF LV1 has a total of 142 trades. H12 CADCHF LV2 has a total of 32 trades. when combined, the backtest should have a total of 174. but what Im getting is only 32 trades. Meaning the system is ignoring the H1 version and just trading the H12. so I tried this (don't laugh)

      7cbe8a5d-f8d6-4053-8a43-7d064bb593d5-image.png

      When backtested, Im getting 32 trades still. (H12 lv2 only) I believe adding pipes (or) will be used here. just not sure where.

      Ive also tested
      aff7d7f4-4a43-4049-9998-bd303a60a8cd-image.png

      with this, it'll trade the H1\LV1 (174 trades) but ignore the H12\LV2 (32 trades)

      Tested this
      8ab2741b-1451-4f29-b8f0-464ca706c242-image.png

      with this, it'll trade the first set of curly brackets and ignore the 2nd set.

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

      @roar alright! making lots of progress here. Adding the CopyTime function looks to have solved the error! however, the system is not taking all trades. I have tested 1 year of historical data between my original build and this new build. I have tracked down the missing pairs in backtest to: EURAUD, GBPJPY, NZDJPY

      Original build
      432792d1-46af-4b6f-bcd8-02169e076ddf-image.png b2535cbb-286c-4627-87f9-c7d8a93726c0-image.png

      New build
      7a234eda-f942-4b0a-b1f9-08d89043e941-image.png
      1b2aaddf-b034-46a2-b120-153e71c1646a-image.png

      Ive tried changing the No Position block to
      299fda8b-e34e-49e0-b1d0-75ad222b3311-image.png
      No difference, so I went back to default.

      These are on the on Init tab
      fbff298b-c93b-410c-a47c-89483f3c7a42-image.png

      Heres the code for the missing symbols in the backtest
      326d7493-81e6-49aa-9ff2-5e7653d1eeb0-image.png
      85bdc162-3ecc-4e63-91c7-a45ef5e74c57-image.png
      977be931-8ae2-4cc9-bdae-2bb21962255e-image.png

      The missing symbols are there but don't seem to take trades. any ideas?

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

      @sktsec Ive tried adding the blocks, but it seems to only limit to one symbol.

      posted in Questions & Answers
      gooseman
      gooseman
    • 1
    • 2
    • 3
    • 4
    • 1 / 4