Delorean Trend Detection Oscillator v.1.1

Delorean Trend Detection Oscillator v.1.1

The “Delorean Trend Detection Oscillator” is a technical indicator designed for the DAX40 future, originally created by Domenec and adapted by me. Its purpose is to detect market trends using an oscillator that combines basic trend calculations, smoothing, and tactical trading crosses.

Remember to setup variables:
period=20
trade=8
Key points:
  1. Detection Period: Uses a defined period (p=20 for Dax40) to identify the highest (alt) and lowest (baj) prices within that range.
  2. Basic Trend Calculation: The variable Ten computes the basic trend as a percentage of the current close relative to the high and low, multiplied by -100.
  3. Smoothed Trend: Applies an exponential moving average (exponentialaverage) to Ten to obtain a smoothed trend (Trend).
  4. Tactical Trading Cross: Calculates a cross (cross) using another exponential moving average on Trend, useful for trading signals.
  5. Visual Histogram: The difference between Trend and cross generates a histogram (hist) indicating trend strength and direction.
  6. Histogram Colors:
    • Strong uptrend (hist > 0): Green (0,100,0).
    • Strong downtrend (hist < 0): Red (255,0,0).
    • Intense uptrend (Trend > -50, hist > 0, increasing hist): Blue (0,0,255).
    • Weak uptrend (Trend < -50, hist > 0, increasing hist): Light green (124,252,0).
    • Less intense downtrend (Trend < -50, hist < 0, increasing hist): Yellow (255,255,0).
    • Weak downtrend (Trend > -50, hist < 0, increasing hist): Brown (184,134,11).
  7. Visualization:
    • Lines for Ten (basic trend), Trend (smoothed trend), and cross (tactical cross).
    • Colored histogram for hist.
    • Dotted line at -50 as an inflection level.
  8. Recommendation: Uncheck “Trend” and use “smoothed trend” for a better trading experience.

The indicator helps traders identify trend direction and strength, as well as potential entry/exit points based on crosses.

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. Marc Boliart • 10 hours ago #

    Hi!

    i do not know why _v.1.1″] was on 1st line, remember to remove it!

avatar
Register or

Likes

avatar
Related users ' posts
Iván
1 year ago
Madrosat Hello Ivan You have interesting topics on indicators , smart supertrend, optimised trend t...
Iván Hi! thanks. All of these codes are translations requested in the forum. I've on mind to back...
Raspete01 Buenos días Iván, estoy intentando llevar el código eliminando los colores y pasando un Back...
Iván
1 year ago
winnie37 Hi Ivan, if i want to use it, and call the oscillator value (in grey, green or red), how to...
Iván The oscillator is smoothtype. In inputs there is de lag to configure the output
ARLEQUIN49 Hello Ivan, Would it be possible to convert the code of this QQE MOD indicator which accomp...
ARLEQUIN49 here is the code: //@version=4 //By Glaz, Modified // study("QQE MOD") RSI_Period = i...
Iván Hi, Yes I can translate it but please, create a new topic for it.
Fgats quelques explications en Français ici : Some explanations in French here : https://www.p...
Nicolas Merci pour cette contribution, j'apprécie ! :)
Fgats Merci Nicolas pour ces encouragements et merci aussi pour le commentaire en Anglais accompa...
Alai-n I really like it when you develop ideas around price movement! I am much less a fan of all t...
elcortijoverde Muy buen trabajo.Intuitivo y claro.Gracias por tu dedicación y aportación.
Nicolas
2 years ago
B-Xtrender
B-Xtrender
8
Indicators
616248 Bonjour Nicolas, Peux tu nous expliquer le principe de fonctionnement ? Ou nous mettre un...
Nicolas Le lien vers l'article IFTA de l'auteur est dans le post déjà :)
P. Marlowe Very poweful indeed. It deserves close attention. I really appreciate very much IFTA backgro...
JS
2 years ago
Trendilo
Trendilo
1
Indicators
Coded1 very interesting indicator, thanks JS
Nicolas
2 years ago
Lucas0000 Hello, Congratulations on this programming, it seems incredible to me, I am new to this but ...
plbourse Hello, I am trying to use this singal (in fact I have converted it to an indicateur giving B...
manfeber Buenos dias,alguien me podria decir como se descargar el archivo o el indicador Q-Trend??,ya...
BriceE Bonjour Nicolas, Je suis a la recherche d'indicateurs pour me donner la meilleure indicatio...
Nicolas
2 years ago
Maxime Baudin Well done Nicolas, creative!
Stenozar Hi Nicolas, please can you explain how to read/use this indicator? thanks!
JC_Bywan For people interested in the screener: https://www.prorealcode.com/topic/screener-buy-sell-m...
octum Gracias NJicolas. Las lineas 35 y 36 dan fallo. (¿Es adrede para iniciados?) Puedes co...
mortezaali14 Salut Nicholas, comment exécuter ce fichier dans les métadonnées
Nicolas Yes, Magic if the variable that contains the value of the line, you can test if it goes up o...
dadah1987 Bonjour Nicolas, merci pour cet indicateur. Utilisant pour l'instant la création simplifié p...
Nicolas Merci d'ouvrir un sujet sur le forum avec une description complète du système.
GustavoLoboOrenstein Is it possible to add histogram with only increasing bars?
YvesRobert Bonjour Nicolas, en effet ca marche, je me suis trompé, j'ai bien tout le tracé. C'est parce...
oliTR Bonjour, les conditions longCond et shortCond ne contiennent-elles pas une condition qui s'a...
xpe74 Utilitaire vraiment top, d'autant qu'ajouter des filtres de seuil peux aider a limiter le no...
Jiacky
3 years ago
Kalman Filter
Kalman Filter
0
Indicators
Stenozar Hi Sever, how can I visualize the coloured areas?
Sever Hi Stenozar, You need to add the color zones yourself , just go to Add Color Zone To set ...

Top