London Open Breakout

Forums ProRealTime English forum ProOrder support London Open Breakout

Viewing 15 posts - 1 through 15 (of 17 total)
  • #107067

    This code, applied to the EurUsd with time frame H1, does not always produce the correct behavior.
    The logic of the operation should be well described by the comments in the code. If necessary, however, I am here to integrate the missing information.

    For example, on August 29th (candle at 7:00 pm) last, he makes a sale and a purchase, inside the same candle. But in the previous candle the conditions for entering the market were already false.
    Another example is that of last September 2nd (7:00 am candle): all three conditions are verified and in the next candle a sale should take place as there is a rupture of the lower end of the canal. But this does not happen.
    Can anyone help me understand?
    Thank you.

     

    #107073

    What is TGT?

    #107075

    Try below for Lines 20 to 25 (addition of not short / long onmarket)

     

    #107076

    Tgt (Target) is a variable that in a first optimization I made vary between 0.1 and 5 with steps of 0.1.

    #107077

    On Aug. 29th no trade entered (EurUsd, 1H).

    Are you sure about dates and times?

    Please attach scrrenshot to be able to see:

    – wrong trades

    – price

    – instrument

    – date

    – time

     

    #107078

    Thanks GraHal, your fix won’t solve my problem. It has the merit, however, of having pointed out to me other errors in the code (one of these is that the width of the channel is modified during an operation).

    1 user thanked author for this post.
    #107079

    You’re right, Roberto, and I thank you. For completeness I will do so next time. Now I focus on the error I identified thanks to GraHal’s intervention.

    #107080

    I get attached at Spread = 4

    #107084

    In the version I provided .itf above, if you use below (instead of as in the .itf) then it gives a better equity curve?

    I had time >= 000000 in the .itf I provided.

     

     

    #107120

    I get attached at Spread = 4

    I thank you for the insights you gave me. It is really interesting to make the extremes that define the hourly trading interval vary.
    For the rest it seems to me a strategy on which there is still much to work.
    But aren’t 4 spread points excessive?

    #107135

    But aren’t 4 spread points excessive?

    On the DJI, spread is never lower than 1.6 and does go to around 4 between 23:00 and 01:30 so unless a System trades only during times when  spread = 1.6 then I use spread = 4.  Also there are overnight costs etc so spread = 4 for DJI goes some way towards  covering these also.

    I feel it is better to be a worst case re costs in Demo then maybe costs will be less and a pleasant surprise in Live trading! 🙂

    #107142

    Yes, it is certainly a prudent and acceptable way to proceed.
    The only risk, in my opinion, (I think of other underlying assets) is to discard systems that could prove profitable.
    Thank you.

    🙂

     

    #107160

    A good test is to remove spread altogether and then re-test the strategy several times slowly adding it back in up to an extreme value such as GraHal suggests. You should see a slowly decreasing performance as less trades get opened and spread hits profits more but your strategy should not break completely.

    #107163

    It seems to me a good way to proceed but I have to try and try again several times: this phase of the process of building an automated trading strategy is still unclear to me.
    Thank you for your time.

    #107173

    (I think of other underlying assets) is to discard systems that could prove profitable

    I don’t use spread = 4 on all markets, for example on eurusd I use spread = 2 as eurusd is mostly spread = 0.6 during the day .

Viewing 15 posts - 1 through 15 (of 17 total)

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