BonsaiBonsai is a tailored tech analysis tool for all traders. It uses dynamic thresholds, sensitivity modes, and averaging to identify market trends. Its scoring system, visual cues, and alerts offer an intuitive trading journey.
═════════════════════════════════════════════════════════════════════════
🌳 Bonsai 🌳 Trend Analysis Indicator
📘 Overview
Bonsai is designed to aid traders in recognizing market trends, utilizing sensitivity as its pivotal component.
📌 Script Logic
• Threshold-Based Trends: Bonsai sets dynamic thresholds based on market deviations from previous highs or lows to identify trend reversals.
• Signal Generation: After ascertaining the trend direction, Bonsai provides buy/sell signals from trend crossovers and crossunders.
• Returns & Scoring: Each signal's potential returns are calculated, considering asset-specific trading fees. A scoring system (1-10) is introduced for traders to evaluate potential profitability quickly.
• Auto-Threshold: Threshold adjustments are made depending on the selected sensitivity mode, optimizing adaptability.
• Visual Indicators: Bonsai visualizes potential market highs and lows through trend lines. Colors differentiate between bullish and bearish market sentiments.
• Trend Line Enhancement with ALMA : Bonsai integrates the Arnaud Legoux Moving Average (ALMA), aiming to refine trend line representation. ALMA may reduce noise, providing a smoother trend line, which might be useful during volatile market conditions. This can potentially lead to improved trend forecasts with fewer fakeouts.
🎯 Purpose
• For Experienced Traders: Bonsai complements professional analysis with its data-driven insights, catering to diverse trading strategies.
• For Newcomers: Serving as an entry to technical analysis, Bonsai's intuitive design and streamlined settings are beginner-friendly.
🛠 Key Elements
• Dynamic Thresholds: Bonsai’s thresholds are dynamic, adapting to market conditions and user-selected sensitivity mode.
• Scoring System: Bonsai’s unique scoring system is grounded on potential returns, streamlining complex market data interpretation.
Performance Table Breakdown
🔧 Classic Elements & Value Added
• Refined Moving Averages: Bonsai incorporates standard moving averages like the EMA, SMA and ALMA to smooth and refine trend lines.
• Enhanced Visual Representation: Bonsai strives to provide clarity beyond just displaying market directions. Its visuals are crafted to help traders understand and potentially act promptly. The deliberate use of color dynamics, trend indications, and integration of moving averages come together to create a representation that aims to stand out in its clarity and simplicity.
📊 Features
• Dynamic Sensitivity Modes : Settings include:
• (Auto) Slow, Mid, Fast : These modes allow Bonsai to auto-adjust its sensitivity in line with market changes.
• 'Slow': Aims to capture larger market moves with fewer signals.
• 'Mid': A balanced mode with a moderate signal frequency.
• 'Fast': Caters to rapid market changes, providing more signals.
• Manual : For traders who prefer setting their sensitivity.
• Visualization: Green indicates bullish trends, and Red indicates bearish ones. Trend colors are customizable in gradient intensity and opacity.
• Performance Insights : A table displaying the effectiveness of all modes, guiding your strategy choices.
• Dashboard Themes : Users can switch between light and dark themes.
• Alert System : Real-time buy/sell signal notifications.
• Compatibility : Output can be integrated as a source for other indicators.
Indicator Settings Menu
🎛 How To Use Bonsai
1. Select your sensitivity mode.
2. Use color cues to analyze market directions.
3. Check the performance insights for strategy adjustment.
4. Set alerts to stay updated.
📜 Feedback & Improvement
We value your feedback. As the trading world evolves, Bonsai will adapt, meeting traders' dynamic needs.
❗️ Disclaimer
Bonsai serves as an analytical tool and isn’t a standalone trading strategy. Its performance table is for reference, and accuracy isn’t guaranteed. Always research thoroughly and be mindful of trading risks. Bonsai facilitates analysis but doesn’t promise particular outcomes.
Multitimeframe
Predictive Volume + MTF [Pro]"Predictive Volume + MTF " is a predictor of near-future volume available on 13 of your favorite time frames. The script calculates the volume's % change (PredVol) between Current Volume vs. Previous Volume by predicting whether PredVol will be higher or lower at the end of the current bar using an "elapsed time" vs "volume so far" concept. This gives the benefit of the most up-to-date information without artificial low/high comparisons when a bar has just formed. For example, it would be common to see -100% in a lot of instances when a new bar is just forming which would be normal because volume at the start of a new candle will generally be lower than where it was when the last bar closed. Where this indicator shines is during this old to new bar formation relative to the volume that's carried over to the new bar. As a result, it will now be common to see PredVol values starting much higher because the calculation is dividing up the bar and analyzing fractions of it instead of the entire bar that would otherwise lead to these incorrect volume % change calculations.
Examples of Predictive Volume % Change:
In addition, this indicator uses many other advanced and robust features:
⚡ Matrices that create the table, allowing you to add and remove rows and columns to customize the table to show only the information that's important to you
⚡ View up to 13 time frames at once - it's generally a good idea to have at least 5 time frames up to get an overall feeling of the direction/sentiment of volume with the 1d being 1 of the 5
⏩ Includes the following popular time frames: 1m, 3m, 5m, 10m, 15m, 30m, 1h, 2h, 4h, 8h, 1d, week, month
⚡ 3 "bias mode" choices that use Relative Volume (RVOL) from calculations between Current, Previous & Average Volume that provide a heat map with varying degrees of color representing buying & selling momentum of your favorite asset. Traders generally have an innate bias when it comes to their trading methodology. The script's
author created separate modes to account for this. One way to utilize the indicator is to use 2 on your chart, 1 Bullish and 1 Bearish, to see if volume sentiment is skewed towards your particular bias
⏩ 🟢 Standard Mode 🔴 - displays green and red to depict volume momentum using same RVOL calculations as Bullish & Bearish modes
⏩ 🐂 Bullish Mode 🐂 - displays 5 colors to represent the levels of intensity of the Buy/Sell/RVOL data (light blue, green, yellow, light orange, dark orange)
⏩ 🐻 Bearish Mode 🐻 - displays 5 colors to represent the levels of intensity of the Buy/Sell/RVOL data (light red to dark red)
Ex. of all 3 bias modes showing very bullish volume sentiment:
Ex. of all 3 bias modes showing very bearish volume sentiment:
⚡ 2 types of alerts: PREDEFINED and CUSTOM
💡 PREDEFINED ALERTS consist of 4 Bullish & Bearish levels with Lvl 1 designed to be less sensitive than Lvl 2 etc
⏩ Configurable for every time frame, "On Close" or "Each Bar". On Close could be a better choice on lower time frames so that you're not getting a bunch of triggers over a short duration & Each Bar could be a better option for higher time frames so that you don't miss a move mid bar for instance
⏩ Creating a PREDEFINED BULLISH/BEARISH ALERT saves a snapshot of the alert's settings. You can then change the settings and create another alert
⏩ For example, you could create one alert for any alert type (bull and/or bear), for every time frame all at once, or you can create multiple & separate alerts, giving each one a unique name with the time frame that it's for: ex. BTC - Bullish Vol Lvl1 (1m) (keep in mind that TV provides you the ticker, time frame & alert
type automatically (the script's author hard-coded the label names within the script and as a result when they do fire you're provided the type of alert, such as "Bearish Vol (Lvl 1). Technically, you don't even need to name the alert again)
In this example, you're provided information on how to create PREDEFINED ALERTS, what conditions cause the alerts to trigger and how they'll look when they do fire
💡 CUSTOM ALERTS consists of 6 metrics giving you the ability to create your own custom compound alerts
⏩ Configurable for every time frame, "On Close" or "Each Bar". On Close could be a better choice on lower time frames so that you're not getting a bunch of triggers over a short duration & Each Bar could be a better option for higher time frames so that you don't miss a move mid bar for instance
⏩ Creating a CUSTOM ALERT works the same way as PREDEFINED ALERTS (see chart below)
⏩ Check your conditions in real-time for accuracy via a debug feature aka "SHOW HELP FOR TIME FRAME"
In this example, you're provided information on how to create CUSTOM ALERTS
⚡ Header function that provides the ticker, time frame and session that you're on (can use in lieu of TV's watermark feature, or use together)
⏩ There's 2 customizable header inputs - you could include your TradingView username in one of them for the times when promoting your charts across your favorite social media sites
⚡ Timer that shows you when a bar will begin/end plus other features that allow you to change the size and positioning of the table within your charts
⚡ An input that allows you to change the "significant figures" for rounding purposes - can be especially useful when volume is low or when you're trading OTC stocks
⚡ 4 volume moving average lengths - Intraday, Daily, Weekly, Monthly - for those times when 1 moving average to cover the entire gamut of just won't suffice
////////////////////////////////
There's quite a bit more information provided in the attached charts as well as the tooltips within the inputs section of the indicator. Should you have any questions, feedback etc, please do not hesitate to contact the script's author. My hope is that this indicator becomes an invaluable resource to you and you're able to integrate it in to your everyday trading tool bag to make more informed decisions.
Ehlers SuperSmootherJohn F. Ehlers has provided the SuperSmoother filter in several of his works, including his book "Cyclical Analytics for Traders", Chapter 3.
The SuperSmoother filter is utilized whenever one might typically apply a moving average of any kind. The outcome is that the output signal from the SuperSmoother filter displays significantly less lag compared to an equivalent amount of smoothing from a moving average. The lag difference between a moving average and the SuperSmoother filter becomes even more pronounced when critical periods are extended.
Market data contains noise, and the purpose of smoothing filters is to mitigate this noise. In fact, there are various types of noise inherent in market data. One type of noise is systemic, originating from random trading activities. Another type is aliasing noise, which arises due to the use of discrete data. Aliasing noise dominates the data when considering shorter cycle durations.
It's tempting to perceive market data as a continuous wave, but that's a misconception. Taking the closing price as representative of a bar provides just a single data point. Whether you opt for the midpoint between the high and low instead of the closing price, you're still limited to one sample per bar. Given the discrete nature of this data, certain spectral implications must be considered. For instance, the shortest feasible analysis period (without aliasing) is a two-bar cycle. This is referred to as the Nyquist frequency, at 0.5 cycles per sample.
An ideally sampled two-beat sinusoidal cycle becomes rectified when discretized. However, peak sampling for the cycle isn't always guaranteed, and interference between the sampling rate and the data frequency results in aliasing noise. This noise decreases as the data period lengthens. For example, a four-beat cycle implies four samples per cycle. With more samples, the sampled data provides a better representation of the sinusoidal component. The replica becomes even more accurate for an eight-bar data component. The increased precision of discrete data signifies that aliasing noise decreases as cycle durations expand.
A smoothing filter should possess the selectivity to reduce the aliasing noise below systemic noise levels. Given that aliasing noise increases by 6 dB per octave above the filter's selected cutoff frequency and the SuperSmoother's attenuation rate is 12 dB per octave, the SuperSmoother filter emerges as an effective tool to virtually eliminate aliasing noise in its output signal.
There are already several SuperSmoother indicators on Tradingview, but I like to structure the code and highlight the main components as functions rather than hiding them in the code. I hope this is useful for those who are starting to learn Pine Script.
Machine Learning: kNN sentiment Anomaly detector [Ox_kali]Introduction:
This script represents a methodical integration of advanced machine learning techniques into financial market analysis. Utilizing the k-Nearest Neighbors (kNN) algorithm, a supervised learning method, the script systematically processes historical price data to detect anomalies in investor sentiment. By analyzing divergences between normalized investor satisfaction and actual asset prices, it offers a data-driven approach to identifying potential market inflection points.
Key Points:
Integration of the kNN machine learning algorithm to spotlight trading anomalies.
Incorporation of user-defined parameters, granting enhanced flexibility tailored to diverse trading strategies.
Deployment of normalization techniques, rendering a consistent perspective on average investor satisfaction.
Trading Application:
At its core, the script holds the capability to generate buy and sell signals derived from the detected anomalies, with a particular emphasis on those originating from divergences. Visual markers, represented by green and red backgrounds, provide an objective visualization of potential points of interest for traders.
Important Note:
This algorithm is an experimental embodiment of the kNN machine learning method. The parameters have not been fully optimized, and given the algorithm’s intricate nature and the high values set for kNN parameters, users might experience a slight delay during loading. On a personal note, it appears that this algorithm can detect shifts in trends on higher time frames, with the green and red color cues serving as key indicators. It also demonstrates promising performance on shorter time frames
Feedback Welcome:
Any feedback or suggestions on parameter settings are appreciated. Feel free to share your experiences in the comments.
Please note that the Machine Learning: kNN Investor sentiment Anomaly detector is provided for educational purposes only and is not meant to constitute financial advice. This indicator is not a guarantee of future market performance and should be used in conjunction with proper risk management. Always ensure that you have a thorough understanding of the indicator’s methodology and its limitations before making any investment decisions. Additionally, past performance is not indicative of future results.
Extended Hour CandleThe Extended Hour Candle shows extended hour candle formations on the Daily chart. This indicator can be useful for those who want to analyse price movements during extended trading sessions without switching to intraday charts with "Extended trading hours" enabled.
How to Use:
Add the Extended Hour Candle indicator to a TradingView chart.
Adjust the color settings according to personal preferences, using the options to set the desired colors for up and down candles.
See the Candle during extended trading hours on the Daily chart
The Opening Range / First Bar By Market Mindset - Zero To EndlesThe script shows the opening range of the instrument based on different resolutions and timeframes.
Inputs :
1. Resolution
It decides the calculation frequency of the script.
In Auto resolution, Standard values have been used.
2. Timeframe
It decides the timeframe for the OHLC values.
By default, it will use the chart timeframe and so chart OHLC values.
3. Lookback
It decides the no. of ranges shown on the chart.
Middle Line can be hidden from the settings.
The script can be used for any instrument and on any timeframe.
If price is above the opening range or the middle line, a trader should look for long opportunities.
If price is below the opening range or the middle line, a trader should look for short opportunities.
A sideways or choppy move is exoected if Middle line is crossed again and again.
For trading, wait for atleast 1st bar to close. and let the opening range build up first.
Happy Trading
Bunch of WillyThe indicator allows you to track overbought/oversold conditions using the Williams indicator on several higher timeframes of the same ticker on one chart. Based on the relative position of the lines of different timeframes and their position relative to the exponential moving average, you can track the occurrence of situations of simultaneous overbought/oversold of several timeframes, which is a cleaner reversal signal than overbought/oversold on just one chart timeframe. So far the script itself does not indicate these points, but perhaps in one of the next updates I will fix this.
In addition, the exponential moving average can be used to determine the direction of the trend.
Индикатор позволяет на одном графике отслеживать перекупленность/перепроданость по индикатору Вильямса на нескольких более высоких таймфреймах того же тикера. Основываясь на взаимном положении линий разных таймфреймов и их положении относительно экспоненциальной скользящей средней можно отслеживать возникновение ситуаций одновременной перекупленности/перепроданности нескольких таймфреймов что является более чистым разворотным сигналом чем перекупленность/перепроданность на одном лишь таймфрейме графика. Пока скрипт сам не обозначает эти моменты, но возможно в одном из следующих обновлений я это исправлю.
Кроме того по экспоненциальной скользящей средней можно определять направление тренда.
HTF Candle Insights (Expo)█ Overview
The HTF Candle Insights indicator helps traders see what's happening in larger time frames (HTF) while they're looking at smaller ones. This tool lets traders get a complete picture of market trends and price movements, helping them make smarter trading choices. It's really useful for traders who want to understand the main market trends without constantly switching between different chart timeframes.
In simpler terms , this indicator brings the big picture into the smaller frame, so traders don't miss out on what's important while focusing on the details.
█ How It Works
The indicator plots HTF candles on the existing chart, allowing users to view them concurrently with the candles of the current timeframe. This dual visual representation helps in discerning the prevalent market trends and significant price levels from both the current and higher timeframes.
█ How to Use
Trend Analysis
Traders can leverage this indicator to analyze overall market trends by observing HTF candles alongside the current timeframe candles. Recognizing HTF trends aids in aligning trades with the dominant market movement, potentially increasing the probability of successful trades.
Support and Resistance Identification
By viewing the high, low, and mid-levels of HTF candles, traders can identify potential support and resistance zones, enabling them to establish strategic entry and exit points, place stop-losses effectively, and manage risk proficiently.
█ Settings
Timeframe and Candle Amount:
Users can specify the higher timeframe and the number of HTF candles they wish to visualize on their current chart.
Visual Adjustments:
Traders can customize the color schemes for upward and downward candles and their wicks, and adjust the visibility and colors of the range lines, allowing for a tailored visual experience.
Range Lines:
Users have the option to display the high/low range of the displayed candles, and, if preferred, the mid-range line, enabling them to gain insights into significant price levels and ranges.
Table Display:
The indicator offers the ability to display a table, which provides an overview of the current chart's timeframe and the specified HTF.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems 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/Indicators/Ideas/Algos/Systems are only for educational purposes!
TMA MTFThis indicator plots three different Triple Moving Averages (TMAs) for two different time frames on a price chart:
Middle TMA Line: This is the main TMA line, calculated based on a user-defined number of past bars. It's represented by a solid line on the chart.
Upper TMA Line: This line is calculated by adding a certain multiple of the Average True Range (ATR) to the main TMA line. It helps identify potential resistance levels and is plotted as a solid line.
Lower TMA Line: Similar to the upper line, this line is calculated by subtracting a multiple of the ATR from the main TMA line. It helps identify potential support levels and is also plotted as a solid line.
Additionally, you have the option to overlay these TMA lines on a higher timeframe (HTF) if desired. When you enable this feature, it plots the same three TMA lines but calculated using data from a higher timeframe, which can provide additional context for your trading decisions.
The indicator uses different colors for the TMA lines based on their relationships:
Green: The middle TMA line is above the higher timeframe middle TMA line, suggesting a potential bullish (upward) trend.
Red: The middle TMA line is below the higher timeframe middle TMA line, suggesting a potential bearish (downward) trend.
In addition, it plots the upper and lower TMA lines in shades of purple and maroon, respectively, on the higher timeframe for reference.
Overall, this indicator helps traders identify potential areas of support and resistance and assess the trend direction by comparing the TMA lines of different timeframes.
Variable:
TMA_Period:
This input variable allows you to specify the number of past bars that are used to calculate the main Triple Moving Average (TMA) line. A larger value will result in a smoother TMA line, while a smaller value will make it more responsive to recent price changes.
ATR_Period:
This input variable determines the number of past bars used to calculate the Average True Range (ATR). The ATR is a measure of price volatility. A longer ATR period considers a broader range of price movement, while a shorter period reacts more quickly to recent volatility.
ATR_Multiplier:
This input allows you to set a multiplier for the ATR on the current timeframe. The ATR value is multiplied by this factor to calculate the upper and lower TMA lines. A higher multiplier will result in wider TMA bands, while a lower multiplier will make them narrower.
ATR_Multiplier_HTF:
Similar to ATR_Multiplier, this input sets a multiplier for the ATR on a higher timeframe (HTF). It affects the width of the HTF TMA bands.
TF_1:
This input variable lets you choose the desired higher timeframe (HTF) for the indicator. You can select from various timeframes, including 1 minute, 5 minutes, 15 minutes, 30 minutes, 60 minutes, 240 minutes (4 hours), daily (D), weekly (W), monthly (M), or choose "Auto" to let the script automatically determine the HTF based on the current timeframe.
src:
This input allows you to choose the price source used for calculations. By default, it's set to 'close,' which means the closing prices of each bar are used. You can change this to other price sources like 'open,' 'high,' 'low,' or 'ohlc4' (a combination of open, high, low, and close prices).
ma_type:
This input lets you select the type of moving average used in the calculations. You have three options: Weighted Moving Average (WMA), Double Weighted Moving Average (DWMA), and Triple Weighted Moving Average (TWMA).
Plot_TMA_HTF_Midline:
If set to 'true,' it will plot the middle TMA line of the higher timeframe (HTF) on the chart. If set to 'false,' the HTF middle TMA line will not be displayed.
Cryptopreneur Dynamic Support & ResistanceOverview
The Cryptopreneur Dynamic Support & Resistance (Cryptopreneur S&R) is a technical analysis tool designed to identify key support and resistance levels based on historical price data. This indicator uses both average prices and Fibonacci-based calculations to derive multiple levels of support and resistance, offering traders enhanced insights into potential price reversal zones.
Features
1. Lookback Period
Allows users to define the number of historical bars to consider for the calculation.
2. Average Price Calculation
The average of the high and low prices of each historical bar is computed to derive a balanced representation of the price for the specified period.
3. Dynamic Support and Resistance
The highest and lowest average prices within the lookback period are used as the primary resistance and support levels.
4. Fibonacci-based Additional Levels
Additional resistance and support levels are computed using Fibonacci retracement ratios (0.382, 0.618, and 0.786). These levels offer potential zones where price might face resistance or find support during its movement.
5. Visual Enhancements
Different colors and line thicknesses are used to differentiate the various support and resistance levels, making it easier for traders to identify and track them on the chart.
6. Alerts
The indicator provides alert conditions for when the price crosses any of the support or resistance levels, aiding traders in making timely decisions.
Usage
Support and Resistance
These are fundamental concepts in technical analysis representing price levels where the market tends to find resistance (price stops going higher) or support (price stops going lower). The Cryptopreneur Dynamic Support & Resistance provides traders with these levels dynamically based on recent price action and Fibonacci calculations.
Trade Setups
Traders can use these levels to identify potential trade entry and exit points. For instance, if the price approaches a resistance level and shows signs of reversal, it might be an opportunity to go short, expecting the price to go down.
Stop Loss and Take Profit
The levels can also be used to set protective stop losses or take profit levels, ensuring that traders manage their risks effectively.
Alerts
Stay updated with price movements through customizable alerts whenever the price crosses any of the defined levels.
Conclusion
The Cryptopreneur Dynamic Support & Resistance offers a comprehensive approach to identifying key support and resistance levels. By combining historical price data with Fibonacci ratios, it provides traders with a more nuanced understanding of potential price pivot points, thus aiding in better decision-making. Whether you're a beginner or an experienced trader, the Cryptopreneur S&R can be a valuable addition to your technical analysis toolkit.
Disclaimer
The The Cryptopreneur Dynamic Support & Resistance (Cryptopreneur S&R) is provided as a technical analysis tool and should not be interpreted as investment advice, a recommendation concerning the purchase or sale of any security, or a suggestion to engage in any specific transaction. All decisions related to buying, selling, or trading any securities or assets are solely the responsibility of the individual user, and it is advised to always consult with a licensed financial advisor or conduct thorough research before making investment decisions. Past performance is not indicative of future results. Use the Cryptopreneur S&R Indicator at your own risk. The creators or providers of this tool bear no responsibility for any losses incurred as a result of its usage.
Daily TrendDescription:
The "Daily Trend" script is a powerful technical analysis tool designed for TradingView. This indicator helps traders identify key support and resistance levels based on daily price data. It offers a visual representation of these levels, along with other technical indicators like Exponential Moving Averages (EMA), Supertrend, and Parabolic SAR.
Features:
Past Candle Price Levels: This script calculates and displays past daily candle price levels, including R1, R2, R3, R4, S1, S2, S3, and S4. These levels are vital for identifying potential reversals and breakout points.
Exponential Moving Average (EMA): The script includes an EMA indicator with a customizable period to help traders spot the trend direction and potential crossovers.
Supertrend Indicator: The Supertrend indicator is used to identify trend changes. It plots the Supertrend line and highlights the trend direction with color-coded regions.
Parabolic SAR: The Parabolic SAR indicator is integrated into the script to assist traders in identifying potential entry and exit points in the market.
Customizable Alerts: Traders can customize the indicator by choosing which past candle price levels and other features to display on the chart.
How to Use:
Apply the "Daily Trend" script to your TradingView chart.
Customize the indicator by enabling or disabling specific features, such as past candle price levels and EMA.
Pay attention to the color-coded regions for Supertrend and Parabolic SAR to determine the current trend direction.
Look for potential reversal or bounce signals based on the indicator's signals and the price action.
Consider using this script in conjunction with your trading strategy for enhanced technical analysis.
Risk Warning: Trading involves significant risk, and past performance is not indicative of future results. Always practice proper risk management and consider the broader context of the market before making trading decisions.
Forex & Stock Daily WatchList And Screener [M]Hi, this is a watchlist and screener indicator for Forex and Stocks.
This indicator is designed for traders who trade in the forex markets and monitor developments in indices and other currency pairs.
It includes information on 14 indices such as the volatility index, Baltic dry index, etc. You can customize the indices as you wish. The indices table contains the index's price (or points), daily change, stochastic value, and trend direction.
The second table is designed for trading forex and stock currency pairs.
In this table, you will find information such as price, volume, change, stochastic, RSI, trend direction, and MACD result for all traded pairs. You can customize all the currency pairs in this table as you wish, and you can also tailor the oscillator settings to your preferences.
In the settings section, you can use checkboxes to hide the pairs in both tables.
The "Customize" section in the settings allows you to personalize the table appearances according to your preferences.
ICT HTF FVGs (fadi)ICT HTF FVGs displays the higher timeframe FVGs on current chart. This allows the trader to easily visualize the higher timeframe FVGs without having to mark them manually and see when price reaches point of interest for possible reversals or reaction.
This indicator attempts to provide as much flexibility possible by being able to define the following:
Higher Timeframe Settings
Timeframe to monitor
Bullish FVG color for this timeframe
Bearish FVG color for this timeframe
Maximum number of FVGs to display for this timeframe
Distance from current bar. This prevents overcrowding of FVGs
Hide Lower Timeframes from current chart. If this option is turned off, 5m timeframe FVGs will be displayed on an hourly chart as an example.
Show Border for the FVGs. Border color is derived from the FVG color
Show Mitigated FVG on the chart. The labels are removed to prevent the labels from overlapping with the candles on the chart/
Show C.E. Draws a line at the middle point of the FVG. This is usually an area of interest.
Show Label Shows the label with label color, background color, and label size.
Alxuse Stochastic RSI for tutorial All abilities of Stochastic RSI, moreover :
Drawing upper band and lower band & the ability to change values, change colors, turn on/off show.
Crossing K line and D line in multi timeframe & there are symbols (Circles) with green color (Buy) and red color (Sell) & the ability to change colors, turn on/off show.
Crossing K line and D line in multi timeframe according to the values of upper band and lower band & there are symbols (Triangles) with green color (Long) and red color (Short) & the ability to change colors, turn on/off show.
The ability used in the alert section and create customized alerts.
To receive valid alerts the replay section , the timeframe of the chart must be the same as the timeframe of the indicator.
Stochastic RSI (STOCH RSI)
Definition
The Stochastic RSI indicator (Stoch RSI) is essentially an indicator of an indicator. It is used in technical analysis to provide a stochastic calculation to the RSI indicator. This means that it is a measure of RSI relative to its own high/low range over a user defined period of time. The Stochastic RSI is an oscillator that calculates a value between 0 and 1 which is then plotted as a line. This indicator is primarily used for identifying overbought and oversold conditions.
The basics
It is important to remember that the Stoch RSI is an indicator of an indicator making it two steps away from price. RSI is one step away from price and therefore a stochastic calculation of the RSI is two steps away. This is important because as with any indicator that is multiple steps away from price, Stoch RSI can have brief disconnects from actual price movement. That being said, as a range bound indicator, the Stoch RSI's primary function is identifying crossovers as well as overbought and oversold conditions.
The basics
It is important to remember that the Stoch RSI is an indicator of an indicator making it two steps away from price. RSI is one step away from price and therefore a stochastic calculation of the RSI is two steps away. This is important because as with any indicator that is multiple steps away from price, Stoch RSI can have brief disconnects from actual price movement. That being said, as a range bound indicator, the Stoch RSI's primary function is identifying crossovers as well as overbought and oversold conditions.
Overbought/Oversold
Overbought and Oversold conditions are traditionally different than the RSI. While RSI overbought and oversold conditions are traditionally set at 70 for overbought and 30 for oversold, Stoch RSI are typically .80 and .20 respectively. When using the Stoch RSI, overbought and oversold work best when trading along with the underlying trend.
During an uptrend, look for oversold conditions for points of entry.
During a downtrend, look for overbought conditions for points of entry.
Summary
When using Stoch RSI in technical analysis, a trader should be careful. By adding the Stochastic calculation to RSI, speed is greatly increased. This can generate many more signals and therefore more bad signals as well as the good ones. Stoch RSI needs to be combined with additional tools or indicators in order to be at its most effective. Using trend lines or basic chart pattern analysis can help to identify major, underlying trends and increase the Stoch RSI's accuracy. Using Stoch RSI to make trades that go against the underlying trend is a dangerous proposition.
The added features to the indicator are made for training, it is advisable to use it with caution in tradings.
Alxuse MACD for tutorialAll abilities of MACD, moreover :
Drawing upper band and lower band & the ability to change values, change colors, turn on/off show.
Crossing MACD line and SIGNAL line in multi timeframe & there are symbols (Circles) with green color (Buy) and red color (Sell) & the ability to change colors, turn on/off show.
Crossing MACD line and SIGNAL line in multi timeframe according to the values of upper band and lower band & there are symbols (Triangles) with green color (Long) and red color (Short) & the ability to change colors, turn on/off show.
The ability used in the alert section and create customized alerts.
To receive valid alerts the replay section , the timeframe of the chart must be the same as the timeframe of the indicator.
MACD (Moving Average Convergence/Divergence)
Definition
MACD is an extremely popular indicator used in technical analysis. MACD can be used to identify aspects of a security's overall trend. Most notably these aspects are momentum, as well as trend direction and duration. What makes MACD so informative is that it is actually the combination of two different types of indicators. First, MACD employs two Moving Averages of varying lengths (which are lagging indicators) to identify trend direction and duration. Then, MACD takes the difference in values between those two Moving Averages (MACD Line) and an EMA of those Moving Averages (Signal Line) and plots that difference between the two lines as a histogram which oscillates above and below a center Zero Line. The histogram is used as a good indication of a security's momentum.
MACD Line is a result of taking a longer term EMA and subtracting it from a shorter term EMA.The most commonly used values are 26 days for the longer term EMA and 12 days for the shorter term EMA, but it is the trader's choice.
The Signal Line.
The Signal Line is an EMA of the MACD Line described in Component 1. The trader can choose what period length EMA to use for the Signal Line however 9 is the most common.
The MACD Histogram.
As time advances, the difference between the MACD Line and Signal Line will continually differ. The MACD histogram takes that difference and plots it into an easily readable histogram. The difference between the two lines oscillates around a Zero Line.
A general interpretation of MACD is that when MACD is positive and the histogram value is increasing, then upside momentum is increasing. When MACD is negative and the histogram value is decreasing, then downside momentum is increasing.
What to look for
The MACD indicator is typically good for identifying three types of basic signals; Signal Line Crossovers, Zero Line Crossovers, and Divergence.
SIGNAL LINE CROSSOVERS
A Signal Line Crossover is the most common signal produced by the MACD. First one must consider that the Signal Line is essentially an indicator of an indicator. The Signal Line is calculating the Moving Average of the MACD Line. Therefore the Signal Line lags behind the MACD line. That being said, on the occasions where the MACD Line crosses above or below the Signal Line, that can signify a potentially strong move.
The strength of the move is what determines the duration of Signal Line Crossover. Understanding and being able to analyze move strength, as well as being able to recognize false signals, is a skill that comes with experience.
The first type of Signal Line Crossover to examine is the Bullish Signal Line Crossover. Bullish Signal Line Crossovers occur when the MACD Line crosses above the Signal Line.
The second type of Signal Line Crossover to examine is the Bearish Signal Line Crossover. Bearish Signal Line Crossovers occur when the MACD Line crosses below the Signal Line.
Zero line crossovers
Zero Line Crossovers have a very similar premise to Signal Line Crossovers. Instead of crossing the Signal Line, Zero Line Crossovers occur when the MACD Line crossed the Zero Line and either becomes positive (above 0) or negative (below 0).
The first type of Zero Line Crossover to examine is the Bullish Zero Line Crossover. Bullish Zero Line Crossovers occur when the MACD Line crosses above the Zero Line and go from negative to positive.
The second type of Zero Line Crossover to examine is the Bearish Zero Line Crossover. Bearish Zero Line Crossovers occur when the MACD Line crosses below the Zero Line and go from positive to negative.
Divergence
Divergence is another signal created by the MACD. Simply put, divergence is when the MACD and actual price are not in agreement.
For example, Bullish Divergence occurs when price records a lower low, but the MACD records a higher low. The movement of price can provide evidence of the current trend, however changes in momentum as evidenced by the MACD can sometimes precede a significant reversal.
Bearish Divergence is, of course, the opposite. Bearish Divergence occurs when price records a higher high while the MACD records a lower high.
Summary
What makes the MACD such a valuable tool for technical analysis is that it is almost like two indicators in one. It can help to identify not just trends, but it can measure momentum as well. It takes two separate lagging indicators and adds the aspect of momentum which is much more active or predictive That kind of versatility is why it has been and is used by trader's and analysts across the entire spectrum of finance.
Despite MACD's obvious attributes, just like with any indicator, the trader or analyst needs to exercise caution. There are just some things that MACD doesn't do well which may tempt a trader regardless. Most notably, traders may be tempted into using MACD as a way to find overbought or oversold conditions. This is not a good idea. Remember, MACD is not bound to a range, so what is considered to be highly positive or negative for one instrument may not translate well to a different instrument.
With sufficient time and experience, almost anybody who wants to analyze chart data should be able to make good use out of the MACD.
The added features to the indicator are made for training, it is advisable to use it with caution in tradings.
[ADOL_]Trend_Osilator_beta
ENG) Trend_Osilator_beta
Introduction)
This is an indicator that analyzes and displays trends.
By taking the form of an oscillator, upper and lower limits are established, which limits the unlimited range that can appear on the chart.
Through oscillatorization, you can find overbought, oversold, and current trend areas.
This version is a beta version, so signals and alerts do not occur.
It adopts MTF and is a simple but functional indicator. Complement your skills with the trading methods below.
To use multiple time frames, use the timeframe.multiplier function.
We created a table using the table.new function and displayed the time zone selected in the current indicator at the bottom right of the chart.
When using multiple indicators, you can easily distinguish the currently selected time.
Principle)
Set up two moving averages with different speeds and make the relative difference.
Create the speed difference between the two moving averages using methods such as over = crossover(fast, slow) and under = crossunder(fast, slow).
The point at which the difference in relative speed decreases is where the possibility of inflection is high. Through the cross code, you can find out when the speed difference becomes 0.
It was created by determining the green and red areas at the inflection point.
Using the code of fill(fast, slow, color = fast>= slow? color.green: color.red, transp = 80, title = "fillcolor")
You can color and distinguish areas.
MA: MA_type can be selected (limited)
Min: This is the starting value to set the oscillator range.
Max: This is the final value to set the oscillator range.
Lenght: This is the number of candles used to calculate the calculation formula in the oscillator.
repaint: You can choose whether to draw a repaint. The default is OFF.
The coding for repaint settings for the indicator was written using the optimal method recommended by TradingView.
Reference:
security(syminfo.tickerid, tf, src )
Trading method)
You can set different time zones in Timeframe. Even if you change the time frame of the chart, it is displayed based on the time set in the indicator.
If the timeframe is set to 4h in the indicator, the standard that occurs in 4h is retrieved and displayed even if the chart screen is adjusted to 15m or 30m.
This is a feature of Multi-Time-Frame (MTF). The repaint problem that occurred when using MTF was resolved by referring to TradingView's recommended code.
User can decide whether to repaint or not. The default is OFF.
In the green area, Buy is the dominant opinion, and in the red area, Sell is the dominant opinion. simple!
You can gain good insight by deciding to buy or sell without moving too far from the point where the area changes.
- Settings are the most common default values. It is also possible to change the settings, but leave the settings as is.
If you want to do short shots, you can select the time frame as 1 hour, 15 minutes, or whatever time you want. If you want to analyze big changes, you can select the time frame as 4 hours or daily.
The recommended basic time frame is 4 hours.
- Upward divergence
We confirm that 8/25 is the lowest point.
- trend line
- Find a property for sale by amplitud.
Breaking a trend line that candles cannot indicate, It can be used to view branches.
Disclaimer)
This indicator is not an indicator that guarantees absolute returns and is used for simple reference purposes. Accordingly, all trading decisions you make are solely your responsibility.
KOR) 트렌드_오실레이터_베타
소개)
이것은 트렌드를 분석하여 표기해주는 지표입니다.
오실레이터 형태를 갖춤으로써, 상한과 하한이 정해지며, 이로 인해 차트에서 나타날 수 있는 무제한적인 확장영역이 제한됩니다.
오실레이터화를 통해, 과매수와 과매도, 현재의 트렌드 영역을 잘 찾을 수 있습니다.
이 버전은 베타바전으로 시그널과 얼러트가 발생하지 않습니다.
MTF를 채택했으며, 단순하지만, 기능적으로 훌륭한 지표입니다. 아래 매매방법에서 능력을 보완하십시오.
멀티타임프레임을 사용하기 위해 timeframe.multiplier 함수를 사용합니다.
table.new 함수를 사용하여 table을 만들고, 차트 우측 하단에 현재 지표에서 선택한 시간대가 표시되도록 하였습니다.
여러개의 지표를 사용할 때 쉽게, 현재 선택된 시간을 쉽게 구분가능합니다.
원리)
속도가 다른 두 개의 이평선을 설정하고 상대적인 차이를 만듭니다.
over = crossover(fast, slow) , under = crossunder(fast, slow) 와 같은 방법으로 두개의 이평선의 속도차이를 만듭니다.
상대적 속도의 차이가 줄어드는 시점은 변곡의 가능성이 높은 자리입니다. cross code를 통해 속도차가 0이 되는 시점을 알 수 있습니다.
변곡점에서 초록색과 빨간색의 영역을 결정하는 방법으로 만들어졌습니다.
fill(fast, slow, color = fast>= slow? color.green: color.red, transp = 80, title = "fillcolor") 의 코드를 사용하여
영역을 색칠하고 구분할 수 있습니다.
MA : MA_유형을 선택할 수 있습니다.(제한적 사용)
Min : 오실레이터 범위를 설정할 시작값입니다.
Max : 오실레이터 범위를 설정할 마지막값입니다.
Lenght : 오실레이터에서 계산식을 산출하기 위한 캔들의 개수입니다.
repaint : 리페인팅을 그릴지 선택할 수 있습니다. 기본값은 OFF 입니다.
해당 지표의 리페인트 설정에 관한 코딩은 트레이딩뷰에서 권장하는 추천 방법으로 작성되었습니다.
참고 :
security(syminfo.tickerid, tf, src )
매매방법)
- Timeframe에서 다양한 시간대를 설정할 수 있습니다. 차트의 시간프레임을 바꿔도 지표에서 설정한 시간을 기준으로 표시해줍니다.
지표에서 Timeframe을 4h로 설정했다면, 차트화면을 15m으로 조정하거나 30m으로 조정해도 4h 에서 발생하는 기준을 가져와 보여줍니다.
이것은 Multi-Time-Frame(MTF)의 기능입니다. MTF 사용시 발생하는 리페인트 문제는 트레이딩뷰의 권장코드를 참고하여 해결했습니다.
사용자가 리페인트 여부를 결정할 수 있습니다. 기본값은 OFF 입니다.
초록색의 영역에서는 매수가 지배적인 의견이며, 빨간색의 영역에서는 매도가 지배적인 의견입니다. 단순!
영역이 바뀌는 시점에서 멀리 벗어나지 않고 매매를 결정하면 좋은 통찰력을 얻을 수 있습니다.
- 설정값은 가장 보편적인 기본값입니다. 설정값을 바꾸는 방법도 가능하지만, 설정값을 그대로 두고,
단타를 하고 싶으면 타임프레임을 1시간, 15분, 혹은 원하는 시간, 큰 변화를 분석하고 싶으면 타임프레임을 4시간, 날봉 으로 선택하면 되며,
추천하는 기본 시간프레임은, 4시간입니다.
- 상승다이버전스
를 통해 8/25이 최저점이 됨을 확인합니다. 하락다이버전스는 같은 원리로 반대방향으로 그릴 수 있습니다.
- 추세선
그림과 같이 같은 영역의 고점을 이어 하락추세선을 긋습니다. 상승추세선은 반대입니다.
캔들이 표시할 수 없는 추세선돌파 지점을 볼 수 있게 활용가능합니다.
- 진폭으로 매물대 찾기
빨간색 영역의 저점과 초록색 영역의 고점이 발생할 때, 그 차이를 하나의 진폭으로 보고 범위를 설정합니다.
여기서 하나의 진폭은 위나 아래로 갈 수 있는 패턴값이 되며, 이 패턴값은 지지/저항으로 작용합니다.
얼러트)
얼러트의 설정이 포함되어 있지 않습니다.
면책조항)
해당지표는 절대수익을 보장하는 지표가 아니며, 단순한 참고용으로 사용됩니다. 따라서, 귀하가 내리는 모든 거래 결정은 전적으로 귀하의 책임입니다.
Investor Satisfaction/Price Divergence Pro [Ox_kali]The "Investor Satisfaction/Price Divergence" is an indicator designed to quantify and juxtapose the satisfaction of a group of investors with potential price divergences of the asset.
The primary goal of this indicator is to provide a reliable tool for gauging investor sentiment and identifying price divergences. These insights can be instrumental in predicting possible market trend reversals.
Key Features
Calculation of the highest and lowest prices over a user-defined period.
Computation of the average satisfaction of investors who have invested over a user-defined period.
Normalization of average satisfaction between 0 and 1 to provide a standardized measure of investor sentiment.
Identification of price divergence between the normalized satisfaction and the actual asset price.
Detection of anomalies in satisfaction change, which can suggest unusual market conditions.
Plotting histogram display of the difference between normalized satisfaction and price divergence.
Functionality Analysis:
This indicator begins by identifying the highest and lowest prices over a period defined by the user. It then calculates the average investor satisfaction based on the change in the closing price from the investment point to the current price, relative to the range between the highest and lowest prices.
This satisfaction measure is then normalized between 0 and 1, providing a uniform measure of investor sentiment. The indicator also identifies potential price divergence by comparing the normalized satisfaction with the normalized price. This divergence is then plotted as a histogram, with the color of the histogram bars indicating whether the market is oversold, overbought, or in a normal state. Anomalies in satisfaction change are highlighted in yellow, helping traders to spot unusual market behavior.
Trading Application
The "Investor Satisfaction & Price Divergence" indicator can be incorporated into a variety of trading strategies. A significant divergence between normalized satisfaction and the asset price can signal a potential market reversal. Additionally, a sudden drop or rise in investor satisfaction could indicate a sell-off or a buying spree, respectively. Additionally, the capability to spot irregularities in satisfaction change may be useful in recognizing unusual market conditions, possibly providing early indications of noteworthy market events
Please note that the investor Satisfaction/Price Divergence by Ox_kali is provided for educational purposes only and is not meant to constitute financial advice. This indicator is not a guarantee of future market performance and should be used in conjunction with proper risk management. Always ensure that you have a thorough understanding of the indicator’s methodology and its limitations before making any investment decisions. Additionally, past performance is not indicative of future results.
Heuristic Bg Color Hodl/swing/scalp [Ox_kali]The "Heuristic BG Color Hodl/Swing/Scalp " is a multi-faceted technical indicator designed to aid traders across varying investment strategies such as long-term holding (Hodl), swing trading, and scalping. Optimized to run on a range of timeframes from seconds to months. Built upon an intricate layering of moving averages, market oscillators. The indicator displays a color range from light green to deep red, based on market conditions. This tool aims to provide an analytical edge by visualizing market conditions in a straightforward manner. Incorporating both trend-following and oscillatory components both trend-following and oscillating components to furnish a more rounded view of the market. Note that this indicator is best used in conjunction with other forms of market analysis and should not be solely relied upon for making trading decisions.
Key Features:
Multiple Moving Averages: Utilizes Fast and Slow MAs to identify trend momentum.
Modified RSI and MFI: Incorporates RSI and MFI to gauge overbought and oversold conditions.
Stoch RSI Indicator: Used to provide additional confirmation for trading signals.
Dynamic Background Color: Highlights potential Buy and Sell zones using background color for easier visual interpretation.
Alert Conditions: Trigger customizable alerts for Buy and Sell zones.
Functionality Analysis:
The script allows you to select the type and period for Fast and Slow moving averages. It uses these MAs to calculate an underlying trend momentum, further refined by a user-defined MA.
The RSI and MFI are used to identify overbought and oversold conditions calculated and smoothed over a user-defined period. The Stoch RSI gives an additional layer of confirmation, allowing traders to identify more reliable trading signals.
The script's main visual feature is the background color, which changes based on potential Buy and Sell zones. It provides two layers for each, enabling traders to understand the strength of the signal. Notably, the indicator is particularly optimized for identifying Buy Zones and is more functional for detecting Sell Zones when applied to larger timeframes.
Trading Application:
The "Heuristic BG Color Hodl/Swing/Scalp" indicator can adapt to various trading styles, from long-term investment to short-term trading. When the background turns green, it signifies a potential Buy Zone, ideal for entering long positions. Conversely, a red background indicates a Sell Zone, suggesting it may be a good time to exit positions or go short.
Traders can also utilize the alert conditions set within the script to receive real-time notifications, making it easier to capitalize on potential market opportunities.
Please note that the "Heuristic BG Color Hodl/Swing/Scalp" by Ox_kali is intended for educational purposes only and does not constitute financial advice. This indicator is not a guarantee of future market performance and should be used alongside proper risk management strategies. Ensure you fully understand the methodology and limitations of this indicator before making any trading decisions. Past performance is not indicative of future results.
Open and Close Time Vertical LinesMarks vertical lines for open and close times on any time frame. Go to settings to change the time frame, color, and width.
Risk Management and Positionsize - MACD exampleMastering Risk Management
Risk management is the cornerstone of successful trading, and it's often the difference between turning a profit and suffering a loss. In light of its importance, I share a risk management tool which you can use for your trading strategies. The script not only assists in position sizing but also comes with built-in technical features that help in market timing. Let's delve into the nitty-gritty details.
Input Parameter: MarginFactor
One of the key features of the script is the MarginFactor input parameter. This element lets you control the portion of your equity used for placing each trade. A MarginFactor of -0.5 means 50% of your total equity will be deployed in placing the position size. Although Tradingview has a built-in option to adjust position sizing in a same way, I personally prefer to have the logic in my pinecode script. The main reason is userexperience in managing and testing different settings for different charts, timeframes and instruments (with the same strategy).
Stoploss and MarginFactor
If your strategy has a 4% stop-loss, you can choose to use only 50% of your equity by setting the MarginFactor to -0.5. In this case, you are effectively risking only 2% of your total capital per trade, which aligns well with the widely-accepted rule of thumb suggesting a 1-2% risk per trade. Similar if your stoploss is only 1% you can choose to change the MarginFactor to 1, resulting in a positionsize of 200% of your equity. The total risk would be again 2% per trade if your stoploss is set to 1%.
Max Drawdown and MarginFactor
Your MarginFactor setting can also be aligned with the maximum drawdown of your strategy, seen during a backtested period of 2-3 years. For example, if the max drawdown is 15%, you could calibrate your MarginFactor accordingly to limit your risk exposure.
Option to Toggle Number of Contracts
The script offers the option to toggle between using a percentage of equity for position sizing or specifying a fixed number of contracts. Utilizing a percentage of equity might yield unrealistic backtest results, especially over longer periods. This occurs because as the capital grows, the absolute position size also increases, potentially inflating the accumulated returns generated by the backtester. On the other hand, setting a fixed number of contracts as your position size offers a more stable and realistic ROI over the backtested period, as it removes the compounding effect on position sizes.
Key Features Strategy
MACD High Time Frame Entry and Exit Logic
The strategy employs a high time frame MACD (Moving Average Convergence Divergence) to make entry and exit decisions. You can easily adjust the timeframe settings and MACD settings in the inputsection to trade on lower timeframes. For more information on the HTF MACD with dynamic smoothing see:
Moving Average High Time Frame Filter
To reduce market 'noise', the strategy incorporates a high time frame moving average filter. This ensures that the trades are aligned with the dominant market trend (trading the trend). In the inputsection traders can easily switch between different type of moving averages. For more information about this HTF filter see:
Dynamic Smoothing
The script includes a feature for dynamic smoothing. The script contains The timeframeToMinutes(tf) function to convert any given time frame into its equivalent in minutes. For example, a daily (D) time frame is converted into 1440 minutes, a weekly (W) into 10,080 minutes, and so forth. Next the smoothing factor is calculated by dividing the minutes of the higher time frame by those of the current time frame. Finally, the script applies a Simple Moving Average (SMA) over the MACD, SIGNAL, and HIST values, MA filter using the dynamically calculated smoothing factor.
User Convenience: One of the major benefits is that traders don't need to manually adjust the smoothing factor when switching between different time frames. The script does this dynamically.
Visual Consistency: Dynamic smoothing helps traders to more accurately visualize and interpret HTF indicators when trading on lower time frames.
Time Frame Restriction: It's crucial to note that the operational time frame should always be lower than the time frame selected in the input sections for dynamic smoothing to function as intended.
By incorporating this dynamic smoothing logic, the script offers traders a nuanced yet straightforward way to adapt High Time Frame indicators for lower time frame trading, enhancing both adaptability and user experience.
Limitations: Exit Strategy
It's crucial to note that the script comes with a simplified exit strategy, devoid of features like a stop-loss, trailing stop-loss or multiple take profits. This means that while the script focuses on entries and risk management, it might result in higher losses if market conditions unexpectedly turn unfavorable.
Conclusion
Effective risk management is pivotal for trading success, and this TradingView script is designed to give you a better idea how to implement positions sizing with your preferred strategy. However, it's essential to note that this tool should not be considered financial advice. Always perform your due diligence and consult with financial advisors before making any trading decisions.
Feel free to use this risk management tool as building block in your trading scripts, Happy Trading!
RSI + Divergences + Alerts [MisterMoTA]The indicator RSI + Divergences + Alerts by MisterMoTA is an RSI indicator that fills the RSI and RSI moving average with 4 different colors (growing up, falling up, falling down and rising down colors), users can customize colors from dashboard , also can be disabled the fill if the user want a standard RSI.
The dafault value of RSI is 14 and value of the moving average is 50 ( a dynamic 50 rsi line is better for trend identification than a standard 50 line) and users can change the values from indicator settings.
For detecting the divergences displayed in the indicator, I integrated in our script the default Divergences indicator from Tradingview, users can display, hide and change colors for regular and hidden divergences.
RSI indicator display also trend conditions for RSI and RSI MA, the RSI MA angle is calculated using ATR value, the slope of the RSI Noving Average can help to identify trend conditions too.
The script comes with 12 different alerts, if need different alerts please let me know in the comments and will update the script with your request:
Alert for Regular Bullish Divergence
Alert for Regular Bearish Divergence
Alert for Hidden Bullish Divergence
Alert for Hidden Bearish Divergence
Alert for RSI Overbought
Alert for RSI Extreme Overbought
"Alert for RSI Oversold
Alert for RSI Extreme Oversold
Alert for RSI Crossing Above RSI MA
Alert for RSI Crossing Bellow RSI MA
Alert for RSI Crossing Above 50
Alert for RSI Crossing Bellow 50
Please follow me for other script like this one.
Kind regards,
MisterMoTA
@tk · fractal emas█ OVERVIEW
This script is an indicator that plots short, medium and long moving averages for multiple fractals. This script was based on sharks EMAs by rlvs indicator, that plots multiple rays for each fractals into the chart. The main feature of this indicator is the customizability. The calculation itself is simple as moving average.
█ MOTIVATION
The trader can customize all aspects of the plotted data. The text size, extended line length, the moving average type — exponential, simple, etc... — the length of fractal rays, line style, line width and visibility. To keep minimalist, this indicator simplifies the logic of line colors based on the purpose of each moving averages. To prevent overnoise the chart with multiple lines with multiple colors for each fractal timefraes, the trader needs to keep in mind that the all lines with the "short" moving average color for example, will represents the short moving averages lines for all fractals. This logic is applied for medium and long moving averages either.
█ CONCEPT
The trading concept to use this indicator is to make entries on uptrend or downtrend pullbacks when the asset price reaches the short, medium or long moving averages price levels. But this strategy don't works alone. It needs to be aligned together with others indicators like RSI, Chart Patterns, Support and Resistance, and so on... Even more confluences that you have, bigger are your chances to increase the probability for a successful trade. So, don't use this indicator alone. Compose a trading strategy and use it to improve your analysis.
█ CUSTOMIZATION
This indicator allows the trader to customize the following settings:
GENERAL
Text size
Changes the font size of the labels to improve accessibility.
Type: string
Options: `tiny`, `small`, `normal`, `large`.
Default: `small`
SHORT
Type
Select the Short Moving Average calculation type.
Type: string
Options: `EMA`, `SMA`, `HMA`, `VWMA`, `WMA`.
Default: `EMA`
Length
Changes the base length for the Short Moving Average calculation.
Type: int
Default: 12
Source
Changes the base source for the Short Moving Average calculation.
Type: float
Default: close
Color
The base color that will represent the Short Moving Average.
Type: color
Default: color.rgb(255, 235, 59) (yellow)
Fractal Style
The fractal ray line style.
Type: string
Options: `dotted`, `dashed`, `solid`.
Default: `dotted`
Fractal Width
The fractal ray line width.
Type: string
Options: `1px`, `2px`, `3px`, `4px`.
Default: `1px`
Fractal Ray Length
The fractal ray line length.
Type: int
Default: 12
MEDIUM
Type
Select the Medium Moving Average calculation type.
Type: string
Options: `EMA`, `SMA`, `HMA`, `VWMA`, `WMA`.
Default: `EMA`
Length
Changes the base length for the Medium Moving Average calculation.
Type: int
Default: 26
Source
Changes the base source for the Medium Moving Average calculation.
Type: float
Default: close
Color
The base color that will represent the Short Moving Average.
Type: color
Default: color.rgb(0, 230, 118) (lime)
Fractal Style
The fractal ray line style.
Type: string
Options: `dotted`, `dashed`, `solid`.
Default: `dotted`
Fractal Width
The fractal ray line width.
Type: string
Options: `1px`, `2px`, `3px`, `4px`.
Default: `1px`
Fractal Ray Length
The fractal ray line length.
Type: int
Default: 12
LONG
Type
Select the Long Moving Average calculation type.
Type: string
Options: `EMA`, `SMA`, `HMA`, `VWMA`, `WMA`.
Default: `EMA`
Length
Changes the base length for the Long Moving Average calculation.
Type: int
Default: 200
Source
Changes the base source for the Long Moving Average calculation.
Type: float
Default: close
Color
The base color that will represent the Short Moving Average.
Type: color
Default: color.rgb(255, 82, 82) (red)
Fractal Style
The fractal ray line style.
Type: string
Options: `dotted`, `dashed`, `solid`.
Default: `dotted`
Fractal Width
The fractal ray line width.
Type: string
Options: `1px`, `2px`, `3px`, `4px`.
Default: `1px`
Fractal Ray Length
The fractal ray line length.
Type: int
Default: 12
VISIBILITY
Show Fractal Rays · (Short)
Shows short moving average fractal rays.
Type: bool
Default: true
Show Fractal Rays · (Medium)
Shows short moving average fractal rays.
Type: bool
Default: true
Show Fractal Rays · (Long)
Shows short moving average fractal rays.
Type: bool
Default: true
█ FUNCTIONS
The script contains the following functions:
`fn_labelizeTimeFrame`
Labelize timeframe period in minutes and hours.
Parameters:
tf: (string) Timeframe period to be labelized.
Returns: (string) Labelized timeframe string.
`fn_builtInLineStyle`
Converts simple string to built-in line style variable value.
Parameters:
lineStyle: (string) The line style simple string.
Returns: (string) Built-in line style string value.
`fn_builtInLineWidth`
Converts simple pixel string to line width number value.
Parameters:
lineWidth: (string) The line width pixel simple string.
Returns: (string) Built-in line width number value.
`fn_requestFractal`
Requests fractal data based on `period` given an expression.
Parameters:
period: (string) The period timeframe of fractal.
expression: (series float) The expression to retrieve data from fractal.
Returns: (mixed) A result determined by `expression`.
`fn_plotRay`
Plots line after chart bars.
Parameters:
y: (float) Y axis line position.
label: (string) Label to be ploted after line.
color: (color) Line and label color.
length: (int) Line length.
show: (bool) Flag to display the line. (default: `true`)
lineStyle: (string) Line style to be applied. (default: `line.style_dotted`)
lineWidth: (int) Line width. (default: `1`)
Returns: void
`fn_plotEmaRay`
Plots moving average line for a specific period.
Parameters:
period: (simple string) Period of fractal to retrieve
expression: (series float) The expression to retrieve data from fractal.
color: (color) Line and label color.
length: (int) Line length. (default: `12`)
show: (bool) Flag to display the line. (default: `true`)
lineStyle: (string) Line style to be applied. (default: `line.style_dotted`)
lineWidth: (string) Line width. (default: `1px`)
Returns: void
`fn_plotExtendedEmaRay`
Draws extended line for current timeframe moving average.
Parameters:
coordY: (float) Extended line Y axis position.
textValue: (simple string) Extended line label text.
textColor: (color) Extended line text color.
length: (int) Extended length. (default: `5`)
Returns: void
Incomplete Session Candle - Incomplete Timeframe Candle Marker The "Incomplete Session Candle - Incomplete Timeframe Candle Marker" is an advanced tool tailored for technical analysts who understand the importance of accurate timeframes in their charting. While the indicator is not limited to the Indian market, its genesis is rooted in the nuances of trading sessions like those in India, which span 375 minutes from 9:15 AM to 3:30 PM.
Key Features:
Detects if the current timeframe is intraday (minutes or hours).
Calculates the expected duration of the candle for the chosen timeframe.
Highlights candles that don't achieve their expected session duration by placing a cross shape above the bar.
Compatible across various intraday timeframes, aiding traders in spotting discrepancies promptly.
Why We Made This: Not Just for India:
While we looked at the Indian market, this indicator works everywhere. Regular timeframes like 30 minutes, 1 hour, and 2 hours often end with incomplete candles, especially at the end of the trading day. For example:
A 30-minute timeframe makes 13 candles, but the last one is only 15 minutes long.
A 1-hour timeframe shows 7 candles, but the last one is just the last 15 minutes.
By switching to different timeframes like 25 minutes, 75 minutes, and 125 minutes, you get more complete information for better trading decisions. Learn more about this in our article: "Power of 25, 75, and 125-Minute Timeframes in the Indian Market", recognized by Trading View's Editors' Pick.
Benefits:
The indicator extends its benefits even to users without access to certain timeframes. It accommodates traders using a 1-hour timeframe (pertaining to Indian traders). By employing this indicator, traders consistently remain mindful of incomplete candles within their chosen timeframe
For those who utilize concepts like RBR, RBD, DBR, and DBD, this indicator is paramount. An incomplete candle can skew analysis, leading to potential misinterpretations of base or leg candles.
Final thoughts:
In markets like the Indian stock market, adopting such a tool is not just beneficial, but necessary. Whether you have access to unconventional timeframes or are using traditional ones, recognizing and accounting for the limitations of incomplete candles is critical & it's important to know if your candles fit the timeframe properly. This indicator gives you a better view of the market, which helps you make smarter trades.
Lastly, Thank you for your support! Your likes & comments. If you want to give any feedback then you can give in comment section.
Let's conquer the markets together!