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 • 86 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 • 85 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 • 85 days ago #

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

  3. FULVIO09 • 85 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 • 84 days ago #

    Bonjour merci BEAUCOUP !!!
    cela fonctionne!!!

  5. Dymjohn • 77 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 • 76 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 • 62 days ago #

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

    • FULVIO09 • 58 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 • 59 days ago #

    FULVIO09 • 25 days ago #

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

    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 • 58 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).

  8. kuroobi • 57 days ago #

    Parfait , merci beaucoup .

  9. Juan Salas • 19 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,

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Stenozar Hi Pier, I've put the indicator under the graph and it draws the two signal lines and one re...
Pier Maybe the parameter "P" has not been set The default setting is 21
cripto it works only for Long position; it does not work in short position, do you know why?
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 ...
Caribeengeek Bonjour j’avais vu que vous proposiez d’écrire des codes pour ceux qui s’y connaisse pas Mai...
Caribeengeek Les devises unité
Nicolas Merci d'utiliser le forum pour les demandes de programmation personnalisée
winnie37 Merci Nicolas. J'ai un bug d'affichage quand j'utilise ton indicateur. La bougie en cours ...
ullle73 nicolas, can you somehome make this to be in the background of the price chart?
verdi55 You can find me at 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...
jebus89 Big thanks for sharing this :) Seems to work as expected, good stuff.
1 year ago
Trinity Impulse
Trinity Impulse
ribou bonjour Nicolas Bravo pour l'ensemble de ton oeuvre très riche en informations de qualité ...
Nicolas Cet indicateur nécessite que l'instrument possède des Volumes. Sinon il ne pourra pas se cal...
ribou ah d'accord merci beaucoup
Onetime Bonjour je viens d'essayer votre indicateur sauf que moi j'ai pas les signaux ( les flèches ...
Onetime Pardon non enfait ils sont bien la merci
GianfrancoCeck Salve Nicolas. Ho provato ad inserire anche questo suo indicatore, ma sulla T3 ho sempre la...
Nicolas You can for it ask as a private job in the programming services section: https://www.prorea...
nick80 Thanks Nicolas ;-)
Nicolas Des nouvelles ?