pauls0101

ATR with Impulse Alerts

pauls0101 Aktualisiert   
This is a very simple script which simply plots an ATR (the built-in ATR function, using RMA) and plots a cross when the previously closed bar is larger than the ATR by a given threshold. There are also alert conditions set so you can be alerted when these impulse bars show up, either up or down bars. Have fun and safe trading!
Versionshinweise:
Update: I also added a plot for the actual range of each bar since I found myself calculating it occasionally.
Versionshinweise:
Reordered plots.
Versionshinweise:
Several updates to the format and visibility of the indicator.
Versionshinweise:
Added a minimum size setting for the impulse move bars.
Versionshinweise:
Added the option to adjust the filter by another ATR multiplier rather than flat values so it works across more assets.
Versionshinweise:
Added an alertcondition that captures both up and down moves so alerts can be set that don't use as many alert slots if used on multiple instruments.
Versionshinweise:
Updated to v5 and added a multiplier for easily using with other indicators for SL/TP.
Versionshinweise:
Updated to plot the multiplied ATR. Oops.
Versionshinweise:
Minor updates; will need to rollback some of these updates at a later point. Trying to plot the numerics without visually updating it as it squashes the plots.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?