Conditions on number of trades, reversing trade direction

Forums ProRealTime English forum ProOrder support Conditions on number of trades, reversing trade direction

Viewing 8 posts - 31 through 38 (of 38 total)
  • #204146

    Attached screenshot, I didn’t link to any broker yet, just testing functionality and data.

    #204155

    My original response would have been a different one and all can can say now is :

    When in trial mode, the data would indeed be based on IB’s data (thank you Roberto). There should not be a difference between V11 and V12 … BUT :

    Ever back I heard (from Support) that the database would be different (as in overhauled) which should be an improvement over V11 because of more possibilities (in to this topic unrelated areas AFAIK). Also, I may expect differences in the “under 1 minute” timeframes because of the knowledge that PRT-IB (PRT-IG the same ??) has no database for “seconds” which is a huge lacking. IOW, you may expect differences with “seconds” TimeFrames (this is also 150 seconds and more which can not be divided by 1 minute) … but this is all maybe not what you experience. And, if it is about points difference, look at the example below for Nasdaq vs Nasdaq where left is IG with CDFs and right is IB with real Futures. An easy difference of 35 points.

    Now please notice that it is IB with the real data (right) and IG with derived data. Now ask yourself what you compare with.
    Do notice that in your own chart you can look for the same time and compare points (the price level). You can see the time scale at the bottom. Is yours – from V12 – the same ? then your other source could be “IG-like” and it is “created”/fake.
    The IB data is real, even when it would be CFDs (like Fx stuff).

    My original response was about IB Demo (Papertrading) and how that does not compare at all to Live or Paper of IG these days. But I now think this is not the source of your issues, although I would describe that as a mess, literally.
    Please notice that Live Autotrading with IB is not possible (yet). That would require IG …

     

     

    1 user thanked author for this post.
    #204173

    PeterSt, thanks, much appreciated!

    Given that:
    1. I can’t trade live algo with IB
    2. I can trade live algo with IG but there are issues on timeframes less 1 minute and moreover because of CFD there is another price for future (might be the same behaviour for ES as for Nasdaq)

    Nevertheless, I sstill finding some issues with backtesting and I need some help here.

    What I have for entering and closing trades

    I debugged Stoplong, and for one of the date, stop was not triggered, see the screen. Any ideas?

    #204189

    This is the THIRD incarnation of an attempt of a post which would make sense. The other two were much longer. This one sticks to this only :

    How on earth is a Stop shown (the StopLong variable) at the price of 3,772.25000 while the price at that moment is 3,773.50 which is higher ??

    Only when you have a command like this :

    such a thing could happen.

    The Up and Down blue arrows also are not consistent (I have never seen that kind of inconsistency)

    Can you please tell (again) : is this from PRT-IB ? If so, ditch it. As I told or implied, it is unworkable. What I did not tell is that this is all in the area of pending orders (Limit and Stop). That it could show a graph like I just wondered about (the StopLong lower price showing higher than the price – or am I blind ?) is something I never saw but also still can’t imagine.

     

    PS: I don’t think there is a seconds (TF) issue in IG other than in IB. It would be true that the backtesting data in IG is “less” into history (less bars). IG is just a mess regarding the amount of history and all regarding “seconds” is just way too few of it. And Yes that imposes a problem with backtesting. So much so that you better apply trickery that allows backtesting with 1minute TF and later inject parts with seconds (Multi TF) which don’t require backtesting any more.
    Please do remember that AutoTrading with IB does not work anyway, and if you ask me it is a year or more away from us (more than countless anomalies – I would not know where to begin to describe them – many related to the way IB works vs IG, while all has been made for IG (‘s possibilities)).

    1 user thanked author for this post.
    #204225

    Hi, Peter

    Sorry if I confused you, but the point is that Stop which is 3,772.25000 was higher then actual price, look at red rectangle. I just highlighted entry price, then red rectangle where stop should be triggered, but now, no luck. So, just to clarify again, entry price was 3775, stop was for 3772.25, price in red rectangle was lower than 3772.25, as a result I expected that stop loss will be triggered – but no luck.

    As per data: I’m using trial realtime access, I don’t know what is exactly the provider for that.

    Regarding IG – after showing by you such difference in CFD and IB, I don’t want to trade this, to be honest, trying to find more apropriate broker for futures trading, coz IB has high margin requirements.

    #204226

    I am afraid that this all can not be verified. Only when you post a fully working .itf with the parameters (like StopLong) set fixed and again such a screencopy of the chart with a little aiding text, people can copy the behaviour and look for culprits.
    🙂

    The real issue may emerge that nobody (or hardly anybody) in here will be able to run your system in the IB environment because people have PRT-IG – not IB.
    All combined with my advice to ditch PRT-IB in the first place, leads to nothing if you stick with that. I mean, I won’t help out with this because I already know it s*cks.

    Sorry … 🙁

    #204227

    I got your point, thanks for that.

    #204241

    All right. Why don’t you post that .itf after all. It is not difficult to have a look. But additionally I just thought : it is also not difficult to compare with the IG environment (I have both). So ? do it ?

Viewing 8 posts - 31 through 38 (of 38 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login