MarketSmith IndicatorThis script provides you with several indicators that will enable you to mimic MarketSmith charts, even with a free TradingView plan.
You can use this script with my ' EPS & Sales ' indicator.
MarketSmith-style bars
The script offers an original approach to managing candlesticks within the code, making them almost identical to those on MarketSmith.
For a perfect display, select ' Bars ' on your chart and set the opacity of your candles to 100% to display only the candles proposed by this indicator.
If you don't want them, you can simply disable them in the ' Style ' tab by unchecking 'MarketSmith Bars' and 'Chars'.
These candles are designed to be used with a fix chart. (No beautiful result with zooming in or out.)
Normally, the display will still be correct by right-clicking, and ' Reset Chart '.
Simple customizable moving averages
With automatic distinction of the weekly time unit. You can choose to display them or not, select the calculation method and modify their length via the panel.
The RS Rating indicator
I've integrated the RS Rating indicator into this script, as the RS Rating is a fundamental component of this layout.
High and valley points
These points are used by MarketSmith to detect bases, patterns, cup & handle.
Designed for US Market only you won't be able to screen correctly the India market for example.
נקודות ורמות Pivot
Consolidation Spotter Multi Time FrameThis tool is designed for traders looking to spot areas of consolidation on their charts across various time frames. It highlights these consolidation areas using visually appealing boxes, making it easier to identify potential breakout or breakdown zones.
How To Use:
Spotting Consolidation: When you see a box form on your chart, this represents a consolidation zone. Within this zone, the price is moving sideways without a strong upward or downward trend.
Anticipating Breakouts & Breakdowns: Watch the price as it approaches the edges of the box. A movement outside the box can signal a potential breakout (if above the box) or a breakdown (if below the box). This is where momentum shifts can happen.
Momentum Confirmation: Once the price clearly moves out of the box, it indicates a momentum shift. If the price moves upwards out of the box, this can be seen as bullish momentum. Conversely, if the price moves downwards out of the box, this can be seen as bearish momentum.
To use the tool effectively, adjust the settings to suit your trading style, choose your preferred visual theme, and watch as the script highlights key consolidation areas on your chart.
Tip: To visualize fractals, consider using multiple instances of the "Consolidation Spotter" indicator, each set to a different timeframe. This approach allows you to observe consolidations nested within larger consolidations, offering deeper insights into market structures. 😉
Key Levels (Daily Percentages)OVERVIEW
This indicator automatically identifies and progressively draws daily percentage levels, normalized to the first market bar.
Percentages are one of the most common ways to measure price movement (outside price itself). Being able to visually reference these levels helps contextualize price action, in addition to giving us a glimpse into how algos might "see" the market.
This script is most useful on charts with smaller time frames (1 to 5 minutes). This is not ideal for medium or larger time frames (greater than 5 minutes).
INPUTS
You can configure:
• Line size, style, colors and maximum length
• Label colors and visibility
• Fractional and intra level visibility
• Bidirectional zone parameters (custom range and extended anomalies)
• Normalization source
• Price Proximity features
• Market Hours and Time Zone
INSPIRATION
Broad Assumptions:
• +/- 70% of days move 1%, 20% of days move 1-2%, and 10% of days have moves exceeding 2%.
• +/- 10-20% of days trend, with moves ≥ 1%.
• All trading strategies are effectively scalping, mean reversion, or trend.
• Humans program algos to capitalize on these assumptions, using percentages to mange / execute trades.
IND-Range Box [Salar Kamjoo]Hello to all dear traders,
One of the trading methods in financial markets is Range Box Trading. Ranges are specific price levels where the market reaches equilibrium, meaning the buying force is roughly equal to the selling force. Consequently, the market neither moves significantly upwards nor downwards; it oscillates within a particular range. The indicator I have designed for you is based on this concept. It utilizes the number of candles and their oscillations to identify specific ranges on the chart. These ranges are drawn based on the maximum and minimum of the box.
The optimal time for trading and using this indicator is when the market is less volatile, specifically outside of the overlapping London and New York sessions. Additionally, be cautious during news releases as they might lead to stop-hunting scenarios. Therefore, the best time to employ this indicator is when the market is relatively calm.
This indicator has 4 settings:
Setting Number 1: Number of Candles
This setting determines the number of candles involved in calculating the range boxes. A higher value indicates longer range boxes will be identified for you, while a lower value results in quicker recognition of range boxes. However, a smaller value may reduce the reliability of the identified range boxes. The recommended value for this setting may vary for each currency pair and time frame.
s3.tradingview.com
Setting Number 2: Range Percentage
This setting determines the maximum percentage difference between the high and low of the identified range box. (These settings are interconnected with Setting Number 3, as your choice in Setting Number 3—whether to base the range box calculation on the high or low, or on the candle close—will impact how this range percentage is applied.)
s3.tradingview.com
Setting Number 3: Calculation Basis
This setting determines whether the maximum width of the range box is based on the highest or lowest points, or if it is calculated based on the closing prices of the candles.
s3.tradingview.com
s3.tradingview.com
Setting Number 4: Number of Extended Candles
This visual setting determines the extension of your range box forward by a specified number of candles.
Another valuable feature of this indicator is the ability to configure alerts. By setting up alerts, you can promptly receive notifications whenever a range box is identified on the chart. This ensures that you are promptly informed about potential trading opportunities.
If you have any questions feel free to ask in the comments section.
be profitable :)
Price Depth Analysis to the MAHello Traders! Today, I bring you an indicator that can greatly assist you in your trading. This indicator aims to analyze the Expansion and Contraction process of the price in relation to a moving average. We refer to "Expansion" when the price moves away from the moving average; a significant expansion could signal that the asset is in a strong trend. On the other hand, when we refer to "Contraction", it's when the price approaches or returns to the moving average. A contraction could signal that the asset is losing momentum and might be preparing for a trend change or consolidation.
To use the indicator, the first thing you need to do is define the type of analysis you want to perform (from the indicator settings) whether you want to evaluate prices above the moving average or below. You should also select the type of moving average and its period.
The indicator will search for the maximum distance in all the chart bars, which will be represented with a yellow label.
From that value, the indicator will generate a certain number of proportional levels (configurable up to 20) and will count all the bars that reached each level. This will be represented in a table showing both the number of bars that reached each range and the percentage in relation to the total bars of all ranges.
Additionally, there's the possibility to view the ranges directly for the current price, providing a good reference.
>> Alerts:
The indicator comes with alerts that notify traders about specific price movements in relation to a moving average (MA). These alerts are triggered when the price enters different ranges, either above or below the MA.
>> Settings:
- Type of Analysis: Users can choose to analyze the price either above or below the MA.
- Length of the moving average: Length of the MA.
- Source of the moving average: Source to calculate the MA (e.g., close, open).
- Type of moving average: Type of MA (SMA, EMA, WMA, VWMA, HMA).
- Show Moving Average: Option to display or hide the MA on the chart.
- Number of levels: Number of levels or ranges to categorize the distance between the price and the MA.
- Number of decimals: Number of decimals to display in labels and tables.
- Show Ranges: Option to display or hide the ranges on the chart.
- Extend Range: Extension of the ranges into future bars.
- Range Fill Transparency: Transparency of the range fill.
>> Potential Utility of the Indicator:
- Entry and Exit Optimization:
By understanding the percentages of each range, traders can identify optimal levels to enter or exit a trade, maximizing profits and minimizing losses.
- Risk Management:
Range percentages can help determine market volatility. A range with a high percentage indicates greater volatility, which can be useful for setting wider stop losses or adjusting position size.
- Overbought and Oversold Zone Identification:
If a price is at the upper or lower extreme of its percentage range, it may indicate overbought or oversold conditions, respectively. These zones can be opportunities for counter-trend trades.
- Momentum Assessment:
A rapid change in range percentages can indicate strong momentum in a particular direction. Traders can use this information to ride the momentum wave or prepare for a potential reversal.
- False Signal Filtering:
By combining range percentage knowledge with other indicators, traders can filter out signals that might be less reliable, thus improving trade accuracy.
- Strategic Planning:
Knowing range percentages allows traders to adapt their strategies according to market conditions. For instance, in a market with narrow ranges and low percentages, they might opt for range strategies. In markets with wide ranges and high percentages, they might look for trend strategies.
- Trend Strength Evaluation:
If range percentages show that the price consistently stays at one end of the range, this may signal a strong and sustained trend.
- Improved Trading Discipline:
By basing trading decisions on quantitative data like range percentages, traders can trade more objectively and disciplined, avoiding impulsive or emotion-based decisions.
>> Future Indicator Update:
- In future versions, we plan to incorporate a detailed analysis based on the historical behavior of candles after the price enters a specific range. For instance, if after an upward movement the price enters a certain range and historically, the next candle tends to be bearish in a high percentage of occasions, this information will be highlighted and presented clearly to the user. The idea behind this addition is to provide traders with a statistical edge, allowing them to anticipate potential market movements with greater accuracy. Moreover, this information could be used to seek trading opportunities in smaller timeframes, aligning the trade direction based on the probability of this mentioned candle.
>> Conclusions:
- In summary, a detailed understanding of each range's percentages in an indicator provides traders with a valuable tool to analyze the market, make informed decisions, and enhance their trading. By grasping the significance of these percentages, traders can adapt their strategies and techniques to fully leverage the opportunities the market presents.
Bitcoin as Heikin Ashi Candles with Pivot PointsI use this Indicator to show me where Bitcoin is heading.
Most pine programmers are not aware of the possibility to combine Heikin Ashi Candles with Pivot Points that easy.
You can switch between Traditional, Fibonacci, Woodie, Classic, DM, and Camarilla as usual.
When on a Intraday Chart it will automaticly calculate daily Pivots for Haikin Ashi candles.
On the daily Chart it will calculate weekly Pivots, and when switching to monthly candles it will calculate Pivots for one year.
There is also an option where you can deactivate all support and resistance lines, except for today. Meaning you will see the Central Pivot Point on all previous days only.
This is a lagging indicator!
When you can see Altcoin correlation with BTC then both might get pretty strong leading indicators.
I am pleased to hear some advice/wishes to improve this script.
It is still in the beginning and some updates will follow, I promise.
Happy Trading!
MTF Key Levels [Mxwll]Mxwll MTF S/R:
The Mxwll MTF Support & Resistance indicator is designed to identify crucial support and resistance levels across multiple timeframes. By considering various timeframes, this indicator provides a more comprehensive view of the market's underlying structure. It allows traders to extend lines in various configurations and covers timeframes ranging from 5 minutes to weekly. By considering price action across multiple timeframes, the indicator provides a more comprehensive understanding of the market's supply and demand dynamics. Traders can use the Mxwll MTF Support & Resistance Indicator to refine their trade entries and exits, manage risk, and establish potential price targets.
FEATURES
5 Minute to Weekly Key Levels
Accurate Multi-Timeframe Support and Resistance
Customize To Extend The Lines - Left, Right and Right Across The Chart
Interplay Between Support and Resistance Levels
Change Colours Of S&R
Change Colours Of S&R Lines
INSTRUCTIONS
Select Your Timeframe -> Unselect the S&R Levels That Are Less Than The Timeframe - Trade
Magic Trend By Market Mindset - Zero To EndlessMagic Trend indicator is an indicator combining the Commodity Channel Index (CCI) and the Average True Range (ATR) indicators.
The indicator is represented by a line that turns red when CCI readings are below 0 and converts to blue when CCI reaches above 0.
Color of the line can be treated as a trend indicator.
When CCI > 0 (Blue Color), price is assumed to be in uptrend and a buying momentum could be seen.
When CCI < 0 (Red Color), price is assumed to be in downtrend and a selling pressure could be seen.
Two Multipliers of ATR have been used. Default values for multiploier are : 1.5 and 3.0
It tells about the volatality in the price and also helps in deciding Entry poits, Stop loss points and sometimes Exit points.
If trend magic lines are not straight and moving upward/downward, continuition of the trend is expected and so Holding the position is adviced.
If the farther line (line with multiplier 3.0) is broken, a trend reversal can be seen soon.
In this case, squaring off and making reverse position is adviced near the other (1.5 mult) line.
If price is revolving in between these two lines... a sideways movement is expected.
Happy Trading
Market Mindset
Weekly BoxThe indicator shows a box based on the high and low of the previous week that extends into the current week. The box is used to monitor breakouts or break downs of the price with respect to the previous week levels.
The box is colored:
- green, if there is a breakout above the previous week high; or
- red, if there is a break down below the previous week low; or
- yellow, if the price stays inside of the box.
during the current week.
Labels for the box top and bottom prices can be enabled or disabled in the settings.
CPR (Central Pivot Range)Central Pivot Range is a trend and volatility forecasting tool. It is calculated from previous session's (day, week, or month) high, low, close values. It works on the idea that every trading session must be the result of its previous trading session.
Pivot, top pivot and bottom pivot values form the CPR. If the CPR for each trading session is getting higher (and also the price is trading above it) then it denotes bullish bias and vice versa for bearish. And the width of the CPR (i.e., distance between top and bottom pivot) denotes the volatility of the session.
If the CPR width is narrow, we can expect a trending or volatile trading session. If it's wide, then we can expect a range bound or sideways trading session.
Support and Resistance levels can be used as a profit booking zone or to add/reduce position sizing.
In this Indicator you have the following:
1. CPR with traditional support and resistance levels (S1-S5 & R1-R5).
2. Developing CPR for next trading day, week, and month.
3. Customizable lookback period, line width.
4. Option to show/hide labels, prices, SR levels, developing CPR.
Realized price for BTC, ETH, LTCThis script calculates the realized price of BTC/ETH/LTC and shows a signal when the market price falls below the realized price - which can be signal a for potential market bottom. The realized price calculation is based on Glassnode data MVRV ratio.
- Realized Price is the average price of the Bitcoin supply, valued at the day each coin last transacted on-chain. This is often considered the 'on-chain cost basis' of the market.
- MVRV Ratio is the ratio between the market value (MV, spot price) and the Realized value (RV, realized price), allowing for a visualization of Bitcoin market cycles, and profitability.
Calculations:
REALIZED PRICE = REALIZED MARKET CAP / CIRCULATION SUPPLY
REALIZED MARKET CAP = 1 / MVRV * MARKET CAP
It's working with BTCUSD, ETHUSD, LTCUSD tickers only.
Pivotal MomentsPivotal Moments draws lines for each of up to 500 pivot high and pivot low levels that have never been revisited at the present moment in time. After the Pivotal Moments indicator has been loaded onto chart and any of the subsequent realtime bars that are formed touch or cross a pivot level it is deleted. The duration for how long any touched or crossed pivot levels remain on chart before deletion may be extended by N bars or N units of time.
There are user selectable options for the following:
• Pivot Bars Left : the number of lower highs or higher lows that must be formed before a possible pivot bar can occur.
• Right : the number of lower highs or higher lows that must be formed after potential pivot to validate a pivot bar.
• Lines Show As : the choice of line style to use for the drawn pivot levels includes Dashed, Dotted, or Solid.
• Wide : the number of lines wide for how thick the drawn pivot levels are desired to be on the chart.
• Delay Removal : the number of units that touched or crossed pivot levels will persist on chart.
• Units : the choice of which delay unit type includes nBars, nSecs, nMins, nHrs, or nDays.
• Extend Right : the number of bars right of current bar to extend drawn pivot levels.
• Show : the number of maximum recent drawn pivot levels to keep on chart.
• Colors Used : the colors used for pivots high, low, and dual pivot bars.
• Show Price Labels : the choice whether to show prices for levels.
• On Right : the choice to move prices to right of pivot levels.
• Show Pivot Bars : the choice to colorize pivot bars.
If desired, alerts can be received for whenever new touches or crosses occur for both pivot highs and pivot lows by creating a single Alert. Note that these alerts are triggered by realtime bars which by their very nature are repainting prices, thus the alert creation window will warn of this with an orange exclamation symbol. For an illustration of how to create alerts for this indicator click the chart below:
Credit: this indicator was originally built for @Luckshury, who has graciously given me permission to publish it publicly.
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!
Pivot Point Trend LineThis Indicator simply draw lines between high pivot points and low points.
in the code by default its used tradingview default ta.pivothigh and ta.pivotlow function to get the high and low points.
it will generate recent 4 lines of high and low pivot points.
you can change the no of days for both highs and lows pivot points.
this script is not generating any buy or sell signals its just autodraw and connect 2 pivot points. so you dont have to do it manually.
Mancini LevelsAnother level parsing indicator.
Add your list of support and resistance levels as inputs in a comma-delimited list, including ranges e.g. -, with an optional (major) to signify a major level.
Format is <(major)>"," <(major)>,<...n> for both support and resistance, with optional "major" designation after each numeric level, comma-separated
Master Pattern [LuxAlgo]The Master Pattern indicator is derived from the framework proposed by Wyckoff and automatically displays major/minor patterns and their associated expansion lines on the chart.
Liquidity levels are also included and can be used as targets/stops. Note that the Liquidity levels are plotted retrospectively as they are based on pivots.
🔶 USAGE
The Master Pattern indicator detects contraction phases in the markets (characterized by a lower high and higher low). The resulting average from the latest swing high/low is used as expansion line. Price breaking the contraction range upwards highlights a bullish master pattern, while a break downward highlights a bearish master pattern.
During the expansion phase price can tend to be stationary around the expansion level. This phase is then often followed by the price significantly deviating from the expansion line, highlighting a markup phase.
Expansion lines can also be used as support/resistance levels.
🔹 Major/Minor Patterns
The script can classify patterns as major or minor patterns.
Major patterns occur when price breaks both the upper and lower extremity of a contraction range, with their contraction area highlighted with a border, while minor patterns have only a single extremity broken.
🔶 SETTINGS
Contraction Detection Lookback: Lookback used to detect the swing points used to detect the contraction range.
Liquidity Levels: Lookback for the swing points detection used as liquidity levels. Higher values return longer term liquidity levels.
Show Major Pattern: Display major patterns.
Show Minor Pattern: Display minor patterns.
Risk Management GO8686: Stop Loss, Position Size & TargetFull Name: Risk Management GO8686: Stop Loss, Position Size & Target
What this indicator provides:
A dashboard to calculate Stop Loss, Position Size and Target, where users can customize Risk Management parameters in the setting.
Position Size: calculated from "initialCapital", "Leverage", "Max Loss", "feeMaker", "feeTaker".
Stop Loss Price: using pivots, default length is set to 3, with an extra ATR value controlled by "'Multiplier OF Extra ATR".
Target: calculated from entry price, risk reward, distance between entry and stop loss, fees
What the indicator does Not provides:
entries of positions: The Long/Short entries displayed are just MACD signal crossing zero, users can apply their own entry logic, by modifying ready2L / ready2S variables.
What the indicator does Not guarantee:
the integrity, timeliness, accuracy, and comprehensiveness of the data, calculation method, calculation results, etc.
Two types labels:
1. Automated labels: they are displayed when MACD signal crossing zero, use "Display History Labels" to toggle display or not.
2. Setup Manually label: located at the right side of the latest bar, to display results when users setup manually
The settings of the indicator:
"Toggle to Reload",
"InitialCapital", "Leverage", "Max Loss % per trade", "feeMaker", "feeTaker",
4 length inputs for Pivot, "Multiplier of Extra ATR for stop loss",
"Toggle To setup manually", "Toggle between Long / Short", "Entry Price, set manually", "Stop Loss Price, set manually", "Risk-Reward Ratio"
"Display History Labels"
---------- Disclaimer ----------
Before using or requesting access to the indicator, customers/users acknowledge that they have read and accepted that the indicator, any associated contents on all social medias and any communication with the indicator author, including but not limited to: product and service details, signals, alerts, data, calculation methods, calculation results, user manual, tutorials, ideas, videos, chats, messages, emails, blogs, tweets, etc. are provided solely for educational purpose and Not as financial advice. Customers/users understand and agree to use the aforementioned indicator and information at their own risk.
---------- Updates ----------
The latest updates override the previous content.
To activate a update, if it does not load as expected: close the indicator, save the chart, clear browser caches, restart the browser, reload the chart and apply the indicator to the chart.
Previous OHLC Levels [TradeMaster Lite]In trading, the “Previous Open/High/Low/Close” (or previous OHLC) refers to the opening, high, low and closing price of the instrument in the previous period. These prices are typically used in technical analysis to identify trends and patterns and to make trading decisions. Some traders may also use the differences between the opening, high, low and closing prices to make trading decisions. For example, the difference between the closing and opening price (the so-called “true body”) and the high and low price (the so-called “upper shadow” and “lower shadow”) can indicate the strength of a trend, whether the bulls or bears are controlling the market, and can also give an idea of market volatility, and are also used as support and resistance levels.
Previous Open: shows the opening price of the previous period. It's the price at which the market first started trading in that period.
Previous High: represents the highest price reached during the previous period. It can act as a resistance level for the current period.
Previous Low: indicates the lowest price hit during the previous period. It can serve as a support level in the current period.
Previous Close: the last price at which the asset traded during the previous period. It's often considered the most accurate reflection of the market sentiment at the end of that period.
These values provide a summary of the previous trading period's price action, giving you a baseline for comparing current price movements. They can help in understanding the market's direction and identifying potential support and resistance levels. It is important to keep in mind that, like any other technical indicator, Previous OHLC does not give a definitive indication of future market direction and should be used in conjunction with other analytical tools, as well as fundamental analysis and market sentiment. It is also important to have appropriate risk management in place.
👉 General advice
Confirming Signals with other indicators:
As with all technical indicators, it is important to confirm potential signals with other analytical tools, such as support and resistance levels, as well as indicators like RSI, MACD, and volume. This helps increase the probability of a successful trade.
Use proper risk management:
When using this or any other indicator, it is crucial to have proper risk management in place. Consider implementing stop-loss levels and thoughtful position sizing.
Combining with other technical indicators:
The indicator can be effectively used alongside other technical indicators to create a comprehensive trading strategy and provide additional confirmation.
Keep in Mind:
Thorough research and backtesting are essential before making any trading decisions. Furthermore, it's crucial to have a solid understanding of the indicator and its behavior. Additionally, incorporating fundamental analysis and considering market sentiment can be vital factors to take into account in your trading approach.
Limitations:
This is a lagging indicator. Please note that the displayed values are delayed by the chosen timeframe on historical bars and show the values from the previous period on the current bar.
The indicators within the TradeMaster Lite package aim for simplicity and efficiency, while retaining their original purpose and value. Some settings, functions or visuals may be simpler than expected.
⭐ Conclusion
We hold the view that the true path to success is the synergy between the trader and the tool, contrary to the common belief that the tool itself is the sole determinant of profitability. The actual scenario is more nuanced than such an oversimplification. Our aim is to offer useful features that meet the needs of the 21st century and that we actually use.
🛑 Risk Notice:
Everything provided by trademasterindicator – from scripts, tools, and articles to educational materials – is intended solely for educational and informational purposes. Past performance does not assure future returns.
Sessions by JuezFxLines Plotted at the opening price of London, New York, New York Stock Exchange, and Asia. It could also plot lines of the closing price of the session.
The script is just plotting a line at those levels to give us a visual indicator of those specific levels as they could be very beneficial for your trading. Opening and closing of the session hold the most liquidity, attracting the market towards it.
I hope this script will help you in your trading and you can use those levels along with other confluences in order to identify key levels that the market could react from!
There are some similar scripts but this one have more lines to plot at could be identified by different color and line thickness!
Daily Range Support & Resistance Levels [QuantVue]The Daily Range Support & Resistance Levels is an advanced analytical tool designed to assess daily price movements and provide potential support and resistance levels.
This tool examines the average daily price fluctuations over the past 150 trading days, and creates support and resistance levels based on the opening price.
The indicator also considers a standard deviation multiplier.
This enables traders and investors to identify potential price zones.
The support and resistance levels are dynamically updated every day.
Users can also choose to view previous daily levels as well.
Customizable settings for this tool include:
-Averaging Period: Adjust the number of days to calculate the average daily range.
-Standard Deviation Multiplier: Modify the standard deviation multiplier to fine-tune the sensitivity of the support and resistance levels. A higher multiplier will result in wider levels, accommodating higher price fluctuations.
-Toggle Support & Resistance Prices: Easily switch on or off the display of support and resistance price levels.
-Show Daily Open Line: Display the daily opening price as a reference point on the chart.
-Show Previous Levels: Choose whether to display past daily support and resistance levels.
Note: this indicator works best on 5 or 15 minute charts.
Give this indicator a BOOST and COMMENT your thoughts!
We hope you enjoy.
Cheers.
Price Deviation Indicator (PDI)Management
The Price Deviation Indicator (PDI) was developed by "DimArt". This indicator allows you to determine the percentage deviation of the price from its average value over a certain period of time. The larger the deviation, the higher the histogram on the indicator chart. The PDI indicator can be useful for identifying a trend reversal in combination with other technical indicators, such as RSI, MACD, and others. For example, if the RSI and MACD indicators show the beginning of a possible trend reversal, using the PDI indicator can confirm this signal by showing the deviation of the current price from the average price. This can help the trader make more accurate trading decisions based on a strong signal.
Description
To calculate the values of the "Price Deviation Indicator" (PDI), we use the following steps:
• Determine the "Period" variable, which specifies the number of bars used to calculate the average price. (Default value is 20)
• Calculate the average price over the specified period using the "sma()" (simple moving average) function.
• Calculate the percentage difference between the current price and the average price using the formula: ((close - avg_price) / avg_price) * 100 .
• Set levels to change the color of the histogram based on price deviation from the average value. "Histogram Color" is a parameter to customize the color of the histogram based on deviation levels. By default, if the deviation is more than 5%, the histogram will be red; if it is less than -5%, it will be green, and for all other deviations, it will be blue. However, this parameter can be changed to other values.
• Draw a histogram of price change relative to the average value. The "Style" parameter allows you to choose the style of the indicator (histogram). By default, the "Histogram" style is set, but you can also select "Line on Close" or "Line on Open".
Application of the Indicator
The PDI indicator is based on the assumption that the price of any asset always tends to its mean value. Using PDI on higher timeframes allows you to determine the overall market trend, whereas on smaller timeframes, situations can be found when the price is in negative territory, and the histogram starts to smoothly transition from negative to positive value. This can be a signal to buy, as the price is likely in an oversold condition and ready to change its trend. On the other hand, if the strength of the price slows down or begins to approach 0, this may indicate that the asset is overbought and starting to turn towards oversold, which is a signal to sell. A beautiful feature of the PDI indicator is its simplicity and conciseness, which allows you to quickly and easily identify a trend change and make trading decisions based on a strong signal.
Conclusion
The "Price Deviation Indicator" (PDI) can be useful in analyzing price movements in the market. It allows you to calculate the relative difference between the current price and the average price, allowing you to identify market saturation and change in trend. The indicator can be used in technical analysis to make decisions about buying or selling assets on the exchange. It can also be useful for traders of different levels of experience, as its settings can be adapted depending on the user's needs and requirements. Overall, this indicator is one of the tools that can help in analyzing price and volumes to determine possible investment prospects in assets.
ATRLevels 1.0.0The indicator shows the average daily ATR for the past N days from the beginning of the current session. The range is displayed using levels. If the price has approached the level of 100% or -100% it means that the price has passed its average distance and it is possible to consider points for price reversal. This can be confirmed by daily or weekly horizontal resistance/support levels.
If the price has approached the levels of 25%, 50% or 75% and there are hourly or daily extrema at these levels, then we can consider situations on a false stabbing of these levels and a price pullback in the opposite direction.
*The best confirmation of a bounce/reversal is the density in the scalper's stack.
Settings:
ATR Daily length - number of periods to calculate the daily ATR
100% lines - visual design of 100% and -100% levels
50% lines - visual design of the 50% level
25% and 75% lines - visual design of 25% and 75% levels
Previous Day ValuesSay hello to the Previous Day Values Indicator, your new best friend in the world of trading. This script, written in the powerful Pine Script version 5, is designed to keep you informed about essential price levels from the previous day's trading session, right on your TradingView chart.
Here's how it works:
The script creates horizontal lines on your chart to represent the previous day's high, low, close, and VWAP (Volume Weighted Average Price) levels. Each level is color-coded for easy identification – red for the high, green for the low, blue for the close, and yellow for the VWAP. The lines extend to the right edge of the chart, allowing you to gauge where the current price stands in relation to these crucial levels.
But what makes this script unique is its ability to update dynamically with each new trading day. At the start of a new day, the script clears the lines from the previous day and draws new ones based on the latest data. It uses the request.security function to fetch the previous day's data for the current symbol, so you can rest assured that your information is always up-to-date.
There's also an added layer of customization built into this script. We understand that different traders might want to focus on different things, which is why we've included toggle options for each value. You can choose whether to display the previous day's high, low, close, or VWAP values, or any combination thereof. Just head to the settings and switch on/off the values you want to see.
The labels for these lines are placed further to the right of the screen for easy reading, without cluttering your chart. And if you're worried about distinguishing between them, don't be! Each label is color-matched to its corresponding line, so you'll know at a glance which is which.
In summary, the Previous Day Values Indicator is a versatile tool that can help you keep track of key price levels from the past trading day. Whether you're a seasoned trader or a beginner, this script is sure to be a valuable addition to your toolkit. Happy Trading!
Oscillator Profile IndicatorDescription:
The Oscillator Profile Indicator (OPI) is designed to provide insights into market trends and potential reversal points by profiling the value distribution of an oscillator or the price chart over a specified lookback period.
The OPI works by calculating the Point of Control (PoC) for the oscillator values or prices in the given lookback period. This PoC, essentially a median, is considered the fair value where most trading activities have happened. Along with this, OPI also calculates lower and upper boundaries by taking the specified percentile of the sorted distribution of values. These boundaries outline the value area within which a significant portion of trading activity has occurred.
The main feature of the OPI is the interpretation of PoC movement and how it relates to general market trends. If the PoC moves above 0 on the oscillator, it's a potential indication that we are in a general uptrend. Conversely, if the PoC moves below 0, this can be a signal for a general downtrend.
Usage:
While OPI can be used on both price charts and oscillators, its effectiveness is more pronounced when used on oscillators. Applying this indicator to oscillators such as the Relative Strength Index (RSI) or the Moving Average Convergence Divergence (MACD) can provide useful insights.
How to Read:
PoC line: The line represents the median of the past 'n' periods. Its movement above or below 0 can be used to identify general uptrends or downtrends respectively.
Upper and Lower Boundary lines: These lines represent the specified percentile of the value distribution in the lookback period.
Colored Fills: The fills between the upper and lower boundary lines visually represent the value area. The color changes based on the relative position of the source value (price or oscillator value) to the PoC.
Signals:
An uptrend is indicated when the PoC moves above 0 on the oscillator, especially when coupled with an upward crossover of the source value through the PoC.
A downtrend is signaled when the PoC drops below 0 on the oscillator, particularly when paired with a downward crossover of the source value through the PoC.
(!) Note: Like all indicators, OPI should be used in conjunction with other technical analysis tools for the best results. It is also advisable to backtest this indicator with your strategy before using it in live trading.