fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Abade69
    3. Topics
    • Profile
    • Following 0
    • Followers 3
    • Topics 33
    • Posts 125
    • Best 10
    • Controversial 1
    • Groups 0

    Topics created by Abade69

    • Abade69

      Tick by tick stop-loss checking, how?
      Questions & Answers • • Abade69

      6
      0
      Votes
      6
      Posts
      2112
      Views

      R

      If you set the stop loss to zero, you get no stop loss. Tester and Demo will happily trade it. Many times it will make you a profit having a nice wide (nonexistent) stop loss. Until it eats your whole account.
      It's a very important, very easily missed mistake. A simple scaling or range error can end up with an unintended zero.
      I usually add a +1 to protect from those cases, but that's not perfect.

      Thanks

    • Abade69

      Zero divide error and risk % of balance (Volume size depending on Stop-Loss)
      Questions & Answers • • Abade69

      7
      0
      Votes
      7
      Posts
      2209
      Views

      MMBInvest

      For those who still have the issue - there is something I realized: As this app runs in the cloud, sometime there might be hickups... like the connection is not stable enough and so on... this could lead to issues whilst the creation of some blocks. I had the same zero-divide issue and therefore I re-created the buy and sell blocks, afterwards they worked as supposed. of course the SL cannot be 0, but I was looking for the lowest or highes candle of 10 after an EMA cross, hence I knew that the SL was never 0. It could also have been an issue with the highest/lowest function, that provided maybe a 0 as SL - but this function was also part of the buy / sell block. So again, I deleted them and re-created them, and all of a sudded the EA worked as supposed - no zero-divide anymore. No functionallity was changed... sometimes that happens - was not the first time that it took me hours to find an issues and the last solutions was to re-create the block, just to find that it could have worked just fine. I blame it on the connections losses that appear sometimes and I make mayself aware of the blocks that I was creating during that time. ... maybe that solves your issues as well.

    • Abade69

      Converting MQ4 to C#
      Questions & Answers • • Abade69

      2
      0
      Votes
      2
      Posts
      697
      Views

      fxDreema

      I don't know, I know very little C#, I am JavaScript fan πŸ™‚

    • Abade69

      About Ask/Bid and custom price levels
      Questions & Answers • • Abade69

      2
      0
      Votes
      2
      Posts
      1120
      Views

      fxDreema

      There are 10s of different objects that can be printed on the chart. The simplest objects - horizontal and vertical lines have only 1 coordinate - price (horizontal line) or time (vertical line). But some objects are made out of 3 points, where each point is one price-time coordinate. So Price level 2 and Price level 3 can only be used for particular objects. And even Price level 1 - there is no reason to use this for vertical line.

      Ask and Bid are properties of the price. A horizontal lines are just line placed on particular price.

    • Abade69

      Cannot load and/or export ex4 normally anymore (web version)
      Questions & Answers • • Abade69

      5
      0
      Votes
      5
      Posts
      1316
      Views

      Abade69

      @fxDreema said in Cannot load and/or export ex4 normally anymore (web version):

      How often do you have problems with the website? People from China told me that their connection with the website is bad, but I have no idea how much. I personally live far away from the actual server and I have delay for each request about 120 ms, but even with that the website works fast enough for my taste (and I like speed). But maybe there is something else, I don't know...

      There are few possible problems with .ex4/.ex5 files. The first problem is that the compiler (metaeditor.exe) starts very slow. This program can run as a normal Windows program as you know (MetaEditor) and also in command line mode. But with every new version the program starts slower and slower in command line mode. Unfortunately I can't fix that. But half of the waiting time is because of that.

      The other half of the time you wait is for the file to be downloaded, because it is bigger that 1MB. Here I have some feeling that the speed should be faster, so I will investigate this.

      There is another possible reason - the compile time could be slow. This is the time for which the MQL code is compiled. For your project this time is not very small, probably because of the size of the source code. But fortunately it compiles relatively fast. Because I noticed few times that with certain content in the MQL code, the compilation time becomes huge.

      My files are bigger than 1MB, and i have exported my project like a thousand times, as i like to correct errors/aesthetics as soon as i make a change. Right now i am exporting the .mq4 and then use the compiler directly as suggested. I noticed the increased compiling times after i included two of these structures:

      0_1489010362629_upload-36c96f17-44c3-4b8f-a1df-eb924e029d59

      So maybe it has something to do. Sometimesit takes more or less time, or doesn't work at all!

      I only had problems with the site yesterday (timeout errors, and long loading times), right now it seems to be working allright! From MΓ©xico Baja.

    • Abade69

      Can i get trade statistics from an specific symbol with the built-in options?
      Questions & Answers • • Abade69

      3
      0
      Votes
      3
      Posts
      696
      Views

      fxDreema

      Depends what this profitability means

    • Abade69

      Cannot make Z-Orders work
      Questions & Answers • • Abade69

      4
      0
      Votes
      4
      Posts
      1659
      Views

      fxDreema

      Maybe I am wrong. I know what z-order is in the world of websites, but in MQL4 probally means something else. So let's see what they say in the documentation:
      https://www.mql5.com/en/docs/constants/objectconstants/enum_object_property#enum_object_property_integer

      Priority of a graphical object for receiving events of clicking on a chart (CHARTEVENT_CLICK). The default zero value is set when creating an object; the priority can be increased if necessary. When objects are placed one atop another, only one of them with the highest priority will receive the CHARTEVENT_CLICK event.

      And how to make one object to appear above another... I don't know really, maybe the name matters

    • Abade69

      Help with money management formula
      Questions & Answers • • Abade69

      2
      0
      Votes
      2
      Posts
      1322
      Views

      fxDreema

      Well, I have this row of code somewhere in the functions:

      size=((value/100)*AccountBalance())/(sl*((TickValue/ticksize)*point)*PipValue(symbol))

      but what is what... hard to explain everything right now. Plus, the lot size would be rounded to the nearest possible, don't expect lot size such as 0.0434

    • Abade69

      Help With Fibonacci
      Questions & Answers • • Abade69

      7
      0
      Votes
      7
      Posts
      6011
      Views

      Abade69

      @fxDreema said in Help With Fibonacci:

      Be careful with the first 2 options in "Draw..." blocks. Look here - https://fxdreema.com/help/working-with/chart-objects And also yesterday I added description for those 2 options, just click on their titles when they become yellow.

      Thanks, that fixed the second problem (MT4 renaming every new object), now i can work with it πŸ™‚

    • Abade69

      Why are all of my constants and variables treated as "empty"?
      Questions & Answers • • Abade69

      3
      0
      Votes
      3
      Posts
      1024
      Views

      fxDreema

      You are the first one I know who realized to use Value instead of Terminal Variables πŸ™‚ People are still confused with these Terminal Variables, but what can I do... they are actually called Global Variables in MT4, which is even more misleading πŸ™‚

    • Abade69

      Help with Custom MQL4 code
      Questions & Answers • • Abade69

      5
      0
      Votes
      5
      Posts
      1635
      Views

      fxDreema

      I'm aware about this problem in the desktop version, but I stopped making desktop versions year ago. Since then I rewrote everything from PHP to NodeJS and I will update everything on the server probably after few days. In other words, PHP is history, as well as the current desktop version. I of course tried to find why this problem appears back then, without success. I used ExeOutput for PHP to make it, and this software is not only buggy, but also unsupported.

    • 1
    • 2
    • 2 / 2