OPEN-SOURCE SCRIPT
MA Pack + Cross Signals (Short vs Long)

Overview
A flexible moving average pack that lets you switch between short-term trend detection and long-term trend confirmation.
Why Use It
Usage
A flexible moving average pack that lets you switch between short-term trend detection and long-term trend confirmation.
- Short-term mode: plots 5, 10, 20, and 50 MAs with early crossovers (10/50, 20/50).
- Long-term mode: plots 50, 100, 200 MAs with Golden Cross and Death Cross signals.
- Choice of SMA or EMA.
- Alerts included for all crossovers.
Why Use It
- Catch early trend shifts in short-term mode.
- Confirm institutional trend levels in long-term mode.
- Visual signals (triangles + labels) make spotting setups easy.
- Alert-ready for automated trade monitoring.
Usage
- Green triangles = bullish cross
- Red triangles = bearish cross
- Green label = Golden Cross
- Red label = Death Cross
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.