Strategy TrendImpulse v1

Strategy TrendImpulse v1

Here is a new strategy on Wall Street/DJI 5 min TF that utilize Perfect Trend Line as entry/exit and Trend Impulse Filter as trend direction. All credits to the original author.

DLS code is added to avoid high spread period. Time Zone used is UTC+08:00.

Forum for discussion https://www.prorealcode.com/topic/strategy-trendimpulse-v1/

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. Dom • 04/28/2020 #

    Excellent en 1mn…;-)

  2. discomusic • 04/28/2020 #

    Hi! Many thanks! Can you please indicate us some value of the variables?

  3. yahootew3000 • 04/28/2020 #

    Hi, only 3 variables to optimize: SlowLength, FastLength and length. Other variables are actually fixed. You can see the range by importing the .itf,

  4. Pascal Christophe • 04/28/2020 #

    MERCI yahootew3000, SUPPER la programmation! belle perf avec ProBacktest. Je rencontre un petit problème avec ProOrder Auto Trading (Remplacez les variables par des valeurs fixe… )

    • Souhail Sam • 04/28/2020 #

      @Pascal, Oui effectivement, une fois le Backtest terminé, il te propose des valeurs pour le résultat obtenus pour les variables. Avant de lancer en ProOrder, il suffis soit de déclarer les variables sur le code et de mettres les valeurs du backtest avant de lancer au auto. exemple de déclaration :
      once SL=300
      once SlowLength = 50
      once FastLength = 35
      once SlowPipDisplace = 0
      once FastPipDisplace = 0
      once length = 2
      once centertrend = 1

    • Godo • 04/28/2020 #

      Bonjour Souhait Sam,
      Après de nombreux essais pour le mettre en format afin d’utiliser ce code sur ProOrder je me retrouve bloqué avec des variables toujours non-définies. Voici le code en question.
      Je les aies tour à tour déclarée dans un ensemble de définition de variables et ensuite modifiés directement dans le code mais je reste bloqué dans l’exécution qui me dit que les variables ne sont pas modifiées …

    • Nicolas • 04/28/2020 #

      Il faut supprimer celles qui existent dans la fenêtre d’optimisation et les créer en dur dans le code, au début c’est l’idéal, après les defparam.

  5. Pascal Christophe • 04/28/2020 #

    Merci Souhail Sam pour ta réponse rapide et précise. 😉 Je suis novice.

  6. Lucho0712 • 04/28/2020 #

    Hi, I have a question regarding the frequency of the points and the backtest time window. Looking at your screenshot it seems that you have 1 point every 5 minutes and a backtest of a duation of 2 years and a half. When I try to do a backtest with a data point every 5 minutes, the maximum backtest I can achieve is 11 days. Is there a trick to allow longer analysis?
    Cheers

    • yahootew3000 • 04/28/2020 #

      Hi, you need to adjust the unit to higher number, for normal account, it is 100k units (the option is on the left of the time frame option, default maybe is 10k). You will need a premium PRT for longer test period (200k unit). I build strategy on 100k then ask my friend to test on 200k.

  7. yahootew3000 • 04/28/2020 #

    Thank you Souhail Sam for the help. Btw, I have improved the strategy, you can get the latest from here, https://www.prorealcode.com/topic/strategy-trendimpulse-v1/page/2/#post-129779

    • Souhail Sam • 04/28/2020 #

      It is me that i must thank you for your work.
      I have worked a lot on this version, I will finish some ameliorations before sharing it here.
      The strategie is running live in demo and it has given me good results.
      Just one problem is one day, 6 positions oppened in the same time and lost -164e six times. The problem is i have fixed 1 position a time in proOrder and cumulateorder is on false on the code, maybe it’s a bug, hope that it will not do it on live trades in Real account.
      Thank you again for your work. I will take a look on the new version.

  8. buru • 04/28/2020 #

    bonjour il m’est impossible de me servir de vos stratégie il y a message d’erreur .avez vous réussi de votre coté ?
    merci pour votre travail

    • Souhail Sam • 04/28/2020 #

      Bonjour, télécharge le fichier itf et importe le directement sur la plateforme, évite le copier coller. Bon courage

  9. Darren Nash • 04/28/2020 #

    Hi all, thanks for the code. I would like to test and have loaded into the backtest but its asking me to add variables even though I see them loaded at the top of the backtest window. do I need to add them variables to the code itself? sorry, fairly new to this.
    Thanks
    Darren

    • Darren Nash • 04/28/2020 #

      btw i added the below but still asks me to ‘replace variables with specific values’

      once SL=300
      once SlowLength = 50
      once FastLength = 35
      once SlowPipDisplace = 0
      once FastPipDisplace = 0
      once length = 2
      once centertrend = 1

      Thanks
      Darren

    • Souhail Sam • 04/28/2020 #

      Hello,
      Do you use the itf to import it in the platform ? if yes, i can’t see why it keeps asking you to replace variables … :/

  10. Darren Nash • 04/28/2020 #

    Thanks Souhail, in the end i just copy/paste the logic with variables and it works.
    I removed the time function and use on Australia 200 (ASX) and have had good results. Currently testing with 1min and 5min

  11. Darren Nash • 04/28/2020 #

    One thing to note also for DOW trading if using IG, change the buy/sell qty from 1 to 2

  12. mostafa samady • 04/28/2020 #

    How can I optimize it for DAX 30? Thanks!

  13. crusoe76 • 04/28/2020 #

    hi there, anyone can help making this strategy work, i have a message saying replace variable, what I’m suppose to do?
    thanks

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+4 more likes

