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
YvesRobert @robertogozzi. It's done. Thank you
YvesRobert Hello Roberto, some questions about your strategy. 1 - Do the 2 lines SET TARGET pPROFIT T...
robertogozzi 1. The 2 lines SET TARGET pPROFIT TP and SET STOP pLOSS SL are always executed, each bar. Bu...
avatar
Anonymous Hi robertogozzi - thank you very much for sharing this strategy. I have performed various ...
robertogozzi Thank you samsampop.
Dotan Hello guys I really appreciate this coding effort but can I use this code for Mt5 Forex Trad...
Gubben So far so good. After a long drawdown it was winning four times in five weeks. Since 24 jul...
pat95162 Salut Pourquoi je n'ai pas les même résultats que vous
UkCoopDownUnder Any hints for us, on which variables we should be optimising ? As of November 2020, the cu...
murre87 No Stoploss?
bousalahane Hi Rajesh Deshpande, Thank you for this code, I see that the code is perfect, but the posit...
Bibi83 Bonsoir à tous Je viens de backtest la stategie sur EUR/USD en graphique 1H sur 1 mois et ...
Peter I recognized a possible problem with the timeframe / Defparam variables. As far as I know, t...
superfalcio Hello Peter, it is long time i have been watching this strategy, very good and interesting ...
Peter I indeed do have different modified strategies in the market. In the past my variants perfor...
JJ Tec Hola. Me gustaría contactar contigo para ver la estrategia..
nilsla1981 Has someone already tested in real ?
Lucas0000 Hola. estoy buscando un programador en proorder, para hacer un programa basado en el Q-trend...
Alberto Aguilera Hi! Thanks for your strategy Anyone can check it with 200 bars?
TempusFugit Hi, this simple system for DOW and only shorts has worked quite well, maybe because of its q...
phoentzs Unfortunately, I never pursued this strategy further. Maybe I should take a look with what ...
Jan
6 years ago
Kovit Hi guys, please could someone help with a bit of Ichimoku code that will improve performance...
Kovit lol I should be more exact with my wording, more accurately I was looking for an indicator t...
jm121212 how can we change the default settings?
nfulcher Please could someone explain how the following code is calculated:- iDI = TEMA[3](DI[DI2]...
oakenstream Jan, I find sometimes that the priceexit variable is never set. It seems to happen when the ...
Matt66612 I do not understand the first time I launch the backtest I got the same result as you. but ...
darbes Hi How does it go on live ? JC
antonio73 Balmora74, io vedo che funziona anche su timeframe ad 1 minuto con piccole ottimizzazioni, t...
Juananantoniorodriguez hola buenas, a este sistema automático, Cómo se le podría poner un stoploss de beneficio sim...
Exalaxe Hey, i just noticed you optimized this strategy. Could i see your new version, please?
Andrea.1981 sorry i add my code but it not enter why i dont know
Andrea.1981 this is code simply stop , and you can see another version for stop / Codice principale...
AntoGH how did you backtest it ?
PastaPesto @AntoGH , I dont know if you are asking me, but my backtest was made in an IS of 4 years bet...
Ridder @PastaPesto Do you still running this and how is the results? Thanks
avatar
unkown ;-) sfido chiunque a riuscirci!
avatar
unkown infatti basta leggere i post degli altri....
nicola papangelo ciao Francesco vorrei contattarti su facebook o in privato. Grazie
juanj @Holy Grail, glad you like it. Would you perhaps mind sharing your results here: https://www...
CaptainCaveman I am reluctant to say this buy I was a member of Dr Elder trading group for a while . The fa...
micquan The design is too complex and the performance is low.
Janfi Hello, I'm new to ProRealCode and I do not understand the following summation[n](indicator...
Kaci It seems he's just checking that the previous MACD is < 0 for maximum one period ? I'...
Daniel Martin Hi do you know how have and entry after the second cross? There is crosses below 0 and cross...
Maik2404 wie kann ich den Code bekommen Paul?
jens_kittner Works with US Crude at 1h as well!
Jean-Claude REGIS Je préconise de regarder les graphiques H1 et M15 pour visualiser la tendance de fond et d'...
Maik2404 es sind leider nur long Positionen und keine Short zu erkennen.
Maik2404 Vytautas: es bleibt aber nur bei long Auslösungen
ullle73 this one is not a winner, have backtested it on almost all pairs, does not have an edge
Paul the last update can be found in topic Strategy DayOpen Straddle for DAX on page 14.
bertrandpinoy l instruction GRAPH pose problème sur PRT... pas vous? cordialement
Nicolas Supprimer simplement les lignes avec GRAPH pour passer en ProOrder, trading live.
Nicolas Thanks for the update David!
sublime06 quelle parametre utilisé vous pour obtenir ces resultat ? merci
ullle73 you still use tihs one David?
Juan Salas Hi FULVIO09, Nice piece of work. It seems to work very well. Does only work for INDEXES??...
Johann Hi @FULVI09, I understand the instructions however I'm not too sure how to determine the "p...
Player8520 Hello, It doesn't work with me either. However, I changed AA to 180 on line 15, added th...

Top