UT BOT ALERTS

UT BOT ALERTS

This code gives signals upon a “SuperTrend.” calculated with HeikinAshi candlesticks. It’s a way of showing where the general direction of a market (like stocks or currencies) is heading.

Here’s how it works:

  1. **Setting up the Basics**: At the start, there are some basic settings – a sensitivity key and a period. The sensitivity key makes the tool more or less reactive. The period refers to how many past data points we’re looking at to help make decisions.
  2. **True Average Range**: The code then calculates something called the “average true range.” Think of this as a way to measure how much prices are moving around.
  3. **Setting Upper and Lower Boundaries**: Using the average true range, it sets two boundaries: an upper one and a lower one. These boundaries help us determine if the market is going upwards or downwards.
  4. **Trend Determination**: If the current price goes above the upper boundary from the previous time, we think the trend is upwards. If it goes below the lower boundary, the trend is downwards.
  5. **Flags**: These are just little markers to help us remember if the trend just changed direction. For example, if it was going upwards and suddenly changes downwards, we set a flag.
  6. **Adjusting Boundaries**: If the market is moving upwards and the lower boundary drops, we stick with the previous boundary. Similarly, if the market is moving downwards and the upper boundary rises, we stick with the previous boundary. But, if a trend change was flagged, we reset our boundaries.
  7. **Choosing SuperTrend Value**: Depending on the trend (upwards or downwards), our SuperTrend value will equal one of the boundaries.
  8. **Color Coding**: If the SuperTrend value is rising, it will be colored green. If it’s dropping, it will be colored red.
  9. **Drawing Arrows**: If the price crosses over the SuperTrend value going up, a green arrow is drawn. If it crosses going down, a red arrow is drawn. These arrows give a visual cue about where the market is heading.
  10. **Final Result**: The code finally gives out the SuperTrend value, color-coded based on its direction, to visually indicate where the market might be heading.

So, in essence, this code helps traders see, at a glance, whether a market is trending upwards or downwards and gives visual cues when that trend might be changing.

 

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. atlante • 08/14/2023 #

    hi nicolas you are the best

  2. atlante • 08/14/2023 #

    the big secrets we have in the little details

  3. kvacksa87 • 08/14/2023 #

    Går det att göra något automatiskt script till signalerna ?

    • Nicolas • 08/14/2023 #

      Simple strategy with this indicator is available here: https://www.prorealcode.com/topic/ut-bot-alerts-2/#post-218578

  4. FXtonio • 08/14/2023 #

    Nicolas…. MERCI 1 millions de fois, cet indicateur gagne dans 75% des cas en scalping m1 …

  5. davy42 • 08/14/2023 #

    bonjour, à quel moment apparait le fleche, à l’ouverture ou la fermeture de la bougie?
    merci

  6. Freezer • 339 days ago #

    Bonjour, est-il possible d’ajouter une alarme sonore sur PRT à l’apparition des flèches ? Bravo pour cet indicateur sacré travaille !!

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
lokbuscas is it possible to make a screener with this conditions??? thank you
achel I believe so but I leave it to Nicolas to decide if it is possible
Nicolas Please open a new topic in the screeners forum
Juan Salas Hi FULVIO09, Nice piece of work. It seems to work very well. Does only work for INDEXES??...
Johann Hi @FULVI09, I understand the instructions however I'm not too sure how to determine the "p...
Player8520 Hello, It doesn't work with me either. However, I changed AA to 180 on line 15, added th...
Nicolas I added the new ITF file in this page too (heikin ashi smoothed with colors)
ALE Thanks Nicolas!
cv Thank you very much Nicolas and Ale,
Domenec Hola Nicolas todo y el suavizado es como el awesome da ala señal 3 velas atrasada a veces de...
Lednora Bonjour à tous, Merci pour ce superbe indicateur! Est-il possible de rajouter une alerte su...
Domenec Claro Juanjo de todas maneras en deinversoratrader.com tienes estsos osciladores evolucionad...
Dron Hola Domenec, en la descripción hablas del indicador velas de colores, no lo encuentro en la...
Domenec Hola Dron mira en el blog deinversoratrader.com en formacion indicadores ahi hay varios grat...
Geronima Ortiz okay bien estaré pendiente en esta pagina gracias
Domenec Aqui dejo colgado link del video para ver como funciona el indicador https://www.youtube....
Geronima Ortiz Gracias Domenec
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...
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
mcha Bonjour Nicolas J'ai mis cet indicateur sur une période graphique 1 heure. J'ai choisi 1...
marzibre Bonjour Nicolas. I work mainly on Daily timeframe. I was looking something similar but usi...
TraderGlyn This is an excellent indicator, it provides a hugely useful visual interpretation that filte...
verdi55 You can find me at www.FXautomate.com 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.
xpe74 Top visually, and very efficient. I would like to integrate it as a value in a small algo i...
Nicolas Formule de l'indicateur Momentum: Le Momentum se calcule avec une simple soustraction pour ...
Roberto1 Hi, can this code be converted for the Nanotrader Platform or for the MT4 Platform?
Nicolas This website is dedicated for PRT programming, but you can still ask for private coding with...
GraHal Is this the Discussion Topic you need @Gregg https://www.prorealcode.com/topic/scalping-i...
bertrandpinoy bonjour Nicolas y a t il une possibilité de signal sonore dès qu une vente ou un achat serai...
Nicolas Oui cela nécessitera une adaptation du code cependant, merci de formuler une demande sur le ...
WarningTrading Comment peut on la comparer ? comme ceci ? cela ne me donne plus le message d'erreur manque...
sally31120 Bonjour, je n'arrive pas à créer ce screener close > supertrend extended2[1] la réponse...
Nicolas voir ce sujet pour un screener basé sur Supertrend Extended: https://www.prorealcode.com/top...
crolakstrading Hi Nicolas.. I'm really big fan of this indicator! is there any possibility to make this ind...
Nicolas Yes, that's possible. Please open a new topic in the forum.
crolakstrading Just saw your reply thank you!! I will open up a new topic!!
TAC Bolsa This indicator give trading signals depending of the crosses of overbought and oversold area...
Juanjo Hola. El indicador es válido para acciones en periodo diario? Gracias
TAC Bolsa Hola Juanjo la información del indicador y otros la puede encontrar en el BLog. https://w...
rafadonl2 is not taken into account in the procedure. It considers only if it is a doji or when candle...
Guibourse Okay thanks, just a question : how do you plot your two lines in the same window as price ? ...
rafadonl2 sorry, I don't understand your question. Indicator draws Heikin Ashi candle, not price cand...
mahdi how can I import itf file into mt4? please help
Nicolas That code is not for MT4, we do not offer free assistance for this platform, but you can ask...
guinsu2000 hello could you share your copy in a pdf or where you whant please ?

Top