Central Bank Liquidity YOY % ChangeThis shows the percent change from a year ago (YOY%) in Central Bank Liquidity
It's important to the study rate of change data in this liquidity metric and compare it to the nominal chart.
When this chart is accelerating, liquidity is being added, meaning it's a good time to be in assets.
When this chart is declining, liquidity is being removed, meaning it's a good time to be in cash.
Bottoms in markets coincide with the rate of change of liquidity going from negative (below the zero line) to positive (above zero)
Central Bank Liquidity = Total value of the assets of all Federal Reserve Banks - Overnight Reverse Repurchase Agreements (RRP) - The Treasury General Account (TGA)
Educational
Stock's Intrinsic Value| DCF modelScript Description
This pine script is based on a YouTube video titled: Warren Buffett: How to Calculate the Intrinsic Value of a Stock. Warren Buffett is a famous value investor who follows the principles of his mentor Benjamin Graham. He looks for companies that have strong competitive advantages, consistent earnings, and low debt. He also considers the intrinsic value of a company, which is the present value of its future cash flows, and compares it to the market price. He prefers to buy stocks that are trading below their intrinsic value and hold them for a long time.
One of the methods that Buffett uses to estimate the intrinsic value of a company is the discounted cash flow (DCF) model. This involves projecting the free cash flow (FCF) of the company for several years and then discounting it back to the present using an appropriate discount rate. The discount rate is usually the weighted average cost of capital (WACC) of the company, which reflects its cost of equity and debt. The sum of the discounted FCFs and terminal value is the intrinsic value of the company.
Lastly, a margin of safety is included when using the DCF method for stock valuation because of uncertainty and error in estimating future cash flows and the intrinsic value of the company.
When the current price is below margin of safety, it means that the stock is currently undervalued and being price at significantly below its intrinsic value.
Guideline for determining each variable in this script
FCF growth rate: This is the annual rate at which the free cash flow (FCF) of the company is expected to grow over a forecast 10-year period. You can use historical FCF growth rates, industry averages, analyst estimates, or your assumptions to project the FCF growth rate. The higher the FCF growth rate, the higher the intrinsic value will be.
Discount rate: This is the rate of return that you require to invest in the company. It reflects the risk and opportunity cost of investing in the company. You can use the weighted average cost of capital (WACC) of the company, capital pricing model (CAPM), hurdle rate, or market rate as the discount rate. The lower the discount rate, the higher the intrinsic value.
The margin of safety: Provides a cushion against errors in the valuation or adverse events that may affect the company. The margin of safety depends on your personal preference and risk tolerance. Normally is at 15% - 30%, the higher the margin of safety you set, the lower the chance that the stock will hit that level.
How to use this script
Step 1: This script only works for stocks that have financial data of free cash flow and total common shares outstanding
Step 2: Please use a yearly chart (12-month chart)
Step 3: You are required to determine a growth rate that will grow the free cash flow 10 years into the future
Step 4: You are required to determine a discount rate for the calculations
Step 5: You are required to add a margin of safety (Accounting for uncertainty)
Step 6: The rest of the calculations will be done automatically.
Disclaimer when using this script
I'm not a financial advisor
This script is for education purposes only
There are risks involved with stock market investing and investors should not act upon the content or information found here without first seeking advice from an accountant, financial planner, lawyer or other professional.
I can’t guarantee that this script will be error-free as I still consider myself a Pinescript beginner
Before making any decisions, investors should always research companies individually
I'll not be liable for any loss incurred, arising from the use of, or reliance on, this script
Limitations of this script
This script only works on the yearly chart (12 monthly charts)
The intrinsic value of a company will be negative if the company have a negative forecasted free cash flow
You need to make an educated guess about the growth rate, discount rate and margin of safety
This script uses free cash flow instead of owner's earnings (Operating cash flow - Maintenance capital expenditure), therefore it can't accurately estimate the maintenance capital expenditure.
Need at least 6 years’ worth of financial data
Market capitalisation uses total common shares outstanding multiplied by the closing price instead of using company-level total outstanding shares multiplied by the closing price
True SMCThe True SMC Indicator is specifically designed for structure mapping and the identification of high-probability Order Blocks. Excelling in distinctly recognising four types of Order Blocks, it provides traders with a direct and efficient method to dissect market movements and identify strategic entry points with precision
🔶 Understanding Structure Mapping
This indicator introduces a unique approach to analysing market structure, focusing on liquidity, which is termed 'Inducement'. Inducement is crucial for identifying key structural markers in the market, such as Higher Highs (HH), Higher Lows (HL), Lower Lows (LL), and Lower Highs (LH).
Inducement acts like a trap set near a supply or demand zone. It entices impatient buyers or sellers into the market before the actual zone is reached, thereby creating liquidity. For an inducement to be considered valid, it must represent a valid pullback.
A valid scenario occurs when the price sweeps or closes beyond the high or low of the previous candle; in this case, the candle's color, whether bullish or bearish, is not relevant, and both scenarios are considered valid. Inside bars are ignored as they do not meet this criterion. The indicator assists in this process by automatically highlighting valid pullbacks with a distinctive gray round label.
This feature is not just a visual aid but also a crucial tool in effortlessly understanding market movements, providing a clear visual representation of ongoing market trends.
🔶 Understanding How Order Block is working
Our indicator incorporates four distinct types of Order Blocks, each designed for specific roles in market analysis. Among these, the **OB-IDM** and **OB-EXT** are regarded as high-probability Order Blocks, and our primary focus is on these two for market entry.
IDM Order Block (OB-IDM): IDM Order block (OB-IDM) is basically the first Order Block that shows up after the IDM level is passed. Think of it as the closest OB you find below the current IDM.
Extreme Order Block (OB-EXT): OB-EXT is the first and lowest Order Block that you'll find between a Major Low and a Major High.
Single Candle Order Block (SCOB): Single candle mitigation is very Powerful way to add multiple entries in you're winning trades.
Smart Money Trap (SMT): The SMT consists of all the Order Blocks that lie between the Extreme and OB-IDM. It acts as a cautionary signal, indicating potential traps for Smart Money Concept traders. It is essential to recognize that the SMT does not provide additional confirmation for trading. Instead, it highlights areas where traders should exercise extra caution. Trading decisions should be based on clear confirmations, such as inducements or liquidity sweeps, rather than solely on the SMT.
🔶 How to Use the True SMC Indicator:
The True SMC Indicator is designed to enhance your trading strategy by identifying key order blocks and market signals. Below is a guide on how to utilize the various elements of the True SMC Indicator:
OB IDM (Order Block Inducement):
Usage : This is a decisional order block crucial for identifying trade entries. It is particularly effective for pinpointing potential reversal zones.
Alerts: Setting up alerts on OB IDM is recommended to be notified when the price reaches this critical area, thus facilitating prompt and informed trading decisions.
OB-EXT (Extreme Order Block):
Usage : OB-EXT serves as an extreme and high-probability order block for trade entries, ideal for identifying strategic entry points at potential reversal points.
Alerts: Activating alerts on OB-EXT will keep you informed about price approaches, aiding in the preparation of your trade setups.
SCOB (Single Candle Order Block):
Usage : SCOB is ideal for scaling into a position. It should be employed for adding to positions when the market reacts to OB IDM or OB-EXT, indicating a potential reversal.
SMT (Smart Money Trap):
Usage Caution: The SMT should be approached with caution as it represents a potential trap. It is advised to avoid trading directly at SMT zones. Instead, use these zones to gauge market sentiment and make informed decisions.
This structured approach to using the True SMC Indicator will help you in making more precise and strategic trading decisions, enhancing your overall market analysis.
🔶 Example of usage:
Market Structure Diagram
This diagram illustrates the key structural markers in the market such as Higher Highs (HH), Higher Lows (HL), Lower Lows (LL), and Lower Highs (LH). It provides a visual guide to understanding the underlying market structure.
Example from a Real Chart: This chart is a prime example of how our indicator is used to dissect and highlight market structure in a live trading environment. It vividly demonstrates the 'Inducement' concept in action, pinpointing key structural points like HH, HL, LL, and LH in real-time market trends.
Valid Pullback
Illustration of a Valid Pullback: This image showcases a typical scenario where the price sweeps beyond the previous candle's high or low, marking a valid pullback. Notice the distinctive gray round label indicating the point of inducement.
IDM Order Block (OB-IDM)
This diagram illustrates the IDM Order Block (OB-IDM), highlighting its position as the first OB following the IDM level. It represents the nearest OB below the current IDM level.
IDM Order Block in Action This real chart example showcases the OB-IDM in a live market scenario, demonstrating how it appears and functions in practical trading.
Extreme Order Block (OB-EXT)
The diagram depicts the OB-EXT, which is identified as the first and lowest Order Block between a Major Low and a Major High.
OB-EXT in Real Market: This chart example highlights the OB-EXT, showing its position and significance in market analysis between major market points.
Single Candle Order Block (SCOB)
The accompanying chart demonstrates the SCOB in a live trading environment, illustrating its effectiveness in trade optimization.
Smart Money Trap (SMT)
This real chart provides insight into how the SMT is used in actual trading, marking areas for increased caution and illustrating its role in a comprehensive trading strategy.
🔶 Additional Features
Easy-to-Follow Trend Display : The script employs a Color Coded candle system, simplifying trend recognition.
Any Alert function call = It can be configured for a range of trading events, allowing you to stay informed about key market movements. In the settings, you can choose to enable or disable alerts for events such as BOS Sweep, CHock, CHock Sweep, IDM, IDM Sweep, OB IDM, OB EXT, and PDH/PDL.
Automatic resolving of ChoCh-IDM and IDM-BoS conflicts = The indicator is equipped to automatically resolve conflicts that arise between ChoCh-IDM and IDM-BoS. It intelligently identifies situations where there might be an IDM instead of a ChoCh, or a BoS instead of an IDM, ensuring accurate readings and analysis.
Anywhere Structure Mapping : The tool simplifies market analysis by enabling you to draw structures from any chosen moment. Simply adjust the slider to your desired point and instantly trade based on the internal structure revealed. This feature offers an intuitive and efficient way to understand and navigate market dynamics.
🔶 Conclusion
The True SMC Indicator distinguishes itself from other market analysis tools through its specialised focus on structure mapping and high-probability Order Blocks. Unlike generic indicators, it expertly identifies and categorizes four distinct types of Order Blocks, including IDM and Extreme Order Blocks, which are crucial for high-accuracy trade entries. Its unique approach in analysing market structure centers on 'Inducement,' a key concept for pinpointing vital market structural markers. This feature, combined with its ability to alert traders to both promising entry points and potential Smart Money Traps, equips users with a comprehensive tool for a nuanced understanding of market dynamics and strategic trade execution. Such targeted capabilities make the True SMC Indicator an invaluable asset for traders seeking precision and efficiency in their market analysis.
Spike RangeGuided by new ICT tutoring, I create this versatile Spike Range
This indicator shows a different way on how to display "Spikes or Shadows" based on their size,
the indicator divides the "Spike or Shadows" into levels 0.5 - 0.75 - 0.25 Fibonacci, giving the possibility of viewing the "Spike or Shadows" with a certain size and being able to use them as continuation or reversal zones
The user has the possibility to:
- Choose the size of the "Spike or Shadows"
- Choose to view "Spike or Shadows" levels
- Choose to show only bullish or only bearish "Spike or Shadows" levels
The indicator should be used as ICT shows in its concepts.
The indicator takes into account the "Spades or Shadows" that have a certain size (based on the minimum range set)
These Spikes can be rated as "FVG" so you can expect reactions on the levels it marks, considering a reversal or continuation based on the range being respected
If the Spike is Bullish and the Price closes by invalidating 50% of the range we can evaluate a possible entry up to the High of the Spike
Below is an example of how to use them:
Invalidades Range
Respect Range
Seek liquidityGuided by ICT tutoring, I create this versatile "Seek liquidity" indicator.
This indicator shows an easy way to view the Liquidity that has been Created - Eliminated - and what liquidity is left to eliminate.
Liquidity levels appear after the sessions are over, and the lines get stuck on the candle that eliminates them.
Timing session =
//---Asian
- 18:00-00:00
//---London
- 00:00-02:00
- 02:00-05:00
- 00:00-06:00
//---New York
- 06:00-12:00
- 09.30-12.00
//---Lunch
- 12:00-13:30
//---PM
- 1.30pm - 4.00pm
- 12:00-18:00
The user has the possibility to:
- Choose whether or not to view sessions
- Choose to show levels from previous sessions
- Choose to show today's session levels
- Choose whether to view the boxes
- Choose to view the division is open daily
The indicator should be used as ICT shows in its concepts, the indicator takes into consideration both the previous and today's Liquidity, and the session levels can be used for a reversal as in the example below:
TASC 2024.01 Gap Momentum System█ OVERVIEW
TASC's January 2024 edition of Traders' Tips features an article titled “Gap Momentum” by Perry J. Kaufman. The article discusses how a trader might create a momentum strategy based on opening gap data. This script implements the Gap Momentum system presented therein.
█ CONCEPTS
In the article, Perry J. Kaufman introduces Gap Momentum as a cumulative series constructed in the same way as On-Balance Volume (OBV) , but using gap openings (today’s open minus yesterday’s close).
To smoothen the resulting time series (i.e., obtain the " signal line "), the author applies a simple moving average . Subsequently, he proposes the following two trading rules for a long-only trading system:
• Enter a long position when the signal line is moving higher.
• Exit when the signal line is moving lower.
█ CALCULATIONS
The calculation of Gap Momentum involves the following steps:
1. Calculate the ratio of the sum of positive gaps over the past N days to the sum of negative gaps (absolute values) over the same time period.
2. Add the resulting gap ratio to the cumulative time series. This time series is the Gap Momentum.
3. Keep moving forward, as in an N-day moving average.
Bitcoin Google Trends OverlayThis indicator overlays Bitcoin Google trends data starting from 16/12/2018 until 10/12/2023. To have more recent data, you will need to update the data points manually.
If it is not showing properly, you need to plot the indicator to a new scale. Try also to use a logarithmic scale to better correlate the Bitcoin Google Trends data.
Interpretation:
Google Trends data and the Bitcoin price are very correlated. Google Trends data is a good indicator of market sentiment, but it usually lags.
Math RoundHello Reader,
This is Observer from Vietnam.
PURPOSE
I'd like to share my script for Round Math, it's for only education purpose.
I make the formula math_row(x, y) to round the value as we design and shorten the number appearance (value). It's more flexible than str.tostring(close,format.volume) or others.
HOW TO USE
Formula math_row(x,y)
- x is the value which need to be rounded or shorten
- y is the number which you want to round after "." symbol.
***Shorten***
If x < 1.000, no shorten
If x >= 1.000 and x < 1.000.000, shorten to thousand value with "K" letter
If x >= 1.000.000 and x < 1.000.000.000, shorten to million value with "M" letter
If x >= 1.000.000.000, shorten to billion value with "B" letter
***Round***
If y = 0 => no round
If y = 1 => round to format ###.#
If y = 2 => round to format ###.##
If y = 3 => round to format ###.###
If y is other => round to default format of Tradingview
EXAMPLE
math_row(1.002342, 3) = 1.002
math_row(1923.321, 2) = 1.92K
math_row(221452133, 1) = 221.5M
Hope it useful and clear to you.
FVG in MACROGuided by ICT tutoring, I created this versatile indicator to scan the FVG in MACRO time.
This indicator combines the MACRO time with the Fair value GAP (FVG) in an alternative way, showing a simple way of viewing the FVG within the MACRO time, so you can have a clearer view of which direction the MACRO is influencing
''MACRO is a delivery time frame of the interbank price in which it undergoes a series of controls and is likely to move towards liquidity.''
The user has the possibility to:
- Choose the relevant MACRO time
- Choose whether to view all FVGs in the MACROS
- Choose to view only the First FVG at each MACRO
The indicator should be used as shown by the ICT in its concepts, during the MACRO time the price can consolidate or can head towards liquidity.
The probability that the direction is correct increases with respect for the FVG, in this way it is possible to evaluate the entry zone in the FVG and the Take profit zone for Liquidity
As in the following example:
Big Round Number for GOLD (XAU/USD)This is simple indicator to show BRN (Big Round Number) on price level, it can use to help analyze the price action on the chart.
Max Rise / Max DrawdownThis Pine Script indicator, titled 'Max Rise / Max Drawdown,' calculates and plots the maximum rise and maximum drawdown based on a specified length. It computes the percentage increase from a past low and decrease from a past high over the defined period, visually presenting this data on the chart. The indicator displays two lines: one for the maximum rise (colored lime) and another for the maximum drawdown (colored red), while also indicating thresholds at +0.01 and -0.01 with green and maroon horizontal lines respectively.
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!
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.