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: 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
    • RE: Need help for a project

      http://fxdreema.com/shared/D81180hH

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

      You have a chain "Start trades loop -> (in loop) Check profit amount -> Close each trade" and that means it will reach to the "Close each block" only if one of the trades has profit above 100 dollars.
      But I think you want to close all trades when the total profit is more than 100 dollars. In this case you can add "Condition" block comparing "Accout Information -> Profit (current unrealized)" with 100.
      By the way, note that the initial value of your lot sizes is 0, because Result12 is still not set. That causes to work with the minimum lot size.
      For the increment step - it depends on the lot step size. If it is 0.01, you can open 0.01, 0.02, 0.03 lots... but no something like 0.015.
      I can also suggest you to use Variables instead of Formula block.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • RE: Tester: exchange rate cannot be calculated

      This error probably happens if you try to backtest currency other than the current one. MetaTrader 4 can only backtest one currency at a time. But if this is not the case, can you tell that the problem is somehow as a result of using the Tick Data Suite? Can this EA run properly on normal MT4 with normal history data?

      I think that this error message comes from MarketInfo() function, which is used to get important data from the used pair, such as Ask, Bid, Point, Digits and Spread. This cannot be ignored.

      posted in Questions & Answers
      fxDreema
      fxDreema
    • 1
    • 2
    • 366
    • 367
    • 368
    • 369
    • 370
    • 374
    • 375
    • 368 / 375