LonesomeTheBlue

Higher High Lower Low Strategy (With Source Code)

LonesomeTheBlue Wizard מעודכן   
This script finds pivot highs and pivot lows then calculates higher highs & lower lows. And also it calculates support/resistance by using HH-HL-LL-LH points.

Generally HH and HL shows up-trend, LL and LH shows down-trend.

If price breaks resistance levels it means the trend is up or if price breaks support level it means the trend is down, so the script changes bar color blue or black. if there is up-trend then bar color is blue, or if down-trend then bar color is black. also as you can see support and resistance levels change dynamically.

If you use smaller numbers for left/right bars then it will be more sensitive.

source code of :
הערות שחרור:
upgraded to v4
added color options
הערות שחרור:
Lines are used instead of plot() for S/R levels
fix: right bar is used instead of left bar for the labels/lines (Thanks to @hankoman for the feedback)
הערות שחרור:
line style and line width options added

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

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

כתב ויתור

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

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