trend show(lir)
trend show is a powerful indicator which shows dominant trend in different time franmes
Cerca negli script per "trend"
Trend Strength Indicator - "Tren"The Tren indicator is a combination of Trend Strength Indicators that I combined in an attempt to better aid position taking. It utilizes certain conditions amongst trend strength indicators and plots numbers 0-12 above (if bullish) or below (if bearish) depending on the conditions. The higher the number, the stronger the Trend Strength is. If one wanted to go long or short, but the trend strength was weak - a trader might want to reconsider their position. If a trader was currently in a position and experienced a retrace, but the trend strength was high and in their favor, a trader might use this indicator to reconsider exiting a trade - therefore maximzing profits.
This indicator is not currently for sale, and is in its beta stages. Follow me for more updates and indicators.
TREND CROSSES ALERTThe crossing of moving averages can help you determine the tendency of an instrument to trade.
The script has two configurable moving averages that will help you determine the trend and then take advantage of it in your strategy.
Remember to use the alerts.
Trend Intensity Index by ParaticaTrend Intensity Index is very strong. It can see next coming trend very early
Trend Continuation FactorTrend Continuation Factor indicator script.
This indicator was originally developed by M.H. Pee (Stocks & Commodities V. 20:3 (58-64): Trend Continuation Factor).
Trend Trigger FactorTrend Trigger Factor indicator script. This indicator was originally developed by M. H. Pee (Stocks & Commodities V.22:12 (28-36): Trend Trigger Factor).
Trend StrengthTrend Analysis and Divergence Filter
This tool helps you to read trend strength and spot divergences, to be ready for a reversal.
All the tool is based on a colorcode:
- bright colors = impulse bars.
- hard colors = consolidation / continuation bars.
- light colors = weakness bars.
=> You can choose to use barcolor, or not, and simply use the indicator. Divergences occured on the histogram, when the price makes a local high/low, but the histogram in the black zone.
Also, the reason why i created is that it is insanely accurate to spot divergences in an established trend.
#In an uptrend:
- If prices makes a higher high,
- But bar color is green light (or histogram is in the blackzone), it's probably the end of the move and a regular bearish divergence is happening.
=> Take profit and open a short.
#In a downtrend :
- If price makes a lower low,
- But bar color is red light (or histogram is in the blackzone), it's probably the end of the move and a regular bullish divergence is happening.
=> Take profit and open a long.
To sum up:
- when you see light bars, or if the histogram is in the blackzone, be prepared for a move.
- To choose the direction, check for divergences before entering.
To get the most benefit of this indicator, use it in a multi timeframe strategy :
The indicator will give you the best results in the subordinate timeframe, considering you trade using a macro trend, a parent and a subordinate one.
Trend Intensity IndexTrend Intensity Index indicator script. This indicator was originally developed by M. H. Pee (06/2002 issue of Stocks and Commodities Magazine)
Trend Intensity Index [DW]This study is a simple variation of M. H. Pee's Trend Intensity Index that includes two signal lines rather than one for additional trend confirmation.
Trend-following Microprofit w/ Smart DCA BACKTESTING VERSIONCompanion to the alert script:
Tradingview doesn't like backtesting with too little capital or trade sizes less than 1 share, so the "Net Profit" number may not be accurate right off the bat. To get a better idea, change the order size or initial capital so the strategy is trading the appropriate % of initial capital. For example, if your personal capital is $2000 and you are making $100 trades, your trades are 5% of initial capital. That is roughly equivalent to the defaults using orders of 1 BTC with $100,000 capital.
Tightening the stop level will improve the Net Profit to Max Drawdown ratio, making the strategy more suitable for large trade sizes.
This script does not provide alerts for Gunbot. Find the settings you like using this strategy script, then plug those values into the alert script.
If you like this you can buy me chocolate below. Cheers!
Trend Trading StrategyThis indicator identifies trade setup for my Trend Trading Strategy. Leave a like/comments!
io-trend-follow (1.5)Trend Follow script to be used across all market instruments and timeframes.
You can display long only, short only or both signals.
version 1.5 -> Filter by EMA 200 option added
version 1.4 -> Alerts added
version 1.2 -> Only one signal per trend (default) or multiple entry signals per trend
version 1.1 -> White theme option added
Trend Volume Accumulation R1 by JustUncleLThis simple indicator shows the Accumulated Volume within the current uptrend or downtrend. The uptrend/downtrend is detected by a change in direction of the candles which works very well with Heikin Ashi and Renko charts. Alternatively you can use a Moving average direction to indicate trend direction, which should work on any candle type.
You can select between 11 different types of moving average:
SMA = Simple Moving Average.
EMA = Exponential Moving Average.
WMA = Weighted Moving Average
VWMA = Volume Weighted Moving Average
SMMA = Smoothed Simple Moving Average.
DEMA = Double Exponential Moving Average
TEMA = Triple Exponential Moving Average.
HullMA = Hull Moving Average
SSMA = Ehlers Super Smoother Moving average
ZEMA = Near Zero Lag Exponential Moving Average.
TMA = Triangular (smoothed) Simple Moving Average.
Here is a sample chart using EMA length 6 for trend Direction:
Trend Pullback Reversal TPRThe TPR(Trend Pullback Reversal) indicator forms a possible price trend with support and resistance lines. It also comes with a unqiue band and center line as additional features.
TPR works on all timeframes and all symbols and all type of bar chart.
TPR never repaints.
There are 4 Parameters:
Period: umber of bars used for calculations
Factor: Multiplier factor, small number for short trend, large number for long trend
Source: the input series, default is Close
ShowBand: enable to show band and center line
Most trend indicators have similar plot, the difference is where and when they change the direction. Unlike other trend indicators, TPR will focus on main trend and filter out most minor price movements. The green cross-line represents an uptrend, the red cross-line represents a downtrend.
The additional band and center line may look like bollinger band, but the TPR band algorithm is completely different from bollingerband. There is no standard deviation in TPR band calculation.
Trend Trader Strategy Backtest This is plots the indicator developed by Andrew Abraham
in the Trading the Trend article of TASC September 1998
You can change long to short in the Input Settings
Please, use it only for learning or paper trading. Do not for real trading.
Trend, Stoch, Price Action or in short: TSPCombining the three most important factors that a trader usually needs in a single indicator.
Red = Trend
Blue = Stoch
Orange = Price Action
Trend Trader This is plots the indicator developed by Andrew Abraham
in the Trading the Trend article of TASC September 1998
Trend-Momentum Volatility Breakout🚀 Trend-Momentum Volatility Breakout Strategy 🔥
Catch the biggest moves in the market with a strategy that blends:
📈 Trend (EMA Filter)
💪 Momentum (RSI Confirmation)
🌊 Volatility (ATR Breakouts)
✅ Dynamic Stop Loss & Take Profit
✅ Works on Forex, Crypto, Indices & Stocks
✅ No repainting – 100% clean signals
✅ Optimized for trending markets 📊
💡 Best used on higher timeframes (1H, 4H, Daily) but fully customizable!
Trade smarter, not harder 🧠💰
[blackcat] L3 Trendmaster XOVERVIEW
The L3 Trendmaster X is an advanced trend-following indicator meticulously crafted to assist traders in identifying and capitalizing on market trends. This sophisticated tool integrates multiple technical factors, including Average True Range (ATR), volume dynamics, and price spreads, to deliver precise buy and sell signals. By plotting dynamic trend bands directly onto the chart, it offers a comprehensive visualization of potential trend directions, enabling traders to make informed decisions swiftly and confidently 📊↗️.
FEATURES
Customizable Input Parameters: Tailor the indicator to match your specific trading needs with adjustable settings:
Trendmaster X Multiplier: Controls the sensitivity of the ATR-based levels.
Trendmaster X Period: Defines the period over which the ATR is calculated.
Window Length: Specifies the length of the moving window for standard deviation calculations.
Volume Averaging Length: Determines how many periods are considered for averaging volume.
Volatility Factor: Adjusts the impact of volatility on the trend bands.
Core Technical Metrics:
Dynamic Range: Measures the range between high and low prices within each bar.
Candle Body Size: Evaluates the difference between open and close prices.
Volume Average: Assesses the cumulative On-Balance Volume relative to the dynamic range.
Price Spread: Computes the standard deviation of the price ranges over a specified window.
Volatility Factor: Incorporates volatility into the calculation of trend bands.
Advanced Trend Bands Calculation:
Upper Level: Represents potential resistance levels derived from the ATR multiplier.
Lower Level: Indicates possible support levels using the same ATR multiplier.
High Band and Low Band: Dynamically adjust to reflect current trend directions, offering a clear view of market sentiment.
Visual Representation:
Plots distinct green and red trend lines representing bullish and bearish trends respectively.
Fills the area between these trend lines and the middle line for enhanced visibility.
Displays clear buy ('B') and sell ('S') labels on the chart for immediate recognition of trading opportunities 🏷️.
Alert System:
Generates real-time alerts when buy or sell conditions are triggered, ensuring timely action.
Allows customization of alert messages and frequencies to align with individual trading strategies 🔔.
HOW TO USE
Adding the Indicator:
Open your TradingView platform and navigate to the "Indicators" section.
Search for " L3 Trendmaster X" and add it to your chart.
Adjusting Settings:
Fine-tune the input parameters according to your preferences and trading style.
For example, increase the Trendmaster X Multiplier for higher sensitivity during volatile markets.
Decrease the Window Length for shorter-term trend analysis.
Monitoring Trends:
Observe the plotted trend bands and labels on the chart.
Look for buy ('B') labels at potential support levels and sell ('S') labels at resistance levels.
Setting Up Alerts:
Configure alerts based on the generated buy and sell signals.
Choose notification methods (e.g., email, SMS) and set alert frequencies to stay updated without constant monitoring 📲.
Combining with Other Tools:
Integrate the Trendmaster X with other technical indicators like Moving Averages or RSI for confirmation.
Utilize fundamental analysis alongside the indicator for a holistic approach to trading.
Backtesting and Optimization:
Conduct thorough backtests on historical data to evaluate performance.
Optimize parameters based on backtest results to enhance accuracy and reliability.
Real-Time Application:
Apply the optimized settings to live charts and monitor real-time signals.
Execute trades based on confirmed signals while considering risk management principles.
LIMITATIONS
Market Conditions: The indicator might produce false signals in highly volatile or sideways-trending markets due to increased noise and lack of clear direction 🌪️.
Complementary Analysis: Traders should use this indicator in conjunction with other analytical tools to validate signals and reduce the likelihood of false positives.
Asset-Specific Performance: Effectiveness can vary across different assets and timeframes; therefore, testing on diverse instruments is recommended.
NOTES
Data Requirements: Ensure adequate historical data availability for accurate calculations and reliable signal generation.
Demo Testing: Thoroughly test the indicator on demo accounts before deploying it in live trading environments to understand its behavior under various market scenarios.
Parameter Customization: Regularly review and adjust parameters based on evolving market conditions and personal trading objectives.
Advanced Multi-Timeframe Trend DetectorThis script is designed to provide a multi-timeframe trend analysis, combining moving averages (MAs) and the Relative Strength Index (RSI) to determine market direction across different timeframes. Here's a breakdown of what the script does:
Key Components of the Script
Inputs:
Moving Averages: Short and long moving average lengths (9 and 21 periods).
ATR and RSI Lengths: ATR (Average True Range) and RSI (Relative Strength Index) lengths set to 14 periods.
RSI Levels: Overbought and oversold levels for the RSI set to 70 and 30, respectively.
Trend Determination:
A function called trendDirection evaluates the trend based on the closing prices of the current and previous periods, as well as the RSI value.
It classifies the trend as "Up", "Down", or "Sideways" based on the conditions:
Up: Current close is higher than the previous close and RSI is below the overbought level.
Down: Current close is lower than the previous close and RSI is above the oversold level.
Sideways: If neither condition is met.
Table Creation:
A table is created at the bottom right of the chart to display the trend for different timeframes (5m, 15m, 60m, 240m, and Daily).
The table is initialized with headers and then populated with the trend results for each timeframe.
Calculating Trends for Each Timeframe:
The script fetches the current and previous close prices for each timeframe using request.security().
It calculates the RSI for each timeframe and then calls the trendDirection function to determine the trend.
Displaying Trends:
The results are displayed in a table format, with each timeframe and its corresponding trend.
Summary
Overall, this script provides a concise way to visualize market trends across multiple timeframes, using MAs and RSI to offer a more nuanced view of potential market movements. This can help traders make more informed decisions based on the prevailing trends.
cphelperLibrary "cphelper"
ACPU helper library - for private use. Not so meaningful for others.
calculate_rr(targetArray, rrArray, breakevenOnTarget1)
calculates risk reward for given targets
Parameters:
targetArray (float ) : array of targets
rrArray (float ) : array of risk reward
breakevenOnTarget1 (simple bool) : option to breakeven
Returns: array rrArray
trendPairs(l1StartX, l1StartY, l1EndX, l1EndY, l2StartX, l2StartY, l2EndX, l2EndY, zgColor)
creates trendline pairs
Parameters:
l1StartX (int) : startX of first line
l1StartY (float) : startY of first line
l1EndX (int) : endX of first line
l1EndY (float) : endY of first line
l2StartX (int) : startX of second line
l2StartY (float) : startY of second line
l2EndX (int) : endX of second line
l2EndY (float) : endY of second line
zgColor (color) : line color
Returns:
find_type(l1t, l2t, channelThreshold)
Finds type based on trendline pairs
Parameters:
l1t (line) : line1
l2t (line) : line2
channelThreshold (simple float) : theshold for channel identification
Returns: pattern type and flags
getFlags(flags)
Flatten flags
Parameters:
flags (bool ) : array of flags
Returns: - flattened flags isChannel, isTriangle, isWedge, isExpanding, isContracting, isFlat, isRising, isFalling
getType(typeNum)
Get type based on type number
Parameters:
typeNum (int) : number representing type
Returns: String value of type
getStatus(status, maxStatus)
Get status based on integer value representations
Parameters:
status (int) : integer representing current status
maxStatus (int) : integer representing max status
Returns: String status value
calculate_simple_targets(trendLines, settingsMatrix, patternTypeMapping, patternType)
Calculate targets based on trend lines
Parameters:
trendLines (line ) : trendline pair array
settingsMatrix (matrix) : matrix containing settings
patternTypeMapping (string ) : array containing pattern type mapping
patternType (int) : pattern type
Returns: arrays containing long and short calculated targets
recalculate_position(patternTypeAndStatusMatrix, targetMatrix, index, pIndex, status, maxStatus, targetValue, stopValue, dir, breakevenOnTarget1)
Recalculate position values
Parameters:
patternTypeAndStatusMatrix (matrix) : matrix containing pattern type and status
targetMatrix (matrix) : matrix containing targets
index (int) : current index
pIndex (int) : pattern index
status (int) : current status
maxStatus (int) : max status reached
targetValue (float) : current target value
stopValue (float) : current stop value
dir (int) : direction
breakevenOnTarget1 (simple bool) : flag to breakeven upon target1
Returns: new status and maxStatus values
draw_targets(longTargets, shortTargets, index, labelColor, patternName, positionIndex, longMaxStatus, longStatus, shortMaxStatus, shortStatus, tempBoxes, tempLines, tempLabels)
Draw targets on chart
Parameters:
longTargets (matrix) : matrix containing long targets
shortTargets (matrix) : matrix containing short targets
index (int) : current index
labelColor (color) : color of lines and labels
patternName (string) : Pattern name
positionIndex (int) : position on the chart
longMaxStatus (int) : max status for long
longStatus (int) : long status value
shortMaxStatus (int) : max status for short
shortStatus (int) : short status value
tempBoxes (box ) : temporary box array
tempLines (line ) : temporary lines array
tempLabels (label ) : temporary labels array
Returns: void
populate_open_stats(patternIdArray, barMatrix, patternTypeAndStatusMatrix, patternColorArray, longTargets, shortTargets, patternRRMatrix, OpenStatPosition, lblSizeOpenTrades)
Populate open stats table
Parameters:
patternIdArray (int ) : pattern Ids
barMatrix (matrix) : matrix containing bars
patternTypeAndStatusMatrix (matrix) : matrix containing pattern type and status
patternColorArray (color ) : array containing current patter colors
longTargets (matrix) : matrix of long targets
shortTargets (matrix) : matrix of short targets
patternRRMatrix (matrix) : pattern risk reward matrix
OpenStatPosition (simple string) : table position
lblSizeOpenTrades (simple string) : text size
Returns: void
draw_pattern_label(trendLines, patternFlagMatrix, patternTypeAndStatusMatrix, patternColorArray, patternFlags, patternLabelArray, zgColor, patternType, drawLabel, clearOldPatterns, safeRepaint, maxPatternsReference)
Parameters:
trendLines (line )
patternFlagMatrix (matrix)
patternTypeAndStatusMatrix (matrix)
patternColorArray (color )
patternFlags (bool )
patternLabelArray (label )
zgColor (color)
patternType (int)
drawLabel (simple bool)
clearOldPatterns (simple bool)
safeRepaint (simple bool)
maxPatternsReference (simple int)
populate_closed_stats(patternTypeAndStatusMatrix, bullishCounts, bearishCounts, bullishRetouchCounts, bearishRetouchCounts, bullishSizeMatrix, bearishSizeMatrix, bullishRR, bearishRR, ClosedStatsPosition, lblSizeClosedTrades, showSelectivePatternStats, showPatternStats, showStatsInPercentage)
Parameters:
patternTypeAndStatusMatrix (matrix)
bullishCounts (matrix)
bearishCounts (matrix)
bullishRetouchCounts (matrix)
bearishRetouchCounts (matrix)
bullishSizeMatrix (matrix)
bearishSizeMatrix (matrix)
bullishRR (matrix)
bearishRR (matrix)
ClosedStatsPosition (simple string)
lblSizeClosedTrades (simple string)
showSelectivePatternStats (simple bool)
showPatternStats (simple bool)
showStatsInPercentage (simple bool)