Overview TrendFriend (TF) combines various technical analysis components, including trend calculations, moving averages, RSI signals, and Fair Value Gaps (FVG) detection to determine trend reversal and continuation points. The FVG feature identifies potential consolidation periods and displays mitigation levels.
Features Trend Analysis: Utilizes short and long-term Running Moving Averages (RMA) to identify trends. Average True Range (ATR): Plots ATR to depict market volatility. RSI Signals: Calculates RSI and provides buy/sell signals based on RSI conditions. Fair Value Gaps (FVG): Detects FVG patterns and offers options for customization, including dynamic FVG, mitigation levels, and auto threshold.
Usage Buy Signals: Generated based on pullback conditions, contra-buy signals, and crossovers of specified moving averages. Sell Signals: Generated based on pullback conditions, contra-sell signals, and crossunders of specified moving averages. Visualization: FVG areas are visually represented on the chart, and unmitigated levels can be displayed.
Configuration Adjustable parameters for trend periods, ATR length, RSI settings, FVG threshold, and display preferences. Dynamic FVG detection and mitigation level visualization can be enabled/disabled.
Usage Example Trend Analysis: Identify trends with short and long-term moving averages. RSI Signals: Interpret RSI signals for potential reversals. FVG Detection: Visualize Fair Value Gaps and mitigation levels on the chart. Buy/Sell Signals: Receive alerts for buy/sell signals based on specified conditions. Disclaimer This Pine Script code is subject to the terms of the Mozilla Public License 2.0. Use this code at your own risk, and always conduct additional analysis before making trading decisions.
Author Author: devoperator84 License: Mozilla Public License 2.0
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.