fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. james
    3. Posts
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 90
    • Posts 347
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by james

    • RE: fxDreema cannot find the expert advisor requested by you

      Do you think this "variables" glitch is related to the "cannot find the expert advisor requested by you" problem? I know you hate bugs, so lets call it a "problem"!! 😆

      From time to time my "Constants (Inputs)" link disappears and all I see is:fxDreema variables glitch.jpg
      Usually - not always - when I close and relaunch fxDreema my Constants link comes back.

      ......
      fxDreema variables glitch.jpg

      posted in Questions & Answers
      J
      james
    • RE: fxDreema cannot find the expert advisor requested by you

      ".lastloaded.fxdb" contains the text:
      __mt5-6335[/quote:377mlgbt]
      The folder "C:\Program Files\FxDreema\Data\fxDreema\experts\mt5-6335" does exist.

      It is installed in c:\program files, but since I'm logged in with full admin privileges, and Windows says I'm the "owner", that shouldn't be an issue. It doesn't seem to be locked.

      posted in Questions & Answers
      J
      james
    • RE: fxDreema cannot find the expert advisor requested by you

      Do you want me to post it as a but, or just leave it? Happy to do as you wish! 😄

      posted in Questions & Answers
      J
      james
    • RE: fxDreema cannot find the expert advisor requested by you

      I take your point that a) no data is lost, and b) its nothing to worry about.

      But the message appears after fxDreema was shutdown with a saved EA loaded, in other words no deleted EA. So I created the EA "blank", saved it, closed fxDreema, and re-launched fxDreema, and the "cannot find..." message appears.

      Its nothing more than an annoyance, and easily ignored!! 😄

      posted in Questions & Answers
      J
      james
    • RE: fxDreema cannot find the expert advisor requested by you

      On launching the desktop version of fxDreema, I've started seeing the message:
      __fxDreema cannot find the expert advisor requested by you, so the last modified expert advisor will now load[/quote:3nfbh9yb]
      In the bar above is the name of the EA to be loaded. Clicking OK then loads the EA correctly. The EA called "blank" in this case, was created moments before, fxDreema was then closed and re-opened, so the EA was definitely there.

      Is this something to be concerned about? Or can it be safely ignored?

      I've attached screenshots, one of the error message, one of the EA, which as you can see is just about blank!

      ......
      fxDreema launch error.jpg
      fxDreema blank EA.jpg

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

      1.5 GB free memory.

      I'll get back to you regarding access to my PC. Not sure if I'm permitted to allow it!

      posted in Bug Reports
      J
      james
    • RE: fxDreema Connector stops working in Google Chrome

      I'm running with 4 Gb of RAM. Don't know off hand what the free memory is, but am only running 1 tab of Google Chrome with the generator and MT4. Should therefore have loads of free memory.

      I also am finding that Chrome is auto-updating to v 0.2 of the extension, which means I have to manually downgrade each time I launch.

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

      Oh my goodness! I feel really dumb! I don't know how I could have missed this important piece of information. I'm sure it must be in your documentation somewhere. I'm so sorry! 😳

      But thank you again for being patient with me, and helping me get fxDreema to work. 😄

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

      After around 4 hours of the web fxdreema being loaded, I noted that the fxDreema Connector icon which normally appears beside the "bookmark this page" star in Google Chrome had disappeared. In this state clicking one of the "build as" links results in a "building" message, followed by the appearance of the button to click for Metatrader or Metaeditor, but no "saved to..." message. The buttons to Metatrader or Meateditor do nothing when clicked.

      So I pressed F5 to refresh the page in the browser and the fxDreema Connector icon re-appeared. However, clicking the "build as" links results in the same sequence, ie., a "building" message, followed by the appearance of the button to click for Metatrader or Metaeditor, but no "saved to..." message, and the buttons to Metatrader or Meateditor do nothing when clicked.

      So this time I closed the browser, and re-launched it. After launching the web generator the fxDreema Connector icon appeared as normal. But again, clicking the "build as" links results in the same sequence, ie., a "building" message, followed by the appearance of the button to click for Metatrader or Metaeditor, but no "saved to..." message, and the buttons to Metatrader or Meateditor do nothing when clicked.

      I then opened chrome://extensions, and drag-dropped the fxdreema-connector-0.2.crx into the extensions page, as per Google's instructions for adding extensions to Chrome from sources outside their Chrome Web Store. I closed the chrome://extensions page.

      However, as before, clicking the "build as" links results in the same sequence, ie., a "building" message, followed by the appearance of the button to click for Metatrader or Metaeditor, but no "saved to..." message, and the buttons to Metatrader or Meateditor do nothing when clicked.

      I opened chrome://extensions again and removed the fxDreema Connector. Thereater I drag-dropped the fxdreema-connector-0.2.crx into the extensions page again to re-install it. But still clicking the "build as" links resulted in the same sequence, ie., a "building" message, followed by the appearance of the button to click for Metatrader or Metaeditor, but no "saved to..." message, and the buttons to Metatrader or Meateditor did nothing when clicked.

      I closed and re-started Chrome. Still the same problem.

      I removed fxdreema-connector-0.2, and re-installed fxdreema-connector-0.1. This time clicking the "build as" links worked as expected.

      I uninstalled connector 0.1 and reinstalled 0.2. The fault returned. So I went back to 0.1, and the fault had gone again.

      Hope this helps you! 🙂

      Thanks again.

      James.

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

      Thank you again for your quick reply.

      I think I'm correct in saying there are 2 types of global variable:

      • Global variable of Client Terminal
      • Global variable of EA

      At present I don't need to use the "Global variable of Client Terminal" type of variable. I only need the variable to be visible to the whole of the EA, what I believe is a "Global variable of EA" type of variable. However, I don't mind placing the variable in the Client Terminal, if that's what's needed to achieve my ends.

      So, in my "GV_update_tests_2" EA shared at http://fxdreema.com/shared/GTa0bFCXb, I have:

      • declared 2 variables, CurrentGV and PreviousGV
      • run 3 formulae, at the end of which
        --- the value of CurrentGV is loaded into PreviousGV
        --- and CurrentGV is loaded with a new value based on the 3 formulae, and calculated MathAbs(Result1+Result2+Result3)

      Then, if the values in CurrentGV and PreviousGV are equal, these are displayed on the chart.

      As far as I can see, I have to calculate the formula CurrentGV=MathAbs(Result1+Result2+Result3) in a Custom MQL4 code block, which I've called "PreviousGV=CurrentGV & Display". I don't see how to do this in a Formula block.

      I'm realising that the problem is my erroneous use of the "Global Variables in MT4" operand in my block called "if CurrentGV=PreviousGV".

      What I'd like to do with this block is simply do a true/false. So if true, then process the comment block and show the results on the chart; if false, ignore on this tick.

      I'm coming round to the realisation that the correct operand to use in my block called "if CurrentGV=PreviousGV" would probably be Formula Results. However, because my formula is created in a Custom MQL4 code block, the results of its formula don't appear in the drop-down list beside the Formula Results operand.

      It seems that to make this work I either have to be able to pick up the results from the Custom code block in the formula drop down list, or have the "if CurrentGV=PreviousGV" block check two variables.

      I'm sure there will be a work-around, but I just can't see it! Sorry - again! 😞

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

      I'll try that next time this occurs and let you know.
      Many thanks.

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

      I'm really sorry about this. I'm struggling to make sense of why I'm constantly getting... __the name parameter for GlobalVariableCheck function must be a string[/quote:2dcyqbhv] ...in MT4.

      I've updated "GV_update_tests_2" EA and shared it again at http://fxdreema.com/shared/GTa0bFCXb.

      In my "if CurrentGV=PreviousGV" block, I'm trying to create a filter, but am failing dismally! 😞

      To my uneducated eye it looks like I've done everything correctly, but clearly not! I've saved my variables as type=numeric, so there shouldn't be a problem there.

      So in my filter I'm trying to say... __If CurrentGV=PreviousGV, process the next block[/quote:2dcyqbhv] ...which is simply a comment block. But it isn't working, and I really can't work out why! If I take out my filter, it all works fine.

      I'm so sorry. Thank you so much for your help and support. I really like fxdreema, and the level of support you give it is terrific!

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

      Hooray! I've just found the problem! After much messing around due to my lack of knowledge...

      Changing this:
      __//==========================
      // PreviousGV = CurrentGV
      //==========================
      double value_1=GlobalVariableGet("CurrentGV") ;
      //if(GetLastError()!=0) return(false) ;
      double PreviousGV=value_1 ;[/quote:36di6mp1]
      ...to this:
      __//==========================
      // PreviousGV = CurrentGV
      //==========================
      double value_1=GlobalVariableGet("CurrentGV") ;
      //if(GetLastError()!=0) return(false) ;
      PreviousGV=value_1 ;[/quote:36di6mp1]
      ...did the trick!

      I suppose what I was doing was re-initalising PreviousGV every time by the use of the "double" function.

      So simple... but took me ages! I'm not cut out to be a programmer! I'll leave that to fxdreema - the expert!

      Just one thing: should it be
      __... as generated by the "Set Global Variables in MT4" block in fxdreema

      GlobalVariableCheck(CurrentGV)[/quote:36di6mp1]
      or
      __... as on http://docs.mql4.com/globals/GlobalVariableCheck

      GlobalVariableCheck("CurrentGV")[/quote:36di6mp1]
      ??? 🙂

      Many thanks again.

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

      I'm really sorry about this, causing you more hassle!

      I don't seem to be able to get this to work at all. I've tried every which way I can think to get my little example to work: http://fxdreema.com/shared/Whla30wSd

      Does it work for you?

      For this purpose, I don't need the global value to be in the client terminal, which I think the "Set Global Variables in MT4" block does. I just need it to be global to the EA itself. I'm assuming that I'd set these in the "Constants" and "Variables" link near the top right of fxdreema.

      I did a little digging also. The information on http://docs.mql4.com/globals/GlobalVariableCheck says the syntax is:
      __if(!GlobalVariableCheck("g1"))[/quote:1oy8vjws]

      The code generated by the "Set Global Variables in MT4" block in fxdreema says:
      __if (GlobalVariableCheck(CurrentGV)==false) {return(0);}[/quote:1oy8vjws]

      There seems to be a difference in the "GlobalVariableCheck" statements where one uses "" around the variable's name and the other doesn't.

      This may not be relevant. Its just that I noticed it.

      If you take a look at http://fxdreema.com/shared/6c9bDxZ8, I've tried a slightly different approach. Although it doesn't work, since the variable "PreviousGV" doesn't get updated, it doesn't give me the "GlobalVariableCheck function must be a string" error in MT4.

      Here's the code I've put inside the "Custom MQL4 code" block:

      //==========================
      //        PreviousGV = CurrentGV
      //==========================
      double value_1=GlobalVariableGet("CurrentGV") ;
      //if(GetLastError()!=0) return(false) ;
      double PreviousGV=value_1 ;
      
      //==========================
      //        CALCULATE CurrentGV
      //==========================
      double CurrentGV=Result1+Result2+Result3 ;
      
      //==========================
      //          DISPLAY RESULTS
      //==========================
      Comment(
      "Account free margin is  ", DoubleToStr(AccountFreeMargin(),2),
      "\nCurrent date is ",TimeToStr(TimeCurrent(),TIME_DATE|TIME_MINUTES|TIME_SECONDS),
      "\nCurrentGV is ",CurrentGV,
      "\nPreviousGV is ",PreviousGV,
      "\nvalue_1 ",value_1) ;
      
      

      As I say, the updating of PreviousGV with the value in CurrentGV doesn't work (I commented out the GetLastError statement to let the EA continue to run). Would you mind very much telling me what I need to put here? Or is there a way of doing this using blocks in fxdreema?

      I'm so grateful for your help, and sorry to be a nuisance - again!

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

      From time to time I find I have to remove and re-install fxDreema Connector in Google Chrome.

      After a period of use (no specific length of time) clicking on either of the "build as" options neither produces a "file written to..." message nor does the Metatrader/Metaeditor button work that appears after the build process.

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

      I'm clearly doing something wrong, but I can't work out what! Sorry. 😞

      Here's my EA: http://fxdreema.com/shared/pRvat0Hjd

      Its a much simplified version of one I'm working on. In it I'm taking the results of 3 formulae, and making "CurrentGV" equal to their result.

      Then on the next time interval, I'm making "PreviousGV" equal to "CurrentGV", and then calculating a new "CurrentGV".

      But when I run this EA, MT4 says "the name parameter for GlobalVariableCheck function must be a string".

      Where have I gone wrong?

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

      Ok. Now I understand. Thanks very much for taking the trouble to assist me - and sorry for the silly question!

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

      I'd like to set a previously defined global variable with a new value. My reading of MQL4 Book says I should use GlobalVariableSet.

      How do I achieve this in fxdreema? I apologise in advance if I've missed the obvious!

      Thanks.

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

      Thank you very much indeed for your reply.

      I've tested this again, and have got the same result on both the local and web versions. I attach screen shots and guru2.xml for you. You'll notice the "1" in a pink circle, which disappears after a minute, with nothing further to see in fxdreema.

      ......
      guru2.xml
      fxdreema local - attempt load of guru2.xml.jpg
      fxdreema web - attempt load of guru2.xml.jpg

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

      OK. Here they are...

      ...er, no! Sorry. I get the error, "The file is too big, maximum allowed size is 512 KiB." The files are 528 and 44 respectively, so at the moment all I can give you is the .mq4.

      ......
      on-line test 2.mq4

      posted in Questions & Answers
      J
      james
    • 1
    • 2
    • 14
    • 15
    • 16
    • 17
    • 18
    • 16 / 18