Traders Reality MainThis indicator serves as the Tradingview equivalent of an MT4 indicator suite.
It differentiates from existing TV indicators in its style and total feature set (most notably PVSRA and PVSRA Override)
It was originally designed for forex markets, and it will work for crypto as well, but it has not been tested on stocks.
List of features:
PVSRA Candles
Market boxes (NY/JP/ HK /UK/ FR and Brinks Boxes)
5/13/50/200/800 EMAs (cloud for 50EMA)
Pivot points (S/M/R 1,2,3; PP )
Yesterday and Last Week price range
Average Daily Range (Weekly and Monthly as well)
Daily Open
PVSRA Override
Psychological High/Low
Vector Candle Zones
All of these are configurable in the indicator settings.
Usage instructions:
PVSRA Candle colors meaning:
Green (bull) and red (bear): Candles with volume >= 200% of the average volume of the 10 previous chart candles, and candles where the product of candle spread x candle volume is >= the highest for the 10 previous chart time candles.
Blue (bull) and blue-violet (bear): Candles with volume >= 150% of the average volume of the 10 previous chart candles
PVSRA Override
In order to get reliable bar coloring, we need accurate data. If you're on a chart with low volume on some obscure exchange, you may want to use another exchanges datafeed for the symbol you are on to calculate the PVSRA bar colors with. This lets you do exactly that. By default it's off, but you can turn it on and use INDEX:BTCUSD, or really any other chart you want. You can combine charts too, e.g. use BINANCE:BTCUSDT+COINBASE:BTCUSD.
PVSRA Alerts
Alerts can be made for PVSRA "vector"/"climax" candles:
1. Create Alert (Clock with + sign)
2. Set Condition: "Traders Reality",
3. Select "Alert on Vector Candle",
4. Set it to Once per Bar,
5. choose your notification options.
Market boxes
The market boxes times are configurable and will change depending on the exchange timezone. I recommend to pick your main exchange/chart and adjust the times so that they are correct. Technically you will need to shift the time from the exchanges' timezone to GMT . Default values should be good for UTC based exchanges in current US+UK summer time.
Psychological High/Low
Configurable for Crypto or Forex - draws the perceived Psychological High/Low ranges for the week. Can display historical values too.
Vector Candle Zones
displays unrecovered liquidity left behind on unrecovered vectors. Configurable to take into account candle bodies or candles and wicks.
Recommended additional Tradingview indicator(s):
- TDI - Goldminds, Edited for Market Makers Method by Jakub Donovan
Footnotes
The code was originally by plasmapug, continued development (with permission) is now done by infernix and peshocore and xtech5192 in collaboration with TradersReality.
If you have suggestions or questions, you can message me or leave a comment.
Tìm kiếm tập lệnh với "chart"
Oscillator Workbench — Chart [LucF]█ OVERVIEW
This indicator uses an on-chart visual framework to help traders with the interpretation of any oscillator's behavior. The advantage of using this tool is that you do not need to know all the ins and outs of a particular oscillator such as RSI, CCI, Stochastic, etc. Your choice of oscillator and settings in this indicator will change its visuals, which allows you to evaluate different configurations in the context of how the workbench models oscillator behavior. My hope is that by using the workbench, you may come up with an oscillator selection and settings that produce visual cues you find useful in your trading.
The workbench works on any symbol and timeframe. It uses the same presentation engine as my Delta Volume Channels indicator; those already familiar with it will feel right at home here.
█ CONCEPTS
Oscillators
An oscillator is any signal that moves up and down a centerline. The centerline value is often zero or 50. Because the range of oscillator values is different than that of the symbol prices we look at on our charts, it is usually impossible to display an oscillator on the chart, so we typically put oscillators in a separate pane where they live in their own space. Each oscillator has its own profile and properties that dictate its behavior and interpretation. Oscillators can be bounded , meaning their values oscillate between fixed values such as 0 to 100 or +1 to -1, or unbounded when their maximum and minimum values are undefined.
Oscillator weight
How do you display an oscillator's value on a chart showing prices when both values are not on the same scale? The method I use here converts the oscillator's value into a percentage that is used to weigh a reference line. The weight of the oscillator is calculated by maintaining its highest and lowest value above and below its centerline since the beginning of the chart's history. The oscillator's relative position in either of those spaces is then converted to a percentage, yielding a positive or negative value depending on whether the oscillator is above or below its centerline. This method works equally well with bounded and unbounded oscillators.
Oscillator Channel
The oscillator channel is the space between two moving averages: the reference line and a weighted version of that line. The reference line is a moving average of a type, source and length which you select. The weighted line uses the same settings, but it averages the oscillator-weighted price source.
The weight applied to the source of the reference line can also include the relative size of the bar's volume in relation to previous bars. The effect of this is that the oscillator's weight on bars with higher total volume will carry greater weight than those with lesser volume.
The oscillator channel can be in one of four states, each having its corresponding color:
• Bull (teal): The weighted line is above the reference line.
• Strong bull (lime): The bull condition is fulfilled and the bar's close is above the reference line and both the reference and the weighted lines are rising.
• Bear (maroon): The weighted line is below the reference line.
• Strong bear (pink): The bear condition is fulfilled and the bar's close is below the reference line and both the reference and the weighted lines are falling.
Divergences
In the context of this indicator, a divergence is any bar where the slope of the reference line does not match that of the weighted line. No directional bias is assigned to divergences when they occur. You can also choose to define divergences as differences in polarity between the oscillator's slope and the polarity of close-to-close values. This indicator's divergences are designed to identify transition levels. They have no polarity; their bullish/bearish bias is determined by the behavior of price relative to the divergence channel after the divergence channel is built.
Divergence Channel
The divergence channel is the space between two levels (by default, the bar's low and high ) saved when divergences occur. When price has breached a channel and a new divergence occurs, a new channel is created. Until that new channel is breached, bars where additional divergences occur will expand the channel's levels if the bar's price points are outside the channel.
Price breaches of the divergence channel will change its state. Divergence channels can be in one of five different states:
• Bull (teal): Price has breached the channel to the upside.
• Strong bull (lime): The bull condition is fulfilled and the oscillator channel is in the strong bull state.
• Bear (maroon): Price has breached the channel to the downside.
• Strong bear (pink): The bear condition is fulfilled and the oscillator channel is in the strong bear state.
• Neutral (gray): The channel has not been breached.
█ HOW TO USE THE INDICATOR
Load the indicator on an active chart (see here if you don't know how).
The default configuration displays:
• The Divergence channel's levels.
• Bar colors using the state of the oscillator channel.
The default settings use:
• RSI as the oscillator, using the close source and a length of 20 bars.
• An Arnaud-Legoux moving average on the close and a length of 20 bars as the reference line.
• The weighted version of the reference line uses only the oscillator's weight, i.e., without the relative volume's weight.
The weighted line is capped to three standard deviations of the reference.
• The divergence channel's levels are determined using the high and low of the bars where divergences occur.
Breaches of the channel require a bar's low to move above the top of the channel, and the bar's high to move below the channel's bottom.
No markers appear on the chart; if you want to create alerts from this script, you will need first to define the conditions that will trigger the markers, then create the alert, which will trigger on those same conditions.
To learn more about how to use this indicator, you must understand the concepts it uses and the information it displays, which requires reading this description. There are no videos to explain it.
█ FEATURES
The script's inputs are divided in five sections: "Oscillator", "Oscillator channel", "Divergence channel", "Bar Coloring" and "Marker/Alert Conditions".
Oscillator
This is where you configure the oscillator you want to study. Thirty oscillators are available to choose from, but you can also use an oscillator from another indicator that is on your chart, if you want. When you select an external indicator's plot as the oscillator, you must also specify the value of its centerline.
Oscillator Channel
Here, you control the visibility and colors of the reference line, its weighted version, and the oscillator channel between them.
You also specify what type of moving average you want to use as a reference line, its source and its length. This acts as the oscillator channel's baseline. The weighted line is also a moving average of the same type and length as the reference line, except that it will be calculated from the weighted version of the source used in the reference line. By default, the weighted line is capped to three standard deviations of the reference line. You can change that value, and also elect to cap using a multiple of ATR instead. The cap provides a mechanism to control how far the weighted line swings from the reference line. This section is also where you can enable the relative volume component of the weight.
Divergence Channel
This is where you control the appearance of the divergence channel and the key price values used in determining the channel's levels and breaching conditions. These choices have an impact on the behavior of the channel. More generous level prices like the default low and high selection will produce more conservative channels, as will the default choice for breach prices.
In this section, you can also enable a mode where an attempt is made to estimate the channel's bias before price breaches the channel. When it is enabled, successive increases/decreases of the channel's top and bottom levels are counted as new divergences occur. When one count is greater than the other, a bull/bear bias is inferred from it. You can also change the detection mode of divergences, and choose to display a mark above or below bars where divergences occur.
Bar Coloring
You specify here:
• The method used to color chart bars, if you choose to do so.
• If you want to hollow out the bodies of bars where volume has not increased since the last bar.
Marker/Alert Conditions
Here, you specify the conditions that will trigger up or down markers. The trigger conditions can include a combination of state transitions of the oscillator and the divergence channels. The triggering conditions can be filtered using a variety of conditions.
Configuring the marker conditions is necessary before creating an alert from this script, as the alert will use the marker conditions to trigger.
Realtime values will repaint, as is usually the case with oscillators, but markers only appear on bar closes, so they will not repaint. Keep in mind, when looking at markers on historical bars, that they are positioned on the bar when it closes — NOT when it opens.
Raw values
The raw values calculated by this script can be inspected using the Data Window, including the oscillator's value and the weights.
█ INTERPRETATION
Except when mentioned otherwise, this section's charts use the indicator's default settings, with different visual components turned on or off.
The aim of the oscillator channel is to provide a visual representation of an oscillator's general behavior. The simplest characteristic of the channel is its bull/bear state, determined by whether the weighted line is above or below the reference line. One can then distinguish between its bull and strong bull states, as transitions from strong bull to bull states will generally happen when trends are losing steam. While one should not infer a reversal from such transitions, they can be a good place to tighten stops. Only time will tell if a reversal will occur. One or more divergences will often occur before reversals. This shows the oscillator channel, with the reference line and the thicker, weighted line:
The nature of the divergence channel 's design makes it particularly adept at identifying consolidation areas if its settings are kept on the conservative side. The divergence channel will also reveal transition areas. A gray divergence channel should usually be considered a no-trade zone. More adventurous traders can use the oscillator channel to orient their trade entries if they accept the risk of trading in a neutral divergence channel, which by definition will not have been breached by price. This show only the divergence channels:
This chart shows divergence channels and their levels, and colors bars on divergences and on the state of the oscillator channel, which is not visible on the chart:
If your charts are already busy with other stuff you want to hold on to, you could consider using only the chart bar coloring component of this indicator. Here we only color bars using the combined state of the oscillator and divergence channel, and we do not color the bodies of bars where volume has not increased. Note that my chart's settings do not color the candle bodies:
At its simplest, one way to use this indicator would be to look for overlaps of the strong bull/bear colors in both the oscillator channel and a divergence channel, as these identify points where price is breaching the divergence channel when the oscillator's state is consistent with the direction of the breach.
Tip
One way to use the Workbench is to combine it with my Delta Volume Channels indicator. If both indicators use the same MA as a reference line, you can display its delta volume channel instead of the oscillator channel.
This chart shows such a setup. The Workbench displays its divergence levels, the weighted reference line using the default RSI oscillator, and colors bars on divergences. The DV Channels indicator only displays its delta volume channel, which uses the same MA as the workbench for its baseline. This way you can ascertain the volume delta situation in contrast with the visuals of the Workbench:
█ LIMITATIONS
• For some of the oscillators, assumptions are made concerning their different parameters when they are more complex than just a source and length.
See the `oscCalc()` function in this indicator's code for all the details, and ask me in a comment if you can't find the information you need.
• When an oscillator using volume is selected and no volume information is available for the chart's symbol, an error will occur.
• The method I use to convert an oscillator's value into a percentage is fragile in the early history of datasets
because of the nascent expression of the oscillator's range during those early bars.
█ NOTES
Working with this workbench
This indicator is called a workbench for a reason; it is designed for traders interested in exploring its behavior with different oscillators and settings, in the hope they can come up with a setup that suits their trading methodology. I cannot tell you which setup is the best because its setup should be compatible with your trading methodology, which may require faster or slower transitions, thus different configurations of the settings affecting the calculations of the divergence channels.
For Pine Script™ Coders
• This script uses the new overload of the fill() function which now makes it possible to do vertical gradients in Pine. I use it for both channels displayed by this script.
• I use the new arguments for plot() 's `display` parameter to control where the script plots some of its values,
namely those I only want to appear in the script's status line and in the Data Window.
• I used my ta library for some of the oscillator calculations and helper functions.
• I also used TradingView's ta library for other oscillator calculations.
• I wrote my script using the revised recommendations in the Style Guide from the Pine v5 User Manual.
Candles HTF on Heikin Ashi ChartThis script enables calling and/or plotting of traditional Candles sources while loaded on Heikin Ashi charts.
Thanks to @PineCoders for rounding method: www.pinecoders.com
Thanks to @BeeHolder for method to regex normalize syminfo.tickerid.
NOTICE: While this script is meant to be utilized on Heikin Ashi charts it does NOT enable ability to backtest!
NOTICE: For more info on why non standard charts cannot be reliably backtested please see:
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Seasonality ChartsHow to use: open monthly chart
What this chart show: The seasonality tool calculates two numbers: the percentage of time that the month is positive above histogram and the average gain/loss for the month below histogram
Seasonality tells us what has happened in the past, which is the historical tendency. There is certainly no guarantee that past performance will equal future performance, but traders can look for above average tendencies to complement other signals. On the face of it, a bullish bias is present when a security shows gains more than 50% of the time for a particular month. Conversely, a bearish bias is present when a security rises less than 50% of the time. While 50% represents the exact middle, chartists should look for more extreme readings that suggest a relatively strong tendency.
Higher Time Frame Chart OverlayHello All,
This script gets OHLC values from any security and Higher/Same time frame you set, then creates the chart including last 10 candles. it shows Symbol name, Time Frame, Highest/Lowest level of last 10 candles and Close Price at the right side of the chart as well. Closing price text color changes by the real-time candle of the related symbol and time frame. The all this was made using the Tables in Pine and the chart location doesn't change even if you change the size of main chart window.
Almost everything can be change as you want. You can change/set:
- Colors of Body and Top/Bottom Wicks separately
- The Height of each Cell
- The Width of Body and Wicks
- The Background and Frame color
- Enable/disable Status Panel (if you disable Status Panel then only candle chart is shown)
- Location of Status Panel
- Text color and Text size
- The Background color of Status Panel
Some examples:
The info shown in Status Panel:
You can change The Height of each Cell and The Width of Body and Wicks
You can change colors:
You can change location of the chart:
If you add the script more than once then you can see the charts for different symbols and time frames: (This may slow down your chart)
If you right-click on the script and choose "Visual Order" => "Bring to front" then it will be better visually:
P.S. Using this script may slow down your chart, especially if you add it more than once
Enjoy!
Reverse Cutlers Relative Strength Index On ChartIntroduction
The Reverse Cutlers Relative Strength Index (RCRSI) OC is an indicator which tells the user what price is required to give a particular Cutlers Relative Strength Index ( RSI ) value, or cross its Moving Average (MA) signal line.
Overview
Background & Credits:
The relative strength index ( RSI ) is a momentum indicator used in technical analysis that was originally developed by J. Welles Wilder Jr. and introduced in his seminal 1978 book, “New Concepts in Technical Trading Systems.”.
Cutler created a variation of the RSI known as “Cutlers RSI” using a different formulation to avoid an inherent accuracy problem which arises when using Wilders method of smoothing.
Further developments in the use, and more nuanced interpretations of the RSI have been developed by Cardwell, and also by well-known chartered market technician, Constance Brown C.M.T., in her acclaimed book "Technical Analysis for the Trading Professional” 1999 where she described the idea of bull and bear market ranges for RSI , and while she did not actually reveal the formulas, she introduced the concept of “reverse engineering” the RSI to give price level outputs.
Renowned financial software developer, co-author of academic books on finance, and scientific fellow to the Department of Finance and Insurance at the Technological Educational Institute of Crete, Giorgos Siligardos PHD . brought a new perspective to Wilder’s RSI when he published his excellent and well-received articles "Reverse Engineering RSI " and "Reverse Engineering RSI II " in the June 2003, and August 2003 issues of Stocks & Commodities magazine, where he described his methods of reverse engineering Wilders RSI .
Several excellent Implementations of the Reverse Wilders Relative Strength Index have been published here on Tradingview and elsewhere.
My utmost respect, and all due credits to authors of related prior works.
Introduction
It is worth noting that while the general RSI formula, and the logic dictating the UpMove and DownMove data series has remained the same as the Wilders original formulation, it has been interpreted in a different way by using a different method of averaging the upward, and downward moves.
Cutler recognized the issue of data length dependency when using wilders smoothing method of calculating RSI which means that wilders standard RSI will have a potential initialization error which reduces with every new data point calculated meaning early results should be regarded as unreliable until enough calculation iterations have occurred for convergence.
Hence Cutler proposed using Simple Moving Averaging for gain and loss data which this Indicator is based on.
Having "Reverse engineered" prices for any oscillator makes the planning, and execution of strategies around that oscillator far simpler, more timely and effective.
Introducing the Reverse Cutlers RSI which consists of plotted lines on a scale of 0 to 100, and an optional infobox.
The RSI scale is divided into zones:
• Scale high (100)
• Bull critical zone (80 - 100)
• Bull control zone (62 - 80)
• Scale midline (50)
• Bear control zone (20 - 38)
• Bear critical zone (0 - 20)
• Scale low (0)
The RSI plots which graphically display output closing price levels where Cutlers RSI value will crossover:
• RSI (eq) (previous RSI value)
• RSI MA signal line
• RSI Test price
• Alert level high
• Alert level low
The info box displays output closing price levels where Cutlers RSI value will crossover:
• Its previous value. ( RSI )
• Bull critical zone.
• Bull control zone.
• Mid-Line.
• Bear control zone.
• Bear critical zone.
• RSI MA signal line
• Alert level High
• Alert level low
And also displays the resultant RSI for a user defined closing price:
• Test price RSI
The infobox outputs can be shown for the current bar close, or the next bar close.
The user can easily select which information they want in the infobox from the setttings
Importantly:
All info box price levels for the current bar are calculated immediately upon the current bar closing and a new bar opening, they will not change until the current bar closes.
All info box price levels for the next bar are projections which are continually recalculated as the current price changes, and therefore fluctuate as the current price changes.
Understanding the Relative Strength Index
At its simplest the RSI is a measure of how quickly traders are bidding the price of an asset up or down.
It does this by calculating the difference in magnitude of price gains and losses over a specific lookback period to evaluate market conditions.
The RSI is displayed as an oscillator (a line graph that can move between two extremes) and outputs a value limited between 0 and 100.
It is typically accompanied by a moving average signal line.
Traditional interpretations
Overbought and oversold:
An RSI value of 70 or above indicates that an asset is becoming overbought (overvalued condition), and may be may be ready for a trend reversal or corrective pullback in price.
An RSI value of 30 or below indicates that an asset is becoming oversold (undervalued condition), and may be may be primed for a trend reversal or corrective pullback in price.
Midline Crossovers:
When the RSI crosses above its midline ( RSI > 50%) a bullish bias signal is generated. (only take long trades)
When the RSI crosses below its midline ( RSI < 50%) a bearish bias signal is generated. (only take short trades)
Bullish and bearish moving average signal Line crossovers:
When the RSI line crosses above its signal line, a bullish buy signal is generated
When the RSI line crosses below its signal line, a bearish sell signal is generated.
Swing Failures and classic rejection patterns:
If the RSI makes a lower high, and then follows with a downside move below the previous low, a Top Swing Failure has occurred.
If the RSI makes a higher low, and then follows with an upside move above the previous high, a Bottom Swing Failure has occurred.
Examples of classic swing rejection patterns
Bullish swing rejection pattern:
The RSI moves into oversold zone (below 30%).
The RSI rejects back out of the oversold zone (above 30%)
The RSI forms another dip without crossing back into oversold zone.
The RSI then continues the bounce to break up above the previous high.
Bearish swing rejection pattern:
The RSI moves into overbought zone (above 70%).
The RSI rejects back out of the overbought zone (below 70%)
The RSI forms another peak without crossing back into overbought zone.
The RSI then continues to break down below the previous low.
Divergences:
A regular bullish RSI divergence is when the price makes lower lows in a downtrend and the RSI indicator makes higher lows.
A regular bearish RSI divergence is when the price makes higher highs in an uptrend and the RSI indicator makes lower highs.
A hidden bullish RSI divergence is when the price makes higher lows in an uptrend and the RSI indicator makes lower lows.
A hidden bearish RSI divergence is when the price makes lower highs in a downtrend and the RSI indicator makes higher highs.
Regular divergences can signal a reversal of the trending direction.
Hidden divergences can signal a continuation in the direction of the trend.
Chart Patterns:
RSI regularly forms classic chart patterns that may not show on the underlying price chart, such as ascending and descending triangles & wedges , double tops, bottoms and trend lines etc.
Support and Resistance:
It is very often easier to define support or resistance levels on the RSI itself rather than the price chart.
Modern interpretations in trending markets:
Modern interpretations of the RSI stress the context of the greater trend when using RSI signals such as crossovers, overbought/oversold conditions, divergences and patterns.
Constance Brown, CMT , was one of the first who promoted the idea that an oversold reading on the RSI in an uptrend is likely much higher than 30%, and that an overbought reading on the RSI during a downtrend is much lower than the 70% level.
In an uptrend or bull market, the RSI tends to remain in the 40 to 90 range, with the 40-50 zone acting as support.
During a downtrend or bear market, the RSI tends to stay between the 10 to 60 range, with the 50-60 zone acting as resistance.
For ease of executing more modern and nuanced interpretations of RSI it is very useful to break the RSI scale into bull and bear control and critical zones.
These ranges will vary depending on the RSI settings and the strength of the specific market’s underlying trend.
Limitations of the RSI
Like most technical indicators, its signals are most reliable when they conform to the long-term trend.
True trend reversal signals are rare, and can be difficult to separate from false signals.
False signals or “fake-outs”, e.g. a bullish crossover, followed by a sudden decline in price, are common.
Since the indicator displays momentum, it can stay overbought or oversold for a long time when an asset has significant sustained momentum in either direction.
Data Length Dependency when using wilders smoothing method of calculating RSI means that wilders standard RSI will have a potential initialization error which reduces with every new data point calculated meaning early results should be regarded as unreliable until calculation iterations have occurred for convergence.
Tick ChartHello All,
Tick Chart is created using ticks and each candlestick in Tick Chart shows the price variation of X consecutive ticks ( X : Number of Ticks Per Candle ). for example if you set Number of Ticks Per Candle = 100 then each candlestick is created using 100 ticks. so, Tick Charts are NOT time-based charts (like Renko or Point & Figure Charts). Tick is the price change in minimum time interval defined in the platform. There are several advantages of Tick Charts. You can find many articles about Tick Charts on the net.
Tick Chart only works on realtime bars.
You can set " Number of Ticks Per Candle " and " Number of Candles" using options. You can change color of body, wicks abd volume bars as well.
The script shows current, minimum, maximum and average volumes. it also shows OHLC values on the last candle.
Tick Chart using different number of ticks
Volume info:
Enjoy!
Point and Figure Chart - LiveHello Traders,
This is "Point and Figure Chart (PnF)" script that run in separated window in real time. The separated PnF chart window is timeless, so no relation with the time on the chart. PnF chart consist of "X" and "O" columns. While "X" columns represents rising prices, "O" column represents a falling price. If you have no idea about what PnF charting is then you should search for "Point and Figure Charting" on the net and get some info before using this script.
Now lets talk about details. PnF Chart requires at least two variables to be set => Box size and Reversal. Box size represents the size of each X/O in PnF chart and the reversal is used to calculate new X/O or reversal. for example if currrent column is X column then for new "X", "box size * 1" move is needed and for new "O" column or reversal, "box size * revelsal" move is needed. in the script I use lines as X/O columns.
In the options you can set "Box Size Assingment Method". you have 3 options Traditional, ATR, Percentage . what are they?
Traditional: user-defined box size, means you can set the box size as you wish, using the option . if you use this option then you should set it accordingly.
ATR : that's dynamic box size scaling and on each columns it's calculated once, you can set length for ATR
Percentage: that's also dynamic box size scaling according to closing price when new column appeared. if you use this option then you should set it accordingly.
Reversal: The reversal is typically 3 but you can change it as you wish
"Change Bar Color by PnF Trend": if you enable this option then bar color changes by PnF columns, by default it's not enabled
"Change Column Color When Breakout Occurs": PnF color changes if Double Top/Bottom breakout accours. enabled by default and you can set the colors as you wish using the options
"Change Bar Color When Breakout Occurs": bar colors changed if Double Top/Bottom breakout accours. enabled by default and you can set the colors as you wish using the options
the script checks only Double Top/Bottom breakouts at the moment. there are many other breakouts such Triple/Quadruple, Ascending/Descending Triple Top/Bottom breakouts, Catapult etc.
Also the script shows new X/O level and reversal Levels in PnF window. An example:
If you enable "Change Bar Color by PnF Trend" option:
An example if you disable the option "Change Column Color When Breakout Occurs
You may want to see my another/older "Point and Point Chart" script as well. you can find it in my profile/published scripts and in the Public Library. I use same PnF calculation algorithm in both scripts.
Enjoy!
Renko ChartHello All. This is live and non-repainting Renko Charting tool. The tool has it’s own engine and not using integrated function of Trading View.
Renko charts ignore time and focus solely on price changes that meet a minimum requirement. Time is not a factor on Renko chart but as you can see with this script Renko chart created on time chart.
Renko chart provide several advantages, some of them are filtering insignificant price movements and noise, focusing on important price movements and making support/resistance levels much easier to identify.
in the script Renko Trend Line with threshold area is included. and also there is protection from whipsaws, so you can catch big waves with very good entry points. Trend line is calculated by EMA of Renko closing price.
As source Closing price or High/Low can be used. Traditional or ATR can be used for scaling. If ATR is chosen then there is rounding algorithm according to mintick value of the security. For example if mintick value is 0.001 and brick size (ATR/Percentage) is 0.00124 then box size becomes 0.001. And also while using dynamic brick size (ATR), box size changes only when Renko closing price changed.
Renko bar can be seen as area or candle and also optionally bar color changes when Renko trend changed.
Soon other Renko scripts (Renko RSI, Renko Weis Wave, Renko MACD etc) are coming ;)
ENJOY!
Dev-Automatic Trendline & Pattern DetectorIndicator Name: Automatic Trendline & Pattern Detector
Purpose: This indicator is designed to automatically identify key price action patterns and draw relevant trendlines on your chart. It simplifies technical analysis by providing visual cues for common patterns like higher highs (HH), higher lows (HL), triangles, bullish flags, and bearish flags.
Features:
Trendline Detection:
Automatically detects and draws trendlines connecting key price points like higher highs, higher lows, and other patterns.
Higher Highs (HH) & Higher Lows (HL):
Marks higher highs and higher lows on the chart with labeled points.
Draws a connecting trendline to visualize the overall trend.
Triangle Patterns:
Identifies potential triangle patterns by finding the highest high and lowest low within a specified range.
Draws trendlines to connect these levels, helping identify breakout opportunities.
Bullish and Bearish Flags:
Detects flag patterns within price movements.
Automatically draws parallel trendlines to visualize consolidation zones.
Customization Options:
Allows users to enable or disable specific features, such as higher highs/lows, triangles, or flags.
Adjustable length parameter to control the sensitivity of pattern detection.
Benefits:
Saves time for traders by automating the process of identifying patterns and drawing trendlines.
Enhances chart analysis by providing a clear visual representation of trends and consolidation zones.
Helps traders spot potential breakout opportunities and key levels of support and resistance.
How to Use:
Add the indicator to your chart in TradingView.
Customize the settings to suit your trading strategy:
Adjust the length parameter for pattern sensitivity.
Toggle on/off specific patterns like HH/HL, triangles, or flags.
Observe the automatically drawn trendlines and use them as part of your technical analysis.
Combine this indicator with other tools or strategies for enhanced decision-making.
Note: While this indicator provides automated insights, it should be used in conjunction with proper risk management and other analysis techniques.
Bearish Gap Down DetectionThis indicator is designed to identify bearish gap downs in price action and visually mark them on your chart. A gap down occurs when today's opening price is below the previous day's low, and the closing price remains below that low, signaling a potential bearish continuation or reversal.
Features:
Precise Gap Down Detection: Identifies only confirmed bearish gap downs, avoiding false signals.
Clear Visual Markers: Marks detected gap downs with a red downward triangle above the bar for easy identification.
Minimalist Design: Focuses solely on gap down detection, without any reliance on moving averages or additional noise.
Use Cases:
Trend Reversals: Spot potential downward trends as they develop.
Momentum Confirmation: Use alongside other indicators or strategies to confirm bearish momentum.
Swing Trading Opportunities: Ideal for traders looking to capitalize on significant price movements.
How It Works:
The script detects a gap down when:
Today's opening price is below the previous day's low.
Today's closing price stays below the previous day's low.
When these conditions are met, the indicator plots a red triangle above the price bar, signaling a bearish gap down.
Best Practices:
Apply this script to daily or higher timeframes for more reliable results.
Combine it with other indicators, such as support/resistance levels or volume analysis, for enhanced decision-making.
FVG DetectorA fairly flexible indicator for displaying imbalance zones. There are quite a few similar indicators, but none of them suit me, so I made my own.
Settings:
Minimum FVG size in % - Minimum imbalance size in percentage
Percentage of filling FVG - When the imbalance is filled by the specified percentage, the imbalance will be considered inactive
Show FVG - The number of FVG to be shown on the chart. If 0, all FVG are shown
FVG Long color - Color of FVG Long FVG
FVG Short color - Color of FVG Short FVG
FVG middle line - Setting the line that shows the middle of the imbalance
Filling 50% FVG - When filling the imbalance halfway, the line showing the middle of the imbalance changes type and color
When Candle Close - The rectangle showing the imbalance zone is removed only after the candle closes
History - Display all imbalance zones on history
Conclusion:
This indicator will be useful for those users who need to display imbalance zones, the middle of the imbalance, and also visually show that the price has covered half of the imbalance zone.
Doji Double Top & Double Bottom
FUNCTION :
This indicator checks if 2 consecutive candlesticks are formed in such a way that both the lows or both the highs of the consecutive candlesticks are almost at the same level and either of them is a doji
TIMEFRAMES :
it works on daily, weekly, monthly and higher timeframes
CRITERIA :
There is maximum difference value between 2 consecutive candlesticks' lows or 2 consecutive candlesticks' highs
Minimum value of the doji's wick size
Maximum value of the doji's body size
These 3 conditions need to be fulfilled for the 2 consecutive candlesticks to be considered as a Double top or Double bottom by this indicator
EXAMPLES :
Here the indicator is giving only double Bottom signals on CRUDE OIL chart
Here the indicator is giving only double top signals on GOLD chart
Here the indicator gives both double top & double bottom signals on EUR/USD Daily chart
Here the indicator is giving both double top & double bottom signals on EUR/USD Half-Yearly chart
DEFINITIONS :
There are 2 types -
DOJI DOUBLE BOTTOM - if the lows of 2 consecutive candlesticks are almost at the same level & either of them is doji then it is called Double Bottom and market is supposed to go higher after forming it.
DOJI DOUBLE TOP - if the highs of 2 consecutive candlesticks are almost at the same level & either of them is doji then it is called Double Top and market is supposed to go lower after forming it.
SETTINGS :
There are options to change the value of each of the 3 parameters within the indicator's settings for daily, weekly & monthly chart [
LIMITATIONS :
You should not trade based on the signals from this indicator solely, you should check other parameters too before making trading decision
Falcon Liquidity Grab StrategyHow to Use This Script for Commodities and Indices
Best Timeframes: Start with 15-minute charts but test on higher timeframes like 1 hour for indices.
Risk Settings: Adjust the stop_loss_points and take_profit_multiplier to match the volatility of the chosen instrument.
The Curved Market Structure [BigBeluga]Curved Market Structure
The Curved Market Structure indicator offers an innovative twist on traditional market structure tools by using curved lines instead of horizontal ones, enabling faster breakout detection for traders.
🔵Key Features:
Curved Market Structure Levels: The indicator identifies high and low pivots and plots curved lines connecting these points, adapting to market dynamics and providing a more intuitive view of potential breakout zones.
Breakout Detection: Breakouts above or below the curved levels are marked with triangle symbols (▲ or ▼), making it easy to spot critical price movements.
Dynamic Target Levels: After a breakout, the indicator plots three target levels, which serve as potential price objectives. Each target is marked with a number and a star (e.g., 1★) upon being reached.
Customizable Line Length and Angle: Users can adjust the length and angle of the curved lines to fit their trading style and timeframe, making the tool versatile and adaptable.
Market Structure Trend Filtering: To maintain a clean chart, the indicator plots curved levels only from high pivots during uptrends and low pivots during downtrends.
🔵How It Works:
The indicator identifies high and low pivots using user-defined parameters (left and right bars).
Curved lines are drawn from these pivot points, showing the structure of the market and potential breakout zones.
When a breakout occurs, the indicator highlights the direction with triangle symbols and dynamically plots three price targets.
Upon reaching these targets, the level is marked with its respective number and a star, helping traders track price progression effectively.
The lines and targets are adjusted based on market conditions, ensuring real-time relevance and accuracy.
🔵Use Cases:
Spotting key breakout zones to identify entry and exit points more effectively.
Setting dynamic target levels for take-profit or stop-loss planning.
Filtering market noise and maintaining a cleaner chart while analyzing trends.
Enhancing traditional market structure analysis with an intuitive curved visualization.
This indicator is ideal for traders who want a modern, dynamic, and visually appealing way to track market structure and breakouts while maintaining chart clarity.
CandelaCharts - Swing Failure Pattern (SFP)# SWING FAILURE PATTERN
📝 Overview
The Swing Failure Pattern (SFP) indicator is designed to identify and highlight Swing Failure Patterns on a user’s chart. This pattern typically emerges when significant market participants generate liquidity by driving price action to key levels. An SFP occurs when the price temporarily breaks above a resistance level or below a support level, only to quickly reverse and return within the previous range. These movements are often associated with stop-loss hunting or liquidity grabs, providing traders with potential opportunities to anticipate reversals or key market turning points.
A Bullish SFP occurs when the price dips below a key support level, triggering stop-loss orders, but then swiftly reverses upward, signaling a potential upward trend or reversal.
A Bearish SFP happens when the price spikes above a key resistance level, triggering stop-losses of short positions, but then quickly reverses downward, indicating a potential bearish trend or reversal.
The indicator is a powerful tool for traders, helping to identify liquidity grabs and potential reversal points in real-time. Marking bullish and bearish Swing Failure Patterns on the chart, it provides clear visual cues for spotting market traps set by major players, enabling more informed trading decisions and improved risk management.
📦 Features
Bullish/Bearish SFPs
Styling
⚙️ Settings
Length: Determines the detection length of each SFP
Bullish SFP: Displays the bullish SFPs
Bearish SFP: Displays the bearish SFPs
Label: Controls the size of the label
⚡️ Showcase
Bullish
Bearish
Both
📒 Usage
The best approach is to combine a few complementary indicators to gain a clearer market perspective. This doesn’t mean relying on the Golden Cross, RSI divergences, SFPs, and funding rates simultaneously, but rather focusing on one or two that align well in a given scenario.
The example above demonstrates the confluence of a Bearish Swing Failure Pattern (SFP) with an RSI divergence. This combination strengthens the signal, as the Bearish SFP indicates a potential reversal after a liquidity grab, while the RSI divergence confirms weakening momentum at the key level. Together, these indicators provide a more robust setup for identifying potential market reversals with greater confidence.
🚨 Alerts
This script provides alert options for all signals.
Bearish Signal
A bearish signal is triggered when a Bearish SFP is formed.
Bullish Signal
A bullish signal is triggered when a Bullish SFP is formed.
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
Doji Detector By NattawatThis indicator is designed to detect Doji candlesticks on your chart and draw horizontal lines at the Open and Close prices of the Doji candlesticks. You can customize the number of bars to wait before drawing these horizontal lines after a Doji is detected. These horizontal lines will help you easily identify and analyze the points where Doji candlesticks occur on your chart.
Center of Candle Trendline### **Center of Candle Trendline**
This script dynamically plots a trendline through the center of each candlestick's body. The "center" is calculated as the average of the open and close prices for each candle. The trendline updates in real-time as new candles form, providing a clean and straightforward way to track the market's midline movement.
#### **Features:**
1. **Dynamic Trendline:** The trendline connects the center points of consecutive candlestick bodies, giving a clear visual representation of price movements.
2. **Accurate Center Calculation:** The center is determined as `(open + close) / 2`, ensuring the trendline reflects the true midpoint of each candlestick body.
3. **Real-Time Updates:** The trendline updates automatically as new bars form, keeping your chart up to date with the latest price action.
4. **Customization-Ready:** Adjust the line’s color, width, or style easily to fit your chart preferences.
#### **How to Use:**
- Add this script to your chart to monitor the price movement relative to the center of candlestick bodies.
- Use the trendline to identify trends, reversals, or price consolidation zones.
#### **Applications:**
- **Trend Analysis:** Visualize how the market trends around the center of candlesticks.
- **Reversal Identification:** Detect potential reversal zones when the price deviates significantly from the trendline.
- **Support and Resistance Zones:** Use the trendline as a dynamic support or resistance reference.
This tool is perfect for traders who want a clean and minimalistic approach to tracking price action. Whether you're a beginner or an experienced trader, this script provides valuable insights without overwhelming your chart.
#### **Note:**
This is not a standalone trading strategy but a visual aid to complement your analysis. Always combine it with other tools and techniques for better trading decisions.
---
Feel free to tweak this description based on your preferences or style!
Enhanced SMA Strategy with Trend Lines & S&R by DaxThe Enhanced SMA Strategy with Trend Lines & Support/Resistance (S&R) by Dax indicator is a technical analysis tool designed to improve trading decisions by combining the simplicity of the Simple Moving Average (SMA) with the insight provided by trend lines and support/resistance levels. This hybrid approach aims to create a more robust and reliable trading strategy.
Key Components:
Simple Moving Average (SMA):
SMA is a basic trend-following indicator that calculates the average of a set of price data over a specified period. It helps identify the direction of the market, such as whether an asset is in an uptrend or downtrend.
The Enhanced SMA Strategy may use multiple SMAs, such as short-term (e.g., 20-period) and long-term (e.g., 50-period), to detect crossovers that signal buy or sell opportunities. For example, a bullish crossover occurs when a short-term SMA crosses above a long-term SMA, indicating a potential buying signal, while a bearish crossover signals a potential sell.
Trend Lines:
Trend lines are drawn on the price chart to visually identify the direction of the market, acting as dynamic support and resistance levels. A trend line is drawn by connecting two or more price points that demonstrate the overall price movement.
Trend lines can help traders see potential breakout or breakdown points. A price breaking above a downtrend line or below an uptrend line often signals a trend reversal.
Support and Resistance (S&R):
Support levels are price levels where an asset tends to find buying interest and stop falling, while Resistance levels are points where selling pressure emerges and prevent the price from rising further.
These levels are critical in determining where price reversals or consolidations are likely to occur. Enhanced S&R indicators can automatically identify these levels and draw horizontal lines at these critical points on the chart.
Combining S&R with SMA can help traders decide whether a breakout or bounce is likely at these levels, increasing the odds of a successful trade.
How It Works:
Trend Identification: The SMA is used to determine the trend direction. A rising SMA indicates an uptrend, while a falling SMA suggests a downtrend.
Signal Generation: The strategy often uses a combination of SMA crossovers (bullish or bearish) along with the confirmation of price action near trend lines and support/resistance levels. For example:
If a price breaks above resistance and the short-term SMA crosses above the long-term SMA, a buy signal is confirmed.
Conversely, if the price breaks below support and the short-term SMA crosses below the long-term SMA, a sell signal is given.
Dynamic Support/Resistance: Trend lines are drawn automatically or manually to spot areas where price might reverse. The Enhanced SMA Strategy checks if the price is close to these levels, providing a more precise entry/exit point based on the broader market context.
Advantages of the Enhanced SMA Strategy with Trend Lines & S&R:
Improved Accuracy: By combining trend-following (SMA) with key levels like trend lines and S&R, the strategy filters out false signals, leading to more reliable trade setups.
Trend Confirmation: The use of trend lines and S&R confirms the broader market context, reducing the risk of trading against the trend or entering at weak price points.
Flexible: This strategy can be applied to various timeframes, from short-term day trading to longer-term swing trading.
Visual Clarity: The combination of trend lines, S&R, and moving averages provides a clear and visually intuitive strategy for identifying key price levels and trend shifts.
How to Use It:
Draw Trend Lines: Identify the most recent price peaks and troughs to draw trend lines, marking the potential resistance and support levels.
Use SMAs: Apply two different-period SMAs to detect the trend (e.g., 20-period and 50-period). Pay attention to crossovers for buy/sell signals.
Watch for Breakouts or Reversals: Monitor how the price behaves at support or resistance levels and the trend lines. A price move beyond these levels, accompanied by a confirming SMA crossover, can signal a strong trade opportunity.
Conclusion:
The Enhanced SMA Strategy with Trend Lines & S&R by Dax is a powerful, multi-layered approach to technical analysis. It enhances the basic SMA strategy by incorporating additional tools like trend lines and support/resistance levels, which help traders make more informed decisions with higher accuracy. This method is suitable for both novice and experienced traders, offering clear trade signals while reducing the risk of false entries.
ZelosKapital Weekly/Monthly HLThe ZelosKapital Weekly/Monthly high low indicator is designed to display the weekly and monthly high and low levels directly on the price chart. It helps traders easily identify key support and resistance zones by marking the highest and lowest points of the current week and month. The indicator automatically updates these levels as the price moves, providing a clear visual reference for intraday trading strategies.
Ideal for both Day Trading and Swing Trading, this tool offers valuable insights into potential reversal points, breakout areas, and zones of consolidation. By monitoring these significant price levels, traders can make more informed decisions, timing their entries and exits with greater precision. Whether you're looking for short-term price action or longer-term trends, the weekly and monthly highs and lows serve as critical levels to guide your trades.
Dual Spectrum RSI [CHE]Dual Spectrum RSI Indicator
Introduction
The Dual Spectrum RSI Indicator is an innovative and robust tool designed for traders aiming to enhance their market analysis and trading precision. This script leverages multi-timeframe analysis, advanced RSI configurations, and customizable visualization options to provide actionable insights for both trend-following and contrarian strategies.
Key Features
1. Dynamic Timeframe Selection
- Automatically adapts the resolution based on the current chart's timeframe.
- Options to switch between Auto Timeframe, Multiplier-based Timeframe, or Manual Resolution for complete control.
2. Advanced RSI Calculations
- Dual RSI setup for multi-layered analysis:
- Primary RSI for trend identification on the higher timeframe (HTF).
- Secondary RSI for entry signals with oversold/overbought crossovers on the current chart timeframe.
3. EMA Integration on Higher Timeframe (HTF)
- The Exponential Moving Average (EMA) acts as a robust trend filter, calculated on the Higher Timeframe (HTF).
- This ensures that trade signals align with the broader market trend, providing a strategic edge and reducing noise from lower timeframes.
4. Signal Clarity
- Visual labels for Buy and Sell signals directly on the chart.
- Dynamic stop-loss suggestions that adjust based on EMA crossovers and trend changes.
5. Customizable Visualization
- Gradient fills for overbought/oversold zones provide intuitive visual cues.
- User-friendly inputs for adjusting separator lines, color schemes, and label styles.
6. Comprehensive Data Display
- Real-time updates in an Info Box, showing active timeframe settings and resolution.
- Easy-to-understand trend conditions, making it accessible for both novice and professional traders.
Benefits for Traders
1. Precision in Decision-Making
The multi-timeframe capability ensures that traders always have the broader market context, minimizing false signals and enhancing trade accuracy.
2. Flexibility and Customization
Fully adjustable parameters allow traders to tailor the indicator to their unique trading style, whether scalping, day trading, or swing trading.
3. Enhanced Market Insights
By combining HTF trend filters, RSI dynamics, and EMA thresholds, this indicator provides a holistic view of market conditions.
4. User-Friendly Interface
The clean layout and intuitive options make it easy to integrate this tool into any TradingView setup.
5. Increased Confidence in Trades
With visual aids such as labels, gradients, and a trend-detection mechanism, traders can make decisions with greater confidence and less emotional bias.
Example Use Cases
1. Trend-Following Strategy
- Utilize the HTF EMA filter to confirm bullish or bearish trends.
- Enter trades when the secondary RSI crosses oversold/overbought levels in the direction of the trend.
2. Reversal Strategy
- Identify overextended trends using RSI crossovers.
- Look for counter-trend opportunities with precise stop-loss placements.
3. Scalping Setup
- Switch to intraday timeframes and use the multiplier-based resolution to capture short-term market movements.
How to Use
1. Add the script to your TradingView chart by pasting the provided Pine Script code into the Pine Editor.
2. Adjust the Timeframe Type, RSI parameters, and EMA length to align with your trading goals.
3. Monitor the generated signals and use them in conjunction with your broader trading strategy.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Conclusion
The Dual Spectrum RSI Indicator is not just another technical tool—it's a comprehensive trading companion that adapts to your needs, simplifies market analysis, and boosts your trading performance. Whether you're a beginner or a seasoned trader, this indicator provides the edge you need to succeed in today's dynamic markets.
Try It Today!
Experience the power of multi-timeframe analysis and take your trading to the next level. Add the Dual Spectrum RSI Indicator to your TradingView arsenal now!
Best regards
Chervolino
ZelosKapital Market BehaviourThe ZelosKapital Market Behaviour Indicator is a powerful tool designed to visually highlight market structure periods directly on your trading chart. This indicator identifies and labels the four key price action phases: Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL). Understanding these phases is critical for traders aiming to follow the trend or anticipate potential reversals.
Monthly EMA 5 Buy Signal Swing Medium Term Investment StrategyTrading Strategy Description
This strategy is designed to generate buy signals based on the behavior of monthly candles in relation to the 5-period Exponential Moving Average (EMA). The conditions for generating a buy signal are as follows:
Monthly Candle Below 5 EMA: The previous monthly candle must not touch the 5 EMA and must be entirely below it. This means the highest point of the candle (the high) is below the 5 EMA.
Next Monthly Candle Closes Above Previous Candle’s High: The current monthly candle must close above the high of the previous monthly candle.
How to Use the Strategy
Add the Script to TradingView: Copy the provided Pine Script code and add it to a new indicator in TradingView.
Understand the Plot:
The 5 EMA is plotted on the chart in blue.
Buy signals are indicated by green labels below the bars with the text “BUY”.
Identify Buy Signals:
Look for green “BUY” labels on the chart. These labels indicate that the conditions for a buy signal have been met.
When you see a “BUY” label, it means the previous monthly candle was below the 5 EMA and the current monthly candle has closed above the previous candle’s high.
Example Scenario
Month 1: The monthly candle does not touch the 5 EMA and is entirely below it.
Month 2: The monthly candle closes above the high of Month 1’s candle.
Buy Signal: A green “BUY” label will appear below the Month 2 candle, indicating a buy signal.
Taking the Trade
When a buy signal is generated:
Enter the Trade: Consider entering a long position at the close of the monthly candle that generated the buy signal.
Risk Management: Set your stop-loss and take-profit levels according to your risk management strategy. You might place a stop-loss below the low of the signal candle or use other technical analysis tools to determine your exit points.
This strategy helps you identify potential bullish reversals or continuation patterns based on the relationship between the monthly candles and the 5 EMA. Always backtest and paper trade any strategy before using it with real money to ensure it fits your trading style and risk tolerance.