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 • 5 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 Change line 23 for this IF BarIndex <= 2 THEN
roccafragius Thank you so much!!!!!! :):)
roccafragius Hi Ivan, unfortunatelly I still hace some problem using timeframe 3 minutes in 1 minutes, th...
Iván
1 week 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
Iván
9 months ago
Madrosat Bonjour ivan Quelle différence il y a t il entre Extra trend et ultra trend lequel est le p...
MaoRai54 dear Ivan, it seems to be very interesting but please clarify what are all the lines I see i...
Iván Hi! you have the answer in the last line of code... MacdMiddle as "histo" style(histogra...
kats Le Top , a utiliser avec le nuage violet et alerte TN pour plus de précision.

Top