Regularized Momentum

v10.3
Regularized Momentum

The Regularized Momentum indicator is a classic momentum calculation made with a Regularized Exponential Moving Average (or Regularized EMA) of Heikin Ashi median price (Heikin Ashi High + Heikin Ashi Low) / 2.

It returns a smoothed momentum, and instead of using the 0 line to trigger trend reversals, the indicator has ‘floating levels’ made with recent highest highs and lowest lows of the main oscillator.

The ‘Length’ and ‘Lambda’ settings are adjustable, these parameters smooth more or less the curve.

 

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. Alai-n • 309 days ago #

    Merci…

  2. juanj • 308 days ago #

    Thank You Nicolas, the content of this site is literally the one thing keeping me to hold onto PRT. I’m still on vacation until Jan, but looking forward to again make some contributions once back in full swing.

    • Nicolas • 308 days ago #

      Thank you juanj, I’m looking forward for your next valuable contribution 🙂 Have a nice rest and happy new year.

  3. Warath • 304 days ago #

    Bonjour, tout nouveau sur le forum, j’essai de comprend un minimum la programmation et j’ai voulu essayer votre indicateur qui à l’air très bien, seulement quand je veux le valider la fenêtre erreur de syntaxe ouvre et me demande de définir la variable suivante : length6 / lambda / minmaxperiod / levelup / leveldown.
    Je me pense que je dois renseigner quelque chose, mais cela m’étonne. pouvez vous m’éclairer. Merci.

  4. Sonia • 280 days ago #

    Bonjour, Warath, je ne sais pas si tu as eu ta réponse ? Je débute aussi mais je pense pouvoir répondre à ta question.
    Quand tu crées un indicateur, tu fais un copier/coller de l’indicateur, parfois tu as besoin d’entrer des variables en plus, ce qui est le cas ici. Tu vas sur la clef à mollette en haut à gauche, tu cliques dessus et tu renseignes Nom dans le programme, ici : length6, tu ajoutes et tu rentres le settings renseigné par Nicolas dans le code : entier : 14. Tu fais çà pour tous et çà marche, normalement ?!?

  5. Jeff Hale • 203 days ago #

    I’m trying to apply the regularization calculation method to another value, which I’ve found to work great when applied to a chart. However, when I try to apply the indicator to a screener, I receive no results back. Is there anything in the above code that would prevent it from working in a screener or something else that would need to be done to get it to work. Very much appreciated!!!

    • Nicolas • 203 days ago #

      Please open a specific topic in our ProScreenr forum for that query. Please add all specifications on how the screener should work according to this indicator. Thank you.

  6. macbartin • 181 days ago #

    peut il être utiliser pour savoir la fin de tendance, ou plutôt en complément de “market mode” pour détecter la fin de la tendance si le momentum se retourne ? même si je doigt avouer ne pas trop comprendre le “momentum”

    • Nicolas • 181 days ago #

      Formule de l’indicateur Momentum:

      Le Momentum se calcule avec une simple soustraction pour chaque séance.

      Momentum = Clôture du cours du jour – Clôture de la période n choisie

  7. Roberto1 • 70 days ago #

    Hi, can this code be converted for the Nanotrader Platform or for the MT4 Platform?

    • Nicolas • 69 days ago #

      This website is dedicated for PRT programming, but you can still ask for private coding with our programming services: https://www.prorealcode.com/trading-programming-services/

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+2 more likes

