fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. fxDreema
    3. Posts
    • Profile
    • Following 0
    • Followers 693
    • Topics 23
    • Posts 7308
    • Best 258
    • Controversial 18
    • Groups 1

    Posts made by fxDreema

    • RE: GlobalVariableSet - how to?

      "if CurrentGV=PreviousGV" - to be true, you have to compare both EA variables, but not using GV. On both sides choose "Value (numeric)" instead of "Global variables in MT4" and load those variables or write their names inside the input fields.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: GlobalVariableSet - how to?

      http://fxdreema.com/shared/iv2hjNL9c

      Open MT4, hit F3, create two GV's with their default names (gvar1 and gvar2), put some values on them and you will see those values as a Comment on the chart.

      But in this EA there is no really need to use EA variables to hold the names of the GV's, if those names can be used directly inside the blocks.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: GlobalVariableSet - how to?

      I'm trying to understand what you are trying to do with these Global Variables 🙂

      "/profiles/gvariables.dat" - this is the file where Global Variables are stored. And again, they should be used to exchange information between EA's on the same platform, or maybe to keep some parameters while some EA is down - but in this case the EA can create it's own file with information.

      This is the function to get the value from some GV:

      double GlobalVariableGet(string name)
      

      The only attribute of the function is the name of the GV - it must be text, string. What the function returns is the value of that GV, and the value is always numeric, double.

      In your example you have two EA variables with initial value of 1, which is later modified, and that's ok. But you are also trying to use those numeric EA variables as names of GV. Non-sence.

      What do you want to acheive?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: GlobalVariableSet - how to?

      "double" is not a function, with this keyword you define variable with "double" datatype.
      "double variable1=0;" means "Create numeric variable named variable1 and assign value 0 to it"

      In this examlpe: http://fxdreema.com/shared/Whla30wSd you are using CurrentGV as GlobalVariable name, so it should be string (text), not double (numeric)

      Yes, if CurrentGV is a string (text) variable, it's ok to be

      GlobalVariableCheck(CurrentGV)
      

      All the examples below does the same thing:

      
      GlobalVariableCheck("CurrentGV");
      
      
      
      string CurrentGV="CurrentGV";
      GlobalVariableCheck(CurrentGV);
      
      
      
      string SomethingElse="CurrentGV";
      GlobalVariableCheck(SomethingElse);
      
      

      By the way here in this forum there are two buttons named MQL4 and MQL5. They produce better view of the source code 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: fxDreema Connector stops working in Google Chrome

      What if you reload only the page, not the plugin?

      posted in Bug Reports
      fxDreema
      fxDreema
    • RE: GlobalVariableSet - how to?

      There are two types of global variables in MQL4. First one is... normal global variables, they are defined at the top of the code. They are global for the EA only. In fxDreema they are used for Constants, Variables and Formula results. The other type are global variables that can be accessed from all the other EA's on the same platform, they are just some values global for the MT4 platform, and these stays in (file) memory for 4 weeks. These are manipulated with all the GlobalVariableX functions. Click F3 on MT4 to see them.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: GlobalVariableSet - how to?

      There is a block named "Set Global Variables in MT4", scroll down to the yellow blocks. To get the value... somewhere inside Condition.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: load project from file

      Okaaay... so, this .xml file is not created with fxDreema and cannot be uderstanded from it.

      XML format is just a plain text formatted in a way to hold some database structure. The rules to write XML format are standardized, but the content is not, it can be anything.

      I can see you are trying to import regular MQL4 code into fxDreema, but this is not possible. FxDreema cannot read MQL4 code, there are no such instructions. The structure of a normal MQL4 code is different than the structure of the code generated with fxDreema 🙂

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: load project from file

      Just tried on Firefox, IE, Chrome, Opera, Safari and the last Local build... it works here. Do you try on the Local version? Some programs or Windows settings that can probably cause side effect? If you want, I can check this using TeamViewer or something similar, because message "1" does not sound familiar to me 😕

      Do you want to show me some picture that is bigger than 512 kb? Because .xml file of this project is only 6.4 kb.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: load project from file

      Aha, I think they are allowed now 😏

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: load project from file

      Hmmmm... Local or web version? Can you show me some example .xml or .mq4 to try?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: load project from file

      fxDreema cannot load any .mq4 file. It can only load those .mq4 files created from it, because it adds encoded project data at the end of the file (some text starting with /*<fxdreema:)

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: grid pending order

      Use negative value for "Grid size" parameter.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Ma of RSI indicator

      Upload it and use it: http://fxdreema.com/documentation/proje ... indicators
      It checked if it can be uploaded - it's all normal.

      If you can't win the battle with custom indicator's buffers, you can try "Levels tester" block, which is the second from the top.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: sleep

      You can always use some Variable, Formula block or some of the Flags. For example: http://fxdreema.com/shared/p8klKCyJ
      Or even: http://fxdreema.com/shared/mVy8HqOqc

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Need help for a project

      __I saw it closed this night a basket of 8 trades, but this time in sum with a profit of 500 and not 100.[/quote:2si2fpxi]

      I think you miss some information about the pink blocks (Start "whatever" loop). These blocks self-repeats as many times as many trades/orders/history trades are present at the moment. Each of these blocks has optional filters inside to make them pass only for those trades/orders/history trades that you like. And the reason why these blocks exists is to manipulate trades/orders/history trades one by one in a loop (cycle) that exists within a single tick.

      I don't think you need these blocks. Maybe only this one (#13) before Formula block. You can set "Not more than n orders" to 1 inside.

      In your project (the first one posted here) you use trades loop to check trades one by one for profit more than 100. In this case you will reach the closing part when one of the trades profits more than 100. But in the same time there can be other trades with some amount of profit, and when they are closed - the total profit will be different than 100.

      That's why I suggested to check total unrealized profit - this is the sum of profits from all available trades. The only problem now comes from the increasing size of lots which will not cause problems in backtesting, but on demo or real... who knows.

      Check this: http://fxdreema.com/shared/iH1QDr7ze
      It works on my backtester... to the point where it can't reach the profit of 100 dollars anymore because there is not enough money to trade with increased lot size 😕

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Ma of RSI indicator

      I don't know if this is even possible in MQL4. This is the function to get MA value, and there is nothing about using it in other subcharts: http://docs.mql4.com/indicators/ima
      But maybe there are some custom indicators to do that?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: sleep

      Try "Hours filter" block (it's yellow output) on the top of the other blocks

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Right click blocks the settings screen [SOLVED]

      There are no reports for such a thing and now when I am testing how it's working, it seems that it's all normal.
      Normally the standard context menu is disabled by Javascript and right click is used for fxDreema purpose. What browser do you use, and do you have some things that can prevent Javascript to work normally?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Need help for a project

      Well, if "Close each trade" is executed and there is nothing closed, this will probably lead to error messages. Do you have error messages in Journal?

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 357
    • 358
    • 359
    • 360
    • 361
    • 365
    • 366
    • 359 / 366