OPEN-SOURCE SCRIPT
MA150 Respect Ratio (ATR-adjusted)

This indicator measures how reliably price respects the 150-day moving average as support.
It computes an empirical probability (Respect Ratio) based on historical interactions with MA150:
– Dynamic touch tolerance based on ATR
– Optional shallow breaks allowed (user-defined)
– Trend filter (MA150 rising + price above)
– Minimum event count for statistical reliability
The output is a probability score (0–1) indicating how often MA150 held as support when tested.
This tool is intended for research and decision support, not as a standalone trading signal.
It computes an empirical probability (Respect Ratio) based on historical interactions with MA150:
– Dynamic touch tolerance based on ATR
– Optional shallow breaks allowed (user-defined)
– Trend filter (MA150 rising + price above)
– Minimum event count for statistical reliability
The output is a probability score (0–1) indicating how often MA150 held as support when tested.
This tool is intended for research and decision support, not as a standalone trading signal.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.