fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. fxDreema
    3. Posts
    • Profile
    • Following 0
    • Followers 691
    • Topics 32
    • Posts 7485
    • Best 277
    • Controversial 18
    • Groups 1

    Posts made by fxDreema

    • RE: Problem with import mq4 file

      I guess I still don't know how to work with the whole variety of possible file encodings. There is only 1 bit in this file that prevents breaks my functions. The problem actually comes from that text OPERACIÓN LANZADA in block 33

      Because I don't know when will I fix this, here is what I would suggest. Scroll on the bottom of the file and you will find weird text that is commented. Make a .mq4 file that contains this text only and it should work.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: How close on reverse signal and open reverse

      This example probably shows the same idea you want to make: https://fxdreema.com/demo/mt4-buy-sell-buy-sell-opposite-conditions
      But of course the indicator needs to work in the EA. I notice that there are arrows, and sometimes you need to use Candle ID of 1 or more. If you are not sure about the indicator, check it with Trace (https://fxdreema.com/demo/mt4-trace-multiple)

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: TP and SL adjust

      Well, every time we talk for manually placed trades and orders, magic numbers matter! Set this to 0 - http://prntscr.com/e8sgii
      Here is more information: https://fxdreema.com/help/working-with/magic-start-and-groups

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: self updating/refreshing grid, compare two groups of trades

      You want to say that you can't produce shared copy of the project? I can see people showing such links around, but maybe there is something specific in your project that doesn't work well. Can you do that with another project?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: How to recognise a flat line.

      Maybe that "Indicator moves within limits" block?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Exit after n bars

      First of all, better forget about the "end of the bar" idea - https://fxdreema.com/help/working-with/on-candle-close

      There is no such expiration. I added these expiration settings when I was making EAs capable of working for Binary Options brokers, so expiration settings are just a bonus for Forex 🙂

      But you can try something like Once per bar -> For each Trade -> check age -> close

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Displaying Arrows and Text on top of Candles

      @micheltem said in Displaying Arrows and Text on top of Candles:

      @miro1360 It's definitely set to "No"

      Right now I can see in your latest project and at least for one block (49) it is set to Yes

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Buy or sell if the last candle high or low

      In the block "Once a day" there is some simple hours filter, so you can define particular minute of the day at which the block would pass once.

      For that "opening of new candle" part, just use "Once per bar" - https://fxdreema.com/demo/mt4-once-per-bar

      What is high and what is low... there is stuff in the "Condition" block. If it's something more fancy, there are other blocks like "Bulls in a row" or even "Single candle template"

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: VERY VERY Stupid error!!!

      If I make it like this, it fixes the problem also for other timeframes:

      bool printed = false;
      
      void OnInit()
      {
         iClose(Symbol(), PERIOD_M1, 0);
         iClose(Symbol(), PERIOD_M1, 0);
         iClose(Symbol(), PERIOD_M5, 0);
         iClose(Symbol(), PERIOD_M5, 0);
         iClose(Symbol(), PERIOD_M15, 0);
         iClose(Symbol(), PERIOD_M15, 0);
         iClose(Symbol(), PERIOD_M30, 0);
         iClose(Symbol(), PERIOD_M30, 0);
         iClose(Symbol(), PERIOD_H1, 0);
         iClose(Symbol(), PERIOD_H1, 0);
         iClose(Symbol(), PERIOD_H4, 0);
         iClose(Symbol(), PERIOD_H4, 0);
         iClose(Symbol(), PERIOD_D1, 0);
         iClose(Symbol(), PERIOD_D1, 0);
      }
      
      void OnTick()
      {
         if (printed == true) {ExpertRemove(); return;}
         printed = true;
       
         Print("Value 1 = " + iClose(Symbol(), PERIOD_D1, 0));
         Print("Value 2 = " + iClose(Symbol(), PERIOD_D1, 0));
         Print("Value 3 = " + iClose(Symbol(), PERIOD_D1, 0));
         Print("Value 4 = " + iClose(Symbol(), PERIOD_D1, 0));
         Print("Value 5 = " + iClose(Symbol(), PERIOD_D1, 0));
      }
      

      ... but it makes the EA to start slow and probably uses more resources, because it loads all timeframes. So I don't want to use this fix in fxDreema

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: VERY VERY Stupid error!!!

      Try this EA:

      bool printed = false;
      
      void OnTick()
      {
         if (printed == true) {ExpertRemove(); return;}
         printed = true;
       
         Print("Value 1 = " + iClose(Symbol(), PERIOD_D1, 0));
         Print("Value 2 = " + iClose(Symbol(), PERIOD_D1, 0));
         Print("Value 3 = " + iClose(Symbol(), PERIOD_D1, 0));
         Print("Value 4 = " + iClose(Symbol(), PERIOD_D1, 0));
         Print("Value 5 = " + iClose(Symbol(), PERIOD_D1, 0));
      }
      
      1. Close MetaTrader
      2. Open MetaTrader
      3. Run the EA in the Tester using timeframe that is NOT Daily

      The result is like this: http://prntscr.com/e8pnvm

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Problem with import mq4 file

      Working?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Problem to import mq4 file

      Working now?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Problem with import mq4 file

      I tried importing and it works for me. If your .mq4 file is not secret, can you send it to me?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: check trading condition block, check margin?

      There is something in the Account option in Condition block

      posted in General Discussions
      fxDreema
      fxDreema
    • RE: Looking for blocks controlling money management

      Some of the Money Management options in Buy now/Sell now use calculate the lot size of the future trade by using the lot size of the previous trade. Others use the current Balance/Equity or something else. But if you use "Buy now" block, this block creates a new trade and does nothing else at all!

      So if you want to check something AFTER the trade is created, this can be done in other blocks. You can try "Check profit (unrealized)" and then "Close trades" connected to it.

      posted in General Discussions
      fxDreema
      fxDreema
    • RE: Can you create Indicators using FxDreema?

      https://fxdreema.com/shared/imhXhZefc

      In this example I didn't use the Market option. I'm too lazy to test it on live and the Tester only works for the current market. I also don't have BO setup at the moment. So, Market settings are important. Also the Group settings are important, especially when you work with 2 EAs on a different chart.

      Here is about these pink blocks: https://fxdreema.com/examples#Loop-(For each...)
      Here is about Group and magic numbers: https://fxdreema.com/help/working-with/magic-start-and-groups

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Binary options

      Again, for the option in Buy now/Sell now blocks the symbol of the trades are imporant. So you will not have success trying to mix lot sizes from different symbols. This is how I made it. You can try, but I think that it will not work.

      The only thing that is different in EA for Forex and EA for BO is that the EA for BO sends the trades with special string in the Comment of the trade. Everything else is the same in the code. That's why in my answers I don't even mention BO, I talk in general.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Average True Range

      In /Indicators folder you can find ATR.mq4. If you know a liiitle bit coding or just by trial and error you can use that indicator to make your own that will use Close and Open prices. Just rename some "high" and "low" words in the code. But be careful, you can do something wrong.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Custom indicator does not work.

      If you want to have the indicator in a subfolder, do it. But then in fxDreema, in My Indicators, change the name of the indicator to something like "folder\indicator_name". Or with / ... I forgot what was the correct one, but I guess that both should work.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: What is "Change Status to" used for in a block?

      In the picture you can see blue text "stopped". Which is automatically generated after the end of the EA's work. But if you use "Change Status to" this text can be changed to whatever text you want.

      The idea is that you can choose some blocks to tell you something in the chart. The alternative is of course to use "Draw Text"

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 98
    • 99
    • 100
    • 101
    • 102
    • 374
    • 375
    • 100 / 375