Open Interest by strikeOverview :
What is open interest (OI)? Is the total number of open derivative contracts, such as options, that have not been settled. These positions have been opened, but have not been closed out, expired, or exercised. This indicator helps with giving the open interest of selected equities on the market. It will give you the current weekly expiration date and has also the option to give the monthly expiration date (3rd Friday of the month).
How it works/Calculations :
This indicator will bring the data from an outside source and will have the closest options strikes to the current spot price of the underlying. The bars size will be equivalent to the amount of open interest. In the settings, you can see current weekly expiration options OI or have the option to see monthly expiration. When the weekly expiration is the monthly expiration week, then monthly expiration will show the next monthly expiration. (Example: On December 6, 2023 you will see weekly expiration of Dec 8, 2023 and monthly expiration will be Dec 15, 2023. On December 11, 2023 you will see weekly expiration of Dec 15, 2023 and monthly expiration will be Jan 19, 2024). You will also have the option to see the values or hide them. Also can see delta OI (for each strike subtract the calls and puts and display the remaining values). Open Interest updaters once a day, this indicator will update as well to give the most current values.
Current equities available for the data :
1. XLK 2. XLY 3. XLV 4. XLI 5. XLF 6. AAPL 7. MSFT 8. NVDA 9. AMD 10. V 11. Crm 12. Meta 13. Goog 14. NFLX 15. Amzn 16. Tsla 17. HD 18. Low 19. TGT 20. Wmt 21. XOM 22. Cvx 23. JPM 24. AXP 25. GS 26. ABBV 27. Cat 28. DE 29. BA 30. Fdx 31. UPS 32. Shop 33. SQ 34. Abnb 35. Snow 36. Coin 37. Crwd 38. Uber 39. SBUX 40. ENPH 41. XLP 42. XLE 43. XLB 44. NKE 45. UPS
How to use :
You should not be using this indicator for entries or stop. This indicator will help you see where there are possible levels that will serve as imaginary support and resistance.
Settings:
As above, you can choose weekly or monthly expiration date as explained above. Also you can choose to see the values or delta OI or no values.
Disclaimer:
This is still an indicator that in no way should be used alone.
The information contained in this script does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts are only for educational purposes!
Educational
ICT IPDAGuided by ICT tutoring, I create this versatile indicator "IPDA".
This indicator shows a different way of viewing the “IPDA” by calculating from START
(-20 / -40 / -60) to (+20 /+40 /+60) Days, showing the Highs and Lows of the IPDA of the Previous days and both of the subsequent ones, the levels of (-20 / -40 / -60) Days can be taken into consideration as objectives to be achieved in the range of days (+20 /+40 /+60)
The user has the possibility to:
- Choose whether to display IPDAs before and after START
- Choose to show High and Low levels
- Choose to show Prices
The indicator should be used as ICT shows in its concepts.
Example on how to evaluate a possible Start IPDA:
Example for Entry targeting IPDAs :
If something is not clear, comment below and I will reply as soon as possible.
Optics Alert ZoneOptics Alert Zone shows price ranges for prices 17 days and 40 days ago. These can be adjusted based on asset class and volatility.
Bullish is when price is above 17 and 40 day.
Bearish is when price is below 17 and 40 day.
[F][IND] - Draw Vertial Line at Last N BarDescription:
Enhance your trading analysis with the "Vertical Line at N Last Bars" script! This powerful tool provides traders with a visual reference to key points in the historical price action, aiding in the identification of crucial patterns, trends, and potential trading opportunities.
Key Features:
1. Customizable Parameters:
Tailor the script to your specific needs by adjusting the number of last bars (N) to plot vertical lines. This flexibility allows you to focus on short-term or long-term trends based on your trading strategy.
2. Visualize Critical Events:
Instantly mark important events, such as the release of economic data, key market sessions, or specific price levels. The vertical lines serve as a quick reference, making it easier for traders to identify correlations between events and price movements.
3. Enhance Technical Analysis:
Complement your technical analysis by visually highlighting points of interest on the chart. Whether you're tracking reversals, breakouts, or support/resistance levels, the script aids in better understanding price dynamics.
4. Easy to Use:
The script is designed with simplicity in mind. Just apply it to your chart, customize the parameters, and let it do the work for you. No complex coding or manual drawing required.
Alerts:
You can enable alerts on this indicator to receive timely notifications.
Disclaimer:
This indicator is provided for educational purposes only. Trading involves risk, and users should consult with a financial professional before making any trading decisions.
Your Feedback Matters!
Please feel free to comment or reach out if you have any improvement suggestions or if you would like to request the development of a specific indicator. Your feedback is invaluable!
[F][IND] - Big Candle IdentifierDescription:
The size of a candle in trading offers a fundamental insight into market direction. Larger candles often indicate robust price movements, suggesting strength in either buying or selling activity. In an uptrend, substantial green (bullish) candles signify strong buying momentum, while in a downtrend, sizable red (bearish) candles indicate significant selling pressure. Traders frequently interpret these larger candles as potential signals for a shift in sentiment or the continuation of an existing trend.
This indicator specifically identifies whether the candle body (the difference between Open and Close) is larger than the previous 5 candles. It serves as a simple yet effective tool for traders seeking recent notable candle movements as potential entry signals. It's crucial to emphasize that the indicator labels/alerts are initiated once the technical conditions are satisfied. However, it's imperative to wait for the candle to close to confirm that all technical conditions are met at the close of the candle.
It's important to note that while the candle body size provides valuable information, it's usually more effective when used in conjunction with other technical indicators and analysis methods. Traders often combine multiple tools to gain a comprehensive understanding of the market and make well-informed trading decisions.
Alerts:
You can enable alerts on this indicator to receive timely notifications.
Disclaimer:
This indicator is provided for educational purposes only. Trading involves risk, and users should consult with a financial professional before making any trading decisions.
Your Feedback Matters!
Please feel free to comment or reach out if you have any improvement suggestions or if you would like to request the development of a specific indicator. Your feedback is invaluable!
Limited Growth Stock-to-Flow (LGS2F) [AlgoAlpha]Description:
The "∂ Limited Growth Stock-to-Flow (LG-S2F)" indicator, developed by AlgoAlpha, is a technical analysis tool designed to analyze the price of Bitcoin (BTC) based on the Stock-to-Flow model. The indicator calculates the expected price range of BTC by incorporating variables such as BTC supply, block height, and model parameters. It also includes error bands to indicate potential overbought and oversold conditions.
How it Works:
The LG-S2F indicator utilizes the Stock-to-Flow model, which measures the scarcity of an asset by comparing its circulating supply (stock) to its newly produced supply (flow). In this script, the BTC supply and block height data are obtained to calculate the price using the model formula. The formula includes coefficients (a, b, c) and exponentiation functions to derive the expected price.
The script incorporates error bands based on uncertainty values derived from the standard errors of the model parameters. These error bands indicate the potential range of variation in the expected price, accounting for uncertainties in the model's parameters. The upper and lower error bands visualize potential overbought and oversold conditions, respectively.
Usage:
Traders can utilize the LG-S2F indicator to gain insights into the potential price movements of Bitcoin. The indicator's main line represents the expected price, while the error bands highlight the potential range of variation. Traders may consider taking long positions when the price is near or below the lower error band and short positions when the price is close to or above the upper error band.
It's important to note that the LG-S2F indicator is specifically designed for Bitcoin and relies on the Stock-to-Flow model. Users should exercise caution and consider additional analysis and factors before making trading decisions solely based on this indicator.
Originality:
The LG-S2F indicator, developed by QuantMario and AlgoAlpha, is an original implementation that combines the Stock-to-Flow model with error bands to provide a comprehensive view of BTC's potential price range. While the concept of Stock-to-Flow analysis exists, the specific calculations, incorporation of error bands, and customization options in this script are unique to QuantMario's methodology. The script is released under Mozilla Public License 2.0, allowing users to utilize and modify it while adhering to the license terms.
ICT Premium/DiscountGuided by ICT mentorship and help from TraderTim and its community, I created this versatile indicator to mark a "Premium/Discount" price range.
This indicator shows the Premium and Discount Zones in an alternative way, manually setting the start of the band and automatically shows the HTF and LTF FVG present only in the set band, having a cleaning of the graph from possible other distractions, so as to be able to have a clear vision clear of the set trading range
The user has the possibility to:
- Choose the start of the interval from the graph by moving the start line
- Choose to show levels 50% - 75% - 25% of the range
- Choose the color, style and size of the lines
- Choose to display FVG LTF or HTF in range
- Choose the FVG mitigation mode
The indicator must be used as shown by the ICT in its concepts, the Premium and Discount zones are nothing more than zones where the price risks retracing, and consequently we can evaluate making entries in the Premium Zone, Sell is evaluated, in the Discoutn Zone they are evaluated as Buy, taking the opposite area as Take Profit
As in the example below:
If anything is unclear, comment below and I will get back to you as soon as possible.
How to change range:
Mandelbrot SetThe Mandelbrot set represents a set of complex numbers with distinctive and very well known intricate geometric properties. Here I have attempted to implement it in Pinescript leveraging tables.
The defining formula for the set is:
Zn+1 = Zn2 + C
If, after a certain number of iterations, the magnitude of the complex number remains bounded (does not diverge to infinity), the point is considered part of the Mandelbrot set.
The Mandelbrot set exhibits intricate and infinitely detailed fractal patterns, characterized by self-similarity at different scales. Due to limitations in Pinescript and the number of possible table cells (Pinescript is not designed for this at all and this is merely a showcase of how flexible & great Pinescript can be it is) the resolution over this set is low.
Users can zoom in and out of the set via the provided inputs.
The values in each cell represent the number of iterations required for the corresponding point in the Mandelbrot set to escape a certain threshold.
Impulse+This indicator is a trade setup inspired by the Impulse Trading System published by Alexander Elder.
This setup should only be used for long trades and not short trades.
This setup includes trend analysis using 4 EMA lines, volatility range using Keltner Channels, momentum on each bar using MACD and 10 EMA and also helps managing risk on each trade by calculating the max quantity for the max risk specified in the settings. Each of the above is described in detail below:
Trend Analysis
This indicator displays 4 EMA lines (10, 20, 50 and 200). These lines can serve as an indicator to gauge the trend of the stock.
Volatility Analysis
This setup also includes Keltner Channels using ATR 14 and 20 EMA with a multiplier of 2. Widening channel indicates an increase in volatility and vice versa.
Momentum Analysis
Momentum is calculated on each bar and are according color coded. The bar can have 3 possible colors. Aqua / Green indicates a bullish momentum. Gray indicates sideways momentum and Red indicates a bearish momentum.
The momentum is derived by using MACD and EMA 10.
If the EMA 10, MACD and MACD Histogram have a positive slope, the bar is colored green indicating a bullish momentum. While if all the 3 have a negative slope, the bar is colored red indicating a bearish momentum. However if there is a mismatch in the slope of the 3 entities, the bars are colored gray indicating sideways movement.
Risk Management
This indicator takes max risk per trade as one of the settings parameters. Based on this, the indicator calculates the maximum quantity to be purchased for different stop loss values. Also as a utility, the indicator also displays target on a 1:3 risk reward ratio.
A table is displayed at the bottom right of the chart which displays the possible stop loss and their corresponding quantity.
The stop losses considered are EMA 10, EMA 20, EMA 50, EMA 200, Keltner Channel Top, Keltner Channel Bottom, 1 Candle Low, 1 Candle Mid and 2 Candle Low.
These stop losses are only indicative and should be followed as per risk appetite of the consumer.
The trade setup is primarily built for daily timeframe, however the same logic can be applied to other time frames as well. The indicator follows the chart timeframe.
Time & Sales (Tape) [By MUQWISHI]▋ INTRODUCTION :
The “Time and Sales” (Tape) indicator generates trade data, including time, direction, price, and volume for each executed trade on an exchange. This information is typically delivered in real-time on a tick-by-tick basis or lower timeframe, providing insights into the traded size for a specific security.
_______________________
▋ OVERVIEW:
_______________________
▋ Volume Dynamic Scale Bar:
It's a way for determining dominance on the time and sales table, depending on the selected length (number of rows), indicating whether buyers or sellers are in control in selected length.
_______________________
▋ INDICATOR SETTINGS:
#Section One: Table Settings
#Section Two: Technical Settings
(1) Implement By: Retrieve data by
(1A) Lower Timeframe: Fetch data from the selected lower timeframe.
(1B) Live Tick: Fetch data in real-time on a tick-by-tick basis, capturing data as soon as it's observed by the system.
(2) Length (Number of Rows): User able to select number of rows.
(3) Size Type: Volume OR Price Volume.
_____________________
▋ COMMENT:
The values in a table should not be taken as a major concept to build a trading decision.
Please let me know if you have any questions.
Thank you.
NCI - Lot size (Forex)Description:
The "NCI - Lot Size (Forex)" is a comprehensive tool designed for Forex traders to optimise their risk management strategies. This indicator dynamically calculates and displays the ideal lot size for your trades based on real-time currency conversion rates and your predefined risk parameters.
Key Features:
1. Real-Time Data Integration: Leverages current Forex market data from OANDA for major currency pairs, including USDJPY, USDCHF, AUDUSD, GBPUSD, NZDUSD, USDCAD, and EURUSD, ensuring accurate lot size calculations.
2. Customizable Account Balances: Set up to five different account balances to simulate various trading scenarios.
3. Adjustable Risk Management: Define your risk tolerance with a customizable risk percentage, allowing you to align the lot size calculations with your individual trading strategy.
4. Stoploss Adjustment: Input your desired stop loss in pips, which directly influences the calculated lot size, ensuring that your trades stay within your risk parameters.
5. Currency-Specific Adjustments: The script automatically adjusts the lot size based on the currency pair being traded, accounting for differences in currency values and volatility.
6. Intuitive Display: A clear and concise table is displayed on your chart, presenting the calculated lot sizes for each account balance and risk setting, alongside your specified stop loss.
7. User-Friendly Interface: Easy-to-use inputs make setting up the indicator a breeze, allowing both novice and experienced traders to make the most of this tool.
How to Use:
- Set your account balances (up to five different accounts).
- Define your risk percentage.
- Input your stop loss in pips.
- The table will dynamically show the ideal lot size for each account based on the current Forex market data and your settings.
---
Please Note: Trading in Forex involves significant risk and may not be suitable for all investors. The use of this indicator does not guarantee profits and should be used as part of a comprehensive trading strategy.
Choose Symbol, Mode with HullThis Pine Script code is designed to create a customizable indicator on the TradingView platform. Below is an introduction to its features and purpose:
Introduction:
This script serves as a versatile indicator on TradingView, allowing users to choose between different modes (Heikin-Ashi, Linear, and Normal) and apply a Hull Moving Average (Hull) for trend analysis. The primary features include mode selection, the choice of using different calculation methods, and the option to incorporate the Hull Moving Average for enhanced trend visibility.
Key Features:
Mode Selection:
Users can choose between "Heikin-Ashi," "Linear," or "Normal" modes, influencing how the open, high, low, and close prices are calculated.
Hull Moving Average:
The script incorporates the Hull Moving Average (Hull) to provide a smoothed trend line for better trend identification.
Calculation Methods:
Users can select different calculation methods for the open, high, low, and close prices, including Simple Moving Average (SMA), Exponential Moving Average (EMA), Smoothed Moving Average (SMMA or RMA), Weighted Moving Average (WMA), and Volume Weighted Moving Average (VWMA).
Customizable Lengths:
Length parameters are customizable, allowing users to adjust the period lengths for the Hull Moving Average and other calculation methods.
Buy and Sell Signals:
Buy and sell signals are generated based on crossovers and crossunders between the Hull Moving Average and the price. These signals are visually displayed on the chart with corresponding labels.
Color-Coding:
The script utilizes color-coding to distinguish between bullish (lime) and bearish (red) trends, making it easier for users to identify potential changes in market direction.
Customizable Symbol and Resolution:
Users have the option to choose a specific trading symbol and resolution for analysis.
Important Note:
This script is provided for educational purposes and does not constitute financial advice. Traders and investors should conduct thorough research and analysis before making any trading decisions. Additionally, customization options should be explored to align the script with individual trading preferences.
Trading Strategy - Follow The Plan"Trading Strategy - Follow The Plan" is a TradingView indicator specifically crafted for traders dedicated to adhering to a structured approach. It emphasizes the elimination of emotional decision-making by providing clear, actionable steps. This tool allows you to articulate and visually embed your trading strategy directly onto your charts, encompassing your entry plan, exit plan, and any additional notes crucial for maintaining focus and discipline. It's designed to aid in sustaining consistency in your trading executions, ensuring that you remain steadfastly aligned with your predetermined trading methodology.
Features
1. Entry Plan: Allows traders to outline specific criteria for market entry. This could include conditions like divergences on multiple timeframes, specific pattern recognitions, or other entry triggers. The flexibility of this section caters to various trading styles and strategies.
2. Exit Plan: Dedicated to defining exit strategies, this section can include details on profit targets, stop-loss levels, or conditions for position reversal. It serves as a constant reminder of exit strategies during active trades.
3. Notes: A customizable space for traders to jot down essential rules, observations, or reminders. This section is particularly useful for reinforcing risk management practices and maintaining focus on broader trading goals.
4. Visibility Controls: Each section of the trading plan (Entry Plan, Exit Plan, Notes) can be toggled on or off, allowing traders to manage on-screen information and reduce chart clutter.
5. Layout Customization: Users can choose the placement of the trading plan on their chart, with options including Top Right, Top Left, Bottom Right, and Bottom Left. This caters to individual preferences and screen setups.
6. Appearance Customization: The indicator allows for adjustments in text and background colors, and text sizes for titles and content, enhancing readability and personal preference alignment.
The Square of NineThe Square of Nine
█ OVERVIEW
This script is made to make it easy for traders to visualize the movement of price along the square of nine table. This script Places the square of nine table right infront of you in the middle of the screen, which is why it's suggested that you would use it on the side of your main chart.
This script gives you ability to adjust number of revolutions which is the number of rings making the square of nine table up to 9 revs.
You can also change the price unit ( increments ) for each step.
You can use this indicator as a visual reference to track the price action along the square of 9 and make sense of the mechanism behind turning points. It is made to complement both :
- Gann Static Square of 9
- Gann Dynamic Square of 9
You can enable all of the following degrees and adjust their visual appearances on the chart :
360, 45, 90, 135, 180, 225, 270, 315
█ Future Plans and upgrades to this script may include :
1. Adjustable starting price.
2. Astro Integrations.
3. Visuals and matching prices.
and more! feel free to let me know what you'd like to see!
█ How to use :
1. Put the script on your chart
2. Selected your desired levels to activate and the number of desired revolutions.
give the script a few seconds and you should be set.
AMDX-XAMDGuided by ICT tutoring and also inspired by the teaching of
Daye', I create this versatile "AMDX" indicator.
A = Accumulation
M = Manipulation
D = Distribution
X = Continuation Or Reversal
This indicator shows a different way of viewing all the Timeframes by dividing them into Quarters, in this context the Trading sessions are divided into a 90m cycle, dividing each time range into Q1-Q2-Q3-Q4, in this way you have a clear vision of what the price is likely to do
True Open Times =
Opening Week - Monday at 6pm
Opening Day - 00:00
Asia -7.30pm
London -01.30
New York -07:30
PM -1.30pm
Session Times =
Q1 Asia 18:00-00:00
Q2 London 00:00-06:00
Q3 New York 06:00-12:00
Q4 PM 12:00-18:00
The user has the possibility to:
- Choose whether to display AMDX W
- Choose whether to display AMDX D
- Choose whether to display AMDX Session
- Choose to show the text in the Box
- Choose to show open levels
The indicator should be used as ICT and 'Daye' show in their concepts.
The indicator divides everything into Quarter ranges and classifies them into Q1-Q2-Q3-Q4 (as in the example above), and each Quarter has its own specific function, and can be used in this way:
If Q1 does an expansion it is likely that Q2 will do a consolidation, Q3 will do a Manipulation and Q4 will do a reversal returning to Q1
-If we are Bullish we buy under Open Session
-If we are Bearish we buy above open session
As in the example below:
If something is not clear, comment below and I will reply as soon as possible.
Capital Accumulation Plan (CAP) Simulator 2.0Description:
This indicator serves as a simulation tool for the Capital Accumulation Plan (CAP). The CAP is an investment strategy involving regular contributions of a fixed amount at consistent intervals, regardless of market fluctuations. This simulator allows you to visualize how your invested capital might grow over time, considering a fixed monthly investment in a given financial instrument.
How to Use:
Customize the monthly investment amount, the day of the month for the investment, and the simulation period. Also, input the percentage of taxation on potential dividends and the Total Expense Ratio (TER) of the financial instrument. The indicator calculates the portfolio value over time, the invested capital, and the average cost. If applicable, it also calculates the dividend amounts over time and the corresponding taxes to be paid.
The indicator displays how these metrics would change over time following the PAC strategy.
Important Notes:
Apply exclusively to the daily chart; a fix for the chosen day absence will be implemented shortly.
OKX Signal BOT - Strategy Scanner & Orderer
Hello traders,
With the OKX Signal BOT - Strategy Scanner & Orderer, you can now design your own strategy, scan over 20 cryptocurrencies, and send orders for futures trades on the OKX exchange.
How to Use:
🌐 First, log into your account on the OKX exchange and create a signal bot.
📝 While creating the signal bot, note down the webhook URL and signal token variables given to you; they'll be needed later.
🔍 Select the trading pairs that the bot will work on.
📈 Add this indicator to your chart.
⚙️ Adjust the values of the indicators you will use in your strategy.
📊 Set your entry conditions and indicator setups according to your preference.
🚀 Decide which condition will generate a LONG signal and which will generate a SHORT signal.
🔗 Then, link these conditions with either an AND or OR connector.
🛠️ This also serves as a strategy designer.
🆔 Paste the signal token value you got from OKX into the OKX Signal ID section in the indicator.
➕ Add the cryptocurrency pairs you added to the bot on OKX to this design tool as well.
💾 Save and exit.
🚨 Set an alarm and paste the webhook URL link you got from OKX.
Congratulations, you can now send signals from Tradingview to the OKX exchange without needing any other platform.
Warnings:
⚠️ Works only for futures trades.
📈 Make your leverage settings through the exchange.
🛑 It is recommended to set take profit and stop loss through the exchange.
🚫 If too many alarms are triggered, Tradingview may stop your alarms.
💡 Ensure that the coins you add in the symbol section are from the OKX exchange.
🔍 For futures trades, make sure the symbols end with ".P".
🎉 Enjoy using it!
[AlbaTherium] OptiStruct™ Premium for Smart Money Concepts An Insight into Structure Mapping and Order Block Identification with Smart Money Concepts
Introduction:
Structure Mapping & Demands and Supplies Premium serves as a fundamental pillar in the realm of Smart Money Concepts . This indicator adeptly charts the market structure based on a refined version of SMC while identifying Order Blocks. All the concepts embedded in this method are meticulously defined, offering users the ability to chart the market structure with precision and heightened confidence. With this indicator, there is no need for excessive questioning of the accuracy of your markings; it diligently strives to perform this task effectively. There are no hidden 'magic' properties underlying this indicator, ensuring that our users can independently verify each and every feature. It is this commitment to transparency that sets us apart and makes us unique in the market.
In this discussion, we delve into the intricacies of Break of Structure, Change of Character , and SMART MONEY TRAP . We also introduce the concepts of Extreme Order Blocks, Decisional Order Blocks , and Smart Money Trap Order Blocks .
Chapter 1: Understanding Structure Mapping:
Let's begin with some definitions:
- Inside bars are candles that lie within the range of a preceding candle.
- Pullbacks occur in an uptrend when the low of a preceding candle's range (excluding inside bars ) is breached, and the price continues to rise.
- Inducements (IDM) are price levels defined as the low of the latest pullback before the most recent high. They often act as liquidity points that the market revisits before continuing its move.
Break of Structure (BoS):
In an uptrend, after surpassing an IDM , the most recent high becomes a Confirmed structure high, or a Major High . If the price then closes above this Major High, a Bullish Break of Structure (Bullish BoS) is confirmed. Similarly, the lowest point between these movements becomes a Confirmed structure low or Major Low in a downtrend.
Change of Character (ChoCh):
In an uptrend, if the price falls below a Major Low, it indicates a shift in market bias from Bullish to Bearish, or a Bearish Change of Character .
Example of a bullish ChoCh:
Chapter 2: The Significance of Order Blocks:
Order Blocks (OB) play a pivotal role in Smart Money Concepts during entry points. Understanding what they represent and how to identify them is essential. For a Bullish/Bearish Order Block to be confirmed, specific conditions, including price imbalance and breaching the previous candle's high or low, must be met. We will delve into the finer details of identifying and trading Order Blocks, with an emphasis on the fact that price often reacts from Decisional Order Blocks, Extreme Order Blocks , and Smart Money Trap Order Blocks .
An OB is the initial candle range of a pullback that creates a Fair value gap.
These are zones where proactive traders enter the market, resulting in significant price changes indicated by Fair value gaps. It is believed that when the price revisits these zones in the future, it tends to bounce back. This property makes Order Blocks excellent potential entry points.
Order Blocks are categorized as follows:
- Extreme OB : The first and lowest OB between the Major Low and Major High.
- Decisional OB : The most recent OB lower than the current IDM.
- Smart Money Traps : All OBs between Extreme and Decisional OB.
- Demand above IDM / Supply below IDM
Chapter 3: Understanding SMART MONEY TRAP (SMT):
SMART MONEY TRAP is a concept that brings clarity to the distinction between Structure and Order Blocks within Smart Money Concepts and is a unique feature of this indicator. While many Smart Money Traders base their trades on Structure and Order Blocks, it's crucial to recognize that Order Blocks serve as an additional confirmation for buy or sell decisions. Blindly trading based on Order Blocks is not advisable. Instead, traders should exercise patience and await other confirmations like inducement or Liquidity sweep before executing trades on Order Blocks. We will illustrate how this concept works in practice.
In the example above, the market made a high wick up, taking out the buy-side liquidity, then made a bearish ChoCh. We place our sell order on the order block above IDM. This presents a promising trading opportunity, with a stop loss placed above the OB and a take profit set at the low of previous structure.
Conclusion:
Structure Mapping & Demands and Supplies Premium as the epitome of Smart Money Concepts, presenting traders with a tool meticulously crafted for an exceptional user experience . This indicator integrates structural mapping and Order Blocks, providing not only a wealth of knowledge but a platform tailor-made for personalization to suit your unique style and preferences. By mastering the nuances of Impulsive Moves and Corrections, and expertly identifying and trading Order Blocks while considering the SMART MONEY TRAP, traders gain a distinct advantage in the ever-evolving financial markets.
This document serves as an enriching guide to Structure Mapping & Demands and Supplies Premium, accentuating its pivotal role within the Smart Money Concepts framework. We invite users to immerse themselves in an experience that transcends the ordinary, delving into the intricacies that define successful trading. As you navigate the complexities of the market, these detailed insights become your compass, providing a rich and customizable user experience that unlocks the full potential of Smart Money Concepts. Embrace these tools judiciously, and empower your daily analysis with a wealth of information that truly holds its weight in gold.
CryptoSignalScanner - DeFib v2 indicatorDESCRIPTION:
The DeFib indicator combines Moving Averages data points, Fibonacci sequence calculations and other methods to help traders make better decisions when it comes to entering and exiting trades at different time intervals. By analyzing these data points, the indicator provides valuable insights into the market trends and helps traders determine optimal moments to enter or exit a trade. Moving Averages helps smooth out price fluctuations over a specified period, providing a clearer picture of the overall market direction. The DeFib indicator uses a mix of these averages and Fibonacci methods to increase its chances of finding good trade opportunities. Whether analyzing short-term trends or longer-term patterns, this indicator assists traders in identifying favorable entry and exit points, thereby supporting more informed and strategic trading decisions.
By using Moving Averages data points based on the Fibonacci Sequence (+ some extra calculations we don't wish to share), we incorporate a unique perspective into the analysis. It helps to identify key levels of interest, potential trend reversals, and areas where price action may align with Fibonacci retracement levels. The Fibonacci Sequence is a mathematical sequence in which each number is the sum of the two preceding numbers (e.g., 0, 1, 1, 2, 3, 5, 8, 13, 21, and so on).
As a result of this information some L1, L2, S1 and S2 labels are printed on the chart. The labels are printed when a candle has been closed. Those labels are an indication when to enter or exit a trade. How to use those labels is described in the section "HOW TO USE" below.
This indicator is versatile and can be used on any timeframe, offering a wide range of features to support traders in their decision-making process. Here are some key aspects of this indicator:
User-Friendly:
Traders can easily customize all the settings according to their preferences, ensuring a personalized trading experience.
Long Signals:
The indicator provides both normal and strong long signals, which assist traders in identifying potential reversals in the market. These signals act as confirmation for traders to consider entering a long position.
Short Signals:
Similarly, the indicator offers normal and strong short signals, helping traders identify and confirm potential market reversals for short positions.
Fibonacci Sequence Calculation:
The calculation of the Long and Short labels is based on the Fibonacci Sequence, a mathematical pattern widely used in technical analysis. This adds a reliable and systematic approach to the indicator's signal generation.
Stop Loss:
When initiating a trade, it is our standard practice to implement a stop loss order based on the stop loss signal derived from the current or preceding candle. These stop loss signals are generated using the Average True Range (ATR) indicator.
Overlays:
The indicator includes overlays that visually represent market trends. These overlays identifying support and resistance levels, and providing valuable insights into the overall market behaviour.
Trend Table Box:
Traders can access a trend table box that displays the prevailing trend across different timeframes. This feature allows traders to assess the trend's strength and consistency. Additionally, users have the flexibility to adjust the timeframes based on their trading preferences.
Long/Short Alerts:
The indicator offers the functionality to add alerts for both long and short positions. Traders can set up notifications to be alerted when specific conditions are met, ensuring they stay informed even when they're not actively monitoring the charts.
Overall, this indicator provides traders with a comprehensive set of tools and features to enhance their trading decisions. Its user-friendly nature, combined with the inclusion of various signals, overlays, trend analysis, and alerts, enables traders to make informed choices and adapt to different market conditions effectively.
HOW TO USE:
This indicator incorporates specific signals that provide valuable insights into potential trend reversals in the market. Here's how each signal type is interpreted:
L1 (Long) Signal:
When an L1 signal appears, it suggests a potential uptrend reversal. Traders should pay attention to this signal as it indicates a possible shift from a downtrend to an uptrend. It serves as an early indication of a potential upward movement in prices. This is the fist point where we can take a long position. If we want to invest $100 into this trade we invest a maximum of $50 at this point. Don't forget to put a stop loss as described below in the "STOP LOSS" section.
L2 (Long) Signal:
An L2 signal acts as confirmation of the potential uptrend reversal identified by the L1 signal. When an L2 signal emerges, it strengthens the case for an upcoming uptrend. Traders may consider this signal as a stronger indication to support their decision to enter a long position. This is the point where we can invest another $50 if we already invested on the L1 signal. If we did not invested yet and we still see a clear reversal we enter the trade here with $100. Don't forget to put a stop loss as described below in the "STOP LOSS" section.
S1 (Short) Signal:
When an S1 signal is generated, it suggests a potential downtrend reversal. Traders should take note of this signal as it indicates a possible shift from an uptrend to a downtrend. It serves as an early indication of a potential downward movement in prices. This is the fist point where we can take a short position. If we want to invest $100 into this trade we invest a maximum of $50 at this point. Don't forget to put a stop loss as described below in the "STOP LOSS" section.
S2 (Short) Signal:
An S2 signal confirms the potential downtrend reversal identified by the S1 signal. When an S2 signal emerges, it reinforces the likelihood of an upcoming downtrend. Traders may consider this signal as a stronger indication to support their decision to enter a short position. This is the point where we can invest another $50 if we already invested on the S1 signal. If we did not invested yet and we still see a clear reversal we enter the trade here with $100. Don't forget to put a stop loss as described below in the "STOP LOSS" section.
These signals provide traders with a systematic framework to identify and evaluate potential reversals in market trends. By combining the information provided by both the L1 and L2 signals (for uptrends) or the S1 and S2 signals (for downtrends), traders can gain more confidence in their assessments of trend reversals. This indicator offers traders a valuable tool to capitalize on these reversal opportunities and make more informed trading decisions.
It is important to exercise caution and avoid blindly following the signals generated by the indicator. Instead, it is recommended to seek additional confirmations from other technical indicators such as the RSI (Relative Strength Index), MACD (Moving Average Convergence Divergence), or any other indicators that you are familiar with and trust.
While the signals provided by the indicator can be a useful starting point, relying solely on them may not always guarantee accurate predictions. By considering other technical indicators, traders can gain a more comprehensive view of the market conditions and validate the signals received from the indicator.
The RSI is a popular momentum oscillator that measures the speed and change of price movements. It helps traders identify overbought and oversold conditions, giving insights into potential trend reversals. The MACD, on the other hand, combines moving averages to provide signals for trend identification, as well as momentum and divergence analysis.
By utilizing these additional indicators or any others that you are familiar with, you can confirm the signals generated by the indicator under consideration. This approach enhances the reliability of your trading decisions by adding another layer of analysis and reducing the potential for false signals.
Each trader may have their preferred set of technical indicators based on their trading style and experience. It is important to select indicators that align with your trading strategy and complement the signals received from the indicator in question. This way, you can make more informed and well-rounded trading decisions, increasing the probability of successful trades and minimizing potential risks.
Stop Loss:
When initiating a trade, it is our standard practice to implement a stop loss order based on the stop loss signal derived from the current or preceding candle. These stop loss signals are generated using the Average True Range (ATR) indicator.
By employing a stop loss order, we aim to limit potential losses in case the trade moves against our anticipated direction. The stop loss signal, determined from the current or previous candle, provides a specific level at which the stop loss order is placed.
The Average True Range indicator is utilized to gauge the volatility of the market and determine an appropriate stop loss level. It takes into account the price range of the asset over a defined period, considering both high and low price points. By using the ATR, we can identify an optimal stop loss level that accounts for the asset's recent price fluctuations.
Implementing a stop loss based on the ATR-derived signal adds a layer of risk management to our trading strategy. It helps mitigate potential losses by automatically triggering the stop loss order if the price reaches or exceeds the predetermined level. This approach allows us to protect our capital and minimize the impact of adverse price movements.
It is important to note that the ATR-based stop loss signals should be used in conjunction with other analysis techniques and indicators. They serve as a dynamic reference point that considers market volatility, ensuring the stop loss level is adjusted accordingly.
By incorporating stop loss orders based on the stop loss signals derived from the current or previous candle using the ATR indicator, we aim to safeguard our trades and manage risk effectively. However, it is important to continually monitor and adjust the stop loss level as market conditions evolve, adhering to our risk management strategy throughout the duration of the trade.
Candlestick Sequence:
The Candlestick Sequence is a calculation used to identify potential trend reversal points in the financial markets. It consists of two main components, the Candlestick Sequence and the Candlestick Reversal. The Candlestick Sequence and Candlestick Reversal offer a structured way to identify potential reversals in the market.
WARNING:
• It is not advisable to engage in Leverage Trading unless you possess chart reading skills.
• It is not advisable to engage in Leverage Trading unless you are capable of interpreting technical indicators such as RSI, Moving Average, MACD, and others.
• It is crucial not to blindly follow trading signals without conducting your own analysis (DYOR - Do Your Own Research).
• Avoid succumbing to FOMO (Fear Of Missing Out) and impulsively entering trades. If you miss an entry point, it is important to let it go and patiently wait for the next potential entry point.
Leverage trading involves trading with borrowed funds, which amplifies both potential profits and losses. To participate in this form of trading, it is imperative to possess a certain level of expertise and knowledge. One key requirement is the ability to read and analyze charts effectively. Chart reading involves understanding various chart patterns, price movements, and support and resistance levels, among other factors. Without this skill, it can be challenging to make informed decisions and manage risk appropriately.
Additionally, leverage trading relies on technical indicators to identify potential trading opportunities and gauge market conditions. It is essential to have the ability to interpret indicators such as RSI, Moving Average, MACD, and others, as they provide valuable insights into market trends, momentum, and potential reversals. Ignoring or misunderstanding these indicators can lead to incorrect trading decisions and increased risk exposure.
Moreover, it is crucial not to blindly rely solely on trading signals, including those generated by indicators or other sources. While signals can be helpful, they should always be complemented by conducting one's own analysis. This entails conducting thorough research, considering multiple factors, and validating the signals with additional indicators or technical analysis techniques. This approach helps in making more informed and well-rounded trading decisions.
Finally, FOMO can be a detrimental emotion that drives impulsive and irrational trading behavior. It is important to avoid entering trades solely because of the fear of missing out on potential profits. If an entry point is missed, it is recommended to exercise patience and discipline by waiting for the next suitable opportunity. This approach helps to avoid unnecessary risks and maintain a more strategic and calculated trading approach.
By adhering to these warnings and taking the necessary precautions, traders can approach leverage trading more responsibly and increase their chances of success while mitigating potential losses.
REMARKS:
• It is important to emphasize that any information or content you encounter here is not intended as financial advice. We want to make it clear that we are not authorized or qualified to provide personalized investment advice. Our content, including ideas, opinions, views, predictions, forecasts, commentaries, suggestions, or stock picks, should be viewed strictly as informational, entertaining, or educational material.
• We emphasize that you should not construe the information provided here as personal investment advice or as a recommendation to take specific investment actions. It is crucial to conduct your own research, consider your individual financial circumstances, and consult with a qualified financial professional before making any investment decisions.
• While we aim to provide accurate and reliable information, we cannot guarantee the absence of errors or inaccuracies. Therefore, it is recommended to independently verify any information provided and exercise your own judgment when using it for decision-making purposes.
• Please be aware that any actions you take based on the information found here are done so at your own risk. We disclaim any liability for the consequences of your actions or decisions stemming from the information presented.
• Our intention is to provide helpful information that can contribute to your overall understanding and assist you in making better-informed decisions. However, it is essential to exercise caution, seek professional advice, and take responsibility for your investment choices.
Cheers & Good luck.
KNN Regression [SS]Another indicator release, I know.
But note, this isn't intended to be a stand-alone indicator, this is just a functional addition for those who program Machine Learning algorithms in Pinescript! There isn't enough content here to merit creating a library for (it's only 1 function), but it's a really useful function for those who like machine learning and Nearest Known Neighbour Algos (or KNN).
About the indicator:
This indicator creates a function to perform KNN-based regression.
In contrast to traditional linear regression, KNN-based regression has the following advantages over linear regression:
Advantages of KNN Regression vs. Linear Regression:
🎯 Non-linearity: KNN is a non-parametric method, meaning it makes no assumptions about the underlying data distribution. This allows it to capture non-linear relationships between features and the target variable.
🎯Simple Implementation: KNN is conceptually simple and easy to understand. It doesn't require the estimation of parameters, making it straightforward to implement.
🎯Robust to Outliers: KNN is less sensitive to outliers compared to linear regression. Outliers can have a significant impact on linear regression models, but KNN tends to be less affected.
Disadvantages of KNN Regression vs. Linear Regression:
🎯 Resource Intensive for Computation: Because KNN operates on identifying the nearest neighbors in a dataset, each new instance has to be searched for and identified within the dataset, vs. linear regression which can create a coefficient-based model and draw from the coefficient for each new data point.
🎯Curse of Dimensionality: KNN performance can degrade with an increasing number of features, leading to a "curse of dimensionality." This is because, in high-dimensional spaces, the concept of proximity becomes less meaningful.
🎯Sensitive to Noise: KNN can be sensitive to noisy data, as it relies on the local neighborhood for predictions. Noisy or irrelevant features may affect its performance.
Which is better?
I am very biased, coming from a statistics background. I will always love linear regression and will always prefer it over KNN. But depending on what you want to accomplish, KNN makes sense. If you are using highly skewed data or data that you cannot identify linearity in, KNN is probably preferable.
However, if you require precise estimations of ranges and outliers, such as creating co-integration models, I would advise sticking with linear regression. However, out of curiosity, I exported the function into a separate dummy indicator and pulled in data from QQQ to predict SPY close, and the results are actually very admirable:
And plotted with showing the standard error variance:
Pretty impressive, I must say I was a little shocked, it's really giving linear regression a run for its money. In school I was taught LinReg is the gold standard for modeling, nothing else compares. So as with most things in trading, this is challenging some biases of mine ;).
Functionality of the function
I have permitted 3 types of KNN regression. Traditional KNN regression, as I understand it, revolves around clustering. ( Clustering refers to identifying a cluster, normally 3, of identical cases and averaging out the Dependent variable in each of those cases) . Clustering is great, but when you are working with a finite dataset, identifying exact matches for 2 or 3 clusters can be challenging when you are only looking back at 500 candles or 1000 candles, etc.
So to accommodate this, I have added a functionality to clustering called "Tolerance". And it allows you to set a tolerance level for your Euclidean distance parameters. As a default, I have tested this with a default of 0.5 and it has worked great and no need to change even when working with large numbers such as NQ and ES1!.
However, I have added 2 additional regression types that can be done with KNN.
#1 One is a regression by the last IDENTICAL instance, which will find the most recent instance of a similar Independent variable and pull the Dependent variable from that instance. Or
#2 Average from all IDENTICAL instances.
Using the function
The code has the instructions for integrating the function into your own code, the parameters, and such, so I won't exhaust you with the boring details about that here.
But essentially, it exports 3, float variables, the Result, the Correlation, and the simplified R2.
As this is KNN regression, there are no coefficients, slopes, or intercepts and you do not need to test for linearity before applying it.
Also, the output can be a bit choppy, so I tend to like to throw in a bit of smoothing using the ta.sma function at a deault of 14.
For example, here is SPY from QQQ smoothed as a 14 SMA:
And it is unsmoothed:
It seems relatively similar but it does make a bit of an aesthetic difference. And if you are doing it over 14, there is no data loss and it is still quite reactive to changes in data.
And that's it! Hopefully you enjoy and find some interesting uses for this function in your own scripts :-).
Safe trades everyone!
OHLC BreakThis indicator shows the Support and Resistance zones in a different way with Boxes that extend to the right and show the candle that has broken a minimum number of High or Low
The user has the possibility to:
- Choose to show High or Low levels not yet broken
- Shows candles that have broken a total of high or Low that you pre-set
- Choose to show a Box on candles that have broken the minimum of the preset levels
- Choose to show the total of broken levels with a Label on the candle
The indicator should be used as OHLC shows in its concepts, it can also be implemented to your Support and Resistance strategies, it can be implemented to Sessions strategies as in the Example
Below I show various examples on how to set the indicator for show High or Low levels not yet broken
If something is not clear, comment below and I will reply as soon as possible.
[KVA]K Stochastic IndicatorOriginal Stochastic Oscillator Formula:
%K=(C−Lowest Low)/(Highest High−Lowest Low)×100
Lowest Low refers to the lowest low of the past n periods.
Highest High refers to the highest high of the past n periods.
K Stochastic Indicator Formula:
%K=(Source−Lowest Source)/(Highest Source−Lowest Source)×100
Lowest Source refers to the lowest value of the chosen source over the past length periods.
Highest Source refers to the highest value of the chosen source over the past length periods.
Key Difference :
The original formula calculates %K using the absolute highest high and lowest low of the price over the past n periods.
The K Stochastic formula calculates %K using the highest and lowest values of a chosen source (which could be the close, open, high, or low) over the specified length periods.
So, if _src is set to something other than the high for the Highest Source or something other than the low for the Lowest Source, the K Stochastic will yield different results compared to the original formula which strictly uses the highest high and the lowest low of the price.
Impact on Traders :
Flexibility in Price Source :
By allowing the source (_src) to be customizable, traders can apply the Stochastic calculation to different price points (e.g., open, high, low, close, or even an average of these). This could provide a different perspective on market momentum and potentially offer signals that are more aligned with a trader's specific strategy.
Sensitivity to Price Action :
Changing the source from high/low to potentially less extreme values (like close or open) could result in a less volatile oscillator, smoothing out some of the extreme peaks and troughs and possibly offering a more filtered view of market conditions.
Customization of Periods :
The ability to adjust the length period offers traders the opportunity to fine-tune the sensitivity of the indicator to match their trading horizon. Shorter periods may provide earlier signals, while longer periods could filter out market noise.
Possibility of Applying the Indicator on Other Indicators :
Layered Technical Analysis :
The K Stochastic can be applied to other indicators, not just price. For example, it could be applied to a moving average to analyze its momentum or to indicators like RSI or MACD, offering a meta-analysis that studies the oscillator's behavior of other technical tools.
Creation of Composite Indicator s:
By applying the K Stochastic logic to other indicators, traders could create composite indicators that blend the characteristics of multiple indicators, potentially leading to unique signals that could offer an edge in certain market conditions.
Enhanced Signal Interpretation :
When applied to other indicators, the K Stochastic can help in identifying overbought or oversold conditions within those indicators, offering a different dimension to the interpretation of their output.
Overall Implications :
The KStochastic Indicator's modifications could lead to a more tailored application, giving traders the ability to adapt the tool to their specific trading style and analysis preferences.
By being applicable to other indicators, it broadens the scope of stochastic analysis beyond price action, potentially offering innovative ways to interpret data and make trading decisions.
The changes might also influence the trading signals, either by smoothing the oscillator's output to reduce noise or by altering the sensitivity to generate more or fewer signal
Including the additional %F line, which is unique to the K Stochastic Indicator, further expands the potential impacts and applications for traders:
Impact on Traders with the %F Line:
Triple Smoothing :
The %F line introduces a third level of smoothing, which could help in identifying longer-term trends and filtering out short-term fluctuations. This could be particularly useful for traders looking to avoid whipsaws and focus on more sustained movements.
Potential for Enhanced Confirmation :
The %F line might be used as a confirmation signal. For instance, if all three lines (%K, %D, and %F) are in agreement, a trader might consider this as a stronger signal to buy or sell, as opposed to when only the traditional two lines (%K and %D) are used.
Risk Management:
The additional line could be utilized for more sophisticated risk management strategies, where a trader might decide to scale in or out of positions based on the convergence or divergence of these lines.
Possibility of Applying the Indicator on Other Indicators with the %F Line:
Depth of Analysis :
When applied to other indicators, the %F line can provide an even deeper layer of analysis, perhaps identifying macro trends within the indicator it is applied to, which could go unnoticed with just the traditional two-line approach.
Refined Signal Strength Assessment :
The strength of signals from other indicators could be assessed by the position and direction of the %F line, providing an additional filter to evaluate the robustness of buy or sell signals.
Overall Implications with the %F Line :
The inclusion of the %F line in the K Stochastic Indicator enhances its utility as a tool for trend analysis and signal confirmation. It allows traders to potentially identify and act on more reliable trading opportunities.
This feature can enrich the trader's toolkit by providing a nuanced view of momentum and trend strength, which can be particularly valuable in volatile or choppy markets.
For those applying the K Stochastic to other indicators, the %F line could be integral in creating a multi-tiered analysis strategy, potentially leading to more sophisticated interpretations and decisions.
The presence of the %F line adds a dimension of depth to the analysis possible with the K Stochastic Indicator, making it a versatile tool that could be tailored to a variety of trading styles and objectives. However, as with any indicator, the additional complexity requires careful study and back-testing to ensure its signals are understood and actionable within the context of a comprehensive trading plan.
Oscillator overlayHi all!
This script is useful in the way that it let's you see an oscillator value on the chart, as an overlay. As of now you can choose from displaying Money Flow Index (MFI) (www.tradingview.com), Relative Strength Index (RSI) (www.tradingview.com) or Stochastic (www.tradingview.com). The size of the area, where the oscillator value is shown, is determined by a factor of the Average True Range (ATR), that defaults to 2 (the 'ATR factor' setting). Oscillator pivots (of user defined length in the 'Length' setting) and oscillator pivot values)ä can be shown and the background can change when the oscillator value crosses oversold/overbought. The value from the hidden plot "Value (for alerts)" can be used for setting alerts on oscillator values, e.g. crossings. The length and overbought/oversold values can be set by the user as a setting.
Best of trading luck!