Price SextantThe provided Pine Script™ code is for a technical analysis indicator called "Price Sextant." This indicator helps visualize the price position relative to its linear regression and standard deviation levels. Here's a brief description:
Price Sextant Indicator:
Purpose:
The Price Sextant indicator aims to show the current price's deviation from the linear regression line by dividing the price chart into different zones or sextants.
Components:
Linear Regression: The script calculates a linear regression line based on the closing prices over a specified length (default is 50 bars).
Standard Deviation Sections: It then computes standard deviation levels from the linear regression, creating upper and lower sections around the regression line.
Scoring: Each section is assigned a numerical score, and labels with corresponding scores are displayed on the chart.
Arrow and Midline: An arrow is drawn to indicate the current price's position in relation to the regression line and standard deviation bands. It changes color based in what section it is:
orange section shows a ranging price, below orange section -1 arrow turns red and show down trend and if arrow above +1 section it turns green and show strong up trend of price.
A midline is plotted to mark the position of the linear regression line.
Sextant Description:
In navigation, a sextant is an instrument used to measure the angle between two visible objects.
In the context of this indicator, the term "Sextant" is likely used metaphorically to describe the division of the price chart into six sections or zones based on the linear regression and standard deviation bands.
This indicator can help traders identify potential overbought or oversold conditions, as well as assess the strength and direction of the trend.
Please note that the effectiveness of the indicator depends on various factors, and it's advisable to use it in conjunction with other analysis tools for a comprehensive trading strategy.
Bands and Channels
SMA Custom Volume BandsThe "SMA Custom Volume Bands" indicator is a custom technical analysis tool designed for use on the TradingView platform. This indicator allows users to analyze and visualize key aspects of a stock's volume within the context of its 200-period Simple Moving Average (SMA). It features the following components:
Volume Bars: The indicator displays the volume of a selected financial instrument using colored bars. Green bars represent days when the trading volume is higher than the previous day, while red bars represent days when the trading volume is lower.
200 SMA of Volume: A blue line on the chart represents the 200-period Simple Moving Average of the trading volume, providing insight into the longer-term volume trend.
Customizable Percentage Line: Users have the flexibility to set a custom percentage value above or below the 200 SMA of trading volume. This line is plotted as a blue line on the chart, allowing traders to identify when volume meets their preferred percentage threshold.
The "SMA Custom Volume Bands" indicator is a simple tool for traders, aiding in the assessment of volume trends and potential price reversals in the context of moving averages. It offers customization options, enhancing its adaptability to individual trading strategies and preferences.
Diamond Grids @shrilssUncover hidden patterns and potential reversal zones with the Diamond Grids Indicator. This script introduces a unique approach to visualizing price extremes within a specified range, aiding traders in identifying critical support and resistance levels. The indicator dynamically calculates and displays diamond-shaped grids based on user-defined short and long lengths and ATR. Utilize this powerful tool to enhance your technical analysis and gain insights into potential trend reversals.
Key Features:
- Dynamic Grid Calculation: The indicator dynamically calculates and plots diamond-shaped grids based on specified short and long lengths. These grids represent key price extremes within the defined range.
- Multi-Level Support and Resistance: Each diamond grid consists of multiple support and resistance lines, providing a comprehensive view of potential reversal zones. Traders can use these levels to make informed decisions.
- Customizable Parameters: Tailor the indicator to your trading style with customizable parameters such as short length, long length, and a multiplier. Adjust these settings to align the indicator with your unique preferences.
- Real-Time Updates: The indicator updates in real-time, ensuring that traders have the latest information on potential reversal zones. Stay ahead of market movements and make timely decisions.
- Toggle Trend Visualization: Diamond-shaped grids are color-coded for easy interpretation. Positive and negative grid lines are distinctly marked, offering a clear visual representation of the overall trend.
Fibonacci Golden Wave | Flux Charts💎 GENERAL OVERVIEW
Introducing the new Fibonacci Golden Wave indicator! This indicator plots the Fibonacci golden zone from the last highs / lows instead of the pivots so that the resulting zone is shaped like a "wave". We believe this will help you to see the latest trend of the Fibonacci retracement levels easier. For more information of the working progress of the indicator, check the "How Does It Work" section of the description.
Features of the new Fibonacci Golden Wave Indicator :
Plots Fibonacci Golden Zone Based On Highs / Lows
A Different Approach To Fibonacci Retracement Levels
Customizable Swing Range & Retracement Levels
Customizable Visuals
🚩UNIQUENESS
The Fibonacci Golden Zone is a widely used concept in trading. To achieve the golden zone, the Fibonacci retracement levels are generally placed between pivot high / lows, resulting in a rectangular zone. However, this indicator will place the Fibonacci retracement levels between the last highest / lowest points going back from the current bar, resulting in a "wave" shape. This will help traders understand the latest trend of the Fibonacci golden zone. The ability to change the Fibonacci retracement levels to your liking in the settings is another unique function of this indicator.
📌 HOW DOES IT WORK ?
To calculate the Fibonacci wave, first of all we need to place a line at the lowest low and the highest high of the last 20 bars (can be changed from the settings)
Then, Fibonacci retracement levels are placed between those lines.
For the next step, put two points in the (1.0 - 0.618) = 0.382 and (1.0 - 0.5) = 0.5 (can be changed from the settings) levels of the Fibonacci retracement.
Repeat this step for each bar in the chart, then connect all the points.
Instead of a pivot approach to the Fibonacci retracement levels, this approach will not need a new pivot point to form before calculating the new Fibonacci golden zone, thus indicating the latest trend of the current golden zone.
🚨HOW YOU CAN USE THIS INDICATOR
Fibonacci retracement tool is typically used to find entries after a pullback in an uptrend or downtrend. The Fibonacci Golden Wave can be used in the same way. It can be used to find entries after markets retrace. In this example, the Fibonacci Golden Wave is able to catch 2 pullback opportunities to enter long in the market with the trend.
⚙️SETTINGS
1. General Configuration
Swing Range -> This setting determines how the highest high / lowest low levels are calculated. This essentially means that the script will look back X bars before the current bar in calculation to find the highest / lowest wick points.
2. Golden Zone
Here you can select which range of the Fibonacci retracement levels should be considered as the golden zone. The default value is 0.5 - 0.618.
BB + Volume Based Coloured BarsVolume Based Coloured Bars:
Most of the time traders are confused about if the price movements were supported by VOLUME .
This indicator colors the bars into volume weighted signals...
When prices go down bars are red and contraversely when up, bars are green. Additionally we have two more colors for each
situation:
PRICE BARS ARE:
DARK RED when prices go down and VOLUME is bigger than 150% of its (default 21 day) average, that indicates us price action is supported by a strong BEARISH VOLUME
RED when prices go down and VOLUME is BETWEEN 50% AND 150% of its (default 21 day) average, at this situation we can think that volume is neither strong nor weak
ORANGE when prices go down and VOLUME is just less than 50% of its (default 21 day) average, so the volume is weak and doesn't support the price action much
DARK GREEN when prices go UP and VOLUME bigger than 150% of its (default 21 day) average, that indicates us price action is supported by a strong BULLISH VOLUME
GREEN when prices go UP and VOLUME is BETWEEN 50% AND 150% of its (default 21 day) average, at this situation we can think that volume is neither strong nor weak
LIGHT GREEN when prices go UP and VOLUME is just less than 50% of its (default 21 day) average, so the volume is weak and doesn't support the price action much
21 day Simple Moving Average used as default value which can be changed in the settings menu,
21 day is considered as a month for STOCK Markets, it would be more accurate to set the value to 30 for CRYPTO CURRENCIES
And Bollinger bands
By Kıvanc Özbilgic thank you
Squeeze Momentum TD - A Revisited Version of the TTM SqueezeDescription:
The "Squeeze Momentum TD" is our unique take on the highly acclaimed TTM Squeeze indicator, renowned in the trading community for its efficiency in pinpointing market momentum. This script is a tribute and an extension to the foundational work laid by several pivotal figures in the trading industry:
• John Carter, for his creation of the TTM Squeeze and TTM Squeeze Pro, which revolutionized the way traders interpret volatility and momentum.
• Lazybear, whose original interpretation of the TTM Squeeze, known as the "Squeeze Momentum Indicator", provided an invaluable foundation for further development.
• Makit0, who evolved Lazybear's script to incorporate enhancements from the TTM Squeeze Pro, resulting in the "Squeeze PRO Arrows".
Our script, "Squeeze Momentum TD", represents a custom version developed after reviewing all variations of the TTM Squeeze indicator. This iteration focuses on a distinct visualization approach, featuring an overlay band on the chart for an user-friendly experience. We've distilled the essence of the TTM Squeeze and its advanced version, the TTM Squeeze Pro, into a form that emphasizes intuitive usability while retaining comprehensive analytical depth.
Features:
-Customizable Bollinger Bands and Keltner Channels: These core components of the TTM Squeeze.
-Dynamic Squeeze Conditions: Ranging from No Squeeze to High Compression.
-Momentum Oscillator: A linear regression-based momentum calculation, offering clear insights into market trends.
-User-Defined Color Schemes: Personalize your experience with adjustable colors for bands and plot shapes.
-Advanced Alert System: Alerts for key market shifts like Bull Watch Out, Bear Watch Out, and Momentum shifts.
-Adaptive Band Widths: Modify the band widths to suit your preference.
How to use it?
• Transition from Light Green to Dark Green: Indicates a potential end to the bullish momentum. This 'Bull Watch Out' signal suggests that traders should be cautious about continuing bullish trends.
• Transition from Light Red to Dark Red: Signals that the bearish momentum might be fading, triggering a 'Bear Watch Out' alert. It's a hint for traders to be wary of ongoing bearish trends.
• Shift from Dark Green to Light Green: This change suggests an increase in bullish momentum. It's an indicator for traders to consider bullish positions.
• Change from Dark Red to Light Red: Implies that bearish momentum is picking up. Traders might want to explore bearish strategies under this condition.
• Rapid Change from Light Red to Light Green: This swift shift indicates a quick transition from bearish to bullish sentiment. It's a strong signal for traders to consider switching to bullish positions.
• Quick Shift from Light Green to Light Red: Demonstrates a speedy change from bullish to bearish momentum. It suggests that traders might want to adjust their strategies to align with the emerging bearish trend.
Acknowledgements:
Special thanks to Beardy_Fred for the significant contributions to the development of this script. This work stands as a testament to the collaborative spirit of the trading community, continuously evolving to meet the demands of diverse trading strategies.
Disclaimer:
This script is provided for educational and informational purposes only. Users should conduct their own due diligence before making any trading decisions.
Ichimoku BalaIndicator Overview
The Ichimoku Bala indicator is a modification of the traditional Ichimoku Kinko Hyo indicator that aims to improve its effectiveness in identifying trend reversals and potential trading opportunities. It incorporates additional lines, such as the Senkou Span B--0 line, to provide more nuanced insights into price movements.
Input Parameters
The indicator has several input parameters that allow you to customize its appearance and behavior:
enableReplay: Whether to enable replay mode, which allows you to analyze historical data.
i_date: The date to start replaying historical data.
chiko2: The period for the Chikou Span 78 line.
TenkanShift: The offset for the Tenkan-Sen line.
KinjunShift: The offset for the Kinjun-Sen line.
KumoShift: The offset for the Kumo (Senkou Span A and Senkou Span B) lines.
ChikouSpanShift: The offset for the Chikou Span line.
TenkanPeriods: The period for the Tenkan-Sen line.
KinjunPeriods: The period for the Kinjun-Sen line.
SenkouSpanBPeriods: The period for the Senkou Span B line.
senkouSpanBPeriod: The period for the Senkou Span B--0 line.
AddbasePeriods1: The period for the Direction Line.
DirectionLineShift: The offset for the Direction Line.
AddbasePeriods2: The period for the Quality Line.
QualityLineShift: The offset for the Quality Line.
offset_colour_candle: The offset for coloring the previous candle before the flat start.
Indicator Calculations
The indicator calculates the following lines:
TenkanSen: A moving average of the highest and lowest prices over 9 periods.
KinjunSen: A moving average of the Tenkan-Sen line over 26 periods.
Senkou Span A: The average of the Tenkan-Sen and Kinjun-Sen lines shifted 26 periods forward.
Senkou Span B: The average of the highest and lowest prices over 52 periods shifted 26 periods forward.
Senkou Span B--0: The average of the highest and lowest prices over 52 periods.
It also determines the flatness of the Tenkan-Sen, Kinjun-Sen, and Senkou Span B lines and identifies the start of a flat period.
Indicator Visualizations
The indicator plots the following lines:
TenkanSen: A blue line.
KinjunSen: A red line.
Chikou Span: A green line shifted one period forward.
Senkou Span A: A green line.
Senkou Span B: A red line.
Senkou Span B--0: A gray line.
Direction Line: A blue line.
Quality Line: A red line.
It also colors the previous candle before the flat start according to the type of flat detected:
candleColor: Purple for a flat involving the Tenkan-Sen and Kinjun-Sen lines.
candleColor2: Yellow for a flat involving the Senkou Span B line.
candleColor3: Gray for a flat involving all three lines.
Modifications by Seyedbala
The provided code includes additional modifications by Seyedbala, including:
Adding a parameter offset_colour_candle to control the offset for coloring the previous candle before the flat start.
Modifying the color of the fill between the Tenkan-Sen and Kinjun-Sen lines to #23dde0 for flatStart and color.purple for all other cases.
Modifying the color of the fill between the Senkou Span B line and Kinjun-Sen lines to yellow for flatStart2 and color.yellow for all other cases.
Modifying the color of the fill between the Tenkan-Sen and Senkou Span B lines to gray for flatStart3 and color.gray for all other cases.
These modifications aim to enhance the visual representation of the flat areas and make it easier to identify the different types of flat patterns.
Overall, the Ichimoku Bala indicator is a valuable tool for analyzing price movements and identifying potential trading opportunities. Its modifications by Seyedbala further enhance its capabilities and provide more nuanced insights into market trends.
MoonFlag BTC Daily Swing PredictorThis script mainly works on BTC on the daily timeframe. Other coins also show similar usefulness with this script however, BTC on the daily timeframe is the main design for this script.
(Please note this is not trading advice this is just comments about how this indicator works.)
This script is predictive. It colors the background yellow when the script calculates a large BTC swing is potentially about to happen. It does not predict in which direction the swing will occur but it leads the price action so can be useful for leveraged trades. When the background gets colored with vertical yellow lines - this shows that a largish price swing is probably going to occur.
The scripts also shades bands around the price action that are used to estimate an acceptable volatility at any given time. If the bands are wide that means price action is volatile and large swings are not easily predicted. Over time, with reducing volatility, these price action bands narrow and then at a set point or percentage (%) which can be set in the script settings, the background gets colored yellow. This indicates present price action is not volatile and a large price swing is potentially going to happen in the near future. When price action breaks through the narrowing bands, the background is no longer presented because this is seen as an increase in volatility and a considerable portion of the time, a large sudden drop in price action or momentous gain in price is realized.
This indicator leads price action. It predicts that a swing is possibly going to happen in the near future. As the indicator works on the BTC daily, this means on a day-to-day basis if the bands continually narrow - a breakout is more likely to happen. In order to see how well this indicator works, have a look at the results on the screenshot provided. Note the regions where vertical yellow lines are present on the price action - and then look after these to see if a sizeable swing in price has occurred.
To use this indicator - wait until yellow vertical lines are presented on the BTC daily. Then use your experience to determine which way the price action might swing and consider entering a trade or leveraged trade in this direction. Alternatively wait a while to see in which direction the break-out occurs and considering and attempt to trade with this. Sometimes swings can be unexpected and breakout in one direction before then swinging much larger in the other. Its important to remember/consider that this indicator works on the BTC daily timeframe, so any consideration of entering a trade should be expected to cover a duration over many days or weeks, or possibly months. A large swing is only estimated every several plus months.
Most indicators are based on moving averages. A moving average is not predictive in the sense in that it lags price actions. This indicator creates bands that are based on the momentum of the price action. A change in momentum of price action therefore causes the bands to widen. When the bands narrow this means that the momentum of the price action is steady and price action volatility has converged/reduced over time. With BTC this generally means that a large swing in price action is going to occur as momentum in price action then pick-up again in one direction or another. Trying to view this using moving averages is not easy as a moving average lags price action which means that it is difficult to predict any sudden movements in price action ahead of when they might occur. Although, moving averages will converge over time in a similar manner as the bands calculated by this script. This script however, uses the price action momentum in a predictive manner to estimate where the price action might go based on present price momentum. This script therefore reacts to reduced volatility in price action much faster than a set of moving averages over various timescales can achieve.
MoonFlag
Dynamic Auto Trendline and S/R BlocksAuto TL & S/R Blocks by Nostalgic_92
This powerful TradingView indicator automatically identifies trendlines and support/resistance levels with dynamic transparency blocks, helping traders make informed decisions. Easily customizable, it offers adjustable parameters for lookback periods and transparency, allowing you to adapt it to your trading style.
Key Features:
Lookback Period for Extremes: The lookback period for identifying highs and lows is adjustable, allowing you to fine-tune the indicator to suit your trading strategy.
Maximum Transparency: Set the maximum transparency level to control the visibility of dynamic blocks, ensuring they adapt to market volatility.
Trend Block Color: Choose your preferred color for trendline blocks to visually highlight trend direction.
Support/Resistance Block Color: Customize the color for support and resistance blocks, making them easily distinguishable on your chart.
How it Works:
This indicator calculates the highest high and lowest low over the specified lookback period. It then draws dynamic blocks on your chart with changing transparency levels, depending on the proximity of the current price to these extremes. This visual representation helps you identify trend changes and key support/resistance levels at a glance.
Usage:
Use it in conjunction with your existing trading strategy to confirm trends and support/resistance levels.
Adjust the input parameters to match your preferred trading style and time frame.
Enhance your trading experience with the Auto Trendlines and Support/Resistance with Dynamic Blocks indicator. It's a valuable tool for traders seeking an edge in the market.
Disclaimer: This indicator is intended for educational and informational purposes only. Always conduct your own research and analysis before making trading decisions.
Master Fren Jedi HelperDescription:
The "Master Fren Jedi Helper" is a TradingView indicator designed to enhance trading analysis by plotting distinct lines at crucial times of the trading day.
This indicator is an invaluable tool for traders who focus on intraday price movements and patterns around specific times. Its primary features include:
Customizable Time Markers: The script allows users to mark specific times of the day with lines of different colors and styles. These times are adjustable based on the user's timezone and preferences.
Configurable Line Properties: Users can customize the color and style of each line. The script offers options for a green line at 7 AM, a red line at 11 AM, a grey line at midnight, and a yelow line to denote the daily open.
Time Zone Adjustment: To work with New York time zone, you have ability to adjust for different time zones. Users can input their time zone offset, advised to use UTC -5 allowing the script to plot the lines accurately according to their local time.
Day Labels: The indicator also labels each day of the week at midnight, providing a clear and easy way to track the days on the chart.
Functionality Overview:
Green Line at 7 AM: This line helps identify the early morning market sentiment. Users can customize the color and style of this line.
Red Line at 11 AM: Plotted to highlight mid-morning price levels, this line is also customizable in color and style.
Grey Line at Midnight: Marks the start of a new trading day. The line style and color can be personalized.
Yellow Line for Daily Open: Indicates the opening price of the day. The line's color and style are adjustable.
Time Zone Configuration: Users can set their local time zone to ensure the lines correspond accurately with their specific market hours.
Day of the Week Labels: Each midnight is labeled with the day of the week, aiding in the weekly analysis of price patterns.
This indicator is perfect for traders who need to quickly identify key times and price levels each day. It's easily configurable to suit various trading strategies and assists in enhancing the visual representation of intraday market dynamics.
Opening Range Reversal ZonesThis script finds a reversal zone beyond the opening range for the selected period. I borrowed most of the opening range script itself from asenski.
I added a few things:
Trade Entry Times -- this restricts the "alert times."
Shading for the above mentioned times for the two "reversal" zones
A couple of other visuals for lines for the hi, mid, low of the opening range and lines for the fibs
Alerts while in the trading entry time session for fibbonacci crossovers.
I use this on NDX, SPY, and QQQs and have found buying "at the money" 0DTE puts in the "red zone" or 0DTE calls in the "green zone" frequently wins.
I have no statistics, as I am very methodical when I choose to enter, paying attention to the news, recent momentum, etc, and am not blindly entering when alert comes, but when one does, I do research and enter a trade.
In any case, thought I would share.
Anchored Progressive RangeIntroducing a simple script based off of the idea that ranges form from a point of origin that can be measured and produce interesting analysis indicating potential opportunities.
Specifically I use this on daily and weekly anchorage to find mid range retracements once range has developed.
Configure internal multipliers to provide potentially useful measurements between range high and mid point, as well as mid point and range low. By default it's standard .25 based multipliers but one could adjust to fib multipliers such as .615, .65, etc.
Anchored open price is plotted as continuous line as often times reversals will occur and open price will be tested on daily, weekly, monthly timeframes.
Once a bit of range is established and there's a rapid adjustment of range mid up or down, these can signal interesting breakouts. Also areas where the range stays flat due to no new high or low being printed can be indicative of consolidation, etc.
I've tested this with heikin ashi, renko, bars, line and regular candles through various markets such as futures, etfs and stocks and everything appears to anchor correctly, please feedback if experiencing otherwise.
I hope you enjoy this indicator as much as I enjoyed creating it, happy trading!
Stochastic Levels on Chart [MisterMoTA]The values of the Stochastic Levels on Chart indicator are calculated using Reverse Engineering calculations starting from default Stochastic formula : 100 * (close - lowest(low, length)) / (highest(high, length) - lowest(low, length)).
I added options for users to define the Extreme Overbought and Oversold values, also simple Oversold and Overbought values of the stochastic, default Extreme Overbought at 100, Extreme Oversold at 0, the 20 for Oversold and 80 as Overbought, plus the middle stochastic level = 50.
The script has included a color coded 20 SMA that will turn red when the 20 SMA is falling and green when it is rising, also there are bollinger bands using 2 standard deviation plus an extra top and bottom bollinger bands with a 2.5 standard deviation.
The users can use Stochastic Levels on Chart along with a simple Stochastic or a Stochastic Rsi indicator, when the price on chart touching extreme levels and Stochastic or Stochastic Rsi K line crossing above or bellow D line users can see on chart the levels where price need to close for getting stochastic overbought or oversold.
In the demo chart we can see at daily stochastic crossed down and the price crossed down all the levels displayed on chart, and same before stochastic was crossing up from oversold and price crossed up the stochastic levels displayed on chart.
In strong bullish moves the Extreme level 100 of the stochastic will be pushed higher, same in a strong bearish move the Extreme Oversold 0 level will be pushed lower, so users need to wait for confirmation of a crossover between K and D lines of stochastic that will signalize a pullback or a reverse of the trend.
For better results you will need to add a dmi or an adx or other indicator that will show you trend strength.
If you have any questions or suggestions to improve the script please send me a PM.
EXPONOVA @thejamiulNSE:NIFTY "EXPONOVA @thejamiul," is designed to provide traders with a visual tool to analyze market trends and potential entry or exit points. Here's an overview of its features and functionality:
1. Dual Exponential Moving Averages (EMAs):
The indicator utilizes two EMAs with different lengths - one set at 20 periods and the other at 55 periods. These EMAs are calculated based on the closing prices of the assets.
2. Color Gradient Feature:
A unique aspect of this indicator is its use of a color gradient to visually represent the relationship between the price and the longer EMA (55 periods). The gradient consists of a series of colors ranging from shades of red to green.
3. Dynamic Color Adaptation:
The indicator dynamically changes the color of the area between the two EMAs. This color change is based on the position of the closing price relative to the longer EMA (55 periods). The color shifts through the gradient based on the number of bars since the price last crossed the longer EMA.
4. Close Price and EMA Interaction:
The script includes functions to determine whether the closing price is above or below the longer EMA. This interaction is a crucial part of how the color gradient is applied.
5. Visualisation of Market Trends:
By plotting these EMAs and the color-filled area between them, the indicator provides a visual representation of market trends. The changing colors can help traders in identifying trend strength, potential reversals, or consolidation phases.
6. Overlay on Price Chart:
The indicator is designed to overlay directly on the price chart, making it easier for traders to correlate the EMAs and the color gradient with price movements.
7. Explicit Mention of Originality:
One of the distinctive features of 'EXPONOVA @thejamiul' is its innovative use of a color gradient to visually represent the price's relationship with the longer EMA. This approach, combined with our specific choice of EMAs and the dynamic color adaptation technique, sets this script apart from standard EMA-based indicators.
8. Acknowledgement of Potential Shortcomings or Limitations:
While 'EXPONOVA @thejamiul' provides a dynamic visual aid for trend analysis, users should note that like all indicators, it is subject to market volatility and should be used in conjunction with other analysis methods. This script is best suited for , and users may need to adjust settings for optimal performance in different market scenarios.
9. Summary:
"EXPONOVA @thejamiul" is a visually intuitive and dynamic trading tool that combines dual EMAs with a unique color gradient feature to aid traders in making informed decisions based on the relationship between price trends and moving averages.
MicroStrategy / Bitcoin Market Cap RatioThis indicator offers a unique analytical perspective by comparing the market capitalization of MicroStrategy (MSTR) with that of Bitcoin (BTC) . Designed for investors and analysts interested in the correlation between MicroStrategy's financial performance and the Bitcoin market, the script calculates and visualizes the ratio of MSTR's market capitalization to Bitcoin's market capitalization.
Key Features:
Start Date: The script considers data starting from July 28, 2020, aligning with MicroStrategy's initial announcement to invest in Bitcoin.
Data Sources: It retrieves real-time data for MSTR's total shares outstanding, MSTR's stock price, and BTC's market capitalization.
Market Cap Calculations: The script calculates MicroStrategy's market cap by multiplying its stock price with the total shares outstanding. It then forms a ratio of MSTR's market cap to BTC's market cap.
Bollinger Bands: To add a layer of analysis, the script includes Bollinger Bands around the ratio, with customizable parameters for length and multiplier. These bands can help identify overbought or oversold conditions in the relationship between MSTR's and BTC's market values.
The indicator plots the MSTR/BTC market cap ratio and the Bollinger Bands, providing a clear visual representation of the relationship between these two market values over time.
This indicator is ideal for users who are tracking the impact of Bitcoin's market movements on MicroStrategy's valuation or vice versa. It provides a novel way to visualize and analyze the interconnectedness of a leading cryptocurrency asset and a major corporate investor in the space.
Math Trading Concepts [SS]Presenting a mashup of the key elements I use for day-to-day trading: Volume, Z-Score, Autoregressive Forecasting, and a new addition, ANOVA analysis of variance.
I've aptly named it "Math Trading Concepts" in a nod to established trading concepts like "Smart Money" and "liquidity," but it's also fitting because these elements are fundamental to most quantitative/mathematical trading strategies.
What does it do?
The indicator visualizes Z-Score bands over a user-selected lookback period (defaulted to 14), akin to Bollinger Bands. Within these bands, it provides additional data, including trend identification. Uptrends are displayed in varying shades of green (brighter for stronger trends), while downtrends appear in red (with intensity reflecting strength).
Now, let's delve into each point individually:
Volume:
The indicator converts volume into a Z-Score over the specified lookback period. It distinguishes between buying and selling volume, calculating separate Z-Scores for each. A signal is triggered when the Z-Score exceeds 2 (for buying) or falls below -2 (for selling).
Z-Score:
The Z-Score clouds represent the outer parameters of the standard deviation over the lookback period (set at 2 and 3). Users can adjust the lookback time, and the indicator analyzes previous Z-Score reversal areas over the last 75 candles, signaling buy or sell based on historical reversals.
If you want to make it like BB, select the lookback length for the Z-Score at 25.
Autoregressive Forecasting:
This unique approach to autoregressive forecasting involves regressing a lagged variable while incorporating a time element. The time length is auto-determined based on the strongest trend. The indicator plots both autoregressed highs and lows.
ANOVA:
ANOVA, a discovery of mine, is introduced here. It reliably triggers significant readings before a pivot or breakout by measuring variance between means. When a statistically significant ANOVA occurs using the high, low, and close lagged values, it indicates an impending significant market move. While ANOVA alerts are not specific about the nature of the move, complementary tools like Volume, trend analysis, and Z-Bands provide additional insights.
Expect more educational content on ANOVA in the future, given its unique discovery. I was hoping to do one before releasing anything ANOVA based but alas, I haven't had the time!
The remainder of the indicator is self-explanatory. Feel free to ask any questions that arise or were not addressed in this description.
Special thanks to @Trendoscope for his arrays library which has made it possible for you to use the autoregression forecast while actively trading without it intruding on the chart :-).
Safe trades, everyone!
Donch +This is an indicator I made for trading Forex to help me see the bigger picture. It is meant for the 30min TF and it includes the following:
- 20 Day High | Low
- 5 Day High | Low
- 4 Hour High | L
- 4 Hour Bars
- Daily Simple Moving Averages
- Weekly Trend Line (connects last week's open to this week's open)
- Daily Trend Line (connects yesterday's open to today's open)
- Horizontal Lines at 0.25% increments (these can be useful for S/R... currency rarely moves more than 1% in a day).
- A table with information about what markets are open and technicals on the pair I am looking at.
- A slight white background fill to highlight the first hour of the US session. Knowing what session you are in is very important in day trading (in my opinion). This lets me go back and see how the US has been trading.
To keep the chart from being "too busy" (it's plenty busy lol), I use a step line and focus on 30min closes. I reference the white lines above and below closes for 4hr highs/lows and don't bother with looking at the high/low of every 30 min bar.
For the table, you will see bright green by the country for the first hour of trading in that session. It will turn to a regular green after the first hour. It will turn yellow the final hour of that session. It will turn red if that market is closed.
You can select from the settings 'inputs' tab to enable/disable any parts of this you don't find useful, for the table you'd go over to the 'style' tab and unselect it there. For example, I don't use the labels regularly. If I were to get confused about what a moving average was or something, I'd enable the labels and clarify.
Currency doesn't like to break out and likes to be stable. Keeping this in mind, you can see how the 20 day high / low and the 5 day high / low act as support and resistance (unless there is a news event to break out on.
I have alerts for the following:
- Price update every hour
- Crossing a trend line
- Crossing a moving average
- Crossing a 0.25% increment
- Making a new 4 hour, 5 day, or 20 day high/low
To enable the alerts, you would click add alert, select the indicator, and click save. To work properly, you'd want to be on the 30min TF before doing this. You will get a lot of alerts (personally I like this because I like to see how currency moves throughout the day). You will get one notification per 30 minutes but not more than that for the particular alert.
Envelope and Moving Average**Description:**
- This script creates an indicator that combines an envelope and a simple moving average (MA).
- The envelope is constructed using a specified length, percentage deviation, and source price (close by default).
- The moving average is calculated based on a specified length and source price.
**Inputs:**
1. Envelope:
- Length: Number of periods used for the envelope calculation (default is 20).
- Percentage Deviation: Percentage above and below the envelope basis (default is 10%).
- Source: The price used for the envelope calculation (default is close).
- Exponential MA: Option to use exponential moving average for the envelope basis (default is false).
2. Moving Average:
- Length: Number of periods used for the moving average calculation (default is 20).
- Source: The price used for the moving average calculation (default is close).
**Plotting:**
- The script plots the envelope basis, upper envelope line, and lower envelope line.
- The area between the upper and lower envelope lines is filled with a semi-transparent color for better visualization.
- The moving average is plotted on the chart with a specified color and line width.
**How to Use in a Strategy:**
1. **Envelope Crossovers:**
- Go Long (Buy): When the close price crosses above the upper envelope line.
- Go Short (Sell): When the close price crosses below the lower envelope line.
2. **Moving Average Crossovers:**
- Go Long (Buy): When the close price crosses above the moving average.
- Go Short (Sell): When the close price crosses below the moving average.
3. **Confirmation:**
- Consider additional confirmation signals or filters to improve the robustness of your strategy.
- For example, you might require a certain amount of price momentum or use other technical indicators in conjunction with envelope and moving average signals.
4. **Optimization:**
- Experiment with different parameter values (e.g., envelope length, percentage deviation, moving average length) to optimize the strategy for specific market conditions.
5. **Risk Management:**
- Implement proper risk management techniques, such as setting stop-loss orders and position sizing, to control risk.
Remember to thoroughly backtest any strategy before deploying it in a live trading environment. Additionally, consider the current market conditions and adapt your strategy accordingly.
Opening RangeThe opening range or first 30 minutes of trading during the day sets the tone and becomes an important reference through the rest of the day. Price will react as it reaches the high and low of the opening range.
Backtesting has shown that the strategies based on the opening range have merit and provide an edge in trading. By not being aware of these points of reference you put yourself at risk.
In addition to the opening range, the distance from the high or low of the opening range plus the width of the opening range forms another important reference point.
Opening Range Rules.
Price must break out of the opening range in order to have a trending day. As long as price is inside the opening range, expect the trade to be choppy.
Once price leaves the opening range the market can begin to trend. However, before it trends most times it will retest the boundary of the opening range. This is a critical point, and a better than average entry for a position to join the trend. However, if price closes back inside the opening range watch out. Re-entry to the opening range has a high probability of going to the middle of the opening range, and a better than average probability of crossing the entire opening range.
In the above chart we can see price broke below the opening range then returned to retest the opening range before beginning a downward trend that delivered 175 pts on NQ.
Upon re-entering the opening range price tried to break down again but ultimately traveled up until it hit the 50% mark of the opening range.
Once a trend has begun the first target is the green line which is 1 width of the opening range outside of the opening range.
Once price broke out of the opening range to the upside, it came back to retest the opening range high, before beginning an uptrend that delivered 120 pts on NQ.
CCI based support and resistance strategy
WARNING:
Commissions and slippage has not been considered! Don’t take it easy adding commissions and slippage could turns a fake-profitable strategy to a real disaster.
We consider account size as 10k and we enter 1000 for each trade.
Less than 100 trades is too small sample community and it’s not reliable, Also the performance of the past do not guarantee future performance. This result was handpicked by author and will differ by other timeframes, instruments and settings.
*PLEASE SHARE YOUR SETTINGS THAT WORK WITH THE COMMUNITY.
Introduction:
The CCI-based dynamic support and resistance is a "Bands and Channels" kind of indicator consisting an upper and lower band. This is a strategy which uses CCI-based (Made by me) indicator to execute trades.
SL and TP are calculated based on max ATR during last selected time period. You can edit strategy settings using "Ksl", "Ktp" and the other button for time period. “KSL” and “KTP” are 2.5 and 5 by default.
Bands are calculated regarding CCI previous high and low pivot. CCI length, right pivot length and left pivot length are 50.
A dynamic support and resistance has been calculated using last upper-cci minus a buffer and last lower-cci plus the buffer. The buffer is 10.
If "Trend matter?" button is on you can detect trend by color of the upper and lower line. Green is bullish and red is bearish! "Trend matter?" is on.
The "show mid?" button makes mid line visible, which is average of upper and lower lines, visible. The button is not active by default.
Reaction to the support could be a buy signal while a reaction to the resistance could interpreted as a sell signal.
How this strategy work?
Donald Lambert, a technical analyst, created the CCI, or Commodity Channel Index, which he first published in 1980. CCI is calculated regarding CCI can be used both as trend-detector or an oscillator. As an oscillator most traders believe in static predefined levels. Overbought and oversold candles which are clear in the chart could be used as sell and buy signals.
During my trading career I’ve noticed that there might be some reversal points for the CCI. I believe CCI could have to potential to reverse more from lately reversal point. Of course, just like other trading strategies we are talking about probabilities. We do not expect a win trade each time.
On price chart
Now this the question! What price should the instrument reach that CCI turns to be equal to our reversing aim for CCI? Imagine we have found last important bearish reversal of CCI in 200. Now, if we need the CCI to be 200 what price should we wait for?
How to calculate?
This is the CCI formula:
CCI = (Typical Price - SMA of TP) / (0.015 x Mean Deviation)
Where, Typical Price (TP) = (High + Low + Close)/3
For probable reversing points, high and low pivots of 50 bars have been used.
So we do have an Upper CCI and a Lower CCI. They are valid until the next pivot is available.
By relocating factors in CCI formula you can reach the “Typical Price”.
“
Typical Price = CCI (0.015 * Mean Deviation) + SMA of TP
So we could have a Support or Resistance by replacing CCI with Upper and Lower CCI.
A buy signal is valid if the trend is bullish (or “trend matter” is off) and lowest low of last 2 candles is lower than support and close is greater than both support and open.
A Sell signal is produced in opposite situation.
There are 2+1 options for trend!
Trend matter box is on by default, which means we’ll just open trades in direction of the trend. It’s available to turn it off.
Other 2 options are cross and slope. Cross calculated by comparing fast SMA and slow SMA. The slope one differentiate slow SMA to last “n” one.
Considering last day and today highest ATR as the ATR to calculating SL and TP is our unique technique.
Smart Money Oscillator [ChartPrime]The "Smart Money Oscillator " is a premium and discount zone oscillator with BOS and CHoCH built in for further analysis of price action. This indicator works by first determining the the premium and discount zones by using pivot points and high/lows. The top of this oscillator represents the current premium zone while the bottom half of this oscillator represents the discount zone. This oscillator functionally works like a stochastic oscillator with more sophisticated upper and lower bounds generated using smart money concept theories. We have included a moving average to allow the user to visualize the currant momentum in the oscillator. Another key feature we have included lagging divergences to help traders visualize potential reversal conditions.
Understanding the concepts of Premium and Discount zones, as well as Break of Structure (BoS) and Change of Character (CHoCH), is crucial for traders using the Smart Money Oscillator. These concepts are rooted in market structure analysis, which involves studying price levels and movements.
Premium Zone is where the price is considered to be relatively high or 'overbought'. In this zone, prices have risen significantly and may indicate that the asset is becoming overvalued, potentially leading to a reversal or slowdown in the upward trend.
The Discount Zone represents a 'discount' or 'oversold' area. Here, prices have fallen substantially, suggesting that the asset might be undervalued. This could be an indicator of a potential upward reversal or a pause in the downward trend.
Break of Structure (BoS) is about the continuation of a trend. In a bullish trend, a BoS is identified by the break of a recent higher high. In a bearish trend, it's the break of a recent Lower Low. BoS indicates that the trend is strong and likely to continue in its current direction. It's a sign of strength in the prevailing trend, whether up or down.
Change of Character (CHoCH) is an indication of a potential end to a trend. It occurs when there's a significant change in the market's behavior, contradicting the current trend. For example, in an uptrend characterized by higher highs and higher lows, a CHoCH may occur if a new high is formed but then is followed by an impulsive move downwards. This suggests that the bullish trend may be weakening and a bearish reversal could be imminent. CHoCH is essentially a sign of trend exhaustion and potential reversal.
With each consecutive BoS, the signal line of the oscillator will deepen in color. This allows you to visually see the strength of the current trend. The maximum strength of the trend is found by keeping track of the maximum number of consecutive BoS's within a window of 10. This calculation excludes periods without any BoS's to allow for a more stable max.
Quick Update is a feature that implements a more aggressive algorithm to update the highs and lows. Instead of updating the pivot points exclusively to update the range levels, it will attempt to use the current historical highs/lows to update the bounds. This results in a more responsive range at the cost of stability. There are pros and cons for both settings. With Quick Update disabled, the indicator will allow for strong reversals to register without the indicator maxing out. With Quick Update enabled, the indicator will show shorter term extremes with the risk of the signal being pinned to the extremities during strong trends or large movements. With Quick Update disabled, the oscillator prioritizes stability, using a more historical perspective to set its bounds. When Quick Update is enabled, the oscillator becomes more responsive, adjusting its bounds rapidly to reflect the latest market movements.
The Scale Offset feature allows the indicator to break the boundaries of the oscillator. This can be useful when the market is breaking highs or lows allowing the user to identify extremities in price. With Scale Offset disabled the oscillator will always remain inside of the boundaries because the extremities will be updated instantly. When this feature is enabled it will update the boundaries one step behind instead of updating it instantly. This allows the user to more easily see overbought and oversold conditions at the cost of incurring a single bar lag to the boundaries. Generally this is a good idea as this behavior makes the oscillator more sensitive to recent price spikes or drops, reflecting sudden market movements more accurately. It accentuates the extremities of the market conditions, potentially offering a more aggressive analysis. The main trade-off with the Scale Offset feature is between sensitivity and potential overreaction. It offers a more immediate and exaggerated reflection of market conditions but might also lead to misinterpretations in certain scenarios, especially in highly volatile markets.
Divergence is used to predict potential trend reversals. It occurs when the price of an asset and the reading of an oscillator move in opposite directions. This discrepancy can signal a weakening of the current trend and possibly indicate a potential reversal.
Divergence doesn't always lead to a trend reversal, but it's a warning sign that the current trend might be weakening. Divergence can sometimes give false signals, particularly in strongly trending markets where the oscillator may remain in overbought or oversold conditions for extended periods. The lagging nature of using pivot points to calculate divergences means that all divergences are limited by the pivot look forward input. The upside of using a longer look forward is that the divergences will be more accurate. The obvious con here is that it will be more delayed and might be useless by the time it appears. Its recommended to use the built in divergences as a way to learn how these are formed so you can make your own in real time.
By default, the oscillator uses a smoothing of 3 to allow for a more price like behavior while still being rather smooth compared to raw price data. Conversely, you can increase this value to make this indicator behave smoother. Something to keep in mind is that the amount of delay from real time is equal to half of the smoothing period.
We have included a verity of alerts in this indicator. Here is a list of all of the available alerts: Bullish BOS, Bearish BOS, Bullish CHoCH, Bearish CHoCH, Bullish Divergence, Hidden Bullish Divergence, Bearish Divergence, Hidden Bearish Divergence, Cross Over Average, Cross Under Average.
Below are all of the inputs and their tooltips to get you started:
Settings:
Smoothing: Specifies the degree of smoothing applied to the oscillator. Higher values result in smoother but potentially less responsive signals.
Average Length: Sets the length of the moving average applied to the oscillator, affecting its sensitivity and smoothness.
Pivot Length: Specifies the forward-looking length for pivot points, affecting how the oscillator anticipates future price movements. This directly impacts the delay in finding a pivot.
Max Length: Sets the maximum length to consider for calculating the highest values in the oscillator.
Min Length: Defines the minimum length for calculating the lowest values in the oscillator.
Quick Update: Activates a faster update mode for the oscillator's extremities, which may result in less stable range boundaries.
Scale Offset: When enabled, delays updating minimum and maximum values to enhance signal directionality, allowing the signal to occasionally exceed normal bounds.
Candle Color: Enables coloring of candles based on the current directional signal of the oscillator.
Labels:
Enable BOS/CHoCH Labels: Activates the display of BOS (Break of Structure) and CHoCH (Change of Character) labels on the chart.
Visual Padding: Turns on additional visual padding at the top and bottom of the chart to accommodate labels. Determines the amount of visual padding added to the chart for label display.
Divergence:
Divergence Pivot: Defines the number of bars to the right of the pivot in divergence calculations, influencing the oscillator's responsiveness.
Divergence Pivot Forward: Directly impacts latency. Longer periods results in more accurate results at the sacrifice of delay.
Upper Range: Sets the upper range limit for divergence calculations, influencing the oscillator's sensitivity to larger trends.
Lower Range: Determines the lower range limit for divergence calculations, affecting the oscillator's sensitivity to shorter trends.
Symbol: Allows selection of the label style for divergence indicators, with options for text or symbolic representation.
Regular Bullish: Activates the detection and marking of regular bullish divergences in the oscillator.
Hidden Bullish: Enables the identification and display of hidden bullish divergences.
Regular Bearish: Turns on the feature to detect and highlight regular bearish divergences.
Hidden Bearish: Activates the functionality for detecting and displaying hidden bearish divergences.
Color:
Bullish: Determines the minimum/maximum color gradient for bullish signals, impacting the chart's visual appearance.
Bearish: Defines the minimum/maximum color gradient for bearish signals, affecting their visual representation.
Average: Specifies the color for the average line of the oscillator, enhancing chart readability.
CHoCH: Sets the color for bullish/bearish CHoCH (Change of Character) signals.
Premium/Discount: Determines the color for the premium/discount zone in the oscillator's visual representation.
Text Color: Sets the color for the text in BoS/CHoCH labels.
Regular Bullish: Defines the color used to represent regular bullish divergences.
Hidden Bullish: Specifies the color for hidden bullish divergences.
Regular Bearish: Determines the color for hidden bearish divergences.
Divergence Text Color: Specifies the color for the text in divergence labels.
Qu_Trend+
composition
- Consists of a thick trend line and a thin yellow line.
- The largest (green/red) lines indicate rising and falling markets.
- This line represents the 13-candle moving average of Tilson T3.
- The reason for 13 candles is because it best matches the recent market price based on Bitcoin.
- This value cannot be changed, so if you need it, please modify the public code and use it.
- The yellow line is the MA20 line, the ‘Bollinger Band center line’
(UI will show whether this line has been breakout)
- The same algorithm as 20 of the basic moving average (close standard) is applied.
- The algorithm for breakthrough is calculated based on real-time prices, not based on closing prices.
An additional short-term SMA is created, and whether it crosses the SMA is classified as a breakout/resistance.
How to use it
- If the trend line becomes gentle, it may indicate a change in trend when + MA20 is broken.
- While the slope of the trend line is steep, it indicates that the trend is difficult to change.
(If the trend changes at this time, it is likely to move sideways)
- If the trend changes continuously, it is a sideways market.
At this time, watch out for the movement of the end point where the sideways trend ends.
Open Interest OscillatorIn the middle of a bustling cryptocurrency market, with Bitcoin navigating a critical phase and the community hype over potential ETF approvals, current funding rates, and market leverage, the timing is optimal to harness the capabilities of sophisticated trading tools.
Meet the Open Interest Oscillator – special indicator tailored for the volatile arena of cryptocurrency trading. This powerful instrument is adept at consolidating open interest data from a multitude of exchanges, delivering an in-depth snapshot of market sentiment across all timeframes, be it a 1-minute sprint or a weekly timeframe.
This versatile indicator is compatible with nearly all cryptocurrency pairs, offering an expansive lens through which traders can gauge the market's pulse.
Key Features:
-- Multi-exchange Data Aggregation: This feature taps into the heart of the crypto market by aggregating open interest data from premier exchanges such as BINANCE, BITMEX, BITFINEX, and KRAKEN. It goes a step further by integrating data from various pairs and stablecoins, thus providing traders with a rich, multi-dimensional view of market activities.
-- Open Interest Bars: Witness the flow of market dynamics through bars that depict the volume of positions being opened or closed, offering a clear visual cue of trading behavior. In this mode, If bars are going into negative zone, then traders are closing their positions. If they go into positive territory - leveraged positions are being opened.
-- Bollinger Band Integration: Incorporate a layer of statistical analysis with standard deviation calculations, which frame the open interest changes, giving traders a quantified edge to evaluate the market's volatility and momentum.
-- Oscillator with Customizable Thresholds: Personalize your trading signals by setting thresholds that resonate with your unique trading tactics. This customization brings the power of tailored analytics to your strategic arsenal.
-- Max OI Ceiling Setting: In the fast-paced crypto environment where data can surge to overwhelming levels, the Max OI Ceiling ensures you maintain a clear view by capping the open interest data, thus preserving the readability and interpretability of information, even when market activity reaches feverish heights.