Jump to content

jlz

Community Member
  • Posts

    421
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by jlz

  1. A backtest is never going to give you a final algorithm with one run. You are defining there one run in your text. You need a least a thousand runs with multiple parameters. Even if you change the MA range values that would be considered one run, because you are changing one parameter. Different runs have different input parameters. If you have time, read about how genetic algorithms work. They start being the silliest form of live and they evolve into a very complex entity by asking questions to themselves. The very same way a human being would learn through experience. First you need to define your input and output parameters and make permutations between them. Let's say your population is 10 markets and your input parameter is an MA to enter. Like you said. From those 10 markets you can create multiple parameters: - Time related: Start Date, End Date, candle time frames - Price action related: High, Low, Open, Close, Volumes - Account related: PnLs, Margins, Required Funds - Indicator related: Value of the MA, Crossovers with price actions - Exit related: Stops, Trailing levels, Take profit levels Once you've got those set up you can change their values multiple times and compare the results. Your outputs will give you a report that you have to analyse. From that report you will see which markets are more likely to give you better results for your technique and then you select the best of them. You are basically selecting the best individual from a population, very much like a genetic algorithm would do. Then continue adding more parameters to those markets that won the selection. Eventually after multiple runs you will see the performance of your technique and if it is worth using it, then you can try it on the demo account just to see if when you are involved as a person you can get the same results. A person is likely to decrease the performance of the algorithm.
  2. It depends on the type of backtesting that you are doing. If you are doing it manually in one market it won't give you great results. The point of backtesting your algo is to be able to run it against multiples markets with different timeframes, then you can compare the results and see failures. You need multiple runs against different datasets and from the delta differences you will see where your technique is weaker.
  3. Do you have the "net off" option enabled? The "force open" option will open independent trades and will leave the previous ones open.
  4. https://www.ig.com/uk/terms-and-agreements
  5. https://www.nme.com/news/film/borat-2-to-be-released-on-amazon-prime-ahead-of-us-presidential-election-2764828 We are not going to have enough pop corn to handle it
  6. yes, that is why I asked the question, to get rid of one step. You can tell now that your request and response are correct, so it is down to the way you are parsing the JSON object locally. I use Newtonsoft to parse JSON into objects in C# and it seems that it is working for Visual Basic as well. https://stackoverflow.com/questions/20079177/deserializing-json-in-visual-basic/20080586 I can't thank enough to the author of that library, it made my development way easier.
  7. can you print the OXmlHttp.responseText? Just to see if you are getting everything ok as a json object from the server.
  8. Hi I am getting values from the service I wrote a bit of a test in c# at https://github.com/oneangrytrader/brokerapiclients/blob/master/IG.Csharp.Api.Client/IG.Csharp.Api.Client.Test/WatchListTest.cs The only difference that I can see is that I pass the endpoint version within the http call as well. https://github.com/oneangrytrader/brokerapiclients/blob/master/IG.Csharp.Api.Client/IG.Csharp.Api.Client/Rest/IgRestApiClient.cs
  9. Calm down, breathe, let your anger disappear. https://www.youtube.com/watch?v=FQpDNz7exNo
  10. yes, the API shows different numbers. Until one of the sides reaches 80% I don't normally do anything, below that it can change quickly. You can blame the broker but you can't prove it. If we compare it with other sites, is IG's data wrong or the other site's data wrong? How can you actually prove it? We are on moving sands.
  11. I actually use sentiment from one of the algos. https://labs.ig.com/rest-trading-api-reference/service-detail?id=551 So, it is a problem for me. Bigger than it seems and unfortunately as you said, because it is indicative it shouldn't be used to make any decision.
  12. - Hi honey, do you love me? - Of course I do - I don't think so, you seem distant lately - Well, love is just a sentiment
  13. For those who have to wear a tin foil hat to deal with recent news.
  14. You should have a button to add an account on your MyIG dashboard.
  15. jlz

    DAX

    Interesting, I took a few notes. He plays Nasdaq stocks and waits for institutional moves looking at level 2 orders. He sits down for 6 hours non-stop in front of the screen, I don't know if I could do that.
  16. You must be a big fan of all the memes quoted in this article: https://www.bbc.co.uk/news/52847648 I thought we were discussing something interesting here but I find really hard to argue with that extremist side that you are taking. "You are being played" + "you are going to be microchipped" is too much for me. I step out now.
  17. You are not going to tell me now that it is all about Bill Gates and his plans to implant chips on people over 5g, are you? Do you believe that?
  18. Yeah, that is why he is an immunologist only considered as an eminence in the science community. Of course a post full of memes is going to disprove him.
  19. ok, let's say that we all agree on the fact that we had many corona-viruses before and this one is just another one to add to the list. We can't escape it and sooner or later will catch me, I can agree with all of that, a mask is not an astronaut helmet so I can't protect myself from it. What is the actual point of forcing people into a quarantine? We say that governments do not want bad press or be entitled to many deaths, which are actually the same deaths every year. Are they not able to explain that instead of simply telling us to stay at home? If I am being played, what is the actual end point? Why would governments all over the world play people on the subject? I find really hard to believe that this is all part of a massive hoax. I don't see the benefit of forcing quarantines just for the sake of making people to follow rules. Is it not easier to think that the information we've got is so minimal that we can't be sure that this virus is going to wipe out people suddenly from the face of earth? Like, "we have no clue of what is going on, you better stay at home, because is the only advise I can give you" How about to listen to professionals that warn us daily? Like Dr Fauci https://www.theguardian.com/world/2020/jul/14/fauci-covid-19-risks-coronavirus-trump-white-house Is not better to do what they say instead of believing that this is all part of a massive conspiracy against people? I don't think governments are playing people around, it is more that they don't have a clue of what we have to do to fix it, pretty much like in other pandemic. And the only message they can give us is "stay at home and let's hope that you don't die"
  20. I want to believe that, even if we had viruses for many years and we lived with them like nothing happened, this one is killing more people than it should. At least is what reports are saying. That is why countries are forcing lock-downs. Think about that a lock-down is going to extend the furlough policies all over the world again. I don't think a government want to pay that money out to citizens if they don't have to, and companies are going to have to close business for good if we have a second lock-down everywhere. I agree with the statement that we had many corona-viruses before i.e. common flu, but why now governments are taking these draconian measures to force people into a quarantine? If we had the same dangerous viruses always around why are they now locking people at their homes. Did they not care about people before? I think the virus is way more deadly than they tell us and that is why people are not really that scared of it. If we had all the information that is available to professionals we would be really scared and people would lock themselves without waiting any government to tell them. My wife is Chinese and I get their news first hand. They are not reporting what is really happening since the very beginning and it is really hard to trust the Chinese government on anything related to this virus. They still have the problem there, they keep locking entire cities down for short periods the minute they see anything. It is not reported here in the news but every week they lock people down at their homes. This virus is really nasty and if locking people down is going to stop it, let's do it.
  21. I follow this page and I saw how Spain became from a nice yellowish spot to a complete red warning place. Mainly because of the great number of tourists that went there in summer. https://www.ecdc.europa.eu/en/cases-2019-ncov-eueea Now France is becoming the same way. I don't know how countries are going to stop it if they don't lock everything down. Until there is a vaccine we are all at risk unfortunately.
  22. If you pay attention I just post sometimes to help people, normally if there is technical issue with the API or a programming language, simply because that is what I can help with. For the very basic reason that helping others with technical issues keeps you aware of the latest technologies. First I am a merchant, then I have a money printing machine, then I brag, now I sell "something" via PM. You are running out of options.
  23. I do not have an instant money-making machine. I wish I had one, for a start I would stop working for a company. There are thousands of techniques that don't require to look at charts. Just have a look at Metratrader or Ninja Trader forums, you will find tons of them. Your IG fake points don't make you a trader. There are many traders that don't even post that I am sure they are profitable, and of course they won't bother themselves to reply to your nonsense. If you want to improve anything publish your technique, since it is losing money you won't care if anyone copies it. Then because you are posting on "Trade planning and testing" you might have useful comments on how to improve it.
  24. jlz

    DAX

    I am simply proving that my account is exactly like yours, that I am not a "merchant" and anything you say about me is just out of your own frustration.
  25. jlz

    DAX

    Change the record, it is broken. retail.mp4
×
×
  • Create New...
us