Hang seng automatic trend following strategy with volatility filter

Hang seng automatic trend following strategy with volatility filter

This HangSeng automatic trading strategy on the 1-hour timeframe, uses basic overbought and oversold RSI areas to open new orders and filtered with an average true range volatility filter.

Results attached are from walk forward analysis with 1 OOS period proving robustness of the optimized variables. Variables to be optimized are also described in one of the attached picture.

Discussions about the strategy are running here: Hang seng trend following strategy with volatility filter H1 Time zone : UK

 

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. FREDNC • 01/16/2019 #

    Hi Francisco,
    I love the Hangseng for is Volatility and you right to filtering with ATR.
    But in volindic you write (close)/close) It will always be =1 . mistake ? Missing [1] or something else ?

  2. Francesco78 • 01/16/2019 #

    Hi, no. it means theat it calculates the average true range on the close and then divide by the close. So it is never 1.

  3. FREDNC • 01/16/2019 #

    I graphed volindic with: (averagetruerange[periodatr](close)/close)*100 and ((averagetruerange[periodatr](close))/close)*100 . Addind parenthesis doesn’t change anything, Proorder propaly read the code. In a second time, I checked you code on the Dow and it’s almost good, just have to addap the range of the WF to find the good optimisation. So, It’s a simple code but efficient, nice job and thanks for sharing

  4. EnJunz • 01/16/2019 #

    Hi Francesco,

    Seems to work better with tighter stop loss and a trailing stop.
    Will run this in demo. Thanks for sharing!

  5. bloglo110 • 01/16/2019 #

    Hi Francesco,

    Thanks for your sharing. I am not so familiar with programming, however, I tried to paste the code in Multicharts and error message popped up.

    —— Compiled with error(s): ——
    syntax error, unexpected ‘identificator’
    line 1, column 9

    Possible that I can test this code in Multicharts?
    Thanks for your time. 🙂

    • Nicolas • 01/16/2019 #

      Multicharts? why? Our website is dedicated to programming for ProRealTime: https://www.prorealtime.com

  6. bloglo110 • 01/16/2019 #

    Hi Nicolas, great and thanks for letting me know. 🙂

  7. Jan Wind • 01/16/2019 #

    Thanks for the strategy.
    I have tried your strategy on the DAX for a time frame of 10 minutes, 150.000 bars, give a few trades, too few to say if the profits are robust over time.
    I will vary and simulate the RSI- and ATR-periods for long and short trades separately. Also I will vary with the trading time, standard it is 24 hrs, maybe it fits better with trading time between 7:00 till 22:00.
    Thanks again for the strategy. KR JvdW

  8. nicola papangelo • 01/16/2019 #

    Ciao Francesco, il Ts HANG SENG è stato settato con il metodo WalK Forward ? Ancorato o non ancorato ?
    Grazie

  9. Francesco78 • 01/16/2019 #

    @nicola onestamente non ricordo se lo avessi scelto anchored or ananchored.

  10. debs83 • 01/16/2019 #

    Is this strategy standing for DAX please?

    • Nicolas • 01/16/2019 #

      Title says that it is for Hang Seng

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
TraderFelix
7 years ago
Bebbo Thank you for your contribution. I have tested your system on some instruments and I like i...
bertrandpinoy bonjour j ai tente l installation mais PRT m indique que ce code ne peut etre utilisé qu en ...
Nicolas en effet, il faut utiliser l'éditeur de code ProBacktest, il ne s'agit pas d'un indicateur m...
odin i use it on daily Chart only. i use it on stock market for long only startegies. i´m no fan ...
noisette Hi Odin, Thank you for the code. I made sone test with M1 timeframe and results have to be ...
Onega Sorry, a quick question I cannot see on forum please ?...Using ProScreener, how can we get t...
Xusto Hello, Fully Agree, I will update it with your advice. Btw Can would you like share you co...
Niklas johansson hägglund do you now if it's possible to use this strategy with this code in tradingview also?
Alexander9 This code for metastock ?, can for amibroker . Thanks
Leo Does it opens pending orders?... maybe they were not trigger.
Mattzi Dont know, all i can see is that it opened an order yesterday in backtest but not live. Th...
Jean-Christophe Hello Leo, when running the strategy from 29/12/2015 to 31/08/2018 on ProRealTime Premium, I...
Petersson Kristian Hi when I do back test I get 0 results, what do I do wrong? Trade Well Chris
JohnScher Yes i did before, see library/strategys/repulse and dpo https://www.prorealcode.com/proreal...
JohnScher Don't know what you're doing wrong. Import ITF and observe time zone settings. This should...
osupero https://www.screencast.com/t/2fCW8fkGsOeZ....solo posiciones largas por ahora
osupero https://www.screencast.com/t/MIaSZ2PRg
ALZ Hi JohnSher, Nice but not the same result Do you have the last itf of it ? Good result i...
dertopen HI Wwhy you said avoiding bear market? Don't you think that we can use this code for short...
maurizio dove si trova lo screener?
macdopa Thanks...
Eric If you have a high percentage winners and the trades are closed with take profit the spread ...
Casenova I Agree with you JaunJ, and Yes Eric, what you say makes sense too. Optimizing the Stop Loss...
ET Thanks for the system Casenova. In determining the high of the past 4 bars, is there a reaso...
Milochenta Hello, I downloaded your strategy and I can not get it to have signals. I work with the fre...
gabri Hi, I am not sure the reason you have this problem. I am not familiar with the free version ...
pixx ciao gabri scusa una domanda mi ptresti spiegare il codice perfavore??
apachx Hi. Please, describe the algorithm in words. I want to understand how it works, but for now...
ak5hay2 Works like crazy on bitcoin. Use different timeframes. Thanks a lot Doc!!!
richyowen Hi, great code thanks. Very new to this forum. Is there a way to add a 100point target on an...
lisamitch50 Morning all, Just backtested on quite a few instruments, worked well on backtesting, but tel...
FULVIO09 Attualmente non c'è sufficiente volatilità : la condizione "C0 = AverageTrueRange[1500](Clos...
vlongobardo67 Ma io intendevo in backtest ! Scusa non l’ho menzionato.
ciniselloftse salve fulvio .il trading sistem e sempre profittevole?
bertrandpinoy hi Leo, are you still using thoses strategy right now?
avatar
crazytrader Any improvements of this?
princedon184 hi my name is prince i need help
reb Hello have you used this strat since last year ? live or Back test ? What are the results ?
beeb Yes last Year. But only back test
drysheep Hi all, did anyone test this strategy recently? As i dont get a single trade in the backt...
Francesco78 Jan Wind, I obtain it from the backtest
Kris75 Hi Francesco, The results are totally different with the tickbytick mode; it becomes a losin...
UkDownUnder Takes to long!
juanj This gets me thinking about creating a strategy on the 5min timeframe that only takes trades...
GraHal I noted above does okay on DAX 10 min with even a reduction to 30 of the Stop Loss. I've s...
Kris75 Hi Grahal, What about making the same great work you did with the snipet on google doc but...
verdi55 You can find me at www.FXautomate.com Ahh. So i got it ? 4 different supertrends without th...
juanj What? This has nothing to do with the website. The site is simply a service to help people ...
Nicolas Advertising is allowed,as long as people are helping others and if provided services are abo...
Yannick TradingDayLong = dayofweek = 1 or dayofweek = 2 or dayofweek = 3 or dayofweek = 4 or dayof...
Marlon Hey JohnScher, your code works fine, but my results aren't as good as yours. Even if I use ...
DarioMazza Bha... this code dont work. gg
LancerX This catch my attention, tried to load in pro order but not coming through. What variables n...
macdopa Hello ALE. Is there any way to help us develop or program an algo-strategy for automatic tr...
Giuseppe68 Ciao, sono nuovo e poco esperto, volevo chiedere perchè il ProBacktest lo esegue correttamen...

Top