Related users ' posts
Vonasi I noticed a couple of typo errors in the code. The list of variables lines 4 to 11 should be...
Genotik Thank you for your important contribution this week which is much appreciated! Happy New Yea...
Vonasi No problem. I hope they are useful to someone. Happy and hopefully prosperous New Year to y...
DarioMazza Hi Vonasi, i have a question for you, the comand "pricetype" where did you found it in the ...
Vonasi PriceType is just a variable that I use. The value decides what type of price is used in the...
Vonasi I noticed a couple of typo errors in the code. The list of variables lines 4 to 11 should be...
Nicolas
7 years ago
Trinity Impulse
Trinity Impulse
5
Indicators
ribou ah d'accord merci beaucoup
domenico nlevel1 non modifica la curva al variare del suo valore
tiger_man_no1 Very nice ; what is the best period input date for DAILY CHART ?
Nicolas
7 years ago
Genotik Merci !
WarningTrading Comment peut on la comparer ? comme ceci ? cela ne me donne plus le message d'erreur manque...
sally31120 Bonjour, je n'arrive pas à créer ce screener close > supertrend extended2[1] la réponse...
Nicolas voir ce sujet pour un screener basé sur Supertrend Extended: https://www.prorealcode.com/top...
Marcel For those who are interested, I post trade opportunities with this indicator on Twitter. (@M...
swapping Thank you for sharing, best regards
Tellie2015 tack ska du ha för dina delningar både här o twitter
Leo Hi all, I posted a new version of this indicator ( I just add arrows to spot the local maxi...
Trading_En_El_Ibex35 Muchas Gracias por compartir este interesante indicador. Un saludo
xavieralava hola gracias leo
Nicolas
7 years ago
Nicolas https://www.prorealcode.com/topic/ayuda-screener-indicador-perfect-trend-line/#post-51291
Manu L. Bonjour Nicolas, suite a une de mes precedentes demande dans le forum indicateur, j'ai touv...
AntoGH C'est selon moi le meilleur indicateur, que j'ai vu, si vous trouvez mieux dîtes moi car dif...
Jiacky mma = average[per,1](close) should be mma = average[per,1](close * 1000). Otherwise TDF will...
bolsatrilera Hi Nicolas, I have this version of the True Balance Power ,created by eykpunter on Tradingvi...
bolsatrilera and the code : REM TRUE BALANCE OF POWER // código original de eykpunter para la plataform...
Steven Bahia Hi Nicolas - great indicator - is there a way to place a alert when the Oscillator crosses ...
Nicolas Alerts can't be programmed, you have to set them yourself with the Alert tool of the platfor...
Steven Bahia just to add to this would there be a way to establish a entry price from the Oscillator
juanj And the point of violation is the close of the candle that violates the line by generating a...
juanj For the latest version of the strategy or to follow updates and developments see the thread ...
phanz i backtested it with 10K units of EURUSD 1 hour i get an equity curve that is going one way ...
Wing Not yet but I plan to.
Leo Have a look in this Forum, I got something interesting for you... https://www.prorealcode.co...
Dávid Gyalus Dear Wing, As I am a daytrader, and one of my best friend is a programmer we think your a...
EchnatonX Hallo Im Demomodus bei IG habe ich das Problem, dass oft keine Orders ausgeführt werden kön...
Jan EchnatonX, nice late answer of me: Make the stop loss a percentage of the close, like 100/...
guleny Hello I made some optimization to make it better. But there are 5 transacttion which incr...
stratobast Good afternoon everyone. Thanks Doctrading for your work. I have an issue while using this ...
stratobast My bad guys. I understood what was the problem. The indicator uses highs and lows for the Re...
samwarduk Has anyone tried this on Bitcoin GBP1? The results look amazing but every time mine trie...
Kris75 Hi Bolsatrilera, I love this indicator! Thanks; => did you develop a strategy around...
Doctrading AH ok, I think the ca3 is the same : ca3 = pB[1] < 0.2 and pB < 0.2 Best regards,
chromosome21 Hello everybody, First, thank you so much for all your advices, I'm a begginer in trading a...
bertrandpinoy bonjour j ai un probleme avec ce code modifié, apparement PRT ne veut pas...avez vous une so...
rispardin no entiendo como funciana este indicador, por favor alguien podria explicar como utilizarlo???
AVT No se trata de un solo indicador, pero cada linea muestra otra información, de abajo hacia ...
IV Mcm Your indicator is interesting, I evaluated its relevance with the squeeze to detect the phas...

Top