SMC Structures and FVGThe SMC Structures and FVG indicator allows the user to easily identify trend continuations (Break Of Structure) or trend changes (CHange Of CHaracter) on any time frame. In addition, it display all FVG areas, whether they are bullish, bearish, or even mitigated.
Fair Value Gap :
The FVG process shows every bullish, bearish or even mitigated FVG liquidity area. When a FVG is fully mitigated it will directly be removed of the chart.
There is an history of FVG to show. By selecting specific number of FVG to show in the chart, the user can focus its analysis on lasts liquidity area.
Here's the rules for FVG color :
Green when it's a bullish FVG and has not been mitigated
Red when it's a bearish FVG and has not been mitigated
Gray when the bullish / bearish FVG has been mitigated
Removed when the FVG has been fully mitigated
Structures analysis:
The Structure process show BOS in grey lines and CHoCH in yellow lines. It shows to the user the lasts price action pattern.
The blue lines are the high value and the low value of the current structure.
Chart patterns
TrendGuard Flag Finder - Strategy [presentTrading]
Introduction and How It Is Different
In the vast world of trading strategies, the TrendGuard Flag Finder stands out as a unique blend of traditional flag pattern detection and the renowned SuperTrend indicator.
- A significant portion of the Flag Pattern detection is inspired by the "Flag Finder" code by @Amphibiantrading, which serves as one of foundational element of this strategy.
- While many strategies focus on either trend-following or pattern recognition, this strategy harmoniously combines both, offering traders a more holistic view of the market.
- The integration of the SuperTrend indicator not only provides a clear direction of the prevailing trend but also offers potential stop-loss levels, enhancing the strategy's risk management capabilities.
AAPL 1D chart
ETHBTC 6hr chart
Strategy: How It Works
The TrendGuard Flag Finder is primarily built on two pillars:
1. Flag Pattern Detection : At its core, the strategy identifies flag patterns, which are continuation patterns suggesting that the prevailing trend will resume after a brief consolidation. The strategy meticulously detects both bullish and bearish flags, ensuring traders can capitalize on opportunities in both rising and falling markets.
What is a Flag Pattern? A flag pattern consists of two main components:
1.1 The Pole : This is the initial strong price move, which can be either upwards (for bullish flags) or downwards (for bearish flags). The pole represents a strong surge in price in a particular direction, driven by significant buying or selling momentum.
1.2 The Flag : Following the pole, the price starts consolidating, moving against the initial trend. This consolidation forms a rectangular shape and is characterized by parallel trendlines. In a bullish flag, the consolidation will have a slight downward tilt, while in a bearish flag, it will have a slight upward tilt.
How the Strategy Detects Flags:
Identifying the Pole: The strategy first identifies a strong price movement over a user-defined number of bars. This movement should meet a certain percentage change to qualify as a pole.
Spotting the Flag: After the pole is identified, the strategy looks for a consolidation phase. The consolidation should be counter to the prevailing trend and should be contained within parallel lines. The depth (for bullish flags) or rally (for bearish flags) of this consolidation is calculated to ensure it meets user-defined criteria.
2. SuperTrend Integration : The SuperTrend indicator, known for its simplicity and effectiveness, is integrated into the strategy. It provides a dynamic line on the chart, signaling the prevailing trend. When prices are above the SuperTrend line, it's an indication of an uptrend, and vice versa. This not only confirms the flag pattern's direction but also offers a potential stop-loss level for trades.
When combined, these components allow traders to identify potential breakout (for bullish flags) or breakdown (for bearish flags) scenarios, backed by the momentum indicated by the SuperTrend.
Usage
To use the SuperTrend Enhanced Flag Finder:
- Inputs : Begin by setting the desired parameters. The strategy offers a range of user-controlled settings, allowing for customization based on individual trading preferences and risk tolerance.
- Visualization : Once the parameters are set, the strategy will identify and visually represent flag patterns on the chart. Bullish flags are represented in green, while bearish flags are in red.
- Trade Execution : When a breakout or breakdown is identified, the strategy provides entry signals. It also offers exit signals based on the SuperTrend, ensuring that traders can capitalize on the momentum while managing risk.
Default Settings
The strategy comes with a set of default settings optimized for general use:
- SuperTrend Parameters: Length set to 10 and Factor set to 5.0.
- Bull Flag Criteria: Max Flag Depth at 7, Max Flag Length at 10 bars, Min Flag Length at 3 bars, Prior Uptrend Minimum at 9%, and Flag Pole Length between 7 to 13 bars.
- Bear Flag Criteria: Similar settings adjusted for bearish patterns.
- Display Options: By default, both bullish and bearish flags are displayed, with breakout and breakdown points highlighted.
MTF FVGThis script finds Imbalance (Fair Value Gap (FVG)) on multi timeframes.
If needed all TF can be used at once: 1, 3, 5, 15, 30, 45, 60, 120, 180, 240, D, W.
It finds FVG on any desired TF that is greater or equal than TF on the chart.
FVG stands for fair value gap, which is a three-candle structure that indicates an imbalance or inefficiency in the market. An imbalance means that the buying and selling is not equal, and there is a gap between the fair value and the market value of an asset. A bullish FVG shows that the market value is lower than the fair value, and a bearish FVG shows the opposite.
FVG takes place in a series of 3 candles when the middle candle gaps up or down. This signals strong buying or selling pressure in the direction of the gap. When a gap occurs the wicks of the candles do not overlap each other.
Price Range BlockThe price range block indicator. User input divides the price into blocks (eg a block of 1 dollar) if the price would go from 1 dollar to greater than 1 dollar, the next block is drawn including the center line. Same for if it went down. Trading choices could be made through the behavior of the price in such a block.
Auto Fibonacci TP Levels [WJ]This script automatically draws Fibonacci levels on a trading chart which are popular tools for traders seeking to identify potential areas of support and resistance.
Here are the features and benefits of this script:
1. Versatility in Sourcing Trade Entries:
Trade source can be customized to either longs (buying trades) or shorts (selling trades). The user has the flexibility to adjust their entry points based on their trading strategy.
Up to 2 sources can be used, expand if you wish.
As it is coded now, the source you have to pick from has to have a 'plot' that sends a (long) or (short) and is equal to 1 and 2 respectively.
Example: In the script you want to use for Long and Shorts, make a plot like this:
plot(LONG ? 1 : SHORT ? 2 : 0, title = "⭐ Outbound signal", display = display.none, editable = false)
The variable name of the LONG and SHORT needs to be the same as the one your code is using to indicate those trades.
2. Flexible Fibonacci Start Points:
The starting points for drawing Fibonacci levels can be customized for both longs and shorts.
3. Configurable Historical Data Length:
Users can adjust the number of historical bars to analyze for calculating higher highs (HH) and lower lows (LL).
4. Informative Labels and Lines:
The script can be configured to show the distance from the entry point to the 0.618 Fibonacci level (the so-called "golden ratio"). This helps traders to visualize the risk-reward ratio of their trades.
It indicates when a Fibonacci level was crossed which could signal a potential reversal.
It allows users to display the golden pocket levels only (0.618 and 0.65) or all the Fibonacci levels.
5. Customizable Fibonacci Levels and Colors:
Users can define their preferred Fibonacci levels and assign specific colors to each of these levels. This helps in identifying different levels quickly and intuitively.
The script also includes functionality for setting stop loss levels for short and long positions, which helps in risk management.
6. Clear Visualization of Crossing Levels:
If a trade crosses a specific Fibonacci level, the script draws lines indicating the crossing. This can help traders to identify potential breakout or reversal points.
7. Calculation of Fibonacci Boxes:
For each Fibonacci level, the script creates a box that indicates the level's range on the chart. This visual aid can help traders to better understand the price movement within these levels.
8. Customizable Labels:
The script provides percentage difference labels at each Fibonacci level, displaying the difference between the price at that level and the price at the 0 Fibonacci level. This can help users quickly understand the price change in terms of percentage at each level.
9. Performance Efficiency:
The script uses arrays to store and manage the Fibonacci levels and their associated colors. This approach enhances the performance of the script, especially when processing a large amount of data.
10. Adaptability:
This script automatically adapts to market movements. When the price crosses a level, it identifies and records this event, aiding the trader's decision-making process.
Overall, this script is highly customizable, adaptable and provides a clear visual representation of important trading data, making it an effective tool for traders using Fibonacci levels in their strategies.
NOTE: If you can't see the fib lines, it is because they have already been triggered/touched by a candle and they are set to not continue after they are touched.
ICT Institutional Order Flow (fadi)ICT Institutional Order Flow indicator is intended to provide wholistic view to better analyze order flow and where price may go to next. The concept follows ICT principles.
ICT Market Structure
ICT breaks down Pivot points into three categories:
Short Term High/Low (STH/STL) is a 3 candle pattern with a low with higher low on each side (STL), or a high with lower high on each side (STH)
Intermediate Term High/Low (ITH/ITL) uses the calculated STH/STL and marks any STH that has lower or STH on each side, and STL that has higher STL on each side
Long Term High/Low (LTH/LTL) uses the calculated ITH/ITL and marks any ITH that has lower or ITH on each side, and ITL that has higher ITL on each side
Note: ICT also states that if a STH wicks into and closes (almost?) a FVG, he marks it as ITH even if it does not have STH on reach side. This scenario is not covered by this indicator
Liquidity
liquidity is usually present under pivot points. The more prominent the pivot point, the more likely higher values liquidity pools reside under/above it. Liquidity under ITL and LTL as an example, will have better indication of which liquidity the price may seek next.
Displacement
Displacement registers above average move in the price resulting in strong visible move. If requiring a FVG is enabled (in settings), then the displacement could possibly (but never guaranteed) be used to visually recognize a move as it develops.
Full Credit: The calculation for Displacement is derived from TFO's Visualizing Displacement
Imbalances
Imbalances can come in different forms. This indicator identifies three type of imbalances:
1. FVG
2. Volume Imbalance
3. Open Gaps
Imbalances completes the picture by help visualize strong moves, where possible pivot points may develop, and how to enter or manage a trade.
Engulfing IndicatorThis is an "Engulfing" indicator. The "Engulfing" candle pattern is a reversal pattern that can appear at the end of an uptrend or downtrend.
The indicator includes the following inputs or settings:
1. `tolerance`: This defines the percentage difference in size that there must be between the body of the current candle and that of the previous candle to consider that one candle "engulfs" the other.
2. `tailSizePercentage`: This defines the maximum percentage size of the candle's tail in relation to the body of the candle for it to be considered valid.
3. `hideBuy` and `hideSell`: If set to true, they hide the buy and sell labels on the chart.
4. `checkTailSize` and `checkPrevTailSize`: If set to true, they check the size of the tail of the current and previous candle in relation to the body of the candle. If the tail is too large (as defined by `tailSizePercentage`), it is not considered valid.
The indicator works as follows:
First, it calculates the size of the body of the current and previous candle. Then, it checks if the current candle is green (close greater than open) or red (close less than open).
Next, it checks if the current candle "engulfs" the previous one. This means that, in the case of a green candle, the open must be less than or equal to the previous candle's close and the close must be greater than or equal to the previous candle's open. For a red candle, it's the other way around.
The indicator also checks if the size of the previous candle's body is at least a certain percentage (defined by `tolerance`) of the size of the current candle's body.
If `checkTailSize` or `checkPrevTailSize` is enabled, the indicator also checks the size of the tail of the current and/or previous candle. If the tail is too large in relation to the body of the candle (as defined by `tailSizePercentage`), the candle is not considered valid.
Finally, if all conditions are met, a buy or sell signal is generated and a label is drawn on the chart. An alert is also generated.
All Candlestick Patterns Screener [By MUQWISHI]▋ INTRODUCTION :
The Candlestick Patterns Screener has been designed to offer an advanced monitoring solution for up to 40 symbols. Utilizing a log screener style, it efficiently gathers information on confirmed candlestick pattern occurrences and presents it in an organized table. This table includes essential details such as the symbol name, signal price, and the corresponding candlestick pattern name.
_______________________
▋ OVERVIEW:
_______________________
▋ CREDIT:
Credit to public technical “*All Candlestick Patterns*” indicator.
_______________________
▋ USAGE:
_______________________
▋ Final Comments:
For best performance, add the Candlestick Patterns Screener on active symbol chart like QQQ, SPY, AAPL, BTCUSDT, ES, EURUSD or …etc.
Candlestick patterns are not a major concept to build a trading decision.
Personally, I see candlestick patterns as a means to comprehend the psychology of the market, and help to follow the price action.
Please let me know if you have any questions.
Thank you.
Master Pattern [LuxAlgo]The Master Pattern indicator is derived from the framework proposed by Wyckoff and automatically displays major/minor patterns and their associated expansion lines on the chart.
Liquidity levels are also included and can be used as targets/stops. Note that the Liquidity levels are plotted retrospectively as they are based on pivots.
🔶 USAGE
The Master Pattern indicator detects contraction phases in the markets (characterized by a lower high and higher low). The resulting average from the latest swing high/low is used as expansion line. Price breaking the contraction range upwards highlights a bullish master pattern, while a break downward highlights a bearish master pattern.
During the expansion phase price can tend to be stationary around the expansion level. This phase is then often followed by the price significantly deviating from the expansion line, highlighting a markup phase.
Expansion lines can also be used as support/resistance levels.
🔹 Major/Minor Patterns
The script can classify patterns as major or minor patterns.
Major patterns occur when price breaks both the upper and lower extremity of a contraction range, with their contraction area highlighted with a border, while minor patterns have only a single extremity broken.
🔶 SETTINGS
Contraction Detection Lookback: Lookback used to detect the swing points used to detect the contraction range.
Liquidity Levels: Lookback for the swing points detection used as liquidity levels. Higher values return longer term liquidity levels.
Show Major Pattern: Display major patterns.
Show Minor Pattern: Display minor patterns.
Trend Analyser by Abdul KhaderThis indicator is designed to provide buy and sell signals based on a combination of technical analysis methods. It uses the Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), and Exponential Moving Averages (EMA) to generate signals. It also calculates Stop Loss (SL) and Take Profit (TP) levels based on the Average True Range (ATR).
Components:
RSI: An oscillator that measures the speed and change of price movements. RSI is used to identify overbought and oversold conditions. In this indicator, an RSI below 30 is considered oversold and an RSI above 70 is considered overbought.
MACD: A trend-following momentum indicator that shows the relationship between two moving averages of a security’s price. The MACD triggers technical signals when it crosses above (to buy) or below (to sell) its signal line.
EMA: These moving averages give more weight to recent prices and are used to identify short-term price trends. A crossover of a shorter period EMA (9 periods in this case) above a longer period EMA (21 periods in this case) generates a buy signal. Conversely, a crossover of the shorter EMA below the longer EMA generates a sell signal.
ATR: This is a market volatility indicator. The ATR is used to calculate Stop Loss and Take Profit levels. These levels are set at a distance from the entry price, equal to a certain multiplier (1.5 in this case) of the ATR.
How to Use:
Buy Signal: A green triangle below the price bar indicates a buy signal. This is generated when the following conditions are met:
The short-term EMA crosses above the long-term EMA
The RSI is below 30 (oversold condition)
The MACD line crosses above the signal line and is above zero
Sell Signal: A red triangle above the price bar indicates a sell signal. This is generated when the following conditions are met:
The short-term EMA crosses below the long-term EMA
The RSI is above 70 (overbought condition)
The MACD line crosses below the signal line and is below zero
Stop Loss and Take Profit: These levels are indicated by dashed lines. The stop loss for a long position is set below the entry price, while the take profit is set above. For a short position, the stop loss is set above the entry price and the take profit is set below.
Important Notes:
This indicator is designed for intraday trading and may not be suitable for longer-term trades.
Always use this indicator in conjunction with other aspects of technical and fundamental analysis. No indicator can provide accurate signals 100% of the time.
Always backtest this indicator with historical data before using it in live trading.
Risk management is crucial in trading. Never risk more than a small percentage of your trading capital on a single trade.
Japanese Candlestick Patterns💡 Japanese Candlesticks are a visual representation of price movements in financial markets. They were first developed by Japanese rice traders in the 18th century to analyze the price of rice contracts, and have since been adopted by traders across the world for a wide range of assets.
📌 A candlestick is composed of a rectangular body and two thin lines, known as wicks, that extend from the top and bottom of the body. The body represents the difference between the opening and closing prices of the asset during a specific time period, while the wicks indicate the high and low prices reached during that period.
📌 By using these and other candlestick patterns, traders can identify potential buying and selling opportunities and manage their risk accordingly. However, it's important to note that candlestick patterns should be used in conjunction with other technical and fundamental analysis tools to make well-informed trading decisions.
📌 Candlestick patterns are particularly useful because they are based on price action rather than external factors such as news or economic data. This makes them useful for traders who employ technical analysis, as they can use candlestick patterns to identify potential trading opportunities and manage their risk accordingly.
🚀 Candlesticks can be used to identify market trends, as well as potential buying and selling opportunities. By analyzing the patterns formed by multiple candlesticks, traders can gain insights into the behavior of the market and make informed trading decisions. Overall, Japanese Candlesticks are a powerful tool for technical analysis that can provide valuable insights into financial markets.
🔍 THE PATTERNS THAT ARE RECOGNIZED:
🔄 Reversal Patterns
* Counterattack Lines
* Dark-Cloud Cover
* Engulfing ( Bearish / Bullish )
* Hammer
* Hanging Man
* Harami ( Bearish / Bullish )
* In Neck
* On Neck
* Piercing
* Three Black Crows
* Thrusting
* Upside Gap Two Crows
⭐️ Stars
* Abandoned Baby
* Evening star
* Inverted Hammer
* Morning Star
* Shooting Star
🎯 Doji
* Doji
* Dragonfly Doji
* Evening Doji Star
* Gravestone Doji
* Long Legged Doji
* Morning Doji Star
🔥 Continuation Patterns
* Falling Three Methods
* Rising Three Methods
* Tasuki ( Upside / Downside )
🥊 Utility
* Long Lower Shadow
* Long Upper Shadow
❤️ Please, support the work with like & comment! ❤️
Pattern Probability with EMA FilterThe provided code is a custom indicator that identifies specific price patterns on a chart and uses a 14-period Exponential Moving Average (EMA) as a filter to display only certain patterns based on the EMA trend direction. These code identifies patterns display them as upward and downward arrows indicates potential price corrections and short term trend reversals in the direction of the arrow. Use with indicators such as RSI that inform overbought and oversold condition to add reliability and confluence.
Code Explanation:
The code first calculates three values 'a', 'b', and 'c' based on the difference between the current high, low, and close prices, respectively, and their respective previous moving average values.
Binary values are then assigned to 'a', 'b', and 'c', where each value is set to 1 if it's greater than 0, and 0 otherwise.
The 'pattern_type' is determined based on the binary values of 'a', 'b', and 'c', combining them into a single number (ranging from 0 to 7) to represent different price patterns.
The code calculates a 14-period Exponential Moving Average (EMA) of the closing price.
It determines the EMA trend direction by comparing the current EMA value with the previous EMA value, setting 'ema_going_up' to true if the EMA is going up and 'ema_going_down' to true if the EMA is going down.
The indicator then plots arrows on the chart for specific pattern_type values while considering the EMA trend direction as a filter. It displays different colored arrows for each pattern_type.
The 14-period EMA is also plotted on the chart, with the color changing to green when the EMA is going up and red when the EMA is going down.
Concept:
pattern_type = 0: H- L- C- (Downward trend continuation) - Indicates a continuation of the downward trend, suggesting further losses ahead.
pattern_type = 1: H- L- C+ (Likely trend change: Downwards to upwards) - Implies the upward trend or price movement change.
pattern_type = 2: H- L+ C- (Likely trend change: Upwards to downwards) - Suggests a potential reversal from an uptrend to a downtrend, but further confirmation is needed.
pattern_type = 3: H- L+ C+ (Trend uncertainty: Potential reversal) - Indicates uncertainty in the trend, potential for a reversal, but further price action confirmation is required.
pattern_type = 4: H+ L- C- (Downward trend continuation with lower volatility) - Suggests the downward trend may continue, but with reduced price swings or lower volatility.
pattern_type = 5: H+ L- C+ (Likely trend change: Downwards to upwards) - Implies a potential reversal from a downtrend to an uptrend, with buying interest increasing.
(pattern_type = 6: H+ L+ C- (Likely trend change: Upwards to downwards) - Suggests a potential reversal from an uptrend to a downtrend, with selling pressure increasing.
pattern_type = 7: H+ L+ C+ (Upward trend continuation) - Indicates a continuation of the upward trend, suggesting further gains ahead.
In the US market, when analyzing a 15-minute chart, we observe the following proportions of the different pattern_type occurrences: The code will plot the low frequency patterns (P1 - P6)
P0 (H- L- C-): 37.60%
P1 (H- L- C+): 3.60%
P2 (H- L+ C-): 3.10%
P3 (H- L+ C+): 3.40%
P4 (H+ L- C-): 2.90%
P5 (H+ L- C+): 2.70%
P6 (H+ L+ C-): 3.50%
P7 (H+ L+ C+): 43.50%
When analyzing higher time frames, such as daily or weekly charts, the occurrence of these patterns is expected to be even lower, but they may carry more significant implications due to their rarity and potential impact on longer-term trends.
Price breakout and reversal [TCS] | PAThis indicator is designed to identify potential breaks and reversals in price movements for a financial instrument.
The indicator displays several elements to assist users in spotting specific market conditions:
1. High and Low Pivots : The indicator marks the highest and lowest points on the price chart within a customizable lookback period. These pivots represent important turning points in the price movement and serve as reference levels for potential breakouts and reversals.
2. Fair Value Line : A horizontal line is drawn at the midpoint between the high and low pivots. This line represents the "fair value" based on the recent price action. Traders may consider this level as a reference for evaluating the price's deviation from its average value.
3. Bullish Breakouts : When the closing price of the financial instrument crosses above the high pivot the indicator identifies a potential bullish breakout. This suggests a possible buying opportunity.
4. Bearish Breakouts : Conversely, a bearish breakout is identified when the closing price crosses below the low pivot. This may indicate a selling opportunity.
5. Fair Value Breakouts : In addition to regular breakouts, the indicator can detect breakouts based on the fair value line. If the closing price crosses above or below the fair value line, it may signal a fair value breakout, indicating the price's potential return to its average level.
6. Reversals : Reversal patterns are essential in technical analysis. The indicator identifies potential bullish and bearish reversals .
The indicator enhances its visual signals with geometric shapes (triangles and diamonds) placed above or below the price bars to represent different types of breakouts and reversals.
Moreover, the indicator can be configured to send alerts to the user when any of these specific events occur, helping traders stay informed and respond promptly to potential trading opportunities.
Please note that this code is for educational purposes only and should not be used for trading without further testing and analysis.
Relative Daily Change% by SUMIT
"Relative Daily Change%" Indicator (RDC)
The "Relative Daily Change%" indicator compares a stock's average daily price change percentage over the last 200 days with a chosen index.
It plots a colored curve. If the stock's change% is higher than the index, the curve is green, indicating it's doing better. Red means the stock is under-performing.
This indicator is designed to compare the performance of a stock with specific index (as selected) for last 200 candles.
I use this during a breakout to see whether the stock is performing well with comparison to it`s index. As I marked in the chart there was a range zone (red box), we got a breakout with good volume and it is also sustaining above 50 and 200 EMA, the RDC color is also in green so as per my indicator it is performing well. This is how I do fine-tuning of my analysis for a breakout strategy.
You can select Index from the list available in input
**Line Color Green = Avg Change% per day of the stock is more than the Selected Index
**Line Color White = Avg Change% per day of the stock is less than the Selected Index
If you want details of stocks for all index you can ask for it.
Disclaimer : **This is for educational purpose only. It is not any kind of trade recommendation/tips.
Bracket Trading VisualizerThe Bracket Trading Visualizer highlights locations in the past when a bracket trade would of won.
🔶 Purpose
Show the opportunities a trader had in the past to give a intuitive idea of how to trade the chart.
🔶 How It Works
Red color indicates the location a Short would of won.
Green color indicates the location a Long would of won.
Yellow color indicates the location a Long OR Short would of won.
Empty color indicates the location a Long OR Short would of Lost.
Empty color also indicates undecided, especially on the latest candles as the future has not been drawn yet.
🔶 What Is A Bracket Trade?
A bracket trade is when your take profit and stop loss are automatically set on entry.
Example: Take profit is set to 1%, Stop loss is set to 1%, when entering a trade the take and stop will set above and bellow the entry price by 1% each.
🔶 More Info
The default Take%/Stop% need to be increased for higher time frames as each candle moves larger distances.
The indicator crawls from left to right on each candle to check what part of that candle was a win for longs and shorts.
This Indicator updates past data based on current information, so empty areas are being filled in as new candles are created.
Because of pinescript limitations the script can only see 375 bars into the future. If a trade takes longer then 375 bars to finalize it will be empty color.
🔶 Theme Setup
It wont look as good with basic candles so set candles to "Bars" and color them white.
🔶 Experiments
Set a take profit larger then the stop loss and look at the opportunities, notice how there are Less.
Set a Stop Loss larger then the take profit and look at the opportunities, notice how there are More, including yellow overlaping.
🔶 Settings
Take %: Take Profit percent distance from the entry price
Stop %: Stop Loss percent distance from the entry price
Commission %: Commission is calculated twice for entry and exit. A 0.03% commission will increase take profit by 0.06% and decrease stop loss by 0.06%.
Calculation Bars Back: If you need to see more candles into the past increase this number, its purpose is to speed up calculation time, Higher number is slower. Also if things aren't drawing properly zoom out all the way then zoom back in.
🔶 Community
I hope you guys find this useful, if you have any questions or feature requests leave me a comment! Take care :D
ICT Daily Levels and Zones (fadi)ICT Daily Levels and Zones indicator provides some of the relevant zones and levels for ICT type analysis. The purpose of this indicator is to provide consolidated way of automatically highlighting and identifying relevant levels for ICT type traders.
Daily Separator and Day of Week
Display a separator based on NY Midnight and day of week.
Killzones
Highlight ICT Asia, London, and NY killzones. Please note that the default times are based on Index Futures. Update the times of day if you plan on using it for other instruments such as Forex.
Open Range
The 9:30am to 10:00am open range
(Shown with Extend setting on)
Open Range Gap
The open range Gap is the difference between the 4:15pm close and the 9:30am open.
(Shown with Extend setting on)
Time of Day Levels
The Midnight, 8:30am, and 9:30am open levels.
Daily Midnight Candle
ICT style Daily candle formation based on Midnight open
The Strat with Continuity [starlord_xrp]This indicator shows entry and exit points for The Strat as well as potential setups. It also has full time frame continuity detection.
Anand's Strategy
First, we identify the trend, the trend will be determined by the daily candles, whenever the daily candle closes above the high of a previous candle the trend becomes positive and the trend remains positive till the time a candle closes below the lowest price of this candle, however, if the cost of any future candle closes above the high of this candle then the bottom of this candle becomes the SL/ trend change point. And vice versa for the opposing side.
Once we have identified the trend we will trade only on the side of the trend in the 15mins candles
If the trend is positive then only positive trades will be initiated when the conditions are fulfilled I.e
Whenever a 15min candle closes above the high of a previous 15min candle then we enter the trade and if any 15min candle closes below the lowest price of this candle then we SL our trade, once any candle closes above the highest price of this candle then the lowest price of that candle becomes our trailing SL
Lower timeframe chartHi all!
I've made this script to help with my laziness (and to help me (and now you) with efficiency). It's purpose is to, without having to change the chart timeframe, being able to view the lower timeframe bars (and trend) within the last chart bar. The defaults are just my settings (It's based on daily bars), so feel free to change them and maybe share yours! It's also based on stocks, which have limited trading hours, but if you want to view this for forex trading I suggest changing the 'lower time frame' to a higher value since it has more trading hours.
The script prints a label chart (ASCII) based on your chosen timeframe and the trend, based on @KivancOzbilgic script SuperTrend The printed ASCII chart has rows (slots) that are based on ATR (14 bars) and empty gaps are removed. The current trend is decided by a percentage of bars (user defined but defaults to 80%, which is really big but let's you be very conservative in defining a trend to be bullish. Set to 50% to have the trend being decided equally or lower to be more conservative in defining a trend to be bearish) that must have a bullish SuperTrend, it's considered to be bearish otherwise. Big price range (based on the ATR for 14 bars) and big volume (true if the volume is bigger than a user defined simple moving average (defaults to 20 bars)) can be disabled for faster execution.
The chart displayed will consist of bars and thicker bars that has a higher volume than the defined simple moving average. The bars that has a 'big range' (user defined value of ATR (14 days) factor that defaults to 0.5) will also have a wick. The characters used are the following:
Green bar = ┼
Green bar with large volume = ╪
Green bar wick = │
Red bar = ╋
Red bar with large volume = ╬
Red bar wick = ┃
Bar with no range = ─
Bar with no range and high volume = ═
Best of trading!
Bullish and Bearish Candlestick Patterns StrategyThe strategy is a combination of candlestick pattern analysis and Fibonacci retracement levels to identify potential buy and sell signals in the market. Here's how the strategy works and how you can trade accordingly:
Candlestick Pattern Analysis:
The strategy looks for specific bullish and bearish candlestick patterns to identify potential trend reversals or continuations. The bullish patterns include:
Bullish Engulfing: This pattern occurs when a bullish candle fully engulfs the previous bearish candle.
Hammer: It is a single candlestick pattern with a small body and a long lower wick, indicating a potential bullish reversal.
Morning Star: This pattern consists of three candles, with the middle one being a small-bodied candle that gaps down and the other two being bullish candles.
The bearish patterns include:
Bearish Engulfing: Similar to the bullish engulfing, but this time, a bearish candle fully engulfs the previous bullish candle.
Shooting Star: A single candlestick pattern with a small body and a long upper wick, suggesting a potential bearish reversal.
Evening Star: This pattern is the opposite of the morning star, with a small-bodied candle that gaps up between two bearish candles.
Fibonacci Retracement Levels:
The strategy uses Fibonacci retracement levels to determine potential support and resistance levels in the market. The main level considered in this strategy is the Fibonacci 0.5 level, which is the midpoint of the previous swing move.
Trading Accordingly:
To trade using this strategy, follow these steps:
a. Observe the Chart: Apply the indicator to your preferred chart, and observe the candlestick patterns and the plotted support, resistance, and Fibonacci 0.5 levels.
b. Buy Signal: A buy signal is generated when any of the bullish candlestick patterns (Bullish Engulfing, Hammer, Morning Star) occur, and the low price of the current candle is above or equal to the Fibonacci 0.5 level. This suggests a potential bullish reversal or continuation of an existing uptrend.
c. Sell Signal: A sell signal is generated when any of the bearish candlestick patterns (Bearish Engulfing, Shooting Star, Evening Star) occur, and the high price of the current candle is below or equal to the Fibonacci 0.5 level. This indicates a potential bearish reversal or continuation of an existing downtrend.
d. Risk Management: Place stop-loss orders to protect your position in case the market moves against your trade. Consider setting the stop-loss below the recent swing low for buy trades and above the recent swing high for sell trades.
e. Take Profit: Set a target for taking profits based on your risk-reward ratio. You can use the recent swing high for buy trades as a potential target and the recent swing low for sell trades.
f. Filter Signals: Keep in mind that not all signals will result in profitable trades. It's essential to filter signals with other technical analysis tools and consider the overall market context.
Remember that no trading strategy guarantees profits, and trading always carries inherent risks. It's crucial to practice proper risk management, use appropriate position sizing, and test the strategy thoroughly in a demo environment before applying it to live trading. Additionally, consider combining this strategy with other indicators or analysis methods to make more informed .
Fair Value Gap ChartThe Fair Value Gap chart is a new charting method that displays fair value gap imbalances as Japanese candlesticks, allowing traders to quickly see the evolution of historical market imbalances.
The script is additionally able to compute an exponential moving average using the imbalances as input.
🔶 USAGE
The Fair Value Gap chart allows us to quickly display historical fair value gap imbalances. This also allows for filtering out potential noisy variations, showing more compact trends.
Most like other charting methods, we can draw trendlines/patterns from the displayed results, this can be helpful to potentially predict future imbalances locations.
Users can display an exponential moving average computed from the detected fvg's imbalances. Imbalances above the ema can be indicative of an uptrend, while imbalances under the ema are indicative of a downtrend.
Note that due to pinescript limitations a maximum of 500 lines can be displayed, as such displaying the EMA prevent candle wicks from being displayed.
🔶 DETAILS
🔹 Candle Structure
The Fair Value Gap Chart is constructed by keeping a record of all detected fair value gaps on the chart. Each fvg is displayed as a candlestick, with the imbalance range representing the body of the candle, and the range of the imbalance interval being used for the wicks.
🔹 EMA Source Input
The exponential moving average uses the imbalance range to get its input source, the extremity of the range used depends on whether the fvg is bullish or bearish.
When the fvg is bullish, the maximum of the imbalance range is used as ema input, else the minimum of the fvg imbalance is used.
BankNifty Crude Oil RSI Strategy
The "BankNifty Crude Oil RSI Strategy" is a trading strategy that combines the BankNifty index with the WTI Crude Oil price index using the Relative Strength Index (RSI) as the primary indicator. The strategy aims to generate buy and sell signals based on the RSI of the Crude Oil price index, which might influence the BankNifty index.
Here's how the strategy works step by step:
Data Fetching:
The strategy fetches the daily closing prices of WTI Crude Oil from the provided TradingView link "TVC:USOIL" using the request.security function.
RSI Calculation:
The Relative Strength Index (RSI) is calculated using the closing prices of WTI Crude Oil. The RSI is a momentum oscillator that measures the speed and change of price movements. It oscillates between 0 and 100, indicating overbought conditions when above a specified threshold (overbought level) and oversold conditions when below a specified threshold (oversold level).
Buy and Sell Conditions:
The strategy defines two conditions based on the RSI values:
Buy Signal: When the Crude Oil RSI falls below a specified rsiOversold level (default is 30), the strategy generates a buy signal. This implies that the Crude Oil is in an oversold condition, and there might be a potential buying opportunity in the BankNifty index.
Sell Signal: When the Crude Oil RSI rises above a specified rsiOverbought level (default is 70), the strategy generates a sell signal. This implies that the Crude Oil is in an overbought condition, and there might be a potential selling opportunity in the BankNifty index.
Buy and Sell Signal Visualization:
The strategy uses the plotshape function to plot triangular shapes (upward for buy and downward for sell) below and above the price bars, respectively, to indicate the buy and sell signals on the chart visually.