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: Broker execution model

      My broker has emailed thus:

      __We are changing the execution model on our Live and Demo spread betting servers from instant execution to market execution. This change will take place over the weekend of 19-20 April 2014. [/quote:3ul822a4]

      Can I assume this will not affect anything in fxDreema EAs?

      Thanks again,

      James.

      🙂

      posted in Questions & Answers
      J
      james
    • RE: Script gets mashed in Custom MQL4 code block - local v079

      That's it fixed! Thank you! 🙂

      posted in Bug Reports
      J
      james
    • RE: Script gets mashed in Custom MQL4 code block - local v079

      When using a "Custom MQL4 code" block in local v079 thus:

      __double v1=(RelStrengthWk1+RelStrengthWk2+RelStrengthWk3+RelStrengthWk4+RelStrengthWk5+RelStrengthWk6+RelStrengthWk7+RelStrengthWk8+RelStrengthWk9+RelStrengthWk10+RelStrengthWk11+RelStrengthWk12)/12;

      RelStrengthSMA = v1;[/quote:2tqnid7l]

      The code seems to get mashed to this:

      __double v1=(RelStrengthWk1+RelStrengthWk2+RelStrengthWk3+RelStrengthWk4+RelStrengthWk5+RelStrengthWk6+RelStrengthWk7+RelStrengthWk8+RelStrengthWk9+RelStrengthWk10+RelStrengthWk11+RelStrengthWk12)/12 RelStrengthSMA = v1;[/quote:2tqnid7l]

      The script seems to be OK when viewed in meta editor. But it is very confusing! 🙂

      posted in Bug Reports
      J
      james
    • RE: Strange behaviour in blocks - local 077

      Hello again! 🙂

      Thanks for your speedy response and quick fixing. Sorry for my delayed thanks! All seems OK now.

      James.

      🙂

      posted in Bug Reports
      J
      james
    • RE: Strange behaviour in blocks - local 077

      Clipboard02.jpg
      As you can see from the above, I'm getting a strange behaviour in the Formula and Condition blocks. It may be happening elsewhere also.

      Steps to reproduce:
      1 - create a numeric variable and save
      2 - create a block, LO numeric, right click, add variable from list
      3 - Update block, and open it again

      The blocks don't seem to work properly afterwards, and have a "1" beneath the variable name in blue background.

      Retreating back to 070! 🙂

      Thanks.

      ......
      Clipboard02.jpg

      posted in Bug Reports
      J
      james
    • RE: Local 077 - text in block descriptions not saved

      Er... sorry. I'm back!

      When I make an entry in the text are in block descriptions, this is not saved:

      1 - create a "Pass" block
      2 - edit title to "testing"
      3 - click "Save" and/or "Export to..."
      4 - close fxDreema local
      5 - open it again

      ...and the title of the block has returned to "Pass"!

      Help!

      🙂

      posted in Bug Reports
      J
      james
    • RE: Launch MetaEditor4 not working - local 077

      OK. Thanks. 🙂

      posted in Bug Reports
      J
      james
    • RE: Launch MetaEditor4 not working - local 077

      Hello again,

      Just thought you'd like to know (you probably already do!), that MetaEditor4 fails to launch when the "Launch MetaEditor4" button is clicked, unless MetaEditor is already loaded. It looks like it tries (the screen flashes), but the editor doesn't load. Worked fine in 070.

      Thanks again.

      posted in Bug Reports
      J
      james
    • RE: Backtesting and simulated cash withdrawal from the account

      Many thanks for your reply.

      I found this: http://forum.mql4.com/17805, and this: http://articles.mql4.com/127, but I couldn't work out what it all meant - I'm no programmer!

      Does it make any sense to you?

      posted in Questions & Answers
      J
      james
    • RE: Backtesting and simulated cash withdrawal from the account

      Hello! 🙂

      In MT4, using fxDreema local, I'm trying to figure out how during backtests I can simulate the effect of withdrawing cash from the account. For example, if the account is $100 in profit, withdraw (bank) 10% and carry on running with the lower balance.

      Any ideas would be most gratefully received!

      Thanks.

      posted in Questions & Answers
      J
      james
    • RE: Clarifications about % Equity => Lots vs Freeze % of Equity

      Yes. I think this must be right.

      So, if you are using, say, GBP as your base currency, in other words you live in the UK and use a UK broker, and you trade EURGBP, then this MM method should be accurate in back tests, as there is only one variable, EUR, and the Tick Value is constant because everything else is GBP.

      Note that the order seems to be the key; the "GBP" bit comes last. Therefore, creating a strategy and back testing on EURGBP (in my case because of where I am on the planet), and backtesting with this MM, should result in a valid strategy across other pairs.

      That's my reading of it! Might be wrong, though!

      🙂

      posted in Questions & Answers
      J
      james
    • RE: Clarifications about % Equity => Lots vs Freeze % of Equity

      Hi

      I did a bit more digging on this.

      RaptorUK says (http://forum.mql4.com/16171😞

      __...if your base currency is USD and you are looking at EURUSD the Tick Value is constant, if you are looking at USDJPY then the Tick Value changes tick by tick. [/quote:2yfo2af4]
      Also, if you look here, http://articles.mql4.com/401, and scroll down to the "Point Price in Deposit Currency" sub-heading, it says:

      __It must be reminded that one-point price will change for currency pairs, the second value of which is not deposit currency.[/quote:2yfo2af4]
      I guess, therefore, backtesting is OK using "Freeze % of Equity" in back tests using this MM method for currency pairs where one is your own base currency, in my case GBP.

      Do you think I'm right? If so, perhaps this could somehow be useful in fxDreema.

      Thanks again,
      James.
      🙂

      posted in Questions & Answers
      J
      james
    • RE: Clarifications about % Equity => Lots vs Freeze % of Equity

      Dear fxDreema

      You said in your reply to FHTrading; __...but I think in this case any backtest will be wrong.[/quote:1c9ee5bg]
      I'm a little worried to discover this reply as I have been using "Freeze % of Equity" in back tests.

      Could you explain why you think that backtesting will be wrong when using this MM method?

      Many thanks,

      James
      🙂

      posted in Questions & Answers
      J
      james
    • RE: Point format rules

      I think I now have this - after much confusion on my part! Sorry.

      So, for the benefit of anyone else doing backtesting, and searching this forum, this is what I've done:

      Using Alpari, and US500 index (S&P500)
      *
      FxDreema: Project options => point format rules: 0.01 = 1
      MT4 tester: set the "Spread" value to 85
      [/list:u:2ps5mesl]

      Running a short test over a week or so I've found that Alpari's average spread on US500 is 0.85 pips (85 points) - remember, its a 2 point format in use on this index on this broker. Therefore, the "Spread" value to use in MT4 tester is 85, although the result of ask()-bid() (which you can see by making a "Comment on Chart" block, with "Market properties => spread size" options) will say 0.85.

      Hope this is helpful for somebody! And if I've gone wrong, please tell me!
      🙂

      posted in Questions & Answers
      J
      james
    • RE: Point format rules

      Goodness! This spread / point format rules thing is driving me bonkers! 😆 I just don't seem to get it! Sorry!

      The thing is, when I place a comment line 8 with ask()-bid() - you'll find it here: http://fxdreema.com/shared/7YieYVDDb - and run it on the US500 market, it says that the spread is 1 right now, but the tester says its 100: __TestGenerator: current spread 100 used[/quote:1imbawvk] The chart output says its 1 also.

      Which is right?

      Where does the tester get that line from?

      Please accept my apologies for my stupidity!
      🙂

      posted in Questions & Answers
      J
      james
    • RE: Point format rules

      Sorry. I was too quick to say I had the answer! 😕

      To reflect the broker's 2 point format, I have a point format rule in fxDreema of ___US500 = 0.01[/quote:2j89zwxg] However, this results in the tester journal saying __TestGenerator: current spread 75 used
      [/quote:2j89zwxg] and the on screen chart showing __Spread: 75.00[/quote:2j89zwxg] The real spread from the broker is 0.75. Running the EA this way produces no trades at all.

      As you know, in MT4 build 509, in the tester it is possible to set a spread value manually. So, when I manually set the spread to 2 in MT4, both the journal and chart agree with the manually set spread of 2. Running the EA produces 712 trades, and plenty of profit. The journal shows successful trades, thus: ___US500,M5: open #711 buy 0.92 _US500 at 1108.27 sl: 1107.50 ok[/quote:2j89zwxg]
      I'm afraid I can't seem to work this out at all. What am I doing wrong?

      However, I also wonder, is it OK to simply use the manual spread override in MT4 for backtesting, and not worry about the point format rules in fxDreema?

      Thanks again,

      James.
      🙂

      posted in Questions & Answers
      J
      james
    • RE: Trade statistics query

      OK. Will look forward to it! 🙂

      posted in Questions & Answers
      J
      james
    • RE: Trade statistics query

      Hello again!

      In local v70, I don't seem to be getting the use of the "trade statistics" option correct.

      In an EA, part of which is here here:
      http://fxdreema.com/shared/FG5sOj6Ec
      I get the following output:
      Clipboard02.jpg
      The "GrossProfit", "GrossLoss" and "Total trades count" lines are correct. The rest are not.

      Its probably very obvious, but I'm afraid I can't see where I'm going wrong.

      Thanks 🙂

      ......
      Clipboard02.jpg

      posted in Questions & Answers
      J
      james
    • RE: Copy and Paste EA Code Building Blocks

      I expect you know this already, but just in case...

      In the local version (v70, and earlier), I can open two instances of fxDreema, with two different EAs, say, A and B. I can then copy single or multiple blocks from A to B and vice-versa happily. Then, after some time and/or some editing, find that I can no longer do this. If I then close both instances, and re-open, I can then do the block copying again.

      A very small thing, but sometimes annoying!

      🙂

      posted in Questions & Answers
      J
      james
    • RE: Point format rules

      I found the answer. I looked at an earlier EA which worked correctly, created with an earlier version of fxDreema. The rule needed is __0.01 = 1.[/quote:bckkzvk3]

      Don't know why this should be. Oh well... 🙂

      posted in Questions & Answers
      J
      james
    • 1
    • 2
    • 3
    • 4
    • 5
    • 17
    • 18
    • 3 / 18