yeungshawn

Higher High and Lower Low Bar Count

yeungshawn מעודכן   
The importance of counting HH&LL is to find the possible extreme of the current leg and the potential reversal.

This script helps you count the number of bars which are constantly higher or lower than the previous ones.
I set the script to count from the first one, but only display the number from the third, in order to eliminate too much noise.

Note: I have loosened the criteria of HH and LL.
Let's take "higher high" as an example, I will count the number If the current bar's low is higher than the previous one's and its high is higher or equal to the previous one's , and vice versa.

If you prefer the strict definition of HH or LL, you can modify the code as you wish.
הערות שחרור:
update
הערות שחרור:
minor update
הערות שחרור:
minor update
הערות שחרור:
minor update
הערות שחרור:
update the code

סקריפט קוד פתוח

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

כתב ויתור

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

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