SparkyFlary

ADX Histogram with DI lines

SparkyFlary מעודכן   
Inspired by the user scarf from Tradingview. In contrast with that other indicator, this one instead of a simple moving average (SMA) for the ADX calculations, uses a running moving average (RMA) or also known as Wilder's Average. I like having a histogram for the DI lines over just having lines alone because it makes it easier to see. In addition I made it so that values less than 5 for the DI lines are colored lightly to note that the movement was less significant(might not matter but some might care about it, atleast I do). The ADX has a color fainting effect too, and when it goes above the threshold then it becomes black to note that it is trending, as the indicator suggests.

The advantages with these additions and changes are that it shows a more traditional moving average like the original author Wellers Wilder suggested and you can see the crossings and directional movement changes easier from seeing the colors on the histogram easier than you would by looking at the DI lines alone. The disadvantages are you won't be able to tell when the ADX line is above both DI lines and when the ADX then makes a decrease from there(which can sometimes show a reversal), but personally it doesn't matter too much to me and perhaps to those who care more about seeing the direction than having to focus on all those 3 lines crossing all over the place.
הערות שחרור:
moved the scale to the right
הערות שחרור:
added an ADXR line option, it is turned off by default
added options to turn on the ADX and ADXR lines
הערות שחרור:
updated
סקריפט קוד פתוח

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

כתב ויתור

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

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