Related users ' posts
T-rader I only get yellow candles. Can I change it?
ALE Please write any questions in this Topic "Heikin-Ashi candle smoothed TOPIC"
ALE T-rader Have you already find a solution?
Domenec Hola Nicolas todo y el suavizado es como el awesome da ala señal 3 velas atrasada a veces de...
Arnaud HALVICK Hello! Very nice screener. Thank you! I am using it to scan stocks (weekly). It is very good.
odin you welcome. i would be glad when the screener is nice for you
HeikinAshi what do you think about using the screener in smaller time units (H1, M30) on indexes? And w...
Nicolas Please don't spam the comments. Should be hard because Smoothed Heikin Ashi are made with mo...
fabioerliam Sorry Nicolas...wasn't what I was thinking to do...I thought you couldn't received the notif...
Nicolas A tweaked version which allow to use timeframe in minutes: https://www.prorealcode.com/topic...
MaoRai54 Hi, first of all Happy New Year. Well, I've inserted your indicator in DAX 1h but I cann...
Vinks_o_7 Hi Mao Happy New Year ! This is just an improved RSI where you plot a standard price momen...
Nicolas Not possible to change the thickness. You can add text with DRAWTEXT instruction, you'll fin...
financier Hi, Nicholas I find your sweetspot indicator very handy for identifying key areas in a range...
Nicolas Sure,you can. Just add different variables in the loop and test them at each iteration if th...
Paul Thanks for posting. I was currently searching how to improve day-trading based on support an...
Jessar Könntest du im Forum etwas öffnen und später darüber zu sprechen?
arahussein Hi All, I am new to trading and i find this indicator very logicail! Hence my (dumb?) quest...
rafadonl2 Here it is the screener. (sorry I don't speak german). //Reglas en Heikin-Ashi: //1- Sec...
finplus Muchas gracias. Have a good day.
rafadonl2 I have modified some lines and it seems this version will work better. Even so, I recommend...
Rafa when y try to code a simple screener let´s say signal cross over PMO, is not working and thi...
Rafa Hi Nicolas, Do you have any solution for this problem?
Nicolas Please add a request in proscreener section, much better to explain and understand your prob...
gabri Grazie, con ETF to consiglio anche uno screener basato su questa strategia https://www.pror...
Alex975 Grazie della dritta.. testerò il tutto.
guillermus69 is this " a= log(close/close[1])" better than a = ((close/close[1]) -1) *100 . I ...
Leito Nice aproach, have you ever try to implement it for patterns recognitions, like double top/b...
Wing Not yet but I plan to.
Leo Have a look in this Forum, I got something interesting for you... https://www.prorealcode.co...
haseluis Hello, who can help me why the screener does not work // Der folgende Code bezieht sich auf...
Nicolas Hello, please ask your question with a new forum topic, this is not the place to ask for sup...
Lotech123 Thanks for this indicator. Working on a 3 M timeframe with the DJI, it can produce some inte...
JSTAR PRODUCTIONS Hi there, I downloaded the Indicator but the indicator does not show up on my charts. Am...
JSTAR PRODUCTIONS Hi, Worked it out. Thanks
Jean-Pierre Poulain When I buy and when I sell ?
Nicolas The featured image of the post do not deserve the indicator you are right, I attached other ...
Nicolas It is described in the post already :) The BUY/SELL signals are quite similar of what you ca...
Marcot18 Buongiorno, è possibile codificare lo stesso codice per regressione lineare? grazie in anticipo
Nicolas Just change the indicator at line 9 with a linearregression instead of average
Marcot18 Save Nicolas, non ci riesco puoi postarmelo grazie.
finplus Thanks for the job. Which variables do you suggest for timeframe 1 hour? 
Maz Depends massively on your market and the volatility. I suggest using the variable optimizer ...
Nicolas ok, so your query should be asked there: https://www.prorealcode.com/prorealtime-market-scre...
Nicolas answered here: https://www.prorealcode.com/prorealtime-market-screeners/ttm-squeeze-fired-sc...
mcha Bonsoir Nicolas, Merci beaucoup pour ce complément de code, qui fait disparaitre l'histogr...
gatarayihajp Hi swingforfortune, Thanks a lot about your interesting posting. Let ask you to explain mor...
Swingforfortune Hello. Basically they are a twist of the MACD histogram and can be used as such. They visua...
gatarayihajp Hi again Thanks for the explanation. Have a good day

Top