OPEN-SOURCE SCRIPT
Major Swings

This is an indicator that shows minor and major swing highs and lows.
With the help of Average True Range it is calculating if stop order bulls are able to make money buying above swing highs and if bears are able to make money selling below swing lows.
Assumption is that if they are able to make money ( at least a scalp that is a size of an average bar based on atr ) the trend is strong and the opposite swing point is therefore major.
It is possible to change the amount of bars that indicator compares to find swing points as well as atr period, label colors and show/hide minor swing points.
With the help of Average True Range it is calculating if stop order bulls are able to make money buying above swing highs and if bears are able to make money selling below swing lows.
Assumption is that if they are able to make money ( at least a scalp that is a size of an average bar based on atr ) the trend is strong and the opposite swing point is therefore major.
It is possible to change the amount of bars that indicator compares to find swing points as well as atr period, label colors and show/hide minor swing points.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.