Bullish Candlestick Patterns With Filters [TradeDots]The "Bullish Candlestick Patterns With Filters" is a trading indicator that identifies 6 core bullish candlestick patterns. This is further enhanced by applying channel indicator as filters, designed to further increase the accuracy of the recognized patterns.
6 CANDLESTICK PATTERNS
Hammer
Inverted Hammer
Bullish Engulfing
The Piercing Line
The Morning Star
The 3 White Soldiers
SIGNAL FILTERING
The indicator incorporates with 2 primary methodologies aimed at filtering out lower accuracy signals.
Firstly, it comes with a "Lowest period" parameter that examines whether the trough of the bullish candlestick configuration signifies the lowest point within a specified retrospective bar length. The longer the period, the higher the probability that the price will rebound.
Secondly, the channel indicators, the Keltner Channels or Bollinger Bands. This indicator examines whether the lowest point of the bullish candlestick pattern breaches the lower band, indicating an oversold signal. Users have the flexibility to modify the length and band multiplier, enabling them to custom-tune signal sensitivity.
Without Filtering:
With Filtering
RISK DISCLAIMER
Trading entails substantial risk, and most day traders incur losses. All content, tools, scripts, articles, and education provided by TradeDots serve purely informational and educational purposes. Past performances are not definitive predictors of future results.
Candlestick analysis
MGR Inside 2The inside bar pattern is characterised by two consecutive candlesticks that often suggest a period of consolidation or indecision in the market. Traders and analysts can find value in identifying the setup as it can provide insights into potential future price movements.
Previous Candle + Inside/OutsideThe script uses the previous candle of the current timeframe to assess the state of the current candle.
1. Previous candle high/low and midpoint are displayed
2. Highlights current bar if INSIDE previous candle
3. Highlights current bar if POTENTIAL OUTSIDE bar. This condition uses the logic that if the previous high/low has been swept and price then reaches previous bar 50%, then an OUTSIDE bar is possible.
4. If current candle breaks previous high/low, a label is added to identify.
5. If above condition is true and current candle color is opposite of previous, then label is highlighted to show possible bull/bear condition.
6. If current candle live price is below previous midpoint, a BEAR label is shown
7. If current candle live price is above previous midpoint, a BULL label is shown
I personally use the indicator on Daily/Weekly/Monthly charts to help with my overall market assessment. However users may find their own use for the indicator...or modify it to their own preferences.
As ever, the indicator should only be used with live trading accounts after thorough backtesting using a large data range.
Long Bar Highlighter @shrilssThe Long Bar Highlighter is designed to detect long bars that exhibit significant price expansion beyond recent price levels. It highlights bars that exceed the length of the previous four bars, marking them for their potential importance in market movements. Additionally, the indicator plots directional shapes based on the closing prices, which helps traders visualize potential upward or downward momentum. An optional ATR crossover setting refines these signals, focusing on stronger trends for more optimal trading opportunities.
Morning and Evening Star Patterns with DivergenceMorning and Evening Star Patterns with Divergence
This indicator combines various technical signals to identify potential buy and sell opportunities in the market. It incorporates Morning Star and Evening Star candlestick patterns, along with bullish and bearish divergence signals, to help traders make informed decisions.
Features:
Morning and Evening Star Patterns: The indicator detects Morning Star patterns in downtrends and Evening Star patterns in uptrends, providing visual cues for potential reversals.
Bullish and Bearish Divergence: It highlights instances of bullish and bearish divergence between price and momentum indicators, signaling potential shifts in market direction.
Near Reversal Indication: Identifies periods where the price is close to reversing its trend, aiding in timely entry or exit decisions.
Customizable Thresholds: Users can adjust parameters such as the Money Flow Index (MFI) threshold to suit their trading preferences.
Momentum Plot: The indicator also includes a momentum plot to visualize changes in price momentum over time.
Usage:
Look for Morning Star patterns in downtrends and Evening Star patterns in uptrends as potential reversal signals.
Pay attention to bullish and bearish divergence signals for indications of weakening or strengthening market momentum.
Utilize near reversal indications to anticipate potential trend changes and adjust trading strategies accordingly.
Alerts: The indicator provides customizable alerts for Morning Star patterns, Evening Star patterns, near bullish reversals, near bearish reversals, bullish divergence, and bearish divergence, allowing traders to stay informed of significant market developments even when away from the charts.
Compatibility: Suitable for traders across all timeframes, from short-term scalpers to long-term investors, this indicator offers versatile functionality to adapt to various trading styles and preferences.
RSI and ATR Trend Reversal SL/TPQuick History:
I was frustrated with a standard fixed percent TP/SL as they often were not receptive to quick market rallies/reversals. I developed this TP/SL and eventually made it into a full fledge strategy and found it did well enough to publish. This strategy can be used as a standalone or tacked onto another strategy as a TP/SL. It does function as both with a single line. This strategy has been tested with TSLA , AAPL, NVDA, on the 15 minutes timeframe.
HOW IT WORKS:
Inputs:
Length: Simple enough, it determines the length of the RSI and ATR used.
Multiplier: This multiplies the RSI and ATR calculation, more on this later.
Delay to prevent Idealization: TradingView will use the open of the bar the strategy triggers on when calculating the backtest. This can produce unrealistic results depending on the source. If your source is open, set to 0, if anything else, set to 1.
Minimum Difference: This is essentially a traditional SL/TP, it is borderline unnecessary, but if the other parameters are wacky this can be used to ensure the SL/TP. It multiplies the source by the percent, so if it is set to 10, the SL/TP is initialized at src +- 10%.
Source input: Self Explanatory, be sure to update the Delay if you use open.
CALCULATION:
Parameters Initialization:
The strategy uses Heikinashi values for calculations, this is not toggleable in parameters, but can be easily changed by changing hclose to equal src.
FUNCTION INITIALIZATION:
highest_custom and lowest_custom do the same thing as ta.highest and ta.lowest, however the built in ta library does not allow for var int input, so I had to create my own functions to be used here. I actually developed these years ago and have used them in almost every strategy since. Feel especially free to use these in your own scripts.
The rsilev is where the magic happens.
SL/TP min/max are initially calculated to be used later.
Then we begin by establishing variables.
BullGuy is used to determine the length since the last crossup or crossdown, until one happens, it returns na, breaking the function. BearGuy is used in all the calculations, and is the same as BullGuy, unless BullGuy is na, where BearGuy counts up from 1 on each bar from 0.
We create our rsi and have to modify the second one to suit the function. In the case of the upper band, we mirror the lower one. So if the RSI is 80, we want it to be 20 on the upper band.
the upper band and lower band are calculated the exact same way, but mirrored. For the purpose of writing, I'm going to talk about the lower band. Assume everything is mirrored for the upper one. It finds the highest source since the last crossup or crossdown. It then multiplies from 1 / the RSI, this means that a rapid RSI increase will increase the band dramatically, so it is able to capture quick rally/reversals. We add this to the atr to source ratio, as the general volatility is a massive factor to be included. We then multiply this number by our chosen amount, and subtract it from the highest source, creating the band.
We do this same process but mirrored with both bands and compared it to the source. If the source is above the lower band, it suggests an uptrend, so the lower band is outputted, and vice versa for the upper one.
PLOTTING:
We also determine the line color in the same manner as we do the trend direction.
STRATEGY:
We then use the source again, and if it crosses up or down relative to the selected band, we enter a long or short respectively.
This may not be the most superb independent strategy, but it can be very useful as a TP/SL for your chosen entry conditions, especially in volatile markets or tickers.
Thank you for taking the time to read, and please enjoy.
STRATEGY 7 CERBERO STUDY [ SCRIPTS INVERSIONES ]USE:
ADXCONFIG:
Purpose: Select the range for the strength required in the ADX for our alert condition. This setting allows traders to define the threshold at which the ADX indicates sufficient market momentum for trading decisions.
USETRENDLOGIC:
Function: Utilizes the trend EMA to make long entries when the price is above and short entries when it is below the EMA. This provides a simple, clear rule based on the relative position of the price to the EMA, facilitating trend-following strategies.
SELECT A VALUE FOR EMA:
Description: Choose the range for the EMA, and the alert conditions will be applied depending on whether the price is above or below when USETRENDLOGIC is activated. This allows for flexibility in setting the sensitivity of the EMA to price movements.
ACTIVATE/DEACTIVATE EMA 35 AND EMA 50:
Usage: These EMAs are used to determine the trend in shorter periods of time, providing traders with quick insights into market dynamics and potential trend shifts.
LOGIC 1:
ENABLE/DEACTIVATE STRATEGY 1/1:
Conditions: If the 1/1 strategy is activated, it will use the following setup:
Volume entry + EMA condition + BREAK
ADX > ADXCONF
DMI+/DMI- higher depending on the trend
Explanation: This strategy combines volume analysis with EMA and trend indicators to identify strong, actionable trading signals.
This image shows its use.
LOGIC 2:
ENABLE/DEACTIVATE STRATEGY 1/2:
Conditions: If the 1/2 strategy is activated, it utilizes:
Volume entry + EMA condition + BREAK
Purpose: Focuses on significant breaks in EMA levels with accompanying high volume, suggesting a strong momentum-backed entry point.
This image shows its use.
LOGIC 3:
ENABLE/DEACTIVATE STRATEGY 1/3:
Conditions: If the 1/3 strategy is activated, it involves:
Volume entry + EMA condition
RSI
ADX > ADXCONF and DMI+/DMI- higher depending on the trend
Utility: Combines volume, EMA, and RSI indicators with ADX strength to filter entries during extreme market conditions, enhancing the probability of capturing significant moves.
This image shows its use.
LOGIC 4:
ENABLE/DEACTIVATE STRATEGY 1/4:
Conditions: If the 1/4 strategy is activated, it incorporates:
Volume entry + EMA condition
RSI ABOVE/BELOW your EMA
Application: This strategy uses RSI levels in relation to an EMA to fine-tune entry points, helping to confirm momentum before entering trades.
This image shows its use.
LOGIC 5:
ENABLE/DEACTIVATE STRATEGY 1/5:
Conditions: If the 1/5 strategy is activated, it utilizes:
Volume entry + EMA condition
Function: A straightforward strategy that uses volume and EMA conditions to identify primary entry points, focusing on the basic elements of trend and momentum.
This image shows its use.
POI LOGIC (Point of Interest)
Activate/Deactivate 2/1 POI Strategy
When the 2/1 POI strategy is activated, it employs the following conditions to determine market entries:
Volume Entry + EMA Condition + POI TOUCHED + ADX > ADXCONF and DMI+/DMI- higher depending on the trend:
Volume Entry: Looks for significant volume as confirmation that there is enough interest at the current price level.
EMA Condition: A specific condition regarding the Exponential Moving Average (EMA) must be met, such as the price being above or below the EMA, depending on the anticipated direction of price movement.
POI Touched: The price must have touched a previously identified Point of Interest, indicating a level where the price has reacted before.
ADX > ADXCONF: The Average Directional Movement Index (ADX) must be greater than a set value (ADXCONF), indicating sufficient trend strength.
DMI+/DMI- higher depending on the trend: The Directional Movement Indicator Plus (DMI+) or Minus (DMI-) needs to be higher, depending on whether the trend is bullish or bearish, respectively.
This strategy is designed to capitalize on price levels where the market has shown previous reactions, using a combination of technical analysis and volume to confirm entry signals.
This image shows its use.
DIVERGENCE LOGIC
Activate/Deactivate Divergence Strategy
When the divergence strategy is activated, it employs the following conditions for making trading decisions:
Volume Entry + Divergence: This condition indicates that a market entry should be considered when there is a divergence between the price and a technical indicator (such as RSI, MACD, etc.), accompanied by significant volume.
Divergence occurs when the price of an asset moves in the opposite direction of the technical indicator, which may suggest a potential reversal in market trends. Volume plays a crucial role here, as high volume during a divergence can confirm the strength of the potential trend reversal.
This strategy aims to capitalize on moments when the market shows signs of exhaustion in a trend and is potentially gearing up to reverse, making divergences a key component in anticipating significant movements.
This image shows its use.
FOREX LOGIC
Activate/Deactivate FOREX Strategy
When the Forex strategy is activated, it uses the following conditions to execute trades:
Volume Entry + DI+ > DI- for long entries: This condition means that to consider a long position (buy), the Positive Directional Indicator (DI+) must be greater than the Negative Directional Indicator (DI-). This suggests that the market trend is moving upward, supported by sufficient trading volume backing this direction.
DI- > DI+ for short entries: For short entries (sells), the required condition is that the DI- (Negative Directional Indicator) is greater than the DI+ (Positive Directional Indicator). This indicates that the market trend is downward and that there is adequate volume confirming this bearish trend.
These conditions ensure that market entries are made with a clear confirmation of market direction based on volume and directional movement, which is crucial for increasing the probabilities of successful Forex trades.
This image shows its use.
ICT STUDY
Activate/Deactivate Strategy ICT
USAGE:
We use all these components in our indicator to provide comprehensive and effective control when trading using the ICT (Inner Circle Trader) methodology. Each element aids in visualizing and anticipating market movements more accurately, facilitating informed and strategic decision-making.
POI (Point of Interest): Used to identify critical points where the market has shown significant past activity, offering clues on potential future price reactions.
Imbalances: Crucial for spotting areas where supply or demand has been lacking, suggesting potential entry or exit points based on trend reversal or continuation.
ZigZag: Helps to eliminate market noise, allowing for clear identification of significant highs and lows, vital for trend analysis and reversal.
Supports and Resistances: Fundamental in determining price levels at which the market might stop or reverse, essential for any trading strategy.
Fibonacci: Utilized to find support and resistance levels based on mathematical proportions that naturally occur in markets, informing potential areas of interest.
Inducement: We observe these patterns to identify moments when price manipulations might be occurring, helping to avoid traps and enhance entries.
Sweep: Analyzed to understand how and where major market players are clearing accumulated orders, which can indicate significant price movements.
CHOCH (Change of Character): Used to detect a shift in price behavior, which may signal a reversal or trend change.
BOS (Break of Structure): Key for detecting when the price breaks through significant structures, suggesting changes in market direction.
Forecasting Length: Determines how far the price may reach into the future based on current analysis, crucial for planning long-term trades.
This image shows its use.
IF USE TP AND SL
Inside Bar by TarunInside bars occur when the current bar's high is lower than the previous bar's high and the current bar's low is higher than the previous bar's low. The script changes the color of inside bars to orange for better visualization.
TDP 2Title: Enhanced Candlestick Pattern Identifier with Body Ratio Analysis
Description:
This Pine Script, titled "Enhanced Candlestick Pattern Identifier with Body Ratio Analysis," is designed to aid traders in visualizing key candlestick formations that have significant implications for trend reversals and continuations. It uses the body ratio of candles to identify strong directional movements, enhancing decision-making processes in trading strategies.
Key Features:
Body Ratio Calculation: The script calculates the body ratio of each candle, which is the proportion of the candle's body to its total range. This helps in distinguishing between candles that show decisive market movements versus those with indecision.
Bullish Candle Identification: Identifies bullish candles where the close is greater than the open and the body constitutes at least 55% of the total candle range, indicating strong buying pressure.
Bearish Candle Identification: Flags bearish candles where the open is above the close with a body ratio of 55% or more, highlighting strong selling pressure.
Comparative Analysis: The script not only identifies bearish candles but also categorizes them based on whether they close below the lowest point of the last qualifying bullish candle, offering insights into potential breakdowns or supports.
Visual Markers: Uses distinct shapes and colors to mark each type of candle directly on the chart, making it easy to spot these patterns in real-time trading scenarios.
Utility:
This tool is invaluable for traders who utilize technical analysis to make informed decisions. By providing clear visual cues about significant bullish and bearish candlestick formations, the script facilitates quick interpretations of potential market moves, helping traders to capitalize on trends or protect against losses from reversals.
How to Use:
Simply add this script to your chart, and it will automatically highlight the qualifying candles. Green labels indicate strong bullish candles, red labels signify bearish candles closing below the last bullish candle's low, and orange labels show bearish candles that do not close below the bullish low.
Ideal for use in various markets including forex, equities, and commodities, this script is a must-have tool for both novice and experienced traders aiming to enhance their trading strategy with detailed candlestick pattern analysis.
Market Structure RSIDescription:
The Market Structure RSI is an innovative indicator that combines the power of the Relative Strength Index (RSI) with market structure analysis to provide a unique perspective on the market. This indicator helps traders identify potential trend reversals and trading opportunities by analyzing the underlying market structure and generating overbought and oversold signals.
Key Features:
RSI Calculation: The indicator calculates a custom RSI based on the market structure, taking into account the formation of higher highs and lower lows. This unique approach to RSI calculation provides a more accurate representation of the market's strength and weakness.
Overbought and Oversold Levels: Users can customize the overbought and oversold levels according to their preferences. When the Market Structure RSI crosses above the oversold level, it generates a bullish signal, suggesting a potential long entry. Conversely, when the RSI crosses below the overbought level, it generates a bearish signal, indicating a potential short entry.
Moving Average: The indicator includes an optional moving average of the Market Structure RSI, which can be used to smooth out the RSI line and provide additional confirmation of trend reversals. Users can choose between EMA, SMA, and WMA and adjust the length of the moving average.
Customizable Close Type: The indicator allows users to define whether the market structure is deemed broken based on the candle close or the candle high/low. This flexibility enables traders to adapt the indicator to their preferred trading style and market conditions.
Visual Enhancements: The Market Structure RSI features gradient fills between the RSI line and the overbought/oversold levels, providing a clear visual representation of the market's strength. Additionally, the indicator plots bullish and bearish signals as circles on the RSI line, making it easy to identify potential entry points.
How to Use:
Add the Market Structure RSI to your chart and customize the settings according to your preferences, such as the RSI length, overbought and oversold levels, and moving average type and length.
Monitor the Market Structure RSI for crossovers above the oversold level or below the overbought level. A bullish signal occurs when the RSI crosses above the oversold level, while a bearish signal occurs when the RSI crosses below the overbought level.
Use the signals generated by the Market Structure RSI in conjunction with other technical analysis tools and price action patterns to confirm potential trade entries. The indicator works well as a complementary tool to support your existing trading strategy.
Consider the overall trend and market context when interpreting the signals generated by the Market Structure RSI. The indicator is most effective in trending markets and may produce less reliable signals in choppy or ranging market conditions.
Utilize sound risk management principles, such as setting appropriate stop-loss and take-profit levels, when trading based on the Market Structure RSI signals.
The Market Structure RSI offers a fresh perspective on the classic RSI indicator by incorporating market structure analysis. By combining the power of RSI with the identification of higher highs and lower lows, this indicator provides traders with a valuable tool for identifying potential trend reversals and trading opportunities. Whether you are a seasoned trader or just starting out, the Market Structure RSI can be a valuable addition to your technical analysis toolkit.
Calculus Free Trend Strategy for Crypto & StocksObjective :
The Correlation Channel Trading Strategy is designed to identify potential entry points based on the relationship between price movements and a correlation channel. The strategy aims to capture trends within the channel while managing risk effectively.
Parameters :
Length: Determines the period for calculating moving averages and the true range, influencing the sensitivity of the strategy to price movements.
Multiplier: Adjusts the width of the correlation channel, providing flexibility to adapt to different market conditions.
Inputs :
Asset Symbol: Allows users to specify the financial instrument for analysis.
Timeframe: Defines the timeframe for data aggregation, enabling customization based on trading preferences.
Plot Correlation Channel: Optional input to visualize the correlation channel on the price chart.
Methodology :
Data Acquisition: The strategy fetches OHLC (Open, High, Low, Close) data for the specified asset and timeframe. In this case we use COINBASE:BTCUSD
Calculation of Correlation Channel: It computes the squared values for OHLC data, calculates the average value (x), and then calculates the square root of x to derive the source value. Additionally, it calculates the True Range as the difference between high and low prices.
Moving Averages: The strategy calculates moving averages (MA) for the source value and the True Range, which form the basis for defining the correlation channel.
Upper and Lower Bands: Using the MA and True Range, the strategy computes upper and lower bands of the correlation channel, with the width determined by the multiplier.
Entry Conditions: Long positions are initiated when the price crosses above the upper band, signaling potential overbought conditions. Short positions are initiated when the price crosses below the lower band, indicating potential oversold conditions.
Exit Conditions: Stop-loss mechanisms are incorporated directly into the entry conditions to manage risk. Long positions are exited if the price falls below a predefined stop-loss level, while short positions are exited if the price rises above the stop-loss level.
Strategy Approach: The strategy aims to capitalize on trends within the correlation channel, leveraging systematic entry signals while actively managing risk through stop-loss orders.
Backtest Details : For the purpose of this test I used the entire data available for BTCUSD Coinbase, with 10% of capital allocation and 0.1% comission for entry/exit(0.2% total). Can be also used with other both directly correlated with current settings of BTC or with new ones
Advantages :
Provides a systematic approach to trading based on quantifiable criteria.
Offers flexibility through customizable parameters to adapt to various market conditions.
Integrates risk management through predefined stop-loss mechanisms.
Limitations :
Relies on historical price data and technical indicators, which may not always accurately predict future price movements.
May generate false signals during periods of low volatility or erratic price behavior.
Requires continuous monitoring and adjustment of parameters to maintain effectiveness.
Conclusion :
The Correlation Channel Trading Strategy offers traders a structured framework for identifying potential entry points within a defined price channel. By leveraging moving averages and true range calculations, the strategy aims to capture trends while minimizing risk through stop-loss mechanisms. While no strategy can guarantee success in all market conditions, the Correlation Channel Trading Strategy provides a systematic approach to trading that can enhance decision-making and risk management for traders.
ORB Heikin Ashi SPY 5min Correlation StrategyOverview:
The ORB (Opening Range Breakout) strategy combined with Heikin Ashi candles and Relative Volume (RVOL) indicator aims to capitalize on significant price movements that occur shortly after the market opens. This strategy identifies breakouts above or below the opening range, using Heikin Ashi candles for smoother price visualization and RVOL to gauge the strength of the breakout.
Components:
Opening Range Breakout (ORB): The strategy starts by defining the opening range, typically the first few minutes of the trading session. It then identifies breakouts above the high or below the low of this range as potential entry points.
Heikin Ashi Candles: Heikin Ashi candles are used to provide a smoother representation of price movements compared to traditional candlesticks. By averaging open, close, high, and low prices of the previous candle, Heikin Ashi candles reduce noise and highlight trends more effectively.
Relative Volume (RVOL): RVOL compares the current volume of a stock to its average volume over a specified period. It helps traders identify abnormal trading activity, which can signal potential price movements.
Candle for correlation : In this case we are using SPY candles. It can also use different asset
Strategy Execution:
Initialization: The strategy initializes by setting up variables and parameters, including the ORB period, session timings, and Heikin Ashi candle settings.
ORB Calculation: It calculates the opening range by identifying the high and low prices during the specified session time. These values serve as the initial reference points for potential breakouts. For this we are looking for the first 30 min of the US opening session.
After that we are going to use the next 2 hours to check for breakout opportunities.
Heikin Ashi Transformation: Optionally, the strategy transforms traditional candlestick data into Heikin Ashi format for smoother visualization and trend identification.
Breakout Identification: It continuously monitors price movements within the session and checks if the current high breaches the ORB high or if the current low breaches the ORB low. These events trigger potential long or short entry signals, respectively.
RVOL Analysis: Simultaneously, the strategy evaluates the relative volume of the asset to gauge the strength of the breakout. A surge in volume accompanying the breakout confirms the validity of the signal. In this case we are looking for at least a 1 value of the division between currentVolume and pastVolume
Entry and Exit Conditions: When a breakout occurs and is confirmed by RVOL and is within our session time, the strategy enters a long or short position accordingly. It does not have a stop loss or a takie profit level, instead it will always exit at the end of the trading session, 5 minutes before
Position Sizing and Commissions: For the purpose of this backtest, the strategy allocated 10% of the capital for each trade and assumes a trading commission of 0.01$ per share ( twice the IBKR broker values)
Session End: At the end of the trading session, the strategy closes all open positions to avoid overnight exposure.
Conclusion:
The combination of ORB breakout strategy, Heikin Ashi candles, and RVOL provides traders with a robust framework for identifying and capitalizing on early trends in the market. By leveraging these technical indicators together, traders can make more informed decisions and improve the overall performance of their trading strategies. However, like any trading strategy, it's essential to backtest thoroughly and adapt the strategy to different market conditions to ensure its effectiveness over time.
sVPSA - standardized Volume Price Spread AnalysisDear Analysts and Traders,
I want to introduce my new indicator - sVPSA - standardized Volume Price Spread Analysis. For me, this script is helpfully in Technical Analysis mainly with Wyckoff and VSA methodologies. Maybe You are in circle of people who used my previous script - normalized Volume Price Spread Analysis. I work with him a lot of time, but I come to a conclusion that I can do better...
Theory concept...
What is a big volume? How big was this spread? It was extreme high or just high? How to do an answer for this and a lot other questions related to this subject? My thoughts was directed to statistics. In my first script I used to x/max normalized data. It was good, but susceptible for high deviation events. So, I choose standardization method with smaller sensitivity on violent events - z-Score standardization Description of z-Score formula:
Z = (x-mean)/standard deviation
Probability of event are descriptive by probability density function - The Normal Distribution.
en.wikipedia.org
en.Wikipedia.org
This is base of script methodology, let’s go deeper in indicator.
X axis is time, date. Y axis is standard deviation. Narrow bar represent price spread, wide one is volume. Colors are corresponding to deviation, blue < sigma, green > sigma, red > 2*sigma and fuchsia > 3*sigma. Appearance is full editable.
Data collection starts from left to right. There is two possibilities to use, constans number of bars or visible data range, also indicator permit to overscore linear regression from data. There is a possibility to set an alert.
Short introduction how put an interpretation on visualized data.
For this example I used constans value of data collection, 52 bars. So, from left I see great, fuchsia volume bar with low spread. This record respond Celsius withdrawals pause. This is bar with the biggest volume on presented chart, more than four sigmas. Spread value is near one sigma. I should consider this via one of Wyckoffs laws - effort vs result. I see a three bars in turn, they tenor tells me that bear market is possible near end. Accumulation structure near new year, spring test and bullish momentum bar near march are approval of this idea. Next high spread bars have volume near mean value. Effort is low but result is great. Interesting is last bar, with -2,8 deviation of volume. I see the lowest volume value on chart, so he’s deviation is strong to negative side. This script require a little of practise and can be a potent tool in Technical Analysis.
If You have a concept how to improve my script or You experience bug, please, send me feedback.
I hope that You consider my work as useful.
I wish You great trades and faultless analysis.
CatTheTrader
ICT Silver Bullet | Flux Charts💎 GENERAL OVERVIEW
Introducing our new ICT Silver Bullet Indicator! This indicator is built around the ICT's "Silver Bullet" strategy. The strategy has 5 steps for execution and works best in 1-5 min timeframes. For more information about the process, check the "HOW DOES IT WORK" section.
Features of the new ICT Silver Bullet Indicator :
Implementation of ICT's Silver Bullet Strategy
Customizable Execution Settings
2 NY Sessions & London Session
Customizable Backtesting Dashboard
Alerts for Buy, Sell, TP & SL Signals
📌 HOW DOES IT WORK ?
ICT's Silver Bullet strategy has 5 steps :
1. Mark your market sessions open (This indicator has 3 -> NY 10-11, NY 14-15, LDN 03-04)
2. Mark the swing liquidity points
3. Wait for market to take down one liquidity side
4. Look for a market structure-shift for reversals
5. Wait for a FVG for execution
This indicator follows these steps and inform you step by step by plotting them in your chart. You can switch execution types between FVG and MSS.
🚩UNIQUENESS
This indicator is an all-in-one suit for the ICT's Silver Bullet concept. It's capable of plotting the strategy, giving signals, a backtesting dashboard and alerts feature. It's designed for simplyfing a rather complex strategy, helping you to execute it with clean signals. The backtesting dashboard allows you to see how your settings perform in the current ticker. You can also set up alerts to get informed when the strategy is executable for different tickers.
⚙️SETTINGS
1. General Configuration
Execution Type -> FVG execution type will require a FVG to take an entry, while the MSS setting will take an entry as soon as it detects a market structure-shift.
MSS Swing Length -> The swing length when finding liquidity zones for market structure-shift detection.
Breakout Method -> If "Wick" is selected, a bar wick will be enough to confirm a market structure-shift. If "Close" is selected, the bar must close above / below the liquidity zone to confirm a market structure-shift.
FVG Detection -> "Same Type" means that all 3 bars that formed the FVG should be the same type. (Bullish / Bearish). "All" means that bar types may vary between bullish / bearish.
FVG Detection Sensitivity -> You can turn this setting on and off. If it's off, any 3 consecutive bullish / bearish bars will be calculated as FVGs. If it's on, the size of FVGs will be filtered by the selected sensitivity. Lower settings mean less but larger FVGs.
2. TP / SL
TP / SL Method -> If "Fixed" is selected, you can adjust the TP / SL ratios from the settings below. If "Dynamic" is selected, the TP / SL zones will be auto-determined by the algorithm.
Risk -> The risk you're willing to take if "Dynamic" TP / SL Method is selected. Higher risk usually means a better winrate at the cost of losing more if the strategy fails.
Close Position @ Session End -> If this setting is enabled, the current position (if any) will be closed at the beginning of a new session, regardless if it hit the TP / SL zone. If it's off, the position will be open until it hits a TP / SL zone.
Reversal Top Bottom HunterThis indicator is designed to detect buying and selling opportunities in financial markets by tracking peak and bottom points to identify potential reversal points, providing investors with potential entry and exit signals.
How It Works?
Peak and Bottom Definition: The indicator calculates the highest (peak) and lowest (bottom) prices for specified periods. These values form the basis of the signal triggering mechanism.
User Settings: Users can adjust the lookback period for identifying the peak and bottom points as well as the number of bars within which the conditions for buy or sell signals need to be met. This customization allows for greater flexibility and adaptation to different trading styles and market conditions.
Buy Signal: If the previous candle's lowest price equals the lowest bottom value over the specified period and other conditions are met (such as the previous high being lower than the one before it, and the closing price being higher than the previous opening price), a buy signal is generated. The buy signal is valid within a specified confirmation period and is triggered when the closing price is higher than the referenced high.
Sell Signal: If the previous candle's highest price equals the highest peak value over the specified period and other conditions are met (such as the previous low being higher than the one before it, and the closing price being lower than the previous high), a sell signal is generated. The sell signal is also valid within the specified confirmation period and is triggered when the closing price is lower than the referenced low.
Visual Signals
Buy Signal: Represented by a green triangle and displayed below the candle.
Sell Signal: Represented by a red triangle and displayed above the candle.
Alerts
The indicator includes alert conditions to inform users when buy and sell signals are generated. These alerts are triggered when a signal is produced within the defined confirmation period.
Conclusion
This indicator helps investors identify potential buying and selling points in the market. However, it is important to consider other market conditions and technical analysis tools before making any investment decisions. The customizable settings for the confirmation period and the number of bars for condition checks make this indicator adaptable to various market scenarios.
This indicator was inspired by the work of the analyst @TuncerSengoz.
RSI Multi Strategies With Overlay SignalsHello everyone,
In this indicator, you will find 6 different entry and exit signals based on the RSI :
Entry into overbought and oversold zones
Exit from overbought and oversold zones
Crossing the 50 level
RSI cross RSI MA below or above the 50 level
RSI cross RSI MA in the overbought or oversold zones
RSI Divergence
With the signals identified, you can create your own strategy . (If you have any suggestions, please mention them in the comments).
Beyond these signals, you can set SL (Stop Loss) and TP (Take Profit) levels to better manage your positions.
SL Methods:
Percentage: The stop loss is determined by the percentage you specify.
ATR : The stop level is determined based on the Average True Range (ATR).
TP Methods:
Percentage: The take profit is determined by the percentage you specify.
RR ( Risk Reward ): The take profit level is determined based on the distance from the stop level.
You can mix and match these options as you like.
What makes the indicator unique and effective is its ability to display the RSI in the bottom chart and the signals, SL (Stop Loss), and TP (Take Profit) levels in the overlay chart simultaneously. This feature allows you to manage your trading quickly and easily without the need for using two separate indicators.
Let's try out a few strategies together.
My entry signal: RSI Entered OS (Oversold) Zone
My exit signal: RSI Entered OB (Overbought) Zone
I'm not using a stoploss for this strategy ("Fortune favors the brave").
Let's keep ourselves safe by adding a stop loss.
I'm adding an ATR-based stop loss.
I think it's better now.
If you have any questions or suggestions about the indicator, you can contact me.
Cheers
Candlestick Patterns detection and backtester [TrendX_]INTRODUCTION:
The Candlestick Patterns detection and backtester is designed to empower traders by identifying and analyzing candlestick patterns. Leveraging the robust Pine Script's add-in “All Candlestick Patterns”, this indicator meticulously scans the market for candlestick formations, offering insights into potential market movements. With its backtesting capabilities, we evaluate historical data to present traders with performance metrics such as win rates, net profit, and profit factors for each pattern. This allows traders to make informed decisions based on empirical evidence. The customizable settings, including trend filters and exit conditions, provide a tailored experience, adapting to various trading styles and strategies.
CREDIT:
This indicator is powered by the Pinescript add-in, *All Candlestick Patterns*, which provides a comprehensive library of candlestick formations.
TABLE USAGE:
The indicator features a detailed usage table that presents backtested results of all candlestick patterns. This includes:
Win Rates: The percentage of trades that resulted in a profit.
Net Profit: The total profit after subtracting losses from gains.
Profit Factor: A measure of the indicator’s profitability (gross profit / gross loss).
Total Trades: The total number of trades taken for every candlestick pattern's appearance.
CHART CANDLESTICK USAGE:
The indicator integrates candlestick pattern detections directly into the chart, displaying:
Pattern Detections: Each detected pattern is marked on the chart.
Win Rates: The win rate of each pattern is shown in brackets next to the detection.
CHART SETTINGS:
Users can customize the indicator with a variety of trend filters and settings:
Trend Filters: Apply filters based on SMA50, SMA200, Supertrend, and RSI threshold to refine pattern detections.
Exit Condition: Set an exit condition based on the crossing of a simple moving average of customizable length.
Visibility: Choose to show or hide the candlestick patterns’ detections on the chart.
Mag7 IndexThis is an indicator index based on cumulative market value of the Magnificent 7 (AAPL, MSFT, NVDA, TSLA, META, AMZN, GOOG). Such an indicator for the famous Mag 7, against which your main security can be benchmarked, was missing from the TradingView user library.
The index bar values are calculated by taking the weighted average of the 7 stocks, relative to their market cap. Explicitly, we are multiplying each bar period's total outstanding stock amount by the OHLC of that period for each stock and dividing that value by the combined sum of outstanding stock for the 7 corporations. OHLC is taken for the extended trading session.
The index dynamically adjusts with respect to the chosen main security and the bars/line visible in the chart window; that is, the first close value is normalized to the main security's first close value. It provides recalculation of the performance in that chart window as you scroll (this isn't apparent in the demo chart above this description).
It can be useful for checking market breadth, or benchmarking price performance of the individual stock components that comprise the Magnificent 7. I prefer comparing the indicator to the Nasdaq Composite Index (IXIC) or S&P500 (SPX), but of course you can make comparisons to any security or commodity.
Settings Input Options:
1) Bar vs. Line - view as OHLC colored bars or line chart. Line chart color based on close above or below the previous period close as green or red line respectively.
2) % vs Regular - the final value for the window period as % return for that window or index value
3) Turn on/off - bottom right tile displaying window-period performance
Inspired by the simpler NQ 7 Index script by @RaenonX but with normalization to main security at start of window and additional settings input options.
Please provide feedback for additional features, e.g., if a regular/extended session option is useful.
RunRox - Backtesting System (SM)RunRox - Backtesting System (SM) is designed for flexible and comprehensive testing of trading strategies, closely integrated with our RunRox - Signals Master indicator. This combination enhances your ability to refine strategies efficiently, providing you with insights to adapt and optimize your trading tactics seamlessly.
The Backtesting System (SM) excels in pinpointing the optimal settings for the RunRox - Signals Master indicator, efficiently highlighting the most effective configurations.
Capabilities of the Backtesting System (SM)
Optimal Settings Determination: Identifies the best configurations for the Signals Master indicator to enhance its effectiveness.
Timeframe-Specific Strategy Testing: Allows strategies to be tested over specific historical time periods to assess their viability.
Customizable Initial Conditions: Enables setting of initial deposit, risk per trade, and commission rates to mirror real-world trading conditions.
Flexible Money Management: Provides options to set take profits and stop losses, optimizing potential returns and risk management.
Intuitive Dashboard: Features a user-friendly dashboard that visually displays all pertinent information, making it easy to analyze and adjust strategies.
Trading Flexibility Across Three Modes:
Dual-Direction Trading: Engage in both buying and selling with this mode. Our dashboard optimizes and identifies the best settings for trading in two directions, streamlining the process to maximize effectiveness for both buy and sell orders.
Buy-Only Mode: Tailored for traders focusing exclusively on purchasing assets. In this mode, our backtester pinpoints the most advantageous sensitivity, speed reaction, and filter settings specifically for buying. Optimal settings in this mode may differ from those used in dual-direction trading, providing a customized approach to single-direction strategies.
Sell-Only Mode: Perfect for strategies primarily based on selling. This setting allows you to discover the ideal configurations for asset sales, which can be particularly useful if you are looking for optimal exit points in long-term transactions or under specific market conditions.
Here's an example of how profits can differ on the same asset when trading using two distinct strategies: exclusively buying or trading in both directions.
Above in the image, you can see how one-directional trading influences the results of backtests on historical data. While this does not guarantee future outcomes, it provides insight into how the strategy's performance can vary with different trading directions.
As you can also see from the image, one-directional trading has affected the optimal combination of settings for Sensitivity, Speed Reaction, and Filters.
Stop Loss and Take Profit
Our backtesting system, as you might have gathered, includes flexible settings for take profits and stop losses. Here are the main features:
Multiple Take Profits: Ability to set from 1 to 4 take profit levels.
Fixed Percentage: Option to assign a fixed percentage for each take profit.
Trade Proportion Fixation: Ability to set a fixed size from the trade for securing profits.
Stop Loss Installation: Option to establish a stop loss.
Break-Even Stop Loss: Ability to move the stop loss to a break-even point upon reaching a specified take profit level.
These settings offer extensive flexibility and can be customized according to your preferences and trading style. They are suitable for both novice and professional traders looking to test their trading strategies on historical data.
As illustrated in the image above, we have implemented money management by setting fixed take profits and stop losses. Utilizing money management has improved indicators such as profit, maximum drawdown, and profit factor, turning even historically unprofitable strategies into profitable ones. Although this does not guarantee future results, it serves as a valuable tool for understanding the effectiveness of money management.
Additionally, as you can see, the optimal settings for Signals Master have been adjusted, highlighting the best configurations for the most favorable outcomes.
Disclaimer:
Historical data is not indicative of future results. All indicators and strategies provided by RunRox are intended for integration with traders' strategies and should be used as tools for analysis rather than standalone solutions. Traders should use their own discretion and understand that all trading involves risk.
[Wiseplat Sideways] v.04The Sideway indicator for TradingView is a powerful tool designed to identify periods of sideways or ranging price action in the market. With its intuitive interface and customizable parameters, traders can easily spot when an asset is consolidating, providing valuable insights for both trend-following and range-bound strategies.
This indicator utilizes really simple algorithm to analyze price movement and volatility, effectively filtering out noise and false signals. By plotting clear visual cues on the chart.
Traders can adjust the sensitivity parameters to tailor the indicator to their specific trading style and preferences. Whether used in isolation or in conjunction with other technical analysis tools, the Sideway indicator empowers traders to make informed decisions in dynamic market conditions.
Its user-friendly design and simple settings of parameters makes it accessible to traders of all levels, from beginners seeking clarity in choppy markets to seasoned professionals looking for confirmation of their analysis. With the Sideway indicator, traders can confidently navigate sideways price action and stay ahead of the curve in their trading endeavors.
Developer: Oleg Shpagin
Volume Delta Candles [LuxAlgo]Volume Delta Candles provides insights about Intrabar trading activity in an easy-to-interpret manner. Lower timeframe or real-time data is used for displaying Volume Delta percentage against the total volume as a coloured bar part.
The script also highlights the intrabar price with the maximum trading activity, as well as complementary information.
🔶 USAGE
The tool focuses on intrabar volume to provide more information about the trading activity associated with a candle, without having to use an external volume indicator.
Each indicator components is further explained below:
🔹 Volume Delta
The volume delta is obtained by the difference between buy volume and sell volume, where buy volume is the volume associated with a bullish intrabar candle, and sell volume with a bearish intrabar candle.
Positive volume delta is displayed with a green candle area, while negative delta is displayed with a red candle area.
🔹 Bar Coloring
The script displays VD as a percentage of the whole, or from the candle half, depending on the setting ' Display '.
Bars can be coloured as follows:
Full (100%) when Display is set at ' Full Bar '
Half (50% or 100% of half a bar) when Display is set at ' Half Bar '
A negative VD (more bearish than bullish volume) will fill the bar from the top (or centre) of the bar towards the bottom, and a positive VD will fill a bar from the bottom (or centre) of the bar towards the top.
A negative VD on a green candle will show a red-coloured VD against a green-bordered candle. On the other hand, a positive VD on a red candle will show a green-coloured VD against a red-bordered candle.
Colours for VD sentiment opposite to the candle sentiment can be set differently if desired.
🔹 Highest Volume Price Level
The script displays a white (black on light mode) line highlighting the intrabar price level with the highest volume.
When ' Show Previous Max Volume Price ' is checked, a white (black on light mode) dot is displayed 1 bar to the right.
🔶 DETAILS
🔹 Tick/LTF data
The above example used Lower TimeFrame (LTF) data.
The following example uses real-time tick data ( Settings -> Data From )
Both options, LTF or tick data, will show a vertical dotted line where the data starts.
🔹 LTF settings
When ' Data from ' LTF is chosen and ' Auto ' enabled, the LTF will be the nearest possible x times smaller TF than the current TF. When 'Premium' is disabled, the minimum TF will always be 1 minute to ensure TradingView plans lower than Premium don't get an error.
Examples with current Daily TF (when Premium is enabled):
500 : 3 minute LTF
1500 (default): 1 minute LTF
5000: 30 seconds LTF (1 minute if Premium is disabled)
🔹 Notes
Different LTFs give different data, which means different results; this doesn't mean it isn't correct; they are just different data sets.
(LTF is displayed at the top right corner)
To ensure maximum visibility of values, we recommend using Bars from the Bar's style menu.
🔶 SETTINGS
Data from: Lower TimeFrame or real-time Tick data
Resolution: LTF setting
Auto + multiple: Adjusts the initial set resolution
Premium: Enable when your TradingView plan is Premium or higher
🔹 Intrabar Data
Colours
Display: Full/Half bar
Show previous max volume price: White/black dot, showing previous highest volume price level
🔹 Table
Show TF: Show LTF at the top right corner
Colour + table text size
🔹 Details
Show details: label with 'Volume', 'Delta' (VD) and '%'
See USAGE for more information
OI Increase Bubble & LineThis indicator is designed to visualize significant changes in Open Interest (OI) and display them on a price chart. It helps traders identify potential market movements and trends based on the changes in OI.
Features:
1. Customizable symbol and timeframe settings for both the main symbol and the OI symbol.
2. Adjustable OI change threshold to control the sensitivity of the indicator.
3. Customizable color settings for the bubbles and lines.
How it works:
1. The indicator retrieves price and OI data for the specified symbols and timeframe.
2. It calculates the change in OI by subtracting the opening OI from the closing OI for each bar.
3. If the OI change exceeds the specified threshold, the indicator performs the following actions:
- Calculates the middle price between the closing and opening prices of the bar.
- Determines the size of the label based on the magnitude of the OI change.
- Draws a circular label at the middle price, indicating the OI change.
- Draws a line from the current bar to the next bar at the middle price and adds it to an array.
4. The indicator checks if the price has crossed the lines drawn in previous bars:
- If a line hasn't been crossed before and the price completely moves above or below the line, the line's break status is updated.
- If a line has been previously crossed and the price crosses the line again, the line is removed from the chart and the corresponding break status is also removed.
- If none of the above conditions are met, the line's endpoint is extended to the current bar.
Benefits:
1. Helps traders visually identify significant changes in Open Interest.
2. Provides insights into potential market movements and trends based on OI changes.
3. Allows customization of the indicator's sensitivity and appearance to suit different trading styles and preferences.
The OI Increase Bubble & Line indicator is a useful tool for traders who want to incorporate Open Interest analysis into their trading strategies. By visualizing significant changes in OI, traders can make more informed decisions and potentially identify market trends and opportunities.
BINANCE-BYBIT Cross Chart: Spot-Perpetual CorrelationName: "Binance-Bybit Cross Chart: Spot-Perpetual Correlation"
Category: Scalping, Trend Analysis
Timeframe: 1M, 5M, 30M, 1D (depending on the specific technique)
Technical analysis: This indicator facilitates a comparison between the price movements shown on the Binance spot chart and the Bybit perpetual chart, with the aim of discerning the correlation between the two charts and identifying the dominant market trends. It automatically generates the corresponding chart based on the ticker selected in the primary chart. When a Binance pair is selected in the main chart, the indicator replicates the Bybit perpetual chart for the same pair and timeframe, and vice versa, selecting the Bybit perpetual chart as the primary chart generates the Binance spot chart.
Suggested use: You can utilize this tool to conduct altcoin trading on Binance or Bybit, facilitating the comparison of price actions and real-time monitoring of trigger point sensitivity across both exchanges. We recommend prioritizing the Binance Spot chart in the main panel due to its typically longer historical data availability compared to Bybit.
The primary objective is to efficiently and automatically manage the following three aspects:
- Data history analysis for higher timeframes, leveraging the extensive historical data of the Binance spot market. Variations in indicators such as slow moving averages may arise due to differences in historical data between exchanges.
- Assessment of coin liquidity on both exchanges by observing candlestick consistency on smaller timeframes or the absence of gaps. In the crypto market, clean charts devoid of gaps indicate dominance and offer enhanced reliability.
- Identification of precise trigger point levels, including daily, previous day, or previous week highs and lows, which serve as sensitive areas for breakout or reversal operations.
All-Time High (ATH) and All-Time Low (ATL) levels may vary significantly across exchanges due to disparities in historical data series.
This tool empowers traders to make informed decisions by leveraging historical data, liquidity insights, and precise trigger point identification across Binance Spot and Bybit Perpetual market.
Configuration:
EMA length:
- EMA 1: Default 5, user configurable
- EMA 2: Default 10, user configurable
- EMA 3: Default 60, user configurable
- EMA 4: Default 223, user configurable
- Additional Average: Optional display of an additional average, such as a 20-period average.
Chart Elements:
- Session separator: Indicates the beginning of the current session (in blue)
- Background: Indicates an uptrend (60 > 223) with a green background and a downtrend (60 < 223) with a red background.
Instruments:
- EMA Daily: Shows daily averages on an intraday timeframe.
- EMA levels 1h - 30m: Shows the levels of the 1g-30m EMAs.
- EMA Levels Highest TF: Provides the option to select additional EMA levels from the major timeframes, customizable via the drop-down menu.
- "Hammer Detector: Marks hammers with a green triangle and inverted hammers with a red triangle on the chart
- "Azzeramento" signal on TF > 30m: Indicates a small candlestick on the EMA after a dump.
- "No Fomo" signal on TF < 30m: Indicates a hyperextended movement.
Trigger Points:
- Today's highs and lows: Shows the opening price of the day's candlestick, along with the day's highs and lows (high in purple, low in red, open in green).
- Yesterday's highs and lows: Displays the opening price of the daily candlestick, along with the previous day's highs and lows (high in yellow, low in red).
You can customize the colors in "Settings" > "Style".
It is best used with the Scalping The Bull indicator on the main panel.
Credits:
@tumiza999: for tests and suggestions.
Thanks for your attention, happy to support the TradingView community.