OPEN-SOURCE SCRIPT
OHLC Percent Extension

This indicator visually shows OHLC moves in terms of percentages compared to an input reference series, e.g. this could be a moving average line, and then plotting how far OHLC values are from that reference at each time unit/bar.
A centre/zero-line is shown to indicate little to no extension when prices are hovering about there. This could a profit taking point, or an entry point, depending on the system at play.
You may also only be interested in Highs and Lows extension, for example, in which case simply hide the other lines from the indicator settings.
It may factor into trading systems considering both mean reversions, or trend breakouts/breakdowns.
A centre/zero-line is shown to indicate little to no extension when prices are hovering about there. This could a profit taking point, or an entry point, depending on the system at play.
You may also only be interested in Highs and Lows extension, for example, in which case simply hide the other lines from the indicator settings.
It may factor into trading systems considering both mean reversions, or trend breakouts/breakdowns.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.