informanerd

Up/Down Trend Marker

A simple indicator of trend by using 3 EMAs of multiplies of 2, 5 and 10, filtered by standard positive/negative directional movements ( DM ) which are the base of Average Directional Index ( ADX ).
The "Trend Strength" option is included to set the EMA multipliers and also the variation between DM+ and DM- which interpret the trend as a weak or a strong one .
Note that the markers only point to almost the beginning of the trends and just change the direction when the opposite trend is detected.
Feel free to send me your opinions.
Notes de version: Added another filter based on Renko Chart idea with brick size calculated from ATR (Average True Range)
Script open-source

Dans le plus pur esprit de TradingView, l'auteur de ce texte l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur ! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par les règles internes. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Commentaires

this is a good inidcator for swing trading
+1 Répondre
informanerd blackcat1402
@blackcat1402, I'm glad you could use it.
Répondre
Does this indicator repaint?
Répondre
informanerd TheMessiah
@TheMessiah, As long as you use it with default settings, it will repaint like every indicator which is applied to the current bar close price. Fortunately you could change the source in the options of the indicator from "Close" to "Open" to overcome the problem. Of course you could do this on any indicator out there which has the option!
Répondre
Hello how do you set up an alert for this, Thank you :)
Répondre
informanerd Sandra323
@Sandra323, Hey. You could do that by adding some lines to the code as below:

alertcondition(up, title = "Up", message = "Up")
alertcondition(down, title = "Down", message = "Down")

and then add your alerts.
Répondre
Accueil Screener d'actions Screener Forex Screener Crypto Calendrier économique A propos Caractéristiques du graphique Prix Parrainer un ami Règles de conduite Centre d'aide Solutions site web & courtier Widgets Solutions de cartographie Bibliothèque de graphiques allégés Blog & News Twitter
Profil Paramètres du Profil Compte et Facturation Amis référés Coins Mes tickets au support Centre d'aide Messages privés Chat Se Déconnecter