Breakouts With Timefilter Strategy [LuciTech]This strategy captures breakout opportunities using pivot high/low breakouts while managing risk through dynamic stop-loss placement and position sizing. It includes a time filter to limit trades to specific sessions.
How It Works
A long trade is triggered when price closes above a pivot high, and a short trade when price closes below a pivot low.
Stop-loss can be set using ATR, prior candle high/low, or a fixed point value. Take-profit is based on a risk-reward multiplier.
Position size adjusts based on the percentage of equity risked.
Breakout signals are marked with triangles, and entry, stop-loss, and take-profit levels are plotted.
moving average filter: Bullish breakouts only trigger above the MA, bearish breakouts below.
The time filter shades the background during active trading hours.
Customization:
Adjustable pivot length for breakout sensitivity.
Risk settings: percentage risked, risk-reward ratio, and stop-loss type.
ATR settings: length, smoothing method (RMA, SMA, EMA, WMA).
Moving average filter (SMA, EMA, WMA, VWMA, HMA) to confirm breakouts.
Wskaźniki i strategie
No wick candlesОпис коду:
Цей скрипт для Pine Script v6 аналізує свічки на графіку і визначає свічки, що не мають фітіля знизу або згори. Він позначає їх відповідними маркерами та змінює колір свічок на помаранчевий для покращення видимості. Цей індикатор допомагає трейдерам ідентифікувати важливі зони на графіку, де свічки мають специфічні риси (без фітіля), і використовується для виявлення потенційних точок для подальших торгівельних рішень.
Що робить цей індикатор:
Зелені свічки без фітіля знизу: Це свічки, у яких ціна відкриття дорівнює мінімуму свічки. Вони позначаються зеленими стрілками під свічкою.
Червоні свічки без фітіля згори: Це свічки, у яких ціна відкриття дорівнює максимуму свічки. Вони позначаються червоними стрілками над свічкою.
Зміна кольору свічок: Свічки, що відповідають умовам (без фітіля знизу або згори), змінюють свій колір на помаранчевий для підвищення видимості та чіткого виділення важливих зон.
Як використовувати:
Цей індикатор допомагає вам ідентифікувати зони, де ціна не має фітіля знизу (для зелених свічок) або згори (для червоних свічок). Ці свічки можуть бути важливими для трейдерів, оскільки вони часто сигналізують про сильні рівні підтримки або опору, де ймовірно відбудеться ретест.
Важливо:
Чекати ретест зони: Після появи таких свічок (особливо у зонах підтримки або опору) можна очікувати, що ці рівні будуть перевірені ще раз. Якщо ціни повертаються до цих зон, це може бути сигналом для входу в ринок.
Торгівля на ретестах: Якщо ціна після першого відскоку знову наближається до цієї зони (де була свічка без фітіля), можна очікувати відскок або продовження тренду, що створює можливість для вхідної позиції.
_______________________________
Description:
This Pine Script v6 indicator analyzes the candles on the chart and identifies those that have no lower or upper wicks. It marks these candles with appropriate markers and changes the candle colors to orange for better visibility. This indicator helps traders identify important zones on the chart where candles exhibit specific characteristics (no wicks), which can be used to spot potential trading opportunities.
What this indicator does:
Green candles with no lower wick: These are candles where the opening price equals the low of the candle. They are marked with a green arrow below the candle.
Red candles with no upper wick: These are candles where the opening price equals the high of the candle. They are marked with a red arrow above the candle.
Candle color change: Candles that meet the conditions (no lower or upper wick) change their color to orange for better visibility and to clearly highlight important zones.
How to use:
This indicator helps you identify zones where prices have no lower wick (for green candles) or no upper wick (for red candles). These candles may be important for traders, as they often indicate strong support or resistance levels where a retest is likely to occur.
Important:
Wait for a zone retest: After these candles appear (especially at support or resistance zones), you can expect these levels to be tested again. If the price returns to these zones, it could signal an opportunity to enter the market.
Trading on retests: If the price approaches the zone (where a wickless candle occurred) again, it may indicate a bounce or trend continuation, which provides a potential entry point.
_matrixLibrary "_matrix"
Library helps visualize matrix as array of arrays and enables users to use array methods such as push, pop, shift, unshift etc along with cleanup activities on drawing objects wherever required
method delete(mtx, rowNumber)
deletes row from a matrix
Namespace types: matrix
Parameters:
mtx (matrix) : matrix of objects
rowNumber (int) : row index to be deleted
Returns: void
method delete(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method delete(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method delete(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method delete(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method delete(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method delete(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method delete(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method delete(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method delete(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method remove(mtx, rowNumber)
remove row from a matrix and returns them to caller
Namespace types: matrix
Parameters:
mtx (matrix) : matrix of objects
rowNumber (int) : row index to be deleted
Returns: type
method remove(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method remove(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method remove(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method remove(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method remove(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method remove(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method remove(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method remove(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method remove(mtx, rowNumber)
Namespace types: matrix
Parameters:
mtx (matrix)
rowNumber (int)
method unshift(mtx, row, maxItems)
unshift array of lines to first row of the matrix
Namespace types: matrix
Parameters:
mtx (matrix) : matrix of lines
row (array) : array of lines to be inserted in row
maxItems (simple int)
Returns: resulting matrix of type
method unshift(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method unshift(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method unshift(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method unshift(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method unshift(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method unshift(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method unshift(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method unshift(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method unshift(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method push(mtx, row, maxItems)
push array of lines to end of the matrix row
Namespace types: matrix
Parameters:
mtx (matrix) : matrix of lines
row (array) : array of lines to be inserted in row
maxItems (simple int)
Returns: resulting matrix of lines
method push(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method push(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method push(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method push(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method push(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method push(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method push(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method push(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method push(mtx, row, maxItems)
Namespace types: matrix
Parameters:
mtx (matrix)
row (array)
maxItems (simple int)
method shift(mtx)
shift removes first row from matrix of lines
Namespace types: matrix
Parameters:
mtx (matrix) : matrix of lines from which the shift operation need to be performed
Returns: void
method shift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method shift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method shift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method shift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method shift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method shift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method shift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method shift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method shift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rshift(mtx)
rshift removes first row from matrix of lines and returns them as array
Namespace types: matrix
Parameters:
mtx (matrix) : matrix of lines from which the rshift operation need to be performed
Returns: type
method rshift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rshift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rshift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rshift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rshift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rshift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rshift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rshift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rshift(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method pop(mtx)
pop removes last row from matrix of lines
Namespace types: matrix
Parameters:
mtx (matrix) : matrix of lines from which the pop operation need to be performed
Returns: void
method pop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method pop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method pop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method pop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method pop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method pop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method pop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method pop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method pop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rpop(mtx)
rpop removes last row from matrix of lines and reutnrs the array to caller
Namespace types: matrix
Parameters:
mtx (matrix) : matrix of lines from which the rpop operation need to be performed
Returns: void
method rpop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rpop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rpop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rpop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rpop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rpop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rpop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rpop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method rpop(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method clear(mtx)
clear clears the matrix
Namespace types: matrix
Parameters:
mtx (matrix) : matrix of lines which needs to be cleared
Returns: void
method clear(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method clear(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method clear(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method clear(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method clear(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method clear(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method clear(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method clear(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method clear(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method flush(mtx)
clear clears the matrix but retains the drawing objects
Namespace types: matrix
Parameters:
mtx (matrix) : matrix of lines which needs to be cleared
Returns: void
method flush(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method flush(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method flush(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method flush(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method flush(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method flush(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method flush(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method flush(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
method flush(mtx)
Namespace types: matrix
Parameters:
mtx (matrix)
Supertrend and Fast and Slow EMA StrategyThis strategy combines Exponential Moving Averages (EMAs) and Average True Range (ATR) to create a simple, yet effective, trend-following approach. The strategy filters out fake or sideways signals by incorporating the ATR as a volatility filter, ensuring that trades are only taken during trending conditions. The key idea is to buy when the short-term trend (Fast EMA) aligns with the long-term trend (Slow EMA), and to avoid trades during low volatility periods.
How It Works:
EMA Crossover:
1). Buy Signal: When the Fast EMA (shorter-term, e.g., 20-period) crosses above the Slow EMA (longer-term, e.g., 50-period), this indicates a potential uptrend.
2). Sell Signal: When the Fast EMA crosses below the Slow EMA, this indicates a potential downtrend.
ATR Filter:
1). The ATR (Average True Range) is used to measure market volatility.
2). Trending Market: If the ATR is above a certain threshold, it indicates high volatility and a trending market. Only when ATR is above the threshold will the strategy generate buy/sell signals.
3). Sideways Market: If ATR is low (sideways or choppy market), the strategy will suppress signals to avoid entering during non-trending conditions.
When to Buy:
1). Condition 1: The Fast EMA crosses above the Slow EMA.
2). Condition 2: The ATR is above the defined threshold, indicating that the market is trending (not sideways or choppy).
When to Sell:
1). Condition 1: The Fast EMA crosses below the Slow EMA.
2). Condition 2: The ATR is above the defined threshold, confirming that the market is in a downtrend.
When Not to Enter the Trade:
1). Sideways Market: If the ATR is below the threshold, signaling low volatility and sideways or choppy market conditions, the strategy will not trigger any buy or sell signals.
2). False Crossovers: In low volatility conditions, price action tends to be noisy, which could lead to false signals. Therefore, avoiding trades during these periods reduces the risk of false breakouts.
Additional Factors to Consider Adding:
=> RSI (Relative Strength Index): Adding an RSI filter can help confirm overbought or oversold conditions to avoid buying into overextended moves or selling too low.
1). RSI Buy Filter: Only take buy signals when RSI is below 70 (avoiding overbought conditions).
2). RSI Sell Filter: Only take sell signals when RSI is above 30 (avoiding oversold conditions).
=> MACD (Moving Average Convergence Divergence): Using MACD can help validate the strength of the trend.
1). Buy when the MACD histogram is above the zero line and the Fast EMA crosses above the Slow EMA.
2). Sell when the MACD histogram is below the zero line and the Fast EMA crosses below the Slow EMA.
=> Support/Resistance Levels: Adding support and resistance levels can help you understand market structure and decide whether to enter or exit a trade.
1). Buy when price breaks above a significant resistance level (after a valid buy signal).
2). Sell when price breaks below a major support level (after a valid sell signal).
=> Volume: Consider adding a volume filter to ensure that buy/sell signals are supported by strong market participation. You could only take signals if the volume is above the moving average of volume over a certain period.
=> Trailing Stop Loss: Instead of a fixed stop loss, use a trailing stop based on a percentage or ATR to lock in profits as the trade moves in your favor.
=> Exit Signals: Besides the EMA crossover, consider adding Take Profit or Stop Loss levels, or even using a secondary indicator like RSI to signal an overbought/oversold condition and exit the trade.
Example Usage:
=> Buy Example:
1). Fast EMA (20-period) crosses above the Slow EMA (50-period).
2). The ATR is above the threshold, confirming that the market is trending.
3). Optionally, if RSI is below 70, the buy signal is further confirmed as not being overbought.
=> Sell Example:
1). Fast EMA (20-period) crosses below the Slow EMA (50-period).
2). The ATR is above the threshold, confirming that the market is trending.
3). Optionally, if RSI is above 30, the sell signal is further confirmed as not being oversold.
Conclusion:
This strategy helps to identify trending markets and filters out sideways or choppy market conditions. By using Fast and Slow EMAs combined with the ATR volatility filter, it provides a reliable approach to catching trending moves while avoiding false signals during low-volatility, sideways markets.
Smoothed EMA LinesThe "Smoothed EMA Lines" script is a technical analysis tool designed to help traders identify trends and potential support/resistance levels in financial markets. The script plots exponential moving averages (EMAs) of the closing price for five commonly used time periods: 8, 13, 21, 55, and 200.
Key features of the script include:
Overlay: The EMAs are plotted directly on the price chart, making it easy to analyze the relationship between the moving averages and price action.
Smoothing: The script applies an additional smoothing function to each EMA, using a simple moving average (SMA) of a user-defined length. This helps to reduce noise and provide a clearer picture of the trend.
Customizable lengths: Users can easily adjust the length of each EMA and the smoothing period through the script's input parameters.
Color-coded plots: Each EMA is assigned a unique color (8: blue, 13: green, 21: orange, 55: red, 200: purple) for easy identification on the chart.
Traders can use the "Smoothed EMA Lines" script to:
Identify the overall trend direction (bullish, bearish, or neutral) based on the arrangement of the EMAs.
Spot potential support and resistance levels where the price may interact with the EMAs.
Look for crossovers between EMAs as potential entry or exit signals.
Combine the EMA analysis with other technical indicators and price action patterns for a more comprehensive trading strategy.
The "Smoothed EMA Lines" script provides a clear, customizable, and easy-to-interpret visualization of key exponential moving averages, helping traders make informed decisions based on trend analysis.
Asset Valuation ComparisonThis indicator calculates and visualizes z-scores to compare the valuation of an asset (the charted symbol) against gold, bonds, and either its own price or USD (depending on the isCurrency input). A z-score measures how many standard deviations a value is from its mean over a specified lookback period (default: 200 bars).
Horizontal Lines:
0 (Zero Line): The mean value of the z-score.
+1 (Overvalued Threshold): One standard deviation above the mean.
-1 (Undervalued Threshold): One standard deviation below the mean.
SMA High & Low V3📌 Summary of Script Functionality
This script is a custom TradingView indicator designed to analyze market trends using SMA (Simple Moving Averages) and RSI (Relative Strength Index). It consists of the following key components:
1️⃣ SMA High & SMA Low (from H4 timeframe)
- SMA High is calculated from the highest price.
- SMA Low is calculated from the lowest price.
- These are used as support and resistance levels.
2️⃣ SMA Color Coding (Trend Detection)
- Green → When the closing price is above SMA High → Uptrend
- Red → When the closing price is below SMA Low → Downtrend
- Orange → When the price is between SMA High & SMA Low → Ranging market
3️⃣ RSI Marker (Colored Dots Below the Chart)
- RSI (14) is calculated and displayed as colored markers at the bottom.
- Green Dot → RSI > 50 (indicating bullish momentum)
- Red Dot → RSI < 50 (indicating bearish momentum)
📌 Trading Strategy (Entry & Exit Points)
✅ 1. Buy Entry (Long Position)
- Price is above SMA High (SMA turns green)
- RSI > 50 (Green dots appear below the chart)
- Enter a Buy trade when the price pulls back near SMA High and shows a reversal candlestick pattern.
✅ 2. Sell Entry (Short Position)
- Price is below SMA Low (SMA turns red)
- RSI < 50 (Red dots appear below the chart)
- Enter a Sell trade when the price retraces near SMA Low and shows a reversal candlestick pattern.
✅ 3. No Trade Zone (Avoid Trading)
- If SMA is orange (price is between SMA High & SMA Low)
- RSI is unclear → Wait for a breakout before entering a trade.
Williams %RIndicator Name:
Williams %R
Disclaimer
Various factors can affect changes in the value of financial assets. These include, but are not limited to, geopolitical issues, industry policies, and technological developments within the industry. Other influencing elements include expectations of interest rates, inflation or deflation, unemployment rates, company development strategies, company revenues and liabilities, investor sentiment, and preferences for investor trading strategies. These factors may pose a risk of loss to investors' investment costs. Moreover, the past performance of individual trades does not guarantee future results or returns. Therefore, no a single idea, algorithm, script, indicator, or system content can account for all factors influencing financial asset value fluctuations. Investors are fully responsible for any investment decisions they make, and such decisions should be based entirely on an assessment of their financial situation, investment goals, risk tolerance, and liquidity needs.
The content provided in my ideas, algorithms, scripts, indicators, and systems is intended solely to demonstrate changes in the value of financial assets for educational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. The provider will not accept liability for any loss or damage, including, without limitation, any loss of investment costs, which may arise directly or indirectly from the use of or reliance on such information.
About Coffee
I would be delighted if my ideas, algorithms, scripts, indicators, and code can assist or inspire your pricing model. Should you feel inclined to buy me a cup of coffee, please feel free to contact me on TradingView. I am also more than willing to share my proprietary code indicators with you, along with practical usage tips for the related indicators.
CRYPTOCAP:ETH | CRYPTOCAP:USDT | CRYPTOCAP:USDC
0xE1b33484211595Ba4Dd9d6fEa52D64e873AfDe12
CRYPTOCAP:SOL | CRYPTOCAP:USDT | CRYPTOCAP:USDC
H8P3o2mqsb4u1R3TZa9PXKg5e5weyQFHVFMfZUPjheYE
CRYPTOCAP:USDT | CRYPTOCAP:USDC
TKQQNAZqBLQQMBSE98kEQdg6wRRqykNveh
CRYPTOCAP:BTC
bc1pkylhtk7srdqk6cyk7vfggzkkv8898drnmjpnvv69mp99uswh6rlstq63vr
Introduction to Indicator
Non-negative and negative values of the Williams %R indicator model.
Applicable to all time intervals.
Indicator effect display
S&P 500 Index ( SP:SPX )
S&P 500 Index ( SP:SPX )
Tesla, Inc. ( NASDAQ:TSLA )
Tesla, Inc. ( NASDAQ:TSLA )
Bitcoin / U.S. Dollar ( BITSTAMP:BTCUSD )
Bitcoin / U.S. Dollar ( BITSTAMP:BTCUSD )
KDJ Stochastic of MA ModelIndicator Name:
KDJ Stochastic of MA Model
Disclaimer
Various factors can affect changes in the value of financial assets. These include, but are not limited to, geopolitical issues, industry policies, and technological developments within the industry. Other influencing elements include expectations of interest rates, inflation or deflation, unemployment rates, company development strategies, company revenues and liabilities, investor sentiment, and preferences for investor trading strategies. These factors may pose a risk of loss to investors' investment costs. Moreover, the past performance of individual trades does not guarantee future results or returns. Therefore, no a single idea, algorithm, script, indicator, or system content can account for all factors influencing financial asset value fluctuations. Investors are fully responsible for any investment decisions they make, and such decisions should be based entirely on an assessment of their financial situation, investment goals, risk tolerance, and liquidity needs.
The content provided in my ideas, algorithms, scripts, indicators, and systems is intended solely to demonstrate changes in the value of financial assets for educational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. The provider will not accept liability for any loss or damage, including, without limitation, any loss of investment costs, which may arise directly or indirectly from the use of or reliance on such information.
About Coffee
I would be delighted if my ideas, algorithms, scripts, indicators, and code can assist or inspire your pricing model. Should you feel inclined to buy me a cup of coffee, please feel free to contact me on TradingView. I am also more than willing to share my proprietary code indicators with you, along with practical usage tips for the related indicators.
CRYPTOCAP:ETH | CRYPTOCAP:USDT | CRYPTOCAP:USDC
0xE1b33484211595Ba4Dd9d6fEa52D64e873AfDe12
CRYPTOCAP:SOL | CRYPTOCAP:USDT | CRYPTOCAP:USDC
H8P3o2mqsb4u1R3TZa9PXKg5e5weyQFHVFMfZUPjheYE
CRYPTOCAP:USDT | CRYPTOCAP:USDC
TKQQNAZqBLQQMBSE98kEQdg6wRRqykNveh
CRYPTOCAP:BTC
bc1pkylhtk7srdqk6cyk7vfggzkkv8898drnmjpnvv69mp99uswh6rlstq63vr
Introduction to Indicator
KDJ stochastic values generated by various from 7 types of moving averages (WSMA, SMA, EMA, RMA, HMA, WMA, VWMA) pricing models of the same cycles.
Applicable to all time intervals.
Indicator effect display
S&P 500 Index ( SP:SPX )
S&P 500 Index ( SP:SPX )
Tesla, Inc. ( NASDAQ:TSLA )
Tesla, Inc. ( NASDAQ:TSLA )
Bitcoin / U.S. Dollar ( BITSTAMP:BTCUSD )
Bitcoin / U.S. Dollar ( BITSTAMP:BTCUSD )
Rocket Moving AverageThe **Rocket Moving Average** is a simple Pine Script indicator based on a **20-period Simple Moving Average (SMA)**. The script begins with **version 5** of Pine Script and sets up an indicator named **"Rocket Moving Average"** with the `overlay=true` parameter, ensuring it is plotted directly on the price chart. The **SMA** is calculated using the closing prices over the last **20 candles**, providing a smoothed trend line that helps traders identify price direction. The moving average is then plotted as a **purple-colored line (RGB: 167, 8, 162)** using the `plot()` function. This indicator is useful for trend analysis and identifying support/resistance levels.
Asset Valuation ComparisonThis indicator calculates and visualizes z-scores to compare the valuation of an asset (the charted symbol) against gold, bonds, and either its own price or USD (depending on the isCurrency input). A z-score measures how many standard deviations a value is from its mean over a specified lookback period (default: 200 bars).
Horizontal Lines:
0 (Zero Line): The mean value of the z-score.
+1 (Overvalued Threshold): One standard deviation above the mean.
-1 (Undervalued Threshold): One standard deviation below the mean.
Oracle Fear and GreedCustom Fear and Greed Oscillator with Movement Table
This indicator provides a unique perspective on market sentiment by calculating a custom fear/greed oscillator based on Heikin-Ashi candles. The oscillator is centered at 50, with values above 50 suggesting bullish sentiment ("greed") and below 50 indicating bearish sentiment ("fear"). The calculation incorporates candle body size, range, and a custom "candle strength" measure, providing an innovative approach to understanding market behavior.
Key Features:
Heikin-Ashi Based Oscillator:
Utilizes Heikin-Ashi candles to compute a custom oscillator. The value is centered at 50, with deviations indicating the prevailing market sentiment.
Dynamic Gradient Coloring:
The oscillator line is dynamically colored with a smooth gradient—from blue (representing fear) at lower values to pink (representing greed) at higher values—making it visually intuitive.
Horizontal Levels:
Two additional horizontal lines are drawn at 40.62 ("Bottom") and 60.74 ("Top"), which may serve as potential oversold and overbought boundaries respectively.
Fast Movement Metrics:
Every 5 bars, the indicator calculates the percentage change in the Heikin-Ashi close. This fast movement analysis distinguishes rapid downward moves (fast fear) from rapid upward moves (fast greed), helping to capture sudden market shifts.
Information Table:
A table in the top-right corner displays the most recent fast movement values for both fear and greed, offering quick insights into short-term market dynamics.
Usage Tips:
Adjust the smoothing period to match your preferred trading timeframe.
Use the oscillator alongside other analysis tools for more robust trading decisions.
Ideal for those looking to experiment with new approaches to sentiment analysis and momentum detection.
Disclaimer:
This indicator is intended for educational and experimental purposes. It should not be used as the sole basis for any trading decisions. Always combine with comprehensive market analysis and risk management strategies.
You can add this description when publishing your indicator on TradingView to help other users understand its features and intended use.
PriorHourRangeLevels_v0.1PriorHourRangeLevels_v0.1
Created by dc_77 | © 2025 | Mozilla Public License 2.0
Overview
"PriorHourRangeLevels_v0.1" is a versatile Pine Script™ indicator designed to help traders visualize and analyze price levels based on the prior hour’s range. It overlays key levels—High, Low, 75%, 50% (EQ), and 25%—from the previous hour onto the current price chart, alongside the current hour’s opening price. With customizable display options and time zone support, it’s ideal for intraday traders looking to identify support, resistance, and breakout zones.
How It Works
Hourly Reset: The indicator detects the start of each hour based on your chosen time zone (e.g., "America/New_York" by default).
Prior Hour Range: It calculates the High and Low of the previous hour, then derives three additional levels:
75%: 75% of the range above the Low.
EQ (50%): The midpoint of the range.
25%: 25% of the range above the Low.
Current Hour Open: Displays the opening price of the current hour.
Projection: Lines extend forward (default: 24 bars) to project these levels into the future, aiding in real-time analysis.
Alerts: Triggers alerts when the price crosses any of the prior hour’s levels (High, 75%, EQ, 25%, Low).
Key Features
Time Zone Flexibility: Choose from options like UTC, New York, Tokyo, or London to align with your trading session.
Visual Customization:
Toggle visibility for each level (High, Low, 75%, EQ, 25%, Open, and Anchor).
Adjust line styles (Solid, Dashed, Dotted), colors, and widths.
Show or hide labels with adjustable sizes (Tiny, Small, Normal, Large).
Anchor Line: A vertical line marks the start of the prior hour, with optional labeling.
Alert Conditions: Set up notifications for price crossings to catch key moments without watching the chart.
Usage Tips
Use the High and Low as potential breakout levels, while 75%, EQ, and 25% act as intermediate support/resistance zones.
Trend Confirmation: Watch how price interacts with the EQ (50%) level to gauge momentum.
Session Planning: Adjust the time zone to match your market (e.g., "Europe/London" for FTSE trading).
Projection Offset: Extend or shorten the lines (via "Projection Offset") based on your chart timeframe.
Inputs
Time Zone: Select your preferred market time zone.
Anchor Settings: Show/hide the prior hour start line, style, color, width, and label.
Level Settings: Customize visibility, style, color, width, and labels for Open, High, 75%, EQ, 25%, and Low.
Display: Set projection length and label size.
Feedback welcome—happy trading!
SMA High & LowThis Pine Script indicator plots two Simple Moving Averages (SMA) based on high and low prices over a specified length. It also references the H4 (4-hour) timeframe SMA to determine the color of the lines:
- Green if the current price is above the H4 SMA High.
- Red if the current price is below the H4 SMA Low.
- Orange if the price is between the H4 SMA High and Low.
This helps traders visualize market trends based on higher timeframe SMA levels.
SMA High & LowThis script is written in Pine Script v5 for TradingView and is used to plot two Simple Moving Averages (SMA) based on the highest and lowest prices over a specified number of bars.
SQC These indicator will help you to find out quantity of stock based on your risk per trade divide by difference of high and low of candle.
Moving Average ModelsIndicator Name:
Moving Average Models
Disclaimer
Various factors can affect changes in the value of financial assets. These include, but are not limited to, geopolitical issues, industry policies, and technological developments within the industry. Other influencing elements include expectations of interest rates, inflation or deflation, unemployment rates, company development strategies, company revenues and liabilities, investor sentiment, and preferences for investor trading strategies. These factors may pose a risk of loss to investors' investment costs. Moreover, the past performance of individual trades does not guarantee future results or returns. Therefore, no a single idea, algorithm, script, indicator, or system content can account for all factors influencing financial asset value fluctuations. Investors are fully responsible for any investment decisions they make, and such decisions should be based entirely on an assessment of their financial situation, investment goals, risk tolerance, and liquidity needs.
The content provided in my ideas, algorithms, scripts, indicators, and systems is intended solely to demonstrate changes in the value of financial assets for educational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. The provider will not accept liability for any loss or damage, including, without limitation, any loss of investment costs, which may arise directly or indirectly from the use of or reliance on such information.
About Coffee
I would be delighted if my ideas, algorithms, scripts, indicators, and code can assist or inspire your pricing model. Should you feel inclined to buy me a cup of coffee, please feel free to contact me on TradingView. I am also more than willing to share my proprietary code indicators with you, along with practical usage tips for the related indicators.
CRYPTOCAP:ETH | CRYPTOCAP:USDT | CRYPTOCAP:USDC
0xE1b33484211595Ba4Dd9d6fEa52D64e873AfDe12
CRYPTOCAP:SOL | CRYPTOCAP:USDT | CRYPTOCAP:USDC
H8P3o2mqsb4u1R3TZa9PXKg5e5weyQFHVFMfZUPjheYE
CRYPTOCAP:USDT | CRYPTOCAP:USDC
TKQQNAZqBLQQMBSE98kEQdg6wRRqykNveh
CRYPTOCAP:BTC
bc1pkylhtk7srdqk6cyk7vfggzkkv8898drnmjpnvv69mp99uswh6rlstq63vr
Introduction to Indicator
This is a moving average indicator designed to facilitate the use of different types of moving averages to measure price changes. This indicator allows you to choose from 6 types of moving averages (SMA, EMA, RMA, HMA, WMA, VWMA) and set 12 periods. Moreover, it incorporates the concept of the Fibonacci golden ratio. By analyzing the trajectory of the short and long period Fibonacci golden ratio lines, it provides applicable evidence for determining the potential behavior of financial asset prices.
Applicable to all time intervals.
Indicator effect display
S&P 500 Index ( SP:SPX )
S&P 500 Index ( SP:SPX )
Tesla, Inc. ( NASDAQ:TSLA )
Tesla, Inc. ( NASDAQ:TSLA )
Bitcoin / U.S. Dollar ( BITSTAMP:BTCUSD )
Bitcoin / U.S. Dollar ( BITSTAMP:BTCUSD )
Heikin-Ashi RSI VolX StrategyThis TradingView Pine Script integrates Heikin-Ashi candles, the Relative Strength Index (RSI), and volume trends to generate buy and sell signals. It first calculates Heikin-Ashi values by averaging price movements, smoothing out market noise to highlight trends more clearly. The script then computes a 14-period RSI to measure momentum, focusing on whether RSI crosses above 50 (indicating bullish momentum) or below 50 (indicating bearish momentum). To confirm trade signals, the script includes a volume filter, calculating a 20-period moving average of volume and ensuring that trades are only triggered when volume exceeds this average, preventing false signals in low-liquidity conditions. Buy signals appear when RSI crosses above 50 and volume is strong, while sell signals occur when RSI drops below 50 with high volume. These signals are visually marked with green up arrows for buys and red down arrows for sells, while Heikin-Ashi candles are color-coded to represent trends—green for uptrends and red for downtrends. This strategy helps traders filter out weak trades and identify stronger trends with confirmation from both momentum and volume. It is useful for trend-following strategies and can be enhanced with additional filters like moving averages or stop-loss levels for risk management.
OPR Sessions EU/US By Pangolin76
// © 2024 Pangolin76 - This indicator is distributed for free and cannot be resold
// This script displays the Open Price Range (OPR) for European and US sessions
// Useful for identifying key areas and pullback opportunities
OPR Sessions by Pangolin76
Description:
The OPR Sessions indicator is designed to highlight key market opening price ranges for the European (EU) and US trading sessions. It visually marks the first 15 minutes of both sessions, helping traders identify critical support and resistance levels formed at the beginning of each session.
🔹 Key Features:
✅ Displays the Opening Price Range (OPR) for the European (09:00 - 09:15) and US (15:30 - 15:45) sessions (adjustable time settings)
✅ Plots a box around the session range, dynamically updating as price evolves
✅ Draws extended high, low, and mid-range levels for further analysis
✅ Fully customizable colors and time settings for each session
🔹 Purpose & How It Works:
📌 During the first 15 minutes of each selected session, the indicator tracks the highest and lowest price levels, shading the session range with a box.
📌 Once the session ends, the high, low, and mid-range lines extend to provide key reference levels for traders throughout the trading day.
📌 Breakout & Pullback Trading Strategy: When a candle breaks out of the OPR after the 15-minute session, traders can wait for a pullback to the session high/low and use these levels as potential entry points for long or short trades.
📌 Works on any timeframe, ideally used on intraday charts (1M, 5M, 15M, etc.)
🚀 Perfect for intraday traders and scalpers looking to capitalize on market reactions to session openings!
🔧 Customization Options:
✔ Enable/Disable the EU & US Sessions independently
✔ Modify session start & end times
✔ Adjust box and line colors to match your trading setup
✔ Configure line length for extended session range visibility
📈 Enhance your trading strategy with precise session range tracking!
Try the OPR Sessions by Pangolin76 now and gain an edge in session-based trading! 🚀🔥
WAGMI LAB Bitcoin SCALPING TREND REV + VOL FILTER WAGMI LAB Bitcoin SCALPING TREND REV + VOL FILTER is a powerful scalping indicator designed for Bitcoin (BTC) on M1, M5, and M15 timeframes. It helps traders identify trend reversals with volume confirmation, making it an effective tool for short-term trading.
Key Features:
✅ Hull Moving Average (HMA) – A fast-reacting trend filter to determine bullish or bearish momentum.
✅ MACD Confirmation – Ensures momentum shift alignment for stronger entry signals.
✅ Volume-Based Filtering – Uses a moving average of volume to filter out weak signals and avoid false breakouts.
✅ Clear Buy & Sell Signals – Plots green arrows for buy signals and red arrows for sell signals, making decision-making easier.
This indicator is ideal for scalpers looking to trade Bitcoin's rapid price movements efficiently while minimizing noise. 🚀💰
👉 Recommended Timeframes: M1, M5, M15
👉 Best Used With: Additional support/resistance levels or order flow analysis for enhanced accuracy.
Try it now and take your Bitcoin scalping to the next level! 🚀🔥
Double Top/Bottom Fractals DetectorDouble Top/Bottom Detector with Williams Fractals (Extended + Early Signal)
This indicator combines the classic Williams Fractals methodology with an enhanced mechanism to detect potential reversal patterns—namely, double tops and double bottoms. It does so by using two separate detection schemes:
Confirmed Fractals for Pattern Formation:
The indicator calculates confirmed fractals using the traditional Williams Fractals rules. A fractal is confirmed if a bar’s high (for an up fractal) or low (for a down fractal) is the highest or lowest compared to a specified number of bars on both sides (default: 2 bars on the left and 2 on the right).
Once a confirmed fractal is identified, its price (high for tops, low for bottoms) and bar index are stored in an internal array (up to the 10 most recent confirmed fractals).
When a new confirmed fractal appears, the indicator compares it with previous confirmed fractals. If the new fractal is within a user-defined maximum bar distance (e.g., 20 bars) and the price difference is within a specified tolerance (default: 0.8%), the indicator assumes that a double top (if comparing highs) or a double bottom (if comparing lows) pattern is forming.
A signal is then generated by placing a label on the chart—SELL for a double top and BUY for a double bottom.
Early Signal Generation:
To capture potential reversals sooner, the indicator also includes an “early signal” mechanism. This uses asymmetric offsets different from the confirmed fractal calculation:
Signal Right Offset: Defines the candidate bar used for early signal detection (default is 1 bar).
Signal Left Offset: Defines the number of bars to the left of the candidate that must confirm the candidate’s price is the extreme (default is 2 bars).
For an early top candidate, the candidate bar’s high must be greater than the highs of the bars specified by the left offset and also higher than the bar immediately to its right. For an early bottom candidate, the corresponding condition applies for lows.
If the early candidate’s price level is within the acceptable tolerance when compared to any of the previously stored confirmed fractals (again, within the allowed bar distance), an early signal is generated—displayed as SELL_EARLY or BUY_EARLY.
The early signal block can be enabled or disabled via a checkbox input, allowing traders to choose whether to use these proactive signals.
Key Parameters:
n:
The number of bars used to confirm a fractal. The fractal is considered valid if the bar’s high (or low) is higher (or lower) than the highs (or lows) of the preceding and following n bars.
maxBarsApart:
The maximum number of bars allowed between two fractals for them to be considered part of the same double top or bottom pattern.
tolerancePercent:
The maximum allowed percentage difference (default: 0.8%) between the high (or low) values of two fractals to qualify them as matching for the pattern.
signalLeftOffset & signalRightOffset:
These parameters define the asymmetric offsets for early signal detection. The left offset (default: 2) specifies how many bars to look back, while the right offset (default: 1) specifies the candidate bar’s position.
earlySignalsEnabled:
A checkbox option that allows users to enable or disable early signal generation. When disabled, the indicator only uses confirmed fractal signals.
How It Works:
Fractal Calculation and Plotting:
The confirmed fractals are calculated using the traditional method, ensuring robust identification by verifying the pattern with a symmetrical offset. These confirmed fractals are plotted on the chart using triangle shapes (upwards for potential double bottoms and downwards for potential double tops).
Pattern Detection:
Upon detection of a new confirmed fractal, the indicator checks up to 10 previous fractals stored in internal arrays. If the new fractal’s high or low is within the tolerance range and close enough in terms of bars to one of the stored fractals, it signifies the formation of a double top or double bottom. A corresponding SELL or BUY label is then placed on the chart.
Early Signal Feature:
If enabled, the early signal block checks for candidate bars based on the defined asymmetric offsets. These candidates are evaluated to see if their high/low levels meet the early confirmation criteria relative to nearby bars. If they also match one of the confirmed fractal levels (within tolerance and bar distance), an early signal is issued with a label (SELL_EARLY or BUY_EARLY) on the chart.
Benefits for Traders:
Timely Alerts:
By combining both confirmed and early signals, the indicator offers a proactive approach to detect reversals sooner, potentially improving entry and exit timing.
Flexibility:
With adjustable parameters (including the option to disable early signals), traders can fine-tune the indicator to better suit different markets, timeframes, and trading styles.
Enhanced Pattern Recognition:
The dual-layered approach (confirmed fractals plus early detection) helps filter out false signals and captures the essential formation of double tops and bottoms more reliably.