pauls0101

ATR with Impulse Alerts

pauls0101 מעודכן   
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!
הערות שחרור:
Update: I also added a plot for the actual range of each bar since I found myself calculating it occasionally.
הערות שחרור:
Reordered plots.
הערות שחרור:
Several updates to the format and visibility of the indicator.
הערות שחרור:
Added a minimum size setting for the impulse move bars.
הערות שחרור:
Added the option to adjust the filter by another ATR multiplier rather than flat values so it works across more assets.
הערות שחרור:
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.
הערות שחרור:
Updated to v5 and added a multiplier for easily using with other indicators for SL/TP.
הערות שחרור:
Updated to plot the multiplied ATR. Oops.
הערות שחרור:
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.
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?