Price-Action Candles (Lower)What is a swing high or swing low?
Swing highs and lows are price extremes. For example say we set our swing length to 5. A candle that is a swing high with a swing length of 5 will have 5 bars to the left that are lower and 5 bars to the right that are lower. A candle that is a swing low with a swing length of 5 will have 5 bars to the left that are higher and 5 bars to the right that are higher.
How is the trend coloring calculated?
The trend coloring is calculated the exact same way as our trend candles study... by storing and comparing historical swing lows and swing highs.
The pinescript code goes as follows:
The pinescript code goes as follows:
var int trend = na
trend := ((hh and high >= psh) or close > csh) ? 1 : ((ll and low <= psl) or close < csl) ? -1 : lh or hl ? 0 : trend
What does that gibberish mean?
-Trend can be GREEN IF
- We have a higher high (current swing high is greater than the previous swing high) and the high is greater than the previous swing high
- OR The current close is greater than the current swing high
-Trend can be RED IF
- We have a lower low (current swing low is less than the previous swing low) and the low is less than the previous swing low
- OR The current close is less than the current swing low
-Trend can be YELLOW IF
- We have a new swing high and the new swing high is less than the previous swing high
- OR We have a new swing low and the new swing low is greater than the previous swing low
If none of the conditions above are true then we continue with whatever color the previous bar was.
What is repainting?
Repainting is "script behavior causing historical vs realtime calculations or plots to behave differently." That definition comes directly from Tradingview. If you want to read the full explanation you can visit it here www.tradingview.com . The price-action candles use swing highs and swing lows which need bars to the left (past) and bars to the right ("future") in order to confirm the swing level. Because of the need to wait for confirmation for swing levels the plot style can be repainting. The Price-Action Candles (Lower) indicator, or this indicator, has no repainting anywhere. We opt to not shift back the candle coloring which causes the repainting, but it is relevant to discuss since this indicator's sibling (Price-Action Candles) can have repainting labels.
Repaint
Here the labels are shifted back the price-action length. Repainting is not present in the Price-Candles (Lower) study, but can be found in this indicator's sibling (Price-Action Candles).
Non-Repaint
Here the labels are not shifted back or "repainted". Repainting is not present in the Price-Candles (Lower) study, but can be found in this indicator's sibling (Price-Action Candles).
Multi-timeframe Analysis
The users can view multi-timeframe historical price action trend via this lower study. Each timeframe is plotted as its own on the lower pane and you can determine what timeframe it is by the label next to the plot.
More examples
Pair the Price-Action Candles (Lower) indicator with our main price indicator that colors candles based on trend and can show price action labels.
Candlestick analysis
Price-Action CandlesWhat is a swing high or swing low?
Swing highs and lows are price extremes. For example say we set our swing length to 5. A candle that is a swing high with a swing length of 5 will have 5 bars to the left that are lower and 5 bars to the right that are lower. A candle that is a swing low with a swing length of 5 will have 5 bars to the left that are higher and 5 bars to the right that are higher.
How are the trend candles calculated?
The trend candles are calculated by storing and comparing historical swing lows and swing highs.
The pinescript code goes as follows:
The pinescript code goes as follows:
var int trend = na
trend := ((hh and high >= psh) or close > csh) ? 1 : ((ll and low <= psl) or close < csl) ? -1 : lh or hl ? 0 : trend
What does that gibberish mean?
-Candle can be GREEN IF
- We have a higher high (current swing high is greater than the previous swing high) and the high is greater than the previous swing high
- OR The current close is greater than the current swing high
-Candle can be RED IF
- We have a lower low (current swing low is less than the previous swing low) and the low is less than the previous swing low
- OR The current close is less than the current swing low
-Candle can be YELLOW IF
- We have a new swing high and the new swing high is less than the previous swing high
- OR We have a new swing low and the new swing low is greater than the previous swing low
If none of the conditions above are true then we continue with whatever color the previous bar was.
What is repainting?
Repainting is "script behavior causing historical vs realtime calculations or plots to behave differently." That definition comes directly from Tradingview. If you want to read the full explanation you can visit it here www.tradingview.com . The price-action candles use swing highs and swing lows which need bars to the left (past) and bars to the right ("future") in order to confirm the swing level. Because of the need to wait for confirmation to for swing levels the plot style can be repainting. With the price-action candles indicator the only repainting part of the indicator is the labels. The price-action candles themselves WILL NOT REPAINT. The labels however can be set to repaint or not depending on the user preference. If the user opts to use repainting then the label location is shifted back by the length of the price-action. So if the "Price-Action Length" input is set to 10, and the user wants repainting, the swing high/low label will be shifted back 10 bars. If the user opts for no repainting, the label will not be shifted and instead show on the exact bar the swing level was confirmed.
Examples Below.
Repaint
Here the labels are shifted back the price-action length.
Non-Repaint
Here the labels are not shifted back because the input setting is set to not repaint.
Multi-timeframe Analysis
The users can view the trend from multiple different timeframes at once with a table displayed at the bottom of their charts. The timeframe can be lower or higher than the chart timeframe.
More examples
Be on the lookout for the Price Action Candles (Lower) indicator where you can view the multi-timeframe labels on a lower price grid in order to see the history over time!
Wickless Candle IndicatorIt is designed to identify and visually highlight wickless candles on trading charts. A wickless candle is defined as a candle where the high equals either the open or close, and the low equals either the open or close, indicating no wicks.
Key features of the script include:
Customizable Line Width: Users can adjust the width of the lines drawn over wickless candles.
Wickless Candle Detection: A function isWickless is used to determine whether a candle is wickless based on its open, close, high, and low values.
Line Drawing and Management: The script draws lines over wickless candles and extends these lines as long as consecutive wickless candles are detected. The lines are terminated when a candle with a wick is encountered or when the line extends beyond one bar.
Visual Indicators: Wickless candles are marked with a cross shape above them, and lines are colored black for clear visibility.
Efficient Line Handling: The script uses variables to store and update line information, ensuring efficient management of the drawn lines as new price data comes in.
This indicator is particularly useful for traders who consider wickless candles significant in their analysis, providing an automated and visually clear way to identify these candles on a chart.
FTFC (The Strat)This indicator provides the status (red="down/short", green="up/long") of the current and higher timeframes in conjunction with The Strat, created by Rob Smith. In The Strat, Rob states that one should trade in the direction of timeframe continuity. What this means is if the majority of higher time frames are trading to the upside, one should only take long positions on the current timeframe. The more timeframes trading in the same direction increases the likelihood that a trade will work out in the trader's favor. The purpose of this indicator is to provide a visual cue as to when the current symbol has reached Full Timeframe Continuity (FTFC). For example, M5, M15, M30, H1 all green, only take long trades on the M5 time frame.
TSCandleColor (The Strat)This indicator highlights 1 and 3 candles based on The Strat, created by Rob Smith. In The Strat, candles can only take one of 3 forms, an inside bar or a '1' where the high and low of the current candle are within the high and low of the previous candle, an outside bar or a '3' where the high and low of the current candle are outside of the previous bar, and a '2' bar where either the high or low of the current candle surpasses the previous candle but not both. Since '1' and '3' bars are key to many setups, this script highlights those candles. Highlighted colors are configurable by the user. This indicator further draws a line at the 50% mark of the previous candle for use in conjunction with the teachings of Sara Strat Sniper and her 50% rule. Her 50% rule states that when a '2' candle passes the 50% mark of the previous candle there is a high likelihood of that '2' candle becoming a '3'. Having this already drawn on the chart with each new candle makes it much easier to see this real-time. The color and style of the 50% line is also configurable.
Trend-based Price Action StrategyThis is a strategy script that combines trend-based price action analysis with the Relative Strength Index (RSI) and Exponential Moving Averages (EMA) as trend filters. Here's a summary of the key components and logic:
Price Action Candlestick Patterns:
Bullish patterns: Engulfing candle and Morning Star.
Bearish patterns: Engulfing candle and Evening Star.
RSI Integration:
RSI is used to identify overbought and oversold conditions.
EMA Trend Filter:
Three EMAs with different periods: Fast , Medium and Slow.
Long trend condition occur when the fast EMA is above the medium and the medium is above the slow EMA.
Short trend condition occur when the slow EMA is above the medium and the medium is above the fast EMA.
Long entry conditions: RSI is oversold, RSI is decreasing, bullish candlestick pattern, and EMA trend filter conditions are met.
Short entry conditions: RSI is overbought, RSI is decreasing, bearish candlestick pattern, and EMA trend filter conditions are met.
Exit conditions:
Take profit or stop loss is reached.
Plotting:
Signals are plotted on the chart when entry conditions are met.
EMAs are plotted when the EMA trend filter is enabled.
This script aims to capture potential trend reversal points based on a combination of candlestick patterns, RSI, and EMA trend analysis.
Traders can use this script as a starting point for further customization or as a reference for developing their own trading strategies. It's important to note that past performance is not indicative of future results, and thorough testing and validation are recommended before deploying any trading strategy.
Opening Range & Prior Day High/Low [Gorb]Introduction:
Opening Range & Prior Day High/Low indicator is an easy to use day traders tool. This indicator automatically plots the previous days high and low, as well as drawing a box from the opening range that the user specifies in the settings. These two together can help provide an indication of market sentiment and price trends for the day. They are often used as a trading strategy for day traders.
Overview:
The Opening Range , draws a box from the high to the low of the user defined time period and is extended until the end of the trading session. Most common are the 5/15/30min opening ranges.
Prior Day High/Low , draws lines from the previous days high and low that extend across the current session. These are used as support/resistance and also a marker to see market sentiment by crossing one of these levels.
The indicator is designed for all kinds of traders, offering a simple approach to automatically plot levels for you.
Features:
All skill-level friendly presets, easy to enable with one-click
Opening Range: Allows user to choose what time the range starts and ends to measure the high & low.
Extend Range Lines: allows the user to choose when the box stops extending according to the trading session time.
Enable Opening Range Box: allows the user to choose to plot the opening range or not.
ORB Border Color: allows the user to change the box border color.
ORB Box Shade Color: allows the user to change the background of the opening range box.
ORB Line Width: allows users to chose the width of the opening range box lines.
Enable Previous Day High: allows users to enable the previous days high to be plotted.
Enable Previous Day Low: allows users to enable the previous days high to be plotted.
Previous Day High Color: allows users to choose the color for this line.
Previous Day Low Color: allows users to choose the color for this line.
All colors are changeable for the user to customize to their liking.
Usage Demonstration
In the image below, we can see a basic example of how these 3 features function.
As explained above, the opening range is customizable to meet the users needs and can be disabled with one click. Same goes for the prior day high(green) and low(red) lines. All 3 are plotted each day automatically for the user if enabled.
In the image below, we can see an example of using the opening range break and prior day high together for a trading strategy.
This is a great example of using the prior day high with the opening range to use as a day trading strategy. It provides the trader with levels to watch for price to break out from for possible trade setups.
In this next image, we can see a failed breakdown from the opening range that results in a bullish breakout.
The first move was a fake breakdown with the failed rejection on the retest of the opening range lows. This led to a breakout above the range and a confirmation bounce on the breakout retest. Price did break above the prior day high and confirmed with a retest bounce on that level as well.
In the image below, we can see how previous days levels can act as resistance to use with the opening range.
Price didn't reject the opening range low, but it did reject the prior day high for the second time. This could be used as an entry or once price breaks down out of the opening range again.
Conclusion:
We believe in providing user-friendly tools to help speed up traders technical analysis and implement easy trading strategies. The goal is to provide a user-friendly indicator to automatically draw opening ranges and previous days levels to suit the users needs and trading style.
RISK DISCLAIMER
All content, tools, scripts & education provided by Monstanzer or Gorb Algo LLC are for informational & educational purposes only. Trading is risk and most lose their money, past performance does not guarantee future results.
simple pull back TJlv26This is a very simple strategy for swing trade in stock indexes.
this strategy only trade long position, recommend to use this in day chart of sp500 or nas100.
SPX
NDX
Buy condition:
close price above long term SMA(default period 200),close price under short term SMA(default period 10), RSI is under 30(default period 3)
Sell condition:
1:if close price is above short period SMA and current close price is lower than low price of previous bar
2:hit the take profit target(default value 10%)
3:hit the stop loss target(default value 5%)
from author:
As you can see, it's a very simple logic. You only start trading when the price is above long-term moving average, so you can avoid risk by taking positions only in the uptrend. You also use stop-loss, so even in situations where there is a significant downturn, you can minimize losses.
However, it's important to note that this strategy performs well only in markets where long-term (approximately 10 years) upward movements are expected. It often yields disappointing results during prolonged bear markets. This is where each user's fundamental analysis comes into play, as there is no such thing as a perfect trading logic.
Another noteworthy point is that, as seen in the results of back testing, this strategy tends to underperform buy-and-hold in most cases. As mentioned earlier, it's a strategy focused on risk mitigation and starting trades at the most advantageous prices, so I believe that using leverage of 2-4 times can maximize profits. However, trading with leverage is highly risky, so it should be assessed based on each individual's risk tolerance.
MTF ChartingKey Features
Visual Settings: The script allows customization of the visual aspects of the candlesticks. Traders can select colors for the bodies, borders, and wicks of bullish (rising) and bearish (falling) candles. This customization enhances readability and personal preference alignment.
Timeframe Settings: Traders can choose up to five different timeframes (labeled as HTF 1 to HTF 5) to display on the main chart. For each selected timeframe, traders can specify the number of candlesticks (bars) to display.
Candlestick Representation: The script redraws the candlesticks from the selected timeframes onto the main chart. This redrawing includes the high, low, opening, and closing prices of the candlesticks for each timeframe, providing a multi-dimensional view of market trends.
Labeling: The script includes an option to label each set of candlesticks with their respective timeframe for easy identification.
Practical Usage for Traders
Market Analysis: By displaying candlesticks from different timeframes, traders can analyze the market more comprehensively. For instance, while the main chart might show a short-term trend, the MTF charting can reveal a different longer-term trend, aiding in more informed decision-making.
Trend Confirmation: Viewing multiple timeframes simultaneously helps in confirming trends. If multiple timeframes show a similar trend, it might indicate a stronger, more reliable trend.
Identifying Reversals: The script can be useful in spotting potential trend reversals. For example, if the lower timeframe shows a bearish trend while the higher timeframe remains bullish, it might signal a potential reversal.
Customization for Strategy Alignment: Traders can customize the timeframes and the number of bars to align with their specific trading strategies, whether they are short-term day traders or long-term position traders.
Technical Aspects
The script uses arrays to store and manipulate candlestick data for each timeframe. This approach ensures efficient handling of data and updates.
Examples
- Display up to 5 timeframes on your main price chart. You are able to get a zoomed out view of the market without taking up too much screen real estate.
- Show a lower timeframe on your primary chart. In this instance maybe you primarily look at the 5 minute chart, but like to refine your entries on the 1 minute. Here you can do it with one chart.
- Look at how the daily candle is forming relative to the timeframe that you are currently on. You can more easily spot where price closed and opened on certain days.
Displacement Order Blocks ~ DOB [Liquidity_Pro]Displacement Order Blocks (DOB)
This indicator shows order blocks with displacement (FVG required) and leans heavily on ICT’s generous and insightful teachings to define midlines for FVG, IFVG, and order blocks. The market structure definitions follow TradingHub’s (TH) rules filtering out inside bars.
It offers alerts for price in order block, liquidity sweep, break of structure (BOS), change of character (CHoCH), and inducement (IDM).
The TH model was chosen because it's programmatic allowing clear structure definitions that allow us to mark inducements (S/O to @albatherium for publishing the first TH market structure indicator).
TH’s Single Candle Order Block (SCOB) rules have also been helpful in refining order block definition, for example in the Transfer case. ICT fans will see when back testing this, that it moves the focus closer to the FVG.
In developing this indicator, we've tried to offer great aesthetic flexibility, to keep the chart uncluttered and to avoid exceeding Trading View’s limitations on boxes and lines. It's also configured to work reasonably well on both light and dark background charts:
We hope this indicator can serve as a teaching tool for ICT’s price action insights and SMC market structure concepts. For this, we've included optional labels for various order block types:
I = inside bar. The bars that follow the order block have been ignored – you will see the number of ignored bars shown after a hyphen. The idea is that inside bars fall in the shadow of a more important candle and can’t be relied on for defining a trade.
S = standard case. The order block candle takes liquidity from the previous candle and is followed immediately after by an FVG on the next candle. This differs technically from the ICT “last down-close/last up-close” order block concept. In practice, this choice has very little impact on ICT trading, because the ICT trader is entering on the FVG anyway.
T = transfer case. This is an order block that has been transferred from the candle that takes liquidity to the candle just prior to the FVG. When you back test this, you will see it is a high probability choice.
TZ = tweezer. This is an option you can turn off that fills a hole in TH teachings. It bypasses the requirement for an order block to take liquidity from the previous candle in the case of equal h/ls. The result is that you will find 2 candle order blocks with equal highs and lows (also known as tweezer tops/bottoms) show on your chart. You will note that every tweezer is a wick on a higher timeframe.
W = wick. this is a big wick candle that we call an order block without requiring an FVG. The presumption is that the displacement is contained within the wick itself on a lower timeframe.
* Asterisk denotes an extreme order block.
Finally, we trade with this indicator (using it together with our Daye Quarterly Theory ~ DQT free indicator, taking trades when price reaches an extreme FVG or order block during a Q2 manipulation).
We will continue developing it along with other indicators we have not yet published. So please boost if you like this and follow us for updates. Also please let us know what new features you would like to see.
Daye Quarterly Theory ~ DQT [Liquidity_Pro]Thanks
This indicator puts the time-based research of trader Daye on your chart. Daye studied the ICT killzones and macro times and presented his findings, as “Quarterly Theory” on YouTube. Thank you Daye for sharing!
This indicator is not the first, so S/O to @toodegrees, @a1tmaniac and @joshuuu for their own excellent Quarterly Theory indicators. Last but not least, huge thanks go to ICT for his trading innovation and generous free price action education and to @twingall for his insight, attention to detail and great teamwork coding this indicator.
Daye’s Quarterly Theory
First, the fundamental concept is that all units of time can be divided by four into quarters -- just as we look at the year’s corporate reporting cycle of Q1, Q2, Q3, and Q4.
Dividing the day by four, into six hour quarters and again into 90 minute quarters and again into 22.5 minute ‘Micro’ quarters we reach the smallest unit shown by this indicator. Apply it to your NQ1! or ES1! charts and you may see remarkable confluence with the ICT macro times!
Why would we want to do this? It helps us understand, visualize and predict ICT’s PO3 concept:
• A - Accumulation (required for a cycle to occur)
• M - Manipulation
• D - Distribution
• X - Reversal/Continuation
The bottom line - we want to sell after a manipulation (M) up, or buy after a manipulation down and Quarterly Theory plots times on your chart where this may occur. Every asset is different, so back-test and research it.
Note, this indicator always shows Q1 as the accumulation quarter (by color), but the order is not fixed and instead of AMDX may appear as XAMD, where Q1 is the Reversal/Continuation quarter. We may eventually offer an update to this indicator which would automatically transpose the quarter colors for you.
The Quarters
Yearly:
• Q1 - Jan, Feb, Mar
• Q2 - Apr, May, Jun
• Q3 - Jul, Aug, Sep
• Q4 - Oct, Nov, Dec
Monthly (starts with the first month’s Monday regardless of the date):
• Q1 - Week 1, first Monday of the month
• Q2 - Week 2, second Monday of the month
• Q3 - Week 3, third Monday of the month
• Q4 - Week 4, fourth Monday of the month
Weekly (Daye ignores Friday and Sunday’s price action):
• Q1 - Mon
• Q2 - Tue
• Q3 - Wed
• Q4 - Thu
Daily (times are all EST / New York):
• Q1 - 18:00 - 00:00 Asia
• Q2 - 00:00 - 06:00 London
• Q3 - 06:00 - 12:00 NY AM
• Q4 - 12:00 - 18:00 NY PM
90 Minute:
• Q1 - 18:00 - 19:30
• Q2 - 19:30 - 21:00
• Q3 - 21:00 - 22:30
• Q4 - 22:30 - 00:00
Micro (22.5 minute quarters, DQT only displays Micros on 7 minute TF or lower)
• Q1 - 18:00 - 18:22:30
• Q2 - 18:22:30 - 18:45
• Q3 - 18:45 - 19:07:30
• Q4 - 19:07:30 - 19:30
About the DQT Indicator
This indicator plots the quarterly time boxes in a panel which can be placed above or below your chart. It allows you to add labels with the opening time and dates and also place time of day markers which can be useful for anyone who wants to mark lunch, and of the trading day or perhaps a favorite ICT macro time. It also works on GOLD (CAPITALCOM), DXY (TVC), currencies and stocks in Regular Trading Hour (RTH) mode.
Note the way that the indicator displays quarters is affected by the time frame you are viewing and as a result you may notice imperfections. Also, the indicator is not tuned to work with every broker, so for example with DXY, you will see the TVC feed is displayed nicely but other feeds are not.
Settings
The DQT indicator offers a great deal of flexibility to customize the display of quarters aesthetically. But it’s designed to work out-of-the-box on both light and dark background charts. It's set up to only show 90 minute and micro quarters initially, but in the settings, you can turn on the daily, weekly, monthly, and yearly quarters. Remember you will only see the Micros on the 7 minute TF or lower.
Lastly, the DQT indicator works well with our DOB indicator allowing you to visualize the confluence of high timeframe PDAs or POIs with manipulation quarters.
If you find our indicators useful, please boost, comment and share -- it's very motivational for us to develop them further and publish new ones!
Predictive Candles Variety Pack [SS]This indicator provides you with the ability to select from a variety of candle prediction methods.
It permits for:
👉 Traditional Linear Regression Candle Predictions
👉 Candle Predictions based on the underlying Stochastics
👉 Candle Predictions based on the underlying RSI
👉 Candle Predictions based on the underlying MFI
👉 Candle Predictions based on the EMA 9
👉 Candle Predictions based on ARIMA modelling
Which is best?
Each method serves its unique purpose.
Here are some general tips of which candles are better suited for what:
🎯Trend Following🎯
For Trend following, the EMA 9 would be an appropriate choice of candle as it helps you to identify the current trend and potential early pullbacks/reversals.
🎯Momentum Following🎯
Momentum following is best carried out with the Stochastics Candles.
🎯Pullback Determination🎯
Pullback Determination is best accomplished through the RSI candles, as the ranges compress or expand based on the current state of oversold/overboughtness.
🎯Detrended Range🎯
To see the detrended range of where the ticker should be falling, absent the trendy noise, it's best to use the ARIMA candles.
Other Features
👉 Other features include a Backtest option that can be toggled on or off and will backtest over the length of the assessment. I don't recommend leaving it on as it can be resource-heavy on Pinescript though.
👉 The ability to adjust the transparency of the candles if you want them to be more or less visible.
Troubleshooting Note
The ARIMA modeling version is extremely resource-heavy, as it has to fully develop an ARIMA model. I have tried to optimize it by reducing the lagged assessment to just 2 lags. If you are using a free or non-premium membership, you may need to reduce the length of the assessment.
And that's it! Pretty straightforward indicator.
Hope you enjoy it!
Alert on Candle CloseAlert on Candle Close is a simple indicator allowing you to set alerts when a candlestick closes.
Instructions for use
From the chart window, click on "Indicators" and search for "Alert on Candle Close".
Click on "Alert on Candle Close" to add the indicator to your chart. Click on the star icon to add it to your favourites to easily access later.
Set your chart timeframe to the timeframe you wish to alert on. For example, to create an alert when a 4h candlestick closes, set your chart to the "4h" timeframe.
Hover over the "Alert on Candle Close" indicator which has been added to your chart and click the ellipsis "..." icon, then click "Add alert on Alert on Candle Close" or use the keyboard shortcut "Alt+A" from the chart.
In the alert pop-up window, make sure "Condition" is set to "Alert on Candle Close" and "Trigger" is set to "Once Per Bar".
Optionally, you can set a custom expiry for the alert, give the alert a name and customise the alert message. You can configure notification settings from the "Notifications" tab.
Click "Create" and your alert is set up!
Each alert is tied to the timeframe and chart it was created on, so you can change the timeframe or asset and create more alerts by repeating the above process.
Note : this indicator is only designed to work with time-based chart types, such as Bars, Candles or Heikin Ashi. It will not work for non-time charts such as Renko.
FAQs
Why do my alerts sometimes not fire as soon as the candle closes?
This is a limitation with Pine Script's execution model. Indicators are calculated whenever a price or volume change occurs i.e. when a new trade happens. For illiquid or slow moving markets, there may be some time between when a candle closes and the next trade, leading to a delay in the alert triggering. The alert will trigger on the next tick of data on the chart.
Why can't I create more alerts?
TradingView has a limit on the number of active technical alerts you can have based on your membership tier. To configure more alerts, consider upgrading your TradingView plan to a higher tier. See a comparison of TradingView plans at www.tradingview.com
My alert only fired once, how can I get it to keep working?
When configuring the alert in the alert pop-up window, make sure you set "Trigger" to "Once Per Bar" and "Expiration" to "Open-ended alert".
Immediate rebalanceGuided by the new ICT tutoring, I create this versatile Immediate Rebalance indicator
This indicator shows a different way on how to view the "Spikes or Shadows", based on the direction of the price this indicator divides the "Spike or Shadows" into levels 0.5 - 0.75 - 0.25 Fibonacci, giving the possibility to view the levels both in normal or in pre-Macro times
The user has the possibility to:
- Choose to have Spike levels shown in MultiTimeframe
- Choose to show Sike levels only Bullish or only Bearish
- Choose to show Sike levels only in pre-Macro/Macro times
- Choose to view the maximum amount of levels with Max Show
The indicator must be used as ICT shows in its concepts, the indicator takes into consideration the last 2 candles already closed so on the candle that is forming it is possible to expect reactions on the levels it marks, below is an example of how to use it in MultiTimeframe
Below I show an example on how to set the indicator to see Immediate Rebalance in Macro times
Below is an example of when not to take the indicator into consideration
Volume Spread Analysis [Ahmed]Greetings everyone,
I'm thrilled to present a Pine Script I've crafted for Volume Spread Analysis (VSA) Indicator. This tool is aimed at empowering you to make smarter trading choices by scrutinizing the volume spread across a specified interval.
The script delivers a comparative volume analysis, permitting you to fix the type and length of the moving average. It subsequently delineates the moving average (MA), MA augmented by 1 standard deviation (SD), and MA increased by 2 SD. You can fully personalize the color coding for these echelons.
Volume Spread Analysis is an analytical technique that scrutinizes candles and the volume per candle to predict price direction. It considers the volume per candle, the spread range, and the closing price.
To effectively leverage VSA, you need to adhere to a few steps:
1. Ensure you use candlesticks for trading. Other chart types like line, bar, and renko charts may not yield optimal results.
2. Confirm that your broker provides reliable volume data.
3. Be mindful of the chart's timeframe. Volume analysis may not be effective on very short timeframes such as a minute chart. I recommend using daily, weekly, or monthly charts.
Another tip is to examine the spread between the price bars and the volume bars to discern the trend.
The script not only makes it easier to integrate these principles into your trading but also brings precision and convenience to your analysis.
Please remember to adhere to Tradinview terms of service when using the script. Happy trading!
OmniSessions [WinWorld]The indicator shows the range of 4 most popular sessions (New York, Tokyo, London, Sydney). Sessions are used to identify zones with maximum volatility, as well as to find entry points. Session boundaries can act as POI no worse than OrderBlock.
In addition to sessions, you can use settings with KillZones - a range within a session that has potentially high volatility.
Silver Bullet is a more advanced range that allows you to identify the potential for maximum volatility. Excellent entry points can be obtained on the sweep of the range or from the nearest orderblock. We will explain it a bit deeply below.
Why use sessions?
During specific sessions big financial instutions from specific parts of the world enter the market, and this fact alone let us find the most "liquid" sessions in order to catch the best price movements. If talking about orderblocks, it is just a point of interest (more precisely, it is actually a zone of interest), which usually is a zone where the signficant amount of limit orders lies, and when price enter such zone, it immediately shows a strong reaction with either breakout from this zone or it bounces against this zone.
How is this indicator different from others?
There a lot of orderblocks indicator out here publicly available, but huge portion of them doesn't take into calculation important smart money concepts, such as valid pullbacks, for example. Valid pullbacks is a concept of price movement, which lets us indentify quite precisely price's impulses. Based on this impulses, we search our orderblocks. This approach allows to catch the most relevant and highly liquid orderblocks, which present traders with best trade entry opportunities, because usually, when entering with these orderblocks, you follow the moves of big money players, and that gives trader an edge in trading. None of open-source indicators uses such approach ( we've studied all of them ). Also an important notice: no public code is utilized in this indicato whatsoever. We've build our own flexible session mechanism, which allows you to quickly change between different type of sessions and also choose which session to use. And the big thing is our own alorithm to deal with asset, trading sessions of which are quite exotic (such as DAX and MEOX indexes, which close and open at different times of the day, which makes it hard for indicator to catch by default), so with indicator you can enjoy trading by sessions with no "bugs".
And the most user-desired and important thing: we've implemented feature to set winter and summer seasons for sessions, and this solves life-long struggle of traders to set correct trading session time, when forex exchanges switch trading hours, so now you don't need to info which our summer or winter is traded by, but just switch between seasons by one button in our indicator. And we can proudly state, no sesions indicator in the TradingView has such feature , so feel free to use it now on our indicator.
How orderblocks are built?
When London, New York or Asia ends, we find the closest orderblocks above and below closed session's high and low respectively. We do it by finding so called valid pullbacks ( was explained above ), then searching for valid fair value gap (FVG), that is inside of some valid pullbacks, and if we find it, then the orderblock is established and you will live orderblock and fair value gap (FVG) box ( both are colored in closed session's colour ).
How are orderblocks and FVG displayed on the chart?
Live orderblock and FVG are displayed as boxes on the chart, that are plolonged each bar if price didn't reach the orderblock.
Some important details:
When price touches FVG, FVG then is modified to reflect how much of untouched FVG is left. You will see it as decreasing of FVG box size in live mode. If price fully takes over FVG, FVG deletes;
When price touches orderblock, orderblock stops being prolonged and stays on the chart and is considered as worked-out.
These featues allow you to fully see live orderblocks and FVGs (if they exist) and already worked-out orderblocks to see how useful they were in the history.
Is that it?
No, because our indicator also shows sessions sweeps, which is historically a good indication that price grabbed the liquidity of previously closed sessions and now has enough "power" to do big movements, which is a good thing for traders, because it allows them to catch big movements and profit big.
Ok, we've covered the basics, now let's talk about what exactly this indicator can do.
OmnISessions is all-in-one sessions' indicator, that cointain:
Sessions (Automatic adaptation to your time zone)
Kill Zones
Silver Bullets
Session Sweeps
Order Blocks (Session, Killzone, SilverBullet)
Easily switch between summer and winter seasons
Now you don't need to look for opening and closing times of stock exchanges: the algorithm itself adjusts the session times according to your timezone. Just change the seasonality: winter/summer and the session times will be clearly displayed on your chart.
A quick view of the settings:
Show: Sessions, KillZones or SilverBullet
Season selection: Winter/Summer
Session Color Selection
Visuals:
Show/Hide session name - displays session name (ex.: London, New York, Silver Bullet and etc.) on the chart;
Show/Hide session box - displays session range as box with coloured background on the chart;
Show/Hide High/Low sessions - displays two horizontal lines for higher and lower borders of the session;
Show/Hide OrderBlocks - displays worked-out orderblocks in the history with live orderblocks and their fair value gaps (FVGs);
Show/Hide live Session High/Low - displays higher and lower border of the session as lines, that are prolonged each bar even after the session ends;
Show/Hide Session Sweeps - displays session sweeps of higher and lower border as dotted line;
Dividers (alternative session display):
Horizontal Divider
Backgrounder coloring
Customization: choose the display type: Sessions, Killzones or Silver Bullet.
The indicator displays orders that are above or below the previous session boundaries.
Below are Killzones with Order Blocks:
And this is Silver Bullet with Order Blocks:
Overall, you can clearly see that orderblocks, sessions sweeps and different type of sessions in one indicator allow you to fully utilize your time and mental energy, because finding orderblocks with valid pullbacks by hand is quite time-costly task, but finding them on different type of sessions, while not knowing trading hours of current trading session, is the true hell of work. OmniSessions indicator performs all of these calculations by itself, so you can focus on finding the best entries, while checking the situation on different sessions at the same time.
We hope that you will find great use of OmniSessions!
Day High-Low Difference ( The one trader )The "Day High-Low Difference" candle tool is an indicator that calculates and visually represents the difference between the highest price (day high) and the lowest price (day low) within each candle on a given chart. This tool is useful for traders and analysts to quickly assess the volatility or range of price movement within individual candles.
Heiken Ashi Colored Moving AverageThis indicator is meant to plot a moving average but the color of the moving average will change based on Heikin Ashi. Its seems to be slightly off, I would love any suggestions on improving this indicator.
Thanks
j trader ModelAn indicator designed to trade indices using the jtrader model and ICT concepts.
jtrader Model:
Below are the key points to trade this model:
Power of 3 is the key element of this model.
Accumulation during pre NY open.NY Open represents 9:30am opening of NY Stock Exchange.
Manipulation(JUDA) immediately after NY open. Juda is a manipulated move by the indices after the session open.
Distribution as a reversal with BOS ,Heatmap preferably during Macros. Distribution is market phase where it moves towards its original expansion during macros. Macros are 20 minute time windows where indices give moves with strong force. Heatmap represent kis point of interests for the trade.
Indicator Features:
Creates a complete window of trading with key elements needed to trade The jtrader Model.
Identify and marks key points of interests (POIs).
Identify and highlights key swing points of Sessions, Days, Weeks, True open etc.
Highlights the NY Open.
Highlights the Macros.
Indicator Settings:
Enable/Disable any POI marking.
Adjust session time ranges.
Adjust enabling of model poi marking time window.
Choose color of choice for highlighting the POI.
Enable/Disable Macros.
This indicator will gradually updated with new features to trade the jtrader model. Your feedback will help us improve and enhance this indicator.
Logical Trading Indicator V.1Features of the Logical Trading Indicator V.1
ATR-Based Trailing Stop Loss
The Logical Trading Indicator V.1 utilizes the Average True Range (ATR) to implement a dynamic trailing stop loss. You can customize the sensitivity of your alerts by adjusting the ATR Multiple and ATR Period settings.
Higher ATR Multiple values create wider stops, while lower values result in tighter stops. This feature ensures that your trades are protected against adverse price movements. For best practice, use higher values on higher timeframes and lower values on lower term timeframes.
Bollinger Bands
The Logical Trading Indicator V.1 includes Bollinger Bands, which can be customized to use either a Simple Moving Average (SMA) or an Exponential Moving Average (EMA) as the basis.
You can adjust the length and standard deviation multiplier of the Bollinger Bands to fine-tune your strategy. The color of the basis line changes to green when price is above and red when price is below the line to represent the trend.
The bands show a range vs a single band that also represents when the price is in overbought and oversold ranges similar to an RSI. These bands also control the take profit signals.
You also have the ability to change the band colors as well as toggle them off, which only affects the view, they are still active which will still fire the take profit signals.
Momentum Indicator
Our indicator offers a momentum filter option that highlights market momentum directly on the candlesticks, identifying periods of bullish, bearish, or consolidation phases. You can enable or disable this filter as needed, providing valuable insights into market conditions.
By default, you will see the candlestick colors represent the momentum direction as green or red, and consolidation periods as white, but the filter on the BUY and SELL signals is not active. The view options and filter can be toggled on and off in the settings.
Buy and Sell Signals
The Logical Trading Indicator V.1 generates buy and sell signals based on a combination of ATR-based filtering, Bollinger Band basis crossover, and optional momentum conditions if selected in the settings. These signals help you make informed decisions about when to enter or exit a trade. You can also enable a consolidation filter to stay out of trades during tight ranges.
Basically a BUY signal fires when the price closes above the basis line, and the price meets or exceeds the ATR multiple from the previous candle length, which is also editable in the settings.
If the momentum filter is engaged, it will not fire BUY signals when in consolidation periods. It works just the opposite for SELL signals.
Take Profit Signals
We've integrated a Take Profit feature that helps you identify points to exit your trades with profits. The indicator marks Long Take Profit when prices close below the upper zone line of the Bollinger Bands after the previous candle closes inside the band, suggesting an optimal point to exit a long trade or consider a short position.
Conversely, Short Take Profit signals appear when prices close above the lower zone after the previous candle closes inside of it, indicating the right time to exit a short trade or contemplate a long position.
Alerts for Informed Trading
The Logical Trading Indicator V.1 comes equipped with alert conditions for buy signals, sell signals, take profit points, and more. Receive real-time notifications to your preferred devices or platforms to stay updated on market movements and trading opportunities.
Williams Vix Fix [CC]The Vix Fix indicator was created by Larry Williams and is one of my giant backlog of unpublished scripts which I'm going to start publishing more of. This indicator is a great synthetic version of the classic Volatility Index and can be useful in combination with other indicators to determine when to enter or exit a trade due to the current volatility. The indicator creates this synthetic version of the Volatility Index by a fairly simple formula that subtracts the current low from the highest close over the last 22 days and then divides that result by the same highest close and multiplies by 100 to turn it into a percentage. The 22-day length is used by default since there is a max of 22 trading days in a month but this formula works well for any other timeframe. By itself, this indicator doesn't generate buy or sell signals but generally speaking, you will want to enter or exit a trade when the Vix fix indicator amount spikes and you get an entry or exit signal from another indicator of your choice. Keep in mind that the colors I'm using for this indicator are only a general idea of when volatility is high enough to enter or exit a trade so green colors mean higher volatility and red colors mean low volatility. This is one of the few indicators I have written that don't recommend to buy or sell when the colors change.
This was a custom request from one of my followers so please let me know if you guys have any other script requests you want to see!
ICT HTF Candles [Source Code] (fadi)Plotting a configurable higher timeframe on current chart's timeframe helps visualize price movement without changing timeframes. It also plots FVG and Volume Imbalance on the higher timeframe for easier visualization.
With ICT concepts, we usually wait for HTF break of structure and then find an entry on a lower timeframe. With this indicator, we can set it to the HTF and watch the develop of price action until the break of structure happens. We can then take an entry on the current timeframe.
Settings
HTF Higher timeframe to plot
Number of candles to display The number of higher timeframe candles to display to the right of current price action
Body/Border/Wick The candle colors for the body, border, and wick
Padding from current candles The distance from current timeframe's candles
Space between candles Increase / decrease the candle spacing
Candle width The size of the candles
Imbalance
Fair Value Gap Show / Hide FVG on the higher timeframe
Volume Imbalance Show / Hide Volume Imbalance on the higher timeframe
Trace
Trace lines Extend the OHLC lines of the higher timeframe and the source of each
Label Show/Hide the price levels of the OHLC