OPEN-SOURCE SCRIPT

SMA Sell Signal

This is a basic visual showing a sell-signal based on two simple moving averages, intended for daily chart on individual stocks. Two plots show the percent gap of the closing price from the 50d and 10d simple moving averages. A threshold is set for 20% above the 50d and 2% below the 10d.

The sell signal is determined when a stock rises 20% above the 50d simple moving average, and then drops 2% below the 10d moving average within a 10 day window. The moving average, thresholds and window are all configurable.

The sell signal often aligns to an MACD sell signal, however this visualizes the more specific rule as described above.
Moving Averages

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

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

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


גם על:

כתב ויתור