S&P500 automatic trading strategy ROBOT EEUU 500 1H

Forums ProRealTime English forum ProOrder support S&P500 automatic trading strategy ROBOT EEUU 500 1H

Viewing 15 posts - 1 through 15 (of 31 total)
  • #23811

    Hello again!
    I share this robot that I have been testing for several months and it completely matches the backtest with reality.

    It is very simple, simply fulfilling 4 conditions of several indicators.

    Maybe this too prepared and suffers from being over optimized, I have practically a year following it in demo and is equal to the backtest.

    I share so that you can probe with 200,000 new bars and new ideas and improve it for the good of all.

    Look at the backtest that even if you put a number of bars 0, it is not, they are when you touch the take profit.

    To see what it seems.

     

    Total of 14 users thanked author for this post. Here are last 10 listed.
    #23819

    Thank you very much Raul. I’m in. About testing overfitting, I have access to a new tool in my beta VIP version. I’ll give news about it when I can talk about it.

    I think you should add this strategy into the library too to drain more people, that’s why you get many feedback in the other thread. I could make it for you, but I need a short description of the strategy at least.

    2 users thanked author for this post.
    #23825

    Hi Nicolas, I already added it

    #23832

    Thanks Raul. Will take a look at it tonight 🙂 Fun fact – Hora means prostitute in swedish, gonna look a bit strange in the autotrading column 😀

    Cheers!

    2 users thanked author for this post.
    #23834

    Oh sorry Raul 🙂
    I’ll review it hopefully this weekend. Have a nice evening.

    1 user thanked author for this post.
    #23852

    Thanks for this Raul. I attach the 200,000 units results. It seems fairly consistent with the exception of 2010 and 2011 which were bad years. The drawdown is too big at 42% for 5k of capital so you would need at least twice this amount to run with this strategy. I have run it in tick by tick mode but I do notice something strange about the zero bar trades P&L and entry trades timelog in general. I took an example of the 10/02/16 – 18/02/16 opening and closing trades :

    The Orders list suggest they were opened on the 10th (5 trades total) and they were closed on the 17th and 18th (5 trades total). This can be confirmed by the chart as well. However, on the closed positions list the last exit trade on the 18th 5am shows as zero bar indicating that it was opened and closed in the same hour (but it wasn;t as the entry trade was made on the 10th)….. The same incorrect entry trade time errors are also present on the other non zero bar closing trades (which were opened in the 10th not the 17th as stated in the closing list). Strange, needs some more looking into….. but thanks again for sharing. Looks promising so far.

    #23858

    Charts attached.

    PS – Sorry I could not find this post in the library section at the time.

    #23887

    Hey.

    Since your conditions are met so many time during the same position it sometimes takes heaps of contracts av you can see in my added picture.

    I´ve made it more conservative för my own test period with the code change: DEFPARAM CumulateOrders = false. But still 5 contracts.

    I think that it´s better to have a MM-system than a script that cumulate orders. See added picture.

    #23902

    Hello! If I already have it tested, without accumulating orders, in ig, the minimum position for s & p500 is 5 contracts, ideally I would accumulate orders but from there, instead of 5 in 5, I get only 1 each time Meets the condition, thus maintaining the percentage and ratio

    #23903

    I’m also modifying it to work with the dow, I’ll share it shortly

    #23917

    Ok I didn´t realise that the minimum position size was 5 contract. I still think that it would be better with a mm system instead of accumulation. I mean 120 contract at once. That’s a big position!

     

    Edit: Looking forward to see your dow code

    #23926

    Good work but be careful a strategy to purchase over a bullish period.

    Same problem with Pathfinder.

    However the years up are ended

    #23927

    Thus introduces the first operation of the minimum of 5 contracts and from there it is getting one by one.

     

    #23966

    The code is now available in the library: https://www.prorealcode.com/prorealtime-trading-strategies/sp500-automated-trading-strategy-eeuu-500-mini-1e-1hora/

    I would suggest to make optimisation with In Sample and Out Of Sample period to validate a bit what the optimiser has found to be the best periods for your indicators. Otherwise, you’ll be kind of overfit, but you already know that 🙂

    #24020
    CN

    Hey guys,


    @raul
    thanks for a great system as allways. The fear I have is that this is a long only system and that we at this time in the market are at an ATH of being overbought… A decline should me iminent, that’s why I fear such a system.

    Anyone that shares my fears or am I being a big baby?

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

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