OPEN-SOURCE SCRIPT

Parabolic SAR

This script provides an enhanced implementation of the Parabolic SAR (Stop and Reverse) indicator, a popular tool for identifying potential trend reversals in financial markets. The script incorporates additional features for improved usability and trading decision-making:

Key Features:
Customizable Parameters:

Initial Acceleration Factor: Start value for the SAR calculation.
Increment: Step value that increases the SAR during a trend.
Maximum Acceleration Factor: Cap for the SAR to prevent over-adjustment.
Buy & Sell Signals:

Buy Signal: Triggered when the price crosses above the SAR.
Sell Signal: Triggered when the price crosses below the SAR.
Signals are displayed as visually intuitive labels ("Buy" and "Sell") on the chart.
Alerts Integration:

Configurable alerts for buy and sell signals, allowing users to stay informed without actively monitoring the chart.
Dynamic Candle Coloring:

Candlesticks are dynamically colored based on the most recent signal:
Green: Buy signal (bullish trend).
Red: Sell signal (bearish trend).
Elegant SAR Plot:

The SAR is plotted as cross-style markers with a visually appealing magenta color.
How to Use:
Adjust the Initial Acceleration Factor, Increment, and Maximum Acceleration Factor in the input settings to match your trading style.
Enable alerts to receive notifications when buy or sell signals are generated.
Use the colored candlesticks as an additional confirmation tool to visualize market trends directly on the chart.
Chart patternsCyclesmultitimeframe

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

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

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


גם על:

כתב ויתור