Wisper Breakout Strategy SAF40

Wisper Breakout Strategy SAF40

This strategy is one which takes advantage of only long opportunities in the SA Top 40 (SAF40) Index also known as the ALSI.

The code is testing if price is making new highs and lows before setting a new long order at market.

Target and loss levels are based upon the size of a factorized ATR 14 periods. Take profit size is larger than the stop loss one.

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. juanj • 04/04/2018 #

    I take it you did not consider that the spread could be anything from 30 to 50 pts. Especially outside market hours.

    • Casenova • 04/04/2018 #

      I have been trading this system for 4 months uninterrupted. I can assure you that I considered the spread. The Stops and Targets is wide enough, don’t let last nights trade upset you.

  2. juanj • 04/04/2018 #

    If I run the backtest with a zero spread the backtested result look similar to your screenshot. If however, I include a realistic spread of 40 the backtest only show the strategy to be profitable after November 2016. The strategy opens trades both in and out of market hours, meaning it would make sense to include an average spread between the usual 30 (in market hours) and 50 (outside market hours).

  3. Eric • 04/04/2018 #

    If you have a high percentage winners and the trades are closed with take profit the spread doesent matter that much as long price exceed the TP by half the spread

  4. Casenova • 04/04/2018 #

    I Agree with you JaunJ, and Yes Eric, what you say makes sense too. Optimizing the Stop Loss and Profit Target to 3.9 and 3.5 X ATR respectively back-tested in favour of the system at a spread of 30. I guess we can play around with the numbers but ultimately I feel that the logic of the system still holds true.

  5. ET • 04/04/2018 #

    Thanks for the system Casenova. In determining the high of the past 4 bars, is there a reason you didn’t use the “highest” command? I’m getting to grips with the code and was curious.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas You can try this code for buy and hold curve line: capital = 10000 mylot = 2 i1 = capi...
soukenson Bonjour Nicolas, Je ne comprends pas où ajouter le code que tu as a donné dans le code initi...
Nicolas Tu veux parler du code pour comparer avec le "buy and hold" ? Si oui, tu as tout ce qu'il fa...
Nicolas FR/Bonjour Steftonio, non pas de frais overnight calculé sur la durée du backtest, c'est une...
avatar
Anonymous Any reason why in 2016 this system is doing very bad respect the previous years?
Nicolas "very bad" is relative to the account equity. I do not forward test this strategy since I po...
EAxelsson Hi, shouldn´t it be or instead of and? if FiftyTwoWeekHigh = FiftyTwoWeekHigh[1] OR FiftyTwo...
qigley Line 4 has a redundant term "Close>EMA2." is not necessary as EMA2 will always be less t...
Mike.44 Thanks It a good job !
Wisko But the BUY-trigger is below the High of the first two 15min-candels?
Nicolas That's right, because what we want is to enter the market quickly and not wait for the next ...
Wisko Then I don't understand the backtest data. Yesterday (28.9.) range was from ~ 4410,5 - 4450,...

Top