fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. SydneyFox
    3. Topics
    S
    • Profile
    • Following 0
    • Followers 1
    • Topics 29
    • Posts 121
    • Best 3
    • Controversial 1
    • Groups 0

    Topics created by SydneyFox

    • S

      Dukascopy Data - Array out of range
      Questions & Answers • • SydneyFox

      8
      0
      Votes
      8
      Posts
      1816
      Views

      S

      Thanks @miro1360

      I was able to get an EA to open trades when using standard indicators but not with custom indicators. I have now managed to get some to work which of course has led to more questions. But still not all are working?

      Because I'm using downloaded data, say for the period 1 January 2016 to 31 March 2019. If I am using a 50 period MA then the test needs to run for at least 50 days from 1 January 2016 before the 50MA provides a calculation. I assume what I need to do if wanting to test from 1 January 2016 is to download data from say 1 January 2015 so that I have previous history for my indicators to use in their calculations?

      What I really don't understand though is the following:

      When running a test from 1 January 2016 using a custom indicator that requires say 50 days of data to make a calculation. The tester shows no transactions for the whole period of the test even though the indicators should meet the condition for a trade in say August 2016 (and many more after this date). But if I run the test with a starting date of say 1 July 2016 then the August trade (and ones after this date) are taken by the tester. Why should it matter what date the test is run from? And it doesn't necessarily work if I start the test from exactly 50 days after 1 January 2016 or for the next X number of days but then starts working when I start the test from some undefined (seems to be undefined to me) date after 1 January 2016.? Is there any logic I should be looking at to see why this is the case?
    • S

      How can I read the Buffer outputs of this indicator?
      Questions & Answers • • SydneyFox

      2
      0
      Votes
      2
      Posts
      1344
      Views

      fxDreema

      The line looks like this:
      0_1547757139445_8d0d6121-d123-4d98-86dc-c17f86b112d4-image.png

      I think that we can accept that when the green line appears, the pink line is gone. So why do you want to use both lines to detect one signal. I think it's enough to detect the appearance of the green line, or the pink line.

      To see what really is going on, I can suggest to put that indicator in Trace blocks and observe it on Visual test. Some indicators repaint, they look one way and after a while they change their past and you can be very confused if you are looking at the results only after the end of the test.

    • S

      My Indicators - Adding ex4 file
      Questions & Answers • • SydneyFox

      7
      0
      Votes
      7
      Posts
      1683
      Views

      S

      Thank you. That helps.

    • S

      How can I set max price trade can open at?
      Questions & Answers • • SydneyFox

      4
      0
      Votes
      4
      Posts
      764
      Views

      fxDreema

      When let's say "Buy now" runs, it uses the current Ask price to say to the server where to put the future trade. But until the request reaches the server, there is some time... let's call it network time. If the market is fast, the current Ask and Bid prices could change quickly and the broker opens the trade at the Ask price that is actual and could be different than what you requested. This is slippage.

      There is a parameter for "slippage" in OrderSend(), which was the maximum slippage that you allow for the trade, but I think that this parameter no longer works for most brokers. And they will open the trade with whatever slippage. I don't know more details to be honest, and I don't know how to tell the broker to not open the trade if the price changes too much šŸ™‚

    • S

      How does this variable change value?
      Questions & Answers • • SydneyFox

      4
      0
      Votes
      4
      Posts
      1462
      Views

      S

      Hi @miro1360 I have no idea why it worked but your suggestion of putting all formula blocks one after another seems to have worked. Thanks for your help.

    • S

      Block IDs?
      Questions & Answers • • SydneyFox

      3
      0
      Votes
      3
      Posts
      1474
      Views

      fxDreema

      I know for sure that there was a bug that caused these big numbers and few months ago I fixed it... or at least I believe so. But who knows, maybe there is another bug or I didn't fully fixed it.

      Otherwise block numbers doesn't matter much. If you want to use the number of particular block in let's say "Turn ON blocks", then mu suggestion is to give that block a custom number that is not a number. Yes, block numbers can contain letters, so you can have block numbers such as a or b or MyBlock1 or something that means something in the strategy, but better don't use fancy symbols. I think I have a report that in some situation empty space causes a problem, so use _ instead of empty space for now.

    • S

      Delay EA start to first bar closes
      Questions & Answers • • SydneyFox

      5
      0
      Votes
      5
      Posts
      863
      Views

      S

      Thank you very much for your reply. I really appreciate it as there's not a lot of help on here.

      Your suggestion makes sense. I'll give it a go and see if I can get it to work.

    • S

      Compiling?
      Bug Reports • • SydneyFox

      19
      0
      Votes
      19
      Posts
      3778
      Views

      J

      You are welcome.

      Don't hesitate to ask anything in the forum because we are learning together.

    • S

      Draw Rectangle
      General Discussions • • SydneyFox

      3
      0
      Votes
      3
      Posts
      2834
      Views

      fxDreema

      For rectangle you need to provide 4 values - 2 price and 2 time values. Those are the coordinated of 2 points on the chart. Imagine that you are drawing it manually - the first point is where you started drawing it, and the second point is where you stopped.

      0_1541871685422_f27ba58e-8de3-422f-b32d-d52d106e519b-image.png

      I started drawing this rectangle from the upper left point, as the yellow arrow shows.

    • S

      Lowest low since open
      Questions & Answers • • SydneyFox

      11
      0
      Votes
      11
      Posts
      2094
      Views

      M

      your problem can have many factors, even live trading ... because some brokers dont allow scalp trading (they have antiscalp plugins which detects fast trading and reject some request) ...
      or your problem have some logic base, I dont know because your project have a lot of blocks and I am not able to read it all and find error šŸ˜„ you should add some "log" blocks between another blocks and in that way looking for error (where it stucks) ... or also you can look for some errors in terminal from broker ...

    • S

      New EA to close trades opened by a different EA?
      Questions & Answers • • SydneyFox

      3
      0
      Votes
      3
      Posts
      993
      Views

      S

      Thanks Miro

    • S

      Compilation Error
      Questions & Answers • • SydneyFox

      3
      0
      Votes
      3
      Posts
      949
      Views

      S

      I think you're right. I don't think you understood my question šŸ™‚

      I don't understand MQL but was definitely not playing with the source code.

      I eventually found the error. I had made a change to some comment blocks that didn't work when compiling. Once I got them back to their original state it worked again.

      Thanks.

    • S

      Trade Taken - Wrong Magic Number?
      Questions & Answers • • SydneyFox

      11
      0
      Votes
      11
      Posts
      2705
      Views

      S

      You're very good. Thanks @miro1360

    • S

      Magic Number in comments
      Questions & Answers • • SydneyFox

      4
      0
      Votes
      4
      Posts
      1531
      Views

      TipsyWisdom

      @miro1360 4 years later still helping a brother out. 1 more upvote for Miro!

    • S

      Trades taken by what magic number?
      Questions & Answers • • SydneyFox

      3
      0
      Votes
      3
      Posts
      1013
      Views

      S

      Thank you @miro1360

    • S

      What is this input?
      Questions & Answers • • SydneyFox

      2
      0
      Votes
      2
      Posts
      874
      Views

      M

      it is checkbox field in one of blocks, check blocks for this input checkbox

    • S

      Using Multiple Comment Blocks
      Questions & Answers • • SydneyFox

      5
      0
      Votes
      5
      Posts
      1734
      Views

      S

      @miro1360 Thanks again. That works well.

    • S

      Can't access forum using iPad
      Bug Reports • • SydneyFox

      2
      0
      Votes
      2
      Posts
      1010
      Views

      fxDreema

      The reason for this is that I decided to show a middle finger to browsers such as IE. I prefer to simplify the process of writing code for the website, because the code itself is already pretty complex for me. So I started using some of the new features in JavaScript - arrow functions and Generators. Those are supported by browsers like Chrome, Firefox, Opera and even Edge, but not IE. I don't know about Safari, because I don't have anything made by Apple.

      Techically I can make old browsers to work with some extra scripts, and I did it in the past, but I decided that it's time to move on šŸ™‚

      The forum itself should work everywhere, because it was not made by me šŸ™‚ So, just add "/forum" to the domain name. The forum is like another website by itself.

    • S

      Draw Line
      Questions & Answers • • SydneyFox

      23
      0
      Votes
      23
      Posts
      10653
      Views

      S

      @miro1360
      šŸ˜› Yes people tend to think making money is easier than it is

    • S

      Hedging Strategy
      Questions & Answers • • SydneyFox

      1
      1
      Votes
      1
      Posts
      1436
      Views

      No one has replied

    • 1
    • 2
    • 1 / 2