Buy at Support system

Forums ProRealTime English forum ProOrder support Buy at Support system

  • This topic has 12 replies, 4 voices, and was last updated 7 years ago by avatarHuw.
Viewing 13 posts - 1 through 13 (of 13 total)
  • #44300
    Huw

    Hi Everyone, Here is a simple market neutral strategy. It identifies the seven day low on a 5 min timeframe and buys the index. It then sells at a quarter of the distance between support and resistance. The attached images are of a comparison of buy and hold, buy in October sell in May and buy on Monday sell on Friday. It beats them all. Please note though that it only has just over a year of data and is set up for the ASX. You can change it to any other index by changing the contract size. You can also modify it to any other timeframe by changing the  parameter T to the timeframe you wish to use.

    4 users thanked author for this post.
    #45363

    Hi Huw,

    Have you tried it on Forex? It looks promising unless I’ve made a mistaking back-testing it (I’m new at this). I’m running some pairs on demo to see how it goes.

     

     

    #45431
    Huw

    Hi Dreads,

     

    Buy on support tends to work in an up trending market. Given that equities trend upwards over time then it tends to work a little better than buy and hold because it spends a bit less time in the market and rides a bit more of the volatility

     

    I’ve toyed with it on forex using a 100 pip stop loss in a daily time frame and only taking trades when the 50, 100 and 200 moving averages are aligned. I can post the code here in the next day or two. I wouldn’t like to run a forex strategy without a stop loss though and would advise against it.

    Thanks for your reply, I was beginning to think nobody was interested in this strategy. I’m sure it can be improved by some of the more seasoned traders and coders.

    #45435

    I usually go to the ProOrder section for automated strategies, so people might not have seen your thread here.

    #45866
    Huw

    Hi Dreads, I’ve put some moving averages in but I think the system could maybe do with a better dynamic stop loss and a dynamic take profit. Still looks alright though.

    1 user thanked author for this post.
    #45871
    Huw

    Hi All, I have a system to take trades on a seven day support and then takes profit on a 25% retracement to a recent high. The numbers look fairly good and the time in market looks ok too. My concern is I have no stop loss and the take profit is a bit static too. Just wondering if anybody has suggestions for a better dynamic stop loss and take profit which can also take into account a relatively large swing?

     

    Huw

    #45878

    Topics moved to ProOrder support and merged together.

    #45879

    Thanks, it looks good. I’m going to be testing this is demo for the next couple of weeks, I’ll let you know how it goes.

    #47101
    Huw

    Hi Dreads,

    Please see the attached. I’ve modified the system to take shorts when the averages switch. I’ve also put a volatility stop loss in. I’ve left the three variables to optimise which are the amount of retracement for the long and short sides and an extra stop loss that exits a long position if the price drops too far below the support level. This works on backtests for every instrument across every time frame. To work on a one hour just switch out the variable of 60*24 to 60, if you want it for 5 mins then switch to 5. I’m going to run a few of these in demo first then maybe run in live if they work well.

    2 users thanked author for this post.
    #47117

    Hi Huw,

    Just had a look at your code and noticed that you have no similar exit condition for short trades like for long trades. Is this on purpose?

    #47167
    Huw

    Hi Dispair, yes it’s correct. I tried to code it but the volatility stop seemed to work best for short trades on the back tests. The strategy still needs some work but I think I’m heading in the right direction. Any ideas or suggestions welcomed

    #47189

    Results improve some if you change the lookback period to 5 days (1 week of trading days) instead of 7.

    #47316
    Huw

    Thanks for the tip despair. I’ve started a couple of these systems on my demo account on different time frames. I also took out the stop based on the price moving below the support by a certain % and left only the atr stop. I toyed with entering a long or a short if the price moves a certain% in the wrong direction but it doesn’t seem to work very well on the back test.

Viewing 13 posts - 1 through 13 (of 13 total)

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