fxDreema

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

    Best posts made by fxDreema

    • RE: Changes

      @tipsywisdom said in Changes:

      1 more request....there are tons of constant. It would be SWEET if there was a dropdown list when I click on constants, and perhaps some sort of expandable and closeable area where I might want to sort only through only the ENUM types for instance, or other types of constants.

      Now this in particular is something that I was hoping that someone will mention. I saw many projects with so many constants or variables, it looks too much. And I know that I must do something about this.
      Also, maybe the concept itself is not very good. The problem is that all these variables (constants are inputs, we can leave them) are global, and in the world of programming global variables are generally bad idea.

      @l-andorrΓ  said in Changes:

      @fxdreema I'm happy to see this new thrust in fxDreema. I hope we'll see you more often here now! πŸ™‚

      Especially you should NOT be happy :)))

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Changes

      @stantham, usually when someone asks me to give him some time, I do. And I will give you let's say a week extra, but you see that other members might thing that such thing is unfair. It's also true that the situation in some poor countries is also unfair. I wrote about this in this topic already - I think that Forex is a game for people who are ready to lose good amounts of money just like that. I did many many times. But if someone doesn't have any money to lose - the last thing he should do is to gamble with them. Yes, some people could be profitable, but the chance is that you will lose whatever money you put in this. Unfortunately the fact that you don't have money is already a very strong indicator of that, because psychologically you are even more inclined to do the wrong things.

      @bk7, $100 per months is probably too much. But If we are really talking about money, there should be one optimal price of the product. Here is more info for what the optimal price is:
      https://marketbusinessnews.com/financial-glossary/optimal-price-definition-meaning/
      I think the prices here are currently below the optimal price. In general of course. Some countries are really fucked and obviously any price for these people is too high. But this is Forex after all, for other people 20-30 bucks per month in not that high. It all depends.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Changes

      @stantham said in Changes:

      as you give review lets face both side of the coin fxdreema is good but it can be better if some changes are done

      Absolutely, this is true from day 1.

      Since your country is poor and you don't have money, here is an idea for you - make EA builder that is better than this one. At the time when I started it I was also broke and I was very, very bad as a programmer, I knew less than the basics. What you need is time and dedication.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Changes

      The Tutorials section was a mess, I moved 2/3 of the posts here in the Questions section πŸ˜• I don't want to know what is the situation in the Bugs section 😞

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Same TP multiple trades

      I didn't read the whole topic, so someone may already have given a good answer, but I will add mine just in case.

      Those blue blocks, such as "Modify stops of trades" or the trailing stop block - they do the same action on multiple trades, but not exactly at the same time. This block would modify one trade, then after this is done it will go to modify the second trade... and do this while all are modified. But meanwhile the price is moving, which I think is the problem, because "Price relative to" refers to the current market price, which is Ask or Bid.

      So I think the question is how to use more stable price. I think what you can do is to have some "double" variable, in which you can store the value of the price above the blue block, and then use that variable in the block.

      Also, try this. I'm not exactly sure that it's working, but...
      0_1652093749683_0db33e10-816d-4740-a340-250bbc0d7915-image.png

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: are experiencing the same?

      I think the server was out of RAM or something. On the server I'm running Chrome for some scripts, and after some days of working it tends to eat the memory. I closed them (plus some other old processes) and I think it works better now.

      Maybe there is also someone working on a big project, because I notice some spikes that could be related to this.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Would it be a bug??? Sum in Loop for 2 or more orders not working!

      Now that's an example that contains a good amount of blocks and is easily testable, I like it πŸ™‚

      The problem is that you are not incrementing the variables.

      Let's get twobuys for example. Block 9 would run block 8 twice for the two last positions, first the last position and then the previous.

      • On the first run twobuys is set to the profit of the last position, which is -4.06. The value of twobuys was 0 and became -4.06.
      • On the second run twobuys is set to the profit of the previous position, which is -4.00. The value was -4.06 and became -4.00.

      If you want to sum both values, you should add the value of twobuys to itself on every run. But also, you must reset the variable every time before such incrementations, otherwise the value will grow and grow without limits.

      image.png

      Instead of the side Variables panel, you can also use "Modify Variables" before blocks 9 and 11 to set the variables to 0.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Forum update

      Hackers are not sleeping these days. The website is currently being attacked from 2 different hackers.

      One is loading bunch of forum pages, similar to search bots, but more aggressive. It doesn't seem dangerouns, but it's rude and I wonder why. It's interesting that this guy has few accounts here, one of which is ancient, from the very beginning.

      The other one is trying to brute force user emails and passwords from 1000+ different IP addresses at the same time. I know one account that used one of these IPs, and it was paid just before this attack started. It could be his account, or it could be hacked, I don't know. Anyway, I'm blocking almost all of his attempts now, he is just generating traffic. But in any case, my advice is to have strong passwords and as usual - keep the important projects locally as .mq4 or .mq5 files.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Lock expert to account / broker

      When you have the expert as .ex4 file, this file is secured. So you can have everything in this file. For example, you can check under "on Init" for that account and terminate the EA. In "Condition" there is Account option with some account and broker data that can be checked. If the check fails you can use that "Terminate" block to stop the EA.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Historical data

      Tickstory?

      posted in General Discussions
      fxDreema
      fxDreema
    • RE: Can't load projects after fxDreema server update

      This was ugly. It's working now. I expected problems, maybe not so many, but at the end it will be better. I already see that everything loads almost 2 times faster.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: How the generated MQL4/MQL5 code is structured

      First of all, check MQL4 (MQL5) specifications about special functions:
      http://docs.mql4.com/basis/functions/special
      http://www.mql5.com/en/docs/runtime/running

      Let's take MQL4 for example. There are 3 basic special functions: Init(), Start() and DeInit(). The basic structure of MQL4 expert advisor looks like this:

      //+------------------------------------------------------------------+
      //|                                                     MQL4file.mq4 |
      //|                      Copyright Β© 2011, MetaQuotes Software Corp. |
      //|                                      "http://www.metaquotes.net" |
      //+------------------------------------------------------------------+
      #property copyright "Copyright Β© 2011, MetaQuotes Software Corp."
      #property link      "http://www.metaquotes.net"
      
      //+------------------------------------------------------------------+
      //| expert initialization function                                   |
      //+------------------------------------------------------------------+
      int init()
        {
      //----
         
      //----
         return(0);
        }
      //+------------------------------------------------------------------+
      //| expert deinitialization function                                 |
      //+------------------------------------------------------------------+
      int deinit()
        {
      //----
         
      //----
         return(0);
        }
      //+------------------------------------------------------------------+
      //| expert start function                                            |
      //+------------------------------------------------------------------+
      int start()
        {
      //----
         
      //----
         return(0);
        }
      //+------------------------------------------------------------------+
      

      As you can see the three special functions are placed one after another.
      Init() is called only once when expert advisor starts, Start() is called at each tick, and DeInit is called only once when you shut down the expert advisor.

      In FXDreema each library (block) is represented in output code with it's own function.

      • Not connected blocks will not appear in output code
      • First blocks in logic trees will be called first
      • Logic trees can be as many as you want
      • Logic trees may be as bigger as you need
      • One independend logic tree may have more than one first blocks

      Let's see some examples. First we'll see what happens with only one logic tree.
      http://i41.tinypic.com/1z4fi50.png
      This will output something like this

      
      	/////////////////////////////////////////////////////////////////////////////
      	//+-----------------------------------------------------------------------+//
      	//| EXPERT INITIALIZATION SECTOR                                          |//
      	//| Runs only once when expert loads                                      |//
      	//+-----------------------------------------------------------------------+//
      	/////////////////////////////////////////////////////////////////////////////
      
      	int init()
      	{
      
      		return(0);
      	}
        
      
      	/////////////////////////////////////////////////////////////////////////////
      	//+-----------------------------------------------------------------------+//
      	//| EXPERT START SECTOR                                                   |//
      	//| Runs at every new tick (begins with "start()" function)               |//
      	//+-----------------------------------------------------------------------+//
      	/////////////////////////////////////////////////////////////////////////////
      
      	int start()
      	{
      		start1(); // The only first block in the only logic tree
      		return(0);
      	}
      
      	//////////////////////////////////
      	// Define block 1 (Empty block) //
      	void start1()
      	{
      		start2(); start4();
      	}
      
      	//////////////////////////////////
      	// Define block 2 (Empty block) //
      	void start2()
      	{
      		start3();
      	}
      
      	//////////////////////////////////
      	// Define block 3 (Empty block) //
      	void start3()
      	{
      		/* Nothing here */
      	}
      
      	//////////////////////////////////
      	// Define block 4 (Empty block) //
      	void start4()
      	{
      		/* Nothing here */
      	}
      
      	/////////////////////////////////////////////////////////////////////////////
      	//+-----------------------------------------------------------------------+//
      	//| EXPERT DEINITIALIZATION SECTOR                                        |//
      	//| Runs only once when expert unloads                                    |//
      	//+-----------------------------------------------------------------------+//
      	/////////////////////////////////////////////////////////////////////////////
      
      	int deinit()
      	{
      		return(0);
      	}
      
      

      The logic is:
      At each tick block 1 is runned
      If block 1 passes -> Run block 2 and block 4
      If block 2 passes -> Run block 3

      Ok, there's two logic trees:
      http://i41.tinypic.com/zunnl4.png
      And the output code is:

      	/////////////////////////////////////////////////////////////////////////////
      	//+-----------------------------------------------------------------------+//
      	//| EXPERT INITIALIZATION SECTOR                                          |//
      	//| Runs only once when expert loads                                      |//
      	//+-----------------------------------------------------------------------+//
      	/////////////////////////////////////////////////////////////////////////////
      
      	int init()
      	{
      
      		return(0);
      	}
        
      
      	/////////////////////////////////////////////////////////////////////////////
      	//+-----------------------------------------------------------------------+//
      	//| EXPERT START SECTOR                                                   |//
      	//| Runs at every new tick (begins with "start()" function)               |//
      	//+-----------------------------------------------------------------------+//
      	/////////////////////////////////////////////////////////////////////////////
      
      	int start()
      	{
      		start1(); start5(); // The first blocks in logic trees called one after another
      		return(0);
      	}
      
      	//////////////////////////////////
      	// Define block 1 (Empty block) //
      	void start1()
      	{
      		start2(); start4();
      	}
      
      	//////////////////////////////////
      	// Define block 2 (Empty block) //
      	void start2()
      	{
      		start3();
      	}
      
      	//////////////////////////////////
      	// Define block 3 (Empty block) //
      	void start3()
      	{
      		/* Nothing here */
      	}
      
      	//////////////////////////////////
      	// Define block 4 (Empty block) //
      	void start4()
      	{
      		/* Nothing here */
      	}
      
      	//////////////////////////////////
      	// Define block 5 (Empty block) //
      	void start5()
      	{
      		start6(); start7();
      	}
      
      	//////////////////////////////////
      	// Define block 6 (Empty block) //
      	void start6()
      	{
      		/* Nothing here */
      	}
      
      	//////////////////////////////////
      	// Define block 7 (Empty block) //
      	void start7()
      	{
      		start8();
      	}
      
      	//////////////////////////////////
      	// Define block 8 (Empty block) //
      	void start8()
      	{
      		/* Nothing here */
      	}
      
      	/////////////////////////////////////////////////////////////////////////////
      	//+-----------------------------------------------------------------------+//
      	//| EXPERT DEINITIALIZATION SECTOR                                        |//
      	//| Runs only once when expert unloads                                    |//
      	//+-----------------------------------------------------------------------+//
      	/////////////////////////////////////////////////////////////////////////////
      
      	int deinit()
      	{
      		return(0);
      	}
      

      The logic is:
      At each tick block 1 is runned
      If block 1 passes -> Run block 2 and block 4
      If block 2 passes -> Run block 3

      At each tick block 5 is runned
      If block 5 passes -> Run block 6 and block 7
      If block 7 passes -> Run block 8

      In Init() and DeInit() rules are the same. Only names for functions starts with "init" and deinit".

      ID's of blocks are unique in global scope. So you can have only one block with ID #3 for example, no matter if it is in Init(), Start() or DeInit().

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: MT4>>MT5

      Oh no, I hate MT5 with passion 😞

      posted in General Discussions
      fxDreema
      fxDreema
    • RE: Trailing stop bug

      Well, the decision of the block to move SL depends on few parameters - current price, current SL, trailing Stop, trailing Step and also Start. Few days ago I posted this page in the Help section: https://fxdreema.com/help/working-with/trailing-stop

      I think that what it does is expected, because the initial SL is far away from Open Price. But you can delay that with Trailing Start.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Desktop version of FxDreema?

      Drew, it all depends on the server logic. For other sequrity reasons I was thinking about to save a copy of the project files before they are deleted in something like Recycle Bin. This makes sence when a user deletes a project accidentally.
      But currently FxDreema works the way you like it - all the files are deleted and no backup files left.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: MT4>>MT5

      If I ever understand how to work with it πŸ™‚

      I just noticed this:
      https://www.mql5.com/en/forum/53/page17#comment_2431783
      alt text
      Is this really working?

      posted in General Discussions
      fxDreema
      fxDreema
    • RE: Bug in blocks

      @tcanuto, I am doing something every day πŸ™‚ I'm always careful not to break something, but the whole thing is very complex and sometimes problems happen.

      As usual I hardly understand what you are writing. What is the problem now, is it something in "Close Positions"?

      I told you this probably million times. But if you want to show me something, better show me some simple project that contains 2-3 blocks at most, so I can clearly see the problem. I'm lost in these big people's projects. You know your project, but I don't. I need time to first understand how the project works... and I am too lazy to do that unfortunately.

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: Copy and Paste EA Code Building Blocks

      This is something that exists. Well, I have to describe it into the documentation πŸ™‚ You know that right click on block opens it's parameters window... try to right click when a block or group of blocks are selected (yellow glowing).

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Cryptocurrencies are exploding these days

      Well, I'm not talking about trading, I'm talking about just having some cryptos. And by the way, after I wrote this Bitcoin and company gained even more value. I think that even if Bitcoin (and others) go down let's say 50%, they will eventually return back and make another records one day. This is new technology in general, but in the same time Bitcoin is (relatively) old and tested, so I see a good potential now. More than that, many people are predicting collapse of the US dollar very soon, which is much more possible.

      I am personally ready to work with some kind of decentralized currency. I mean, if I can use Bitcoin (or something similar) everywhere, I'm ok with that. Unfortunately there are still some issues with Bitcoin now, but I hope they will be fixed eventually. And when some cryptocurrency becomes easy enough to be used from regular people, I think that its value would first grow and grow until most people put their hands on it.

      For me cryptocurrencies are similar to Tesla. Tesla is also new technology, there are also some problems and the adoption of these new cars is still a little bit slow, but this is the future without any doubt. I'm basically sitting and waiting for all the cars to become electric and I'm 100% that this will happen in few years (but at least 10 years in my small slow country) πŸ™‚

      posted in General Discussions
      fxDreema
      fxDreema
    • RE: template parameter ambiguous, could be 'ulong' or 'int'

      Don't worry, I'm giving you 1 month bonus right now πŸ˜‰

      I think I fixed this error

      posted in Bug Reports
      fxDreema
      fxDreema
    • 1
    • 2
    • 3
    • 4
    • 5
    • 13
    • 14
    • 3 / 14