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

    Hi!

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

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Paolo.B Hi Ivan, great work. I'd love to try this indicator in an automated system, but I don't unde...
Maik2404 Hello. It would be very interesting to integrate this indicator into an automated trading sy...
YvesRobert Hello Ivan, I see that you are very good in PRT coding. Is it possible to have a code who se...
Iván Hi. It is not possible to detect true absorptions with ProBuilder code. The PRT language doe...
BZH22 Bonjour Ivan je suis à la recherche d' un indicateur pour avoir des points d' entrées et de...
Iván Hola. No puedo arreglarlo. Puedes copiar/pegar (2 segundos) y tienes el indicador... La V...
Harley82 Grazie IVAN per questo lindicatore che mi sembra molto interessante, putroppo, non essendo u...
Iván Buongiorno, la risposta la trovi alle righe 115 e 122, che sono quelle che provocano il camb...
Iván
3 months ago
sam00075 Accuracy is on point.
Mubin1308 Bonjour à tous, J'ai importé le fichier mais ça ne marche pas, rien qui s'affiche. Pourriez...
hdb1 Thank you so much Ivan..Been using this on 30min timeframe with excellent results. Now my ma...
roccafragius Thank you so much, for my point of view very useful!!!
NicoGB67 Excelente trabajo!!
Jrmjrm Bonsoir est-il possible d'avoir cet indicateur, mais à la place du Wilder Average, utiliser ...
Iván Hi! just change line13 for this: showsignals=1
Quino Hi Excellent indicator as usual. Just 2 questions: Why LenH and LenL = 15 as Len could be...
Iván Hi! good question. This is a code request traslation from other platform. I took same inputs...
Gaspare Grazie Ivan, ottimo indicatore posso chiedere, per favore, una strategia che apre posizio...
Iván thanks! maybe I could test it

Top