No Trend Strategy

No Trend Strategy

This strategy uses the “TrendNoTrend indicator” (see in the library).
Once the “No Trend” phase has been identified (beta = 0), swing trading will take place: BUY MIN and SELL MAX. To do this you can use, for example, a SmoothedStochastic.
A simple SuperTrend [3,10] follows the position.
It seems to have positive results on different indices and different time frames, after optimization of the observation period.

 

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?

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

  1. Nicolas • 216 days ago #

    Thank you for sharing this strategy. Although I think the optimization should be done with Walk Forward to test its robustness, I salute the work and the idea. This strategy deserves to attract more attention than in a topic “lost” in the forum, it has its place in the library 🙂
    PS: I changed your illustration picture with another one (it was too small 🙂 )

  2. Teddy Coronak • 216 days ago #

    Merci pour cette stratégie. comment remplacez les variables par les valeurs fixes ?
    à quel endroit dois je remplacer ? c’est le pro order qui me le demande.

    • FULVIO09 • 215 days ago #

      At line 15 establish the value of “period”. For example: AA = 180

  3. FULVIO09 • 215 days ago #

    Sorry for lines 39 and 62 we need to set the ABS value:
    39 ST = ABS ((LOWEST [10] (LOW)) – OPENBUY) / PXT
    62 ST = ABS (OPENSELL- (HIGHEST [10] (HIGH))) / PXT

  4. Teddy Coronak • 215 days ago #

    Bonjour merci BEAUCOUP !!!
    cela fonctionne!!!

  5. Dymjohn • 207 days ago #

    Good piece of work. I’ve tried trading in live but always falls over suggesting I haven’t loaded enough bars. I changed code to set DEFPARAM to 2000 and still suggests not enough bars on the 10 minute time frame. Any ideas as to what might be wrong? The period of linear regression is set to 240.

    • FULVIO09 • 206 days ago #

      I ran the strategy on differents instruments and timeframes and I never encountered problems. Sorry but I have no idea how to solve your problem.

  6. POLLO • 192 days ago #

    ciao Fulvio continua a dirmi di sostituire le variabili. Come posso risolvere?
    scusa ma sono ignorante in materia

    • FULVIO09 • 189 days ago #

      Con il file notrendstrategy.itf che hai scaricato puoi eseguire un probacktest sullo strumento finanziario e timeframe che preferisci e trovare il valore della variabile “period” che ti dà la migliore performance.
      Se vuoi avviare l’autotrading proorder sullo strumento e time frame prescelto devi fissare alla linea 15 il valore di period (ad es. AA = 180) e cliccare sull’icona a forma di chiave inglese in alto a destra “ottimizzazione variabili” cancellare le variabili da ottimizzare (clicca sulla x rossa).

  7. kuroobi • 190 days ago #

    FULVIO09 • 25 days ago #

    At line 15 establish the value of “period”. For example: AA = 180

    avatar
    FULVIO09 • 25 days ago #

    Sorry for lines 39 and 62 we need to set the ABS value:
    39 ST = ABS ((LOWEST [10] (LOW)) – OPENBUY) / PXT
    62 ST = ABS (OPENSELL- (HIGHEST [10] (HIGH))) / PXT

    Même après cette manipulation , ça ne fonctionne pas pour moi .
    Pouvez vous expliquer en détail ?

    • FULVIO09 • 189 days ago #

      Avec le file notrendstrategy.itf, vous pouvez exécuter un probacktest sur l’instrument financier et la période que vous préférez et trouver la valeur de la variable “period” qui vous offre les meilleures performances.
      Si vous souhaitez démarrer le processus de négociation automatique sur l’instrument et la période choisie, vous devez fixer la valeur de period à la ligne 15 (par exemple AA = 180) et cliquer sur l’icône en forme de clé en haut à droite “optimisation variables” effacer la variable “period” à optimiser (cliquez sur la x rouge).

    • Johann • 103 days ago #

      Hi @FULVI09,
      I understand the instructions however I’m not too sure how to determine the “period” that generate the best performance, you mentioned 180 in the previous post, could you kindly explain where you got it from and what method you use to determine the “period” that generate the best performance.
      Thanks for your contribution and looking forward to read your response.
      Regards,
      Johann.

  8. kuroobi • 187 days ago #

    Parfait , merci beaucoup .

  9. Juan Salas • 150 days ago #

    Hi FULVIO09,

    Nice piece of work. It seems to work very well. Does only work for INDEXES?? Have you tried it on commodities or FOREX???
    Many thanks,

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
swapping Hello Nicolas, le code fonctionne parfaitement bien mais la variable "Risk" ne sert à rien d...
Nicolas En effet merci, erreur corrigée, la variable Risk affecte désormais comme il se doit les cal...
Vinks_o_7 Great, thanks a lot Nicolas !
Teddy Coronak Top Nicolas ! Merci
Andyswede Thank's! Great indicator:)
PastaPesto Thank you for your reply jebus, 1. As I said, earlier years arent so good, could be a probl...
Paul Optimized the days in a week and it seemed that Tuesday and Friday are not good days to trad...
PastaPesto Thanks Paul for the tips about testing balance. I am actually struggeling with breakeven o...
Vicari0us Hi Nicolas, How do I incorporate this indicator into my strategy? I mean what do I call ...
Nicolas Use the CALL function: https://www.prorealcode.com/documentation/call/ or use the 'fx' butto...
Vicari0us Perfect thanks! I got it
Brisvegas Thats Awesome thank you
ALE Very Very Nice
manel Hi - Many thanks for this and your other analytical codes, stellar work - very useful ! With...
Vonasi Good idea Manel. I have posted a new version here that shows results as a percentage: https:...
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
teddy58 Ich habe es mit N= 1,5 und N=2,5 getestet mit 200000 Einheiten. Es funktioniert leider erst ...
Matriciel I use this indicator to help me make a decision when there is a divergence. The divergences ...
Jan Wind Hi, I personnaly am not a big fan of ZIGZAG indicator, as it repaints itself during time. ...
luxrun Good evening Nicholas, I can not see the colors on the line of the moving average, but only ...
Nicolas Yes, you must choose the oscillator that will color the moving average. Example: ONCE UseC...
Doddge Bonjour Nicolas, savez-vous s'il existe un indicateur pour Prorealtime similaire au ST-TL fi...
Nicolas Pour les demandes de conversion de code, et si vous possédez le code source de l'indicateur ...
Doddge Merci beaucoup Nicolas, j'ai utilisé le formulaire avec les informations que j'ai sur cet in...
DanT01 Hi Nicolas, great work! Is it possible to contact you to help with a couple of indicators? T...
Nicolas Assistance is free on forums. For private job, you can contact me with the trading programmi...
supertiti Hola Ale Can we have this same code from Nicolas's code in smoothed heikin Ashi? Sorry...
ALE Ok, We can discuss in the topic "3D Candlesticks TOPIC" Write me more details
Stenozar Hi I can't visualize the indicator on the chart? can anybody help me, please?
Nicolas Add it on price using the wrench on the left upper side of the price chart.
Stenozar thanks Nicolas, I' ll try again!
Geronima Ortiz I watched the video three times, but I can not put the npips parameter as a variable. I do...
Geronima Ortiz I think the video is for an old version of prorealtime, the images do not correspond at all ...
Nicolas indicator1 = CALL “PRC_StopReversal”[npips, 1] and define npips in the optimization window ...

Top