Previous Highs + Lows by HAZED📈 Introducing: Previous Highs + Lows by H A Z E D 📉
✨ Overview
Get a clear view of market levels with Previous Highs + Lows v1.0! This indicator lets you track critical previous highs and lows across multiple timeframes, marking them directly on your chart for an intuitive view of support and resistance zones. Whether you’re analyzing breakouts or looking for reversal levels, these indicators provide essential context to refine your trades.
🛠️ Key Features
Multiple Timeframes Supported
Toggle on previous highs and lows for daily, weekly, monthly, 4-hour, and 1-hour charts to match your analysis style.
Customizable Labels
Choose label sizes from “tiny” to “huge,” adjust the opacity to blend seamlessly with your chart, and customize text color for optimal readability.
Label Position Control
Avoid overlap with a flexible label offset feature, allowing for 10 adjustable increments to fit your preference and chart layout.
Clear Visual Cues
Labels use icons to differentiate high (⬆️) and low (⬇️) levels at a glance, providing a straightforward way to interpret key price areas.
Instant Alerts for Key Levels
Receive alerts when the price crosses over previous high levels, keeping you informed about potential breakout zones without constant chart-watching.
🚀 How to Use
Identify Key Levels: Quickly locate significant highs and lows from previous periods to define your support and resistance zones.
Set Alerts: Stay updated on market moves with built-in alerts when prices cross these critical levels.
Customize Your View: Use the various options to make this indicator uniquely yours – adjust label size, color, opacity, and position.
🔔 Why Use Previous Highs + Lows v1.0?
Enhanced visibility of critical levels saves you time by giving you a structured view of price action.
Customization features let you adapt the indicator to your personal style and chart setup.
Flexible alerts mean you can focus on other tasks without missing important price movements.
🔗 License: Mozilla Public License 2.0
© H A Z E D, 11/4/2024
Close
[TTI] High Volume Close (HVC) Setup📜 ––––HISTORY & CREDITS––––
The High Volume Close (HVC) Setup is a specialised indicator designed for the TradingView platform used to identify specific bar. This tool was developed with the objective of identifying a technical pattern that trades have claimed is significant trading opportunities through a unique blend of volume analysis and price action strategies. It is based on the premise that high-volume bars, when combined with specific price action criteria, can signal key market movements.
The HVC is applicable both for swing and longer term trading and as a technical tool it can be used by traders of any asset type (stocks, ETF, crypto, forex etc).
🦄 –––UNIQUENESS–––
The uniqueness of the HVC Setup lies in its flexibility to determine an important price level based on historically important bar. The idea is to identify significant bars (e.g. those who have created the HIGHEST VOLUME: Ever, Yearly, Quarterly and meet additional criteria from the settings) and plot on the chart the close on that day as a significant level as well as theoretical stop loss and target levels. This approach allows traders to discern high volume bars that are contextually significant — a method not commonly found in standard trading tools.
🎯 ––––WHAT IT DOES––––
The HVC Setup indicator performs a series of calculations to identify high volume close bars/bar (HVC bars) based on the user requirements.
These bars are determined based on the highest volume recorded within a user-inputs:
👉 Period (Ever, Yearly, Quarterly) and must meet additional criteria such as:
👉 a minimum percentage Price Change (change is calculated based on a close/close) and
👉 specific Closing Range requirements for the HVC da.
The theory is that this is a significant bar that is important to know where it is on the chart.
The script includes a comparative analysis of the HVC bar's price against historical price highs (all-time, yearly, quarterly), which provides further context and significance to the identified bars. All of these USER input requirement are then taken into account as a condition to identity the High Volume Close Bar (HVC).
The visual representation includes color-coded bar (default is yellow) and lines to delineate these key trading signals. It then draws a blue line for the place where the close ofthe bar is, a red line that would signify a stop loss and 2 target profit levels equal to 2R and 3R of the risked level (close-stop loss). Additional lines can be turned on/off with their coresponding checkboxes in the settings.
If the user chooses "Ever" for Period - the script will look at the first available bar ever in Tradingview - this is generally the IPO bar;
If the users chooses "Yearly" - the script would look at the highest available bar for a completed year;
If the users chooses "Quarterly" - it would do the same for the quarter. (works on daily timeframe only);
While we have not backtested the performance of the script, this methodology has been widely publicised.
🛠️ ––––HOW TO USE IT––––
To utilize the HVC Setup effectively:
👉Customize Input Settings: Choose the HVC period, percentage change threshold, closing range, stop loss distance, and target multiples according to your trading strategy. Use the tick boxes to enable and disable if a given condition is used within the calculation.
👉Identify HVC Bars: The script highlights HVC bars, indicating potential opportunities based on volume and price action analysis.
👉Interpret Targets and Stop Losses: Use the color-coded lines (green for targets, red for stop losses) to guide your trade entries and exits.
👉Contextual Analysis: Always consider the HVC bar signals in conjunction with overall market trends and additional technical indicators for comprehensive trading decisions.
This script is designed to assist traders in identifying high-potential trading setups by using a combination of volume and price analysis, enhancing traditional methods with a unique, algorithmically driven approach.
Key Levels SetKey Levels Set allows to set key levels as comma separated values, and to detect breaks to the downside and/or upside, taking into account potential gaps between bars.
This indicator can be very handy if you, like me, rely on some key levels that you identified as potential support/resistance from some technical analysis.
Features
+ It allows for key levels to be set as comma separated values.
+ It draws key levels on chart.
+ On close, it identifies highest key level that has been broken to the upside, if any.
+ On close, it identifies lowest key level that has been broken to the downside, if any.
+ In Cross mode, as bar is printing, it also detects highest/lowest key levels being broken to the upside/downside between bar high and low, if any.
+ It plots and labels breaks with current level and next level information.
+ It includes alerts from breaks on close.
+ It includes turn on/off functionality.
Settings
+ {Prices} checkbox: turns on/off entire functionality
+ {Prices} text field: comma separated values for key levels
+ {Breaks on} checkbox: turns on/off breaks detection functionality
+ {Breaks on} options: selects Close or Cross mode
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".
OHMLC Lines - Present- Current OHMLC candles
- Show current Open, High, Mid, Low, Close candles levels
50% candlestick closeThis indicator is useful at important level, when you want to see some bullish or bearish signs in candlestick.
At your important support level you can buy, if candlestick close is above 50% of its range, with low of this candlestick as SL.
At your important resistance level you can sell, if candlestick close is below 50% of its range, with high of this candlestick as SL.
Bursa Malaysia Index SeriesERVIEW
This indicator is intend to display Bursa Malaysia Index Series.
█ FEATURES
1. Choose available sector based on Bursa Malaysia Index.
2. Plot close or OHLC.
3. Color of Closing price plot adapt to chart background color.
4. Font size can be selected.
█ EXAMPLES / USAGES
Prior day and pre-market high lowThis indicator displays the:
- Prior day high
- Prior day low
- Pre-market high
- Pre-market low
as a coloured line across the entire session for each individual session on an intraday chart.
For the extended session, this indicator marks the prior day and pre-market high low for each individual session starting at the pre-market and ending in the post-market, a feature not available on other indicators.
This indicator automatically marks out the levels for the prior day and pre-market high low for each individual session, allowing the user to observe how the price action behaves around the prior day and pre-market high low.
Note:
In this script, request.security() used with lookahead = barmerge.lookahead_on to fetch prices without offsetting the series by for the extended session does not access future data. This is because for extended session, request.security() sees the start of the session to be at the start of the regular session and ends at the end of the pre-market, when in reality the session starts at the start of the pre-market and ends at the end of the post-market.
Hence in each extended session when the line is first drawn in the pre-market, request.security() returns the value of the prior day high/low, and not future data.
HL-D Close Fraction Oscillator | AdulariDescription:
This indicator calculates the difference between price high's and low's, and fractions it by the close price. If it calculates the difference between a high and low or low and high is defined by whether the current close is higher than the previous close. It is then also rescaled to ensure the value is always appropriate compared to the last set amount of bars.
This indicator can be used to determine whether a market is trending or ranging, and if so in which direction it is trending.
How do I use it?
Never use this indicator as standalone trading signal, it should be used as confluence.
When the value is above the middle line this shows the bullish trend is strong.
When the value is below the middle line this shows the bearish trend is strong.
When the value crosses above the upper line this indicates the trend may reverse downwards.
When the value crosses below the lower line this indicates the trend may reverse upwards.
When the value crosses above the signal this indicates the current bearish trend is getting weak and may reverse upwards.
When the value crosses below the signal this indicates the current bullish trend is getting weak and may reverse downwards.
Features:
Oscillator value indicating the difference between highs and lows fractioned by the close price.
Signal indicating a clear trend and base line value.
Horizontal lines such as oversold, overbought and middle lines, indicating possible interest zones.
How does it work?
1 — Define trend by checking if current close is above or below previous close.
2 — If the current close is above the previous close, calculate the oscillator's value using this formula:
(high - low) / close
2 — If the current close is below the previous close, calculate the oscillator's value using this formula:
(low - high) / close
3 — Smooth the original value using a specified moving average.
4 — Rescale the value using this formula:
newMin + (newMax - newMin) * (value - oldMin) / math.max(oldMax - oldMin, 10e-10)
5 — Calculate signal value by applying smoothing to the oscillator's value.
OHLC ToolOHLC Tool allows you to display Current or Historical OHLC Values as horizontal lines that extend to the right on your chart.
Features
Variable Lookback to display a specific historical bar's values. Default = 1 (Previous Candle)
Customizable Timeframe to view HTF Candle values.
Custom Line Colors, Styles, and Thicknesses.
Price Scale Value Display Capability.
For displaying the line values and labels on the price scale you will need to enable:
"Indicator and financials name labels"
and
"Indicator and financials value labels"
These options are found in the Price Scale Menu under Labels. Price Scale Menu > Labels
When you do this you will notice your other indicator values will also be on the price scale,
if you wish to disable these, go to the indicator settings under the "Style" Tab, Uncheck the "Labels on price scale" box.
Indicator Settings > Style > "Labels on price scale"
Enjoy!
Line Chart with circles on sub chart / LineChart no CandlesLine Chart with circles as a subchart. The circle will appear only after the candle has been confirmed.
Things you can change:
- Source: open, high, low, close, hl2, hlc3, ohlc4, hlcc4
- Color: change the color of the line and the circles
have fun with it!
Range Gap/Open to Close/Close to CloseThis indicator shows the percentage variation of:
gap
close to close (day including gap)
open to close (without gap)
The green bars represent the days when the variation did not reach the selected range. The red bars show the days when the variation was higher than the selected range.
Best timeframe : DAY
Dashboard (chlo) - v1I am an aircraft maintenance technician who is trying to get into software development in the financial sector.
This is a project in which a dashboard of other security(stocks) with open, close, high, and low will appear.
I could compile this after a detailed study of different dashboards and pine script for several hours
hope you like this.
Cipher Twister - Long and ShortINTRO / NOTES:
This script is based on Market Cipher B Oscillator by Falcon
The difference in this script is that only the useful points are printed on the indicator, namely Long and Short Trade Execution signals to be used by a bot, namely the PT Bot.
The script also differs from the original that it has been upgraded to Pinescript v4
This oscillator can be used with ALL time frames, but generally works the best on 15 minute and 1 hour charts on ANY market, no matter, stock, forex, crypto, spot, futures, derivatives, Nasdaq etc...
DEFINITIONS:
This oscillator forms the foundation of Buy and Exit of Long and Short Trades.
There are 2 'Red' Lines at the top of the channel and 2 Green Lines at the bottom of the channel.
These two channels are set at default to be +53 / -53 and +60 / -60 respectively. These two lines will serve as the threshold point if one is to make cautious trades only.
There is a center line which divides the Oscillator into two parts. Above the center line, the market is in over bought territory and Below the center line is in over sold territory.
'Red' dots are drawn by the indicator to represent a potential Short (or a signal to exit from a Long position)
'Green' dots are drawn by the indicator to represent a potential Long (or a signal to exit from a Short position)
The 'Red' and 'Green' dots are draw when a Cross between both wt1 & wt2 cross, thus providing a fantastic indication of potential trend reversal and entry/exit of a position.
STRATEGY NOTES:
The strategy to use this indicator with for realistic and proper results would be to use it with an automated Trading Bot such as Profit Trailer (PT-BOT)
You could use this strategy manually, however it would mean you would need to sit in front of the screen all day and night long and activate the trades immediately after the 'red'/'green' dots are drawn. Usually this will result in non-optimal entries and exits as well as loss on various instances when a 'red' and 'green' dot are printed close together (which is usually when the market goes into correction/consolidation) and slow entries/exits will result in a loss rather than a small profit or exit at BE (Break Even)
ACTUAL STRATEGY (For use with automated bot)
To be used in conjunction with Heikin Ashi Candles for added cautionary measures
For LONGs ONLY
--------------------
1/ When 'Green' dot is drawn, ACTIVATE Long Position
(Use 1.5% Risk Management for each trade)
(Use Lot size based on 1.5% risk management and xLeverage (if any))
2/ Make sure bot Opens an SL (Stop Loss) value based on 1.5% Risk Management
3/ When 'Red' dot is drawn, CLOSE Long Position.
*If you want to add extra caution to your trade, only activate the trade if the 'Green' dot is BELOW the 'Green' Markers
*For added caution, use color coded Heikin Ashi candles to 'confirm' Activation and Closing of a trade in the bot configuration
---------------------------------------------------------------------------------------------------
For SHORTs ONLY
--------------------
1/ When 'Red' dot is drawn, ACTIVATE Short Position
(Use 1.5% Risk Management for each trade)
(Use Lot size based on 1.5% risk management and xLeverage (if any))
2/ Make sure bot Opens an SL (Stop Loss) value based on 1.5% Risk Management
3/ When 'Green' dot is drawn, CLOSE Short Position
*If you want to add extra caution to your trade, only activate the trade if the 'Red' dot is Above the Red Markers
*For added caution, use color coded Heikin Ashi candles to 'confirm' Activation and Closing of a trade in the bot configuration
---------------------------------------------------------------------------------------------------
Supplementary Notes:
Make sure that your bot configuration will only activate ONE TRADE when the 'Green'/'Red' dot appears.
Occasionally during high volatility , 'red'/'green' dots will appear intermittently before remaining drawn, thus the oscillator 'redraws' the dots during market movement.
There will be times where occasionally a 'green' dot or a 'red' dot will appear, the trade will be opened, but the trade will fail due to the market manipulation (algorithm/market maker bots/fake volume etc), to wipe out those trading on derivatives and futures markets using leverage. Do not worry about this, no bot can make 100% wins, no strategy will achieve 100% win ratio and one necessarily doesn't need a high win ratio when using strict money management practices with your trading for SL and lot size.
If you use this method, you will see great results, but again I must stress, using this method with a fully automated bot is the only way to achieve proper results.
DW-MTF-Close Price(1W/3D) as Support LineThis simple study shows closing price of higher timeframes on your chart. Be sure to use a lower timeframe on your chart itself.
High/Low/Open/Close Daily, Weekly, Monthly Line
I wrote this for the purpose of saving time while marking up charts by automating the process of drawing and labeling lines at areas of interest on larger
timeframes while still having the option to change the style and size of the lines and labels to adjust for any timeframe and avoid a messy chart.
I also used this as an exercise in menu organization giving users every imaginable option and producing clean readable code.
- This indicator draws a line on the Daily, Weekly, and Monthly bar at the High, Low, Open and Close of each bar as price
tends to react when revisiting these areas.
- Each set of bars has an optional identifying label with its own color set that can be shown with or without the lines
price value, and has drop down menus for size and style of each set of labels.
- Each set of lines has inputs for line/text color, line width and style, and can be hidden if the user doesn't have the need for any particular timeframe.
- Lines and Labels with delete when a new line is created.
- I recommend going into Chart Settings/Status Line and turning off indicator arguments OR moving the script to the top
of the indicator list to avoid an obstructed chart view with this indicators arguments. When Pine allows, I will update it to hide them.
Contains some public domain code from T.V. manuals and tutorial for creating drop down input menus for options.
/ ~For My Pal Jittery~
~ Who likes his clean chart and custom colors~
Baseline (BL)My baseline study lets you compare price to the previous days close. You can select the time frame for this baseline. I have included the ability to use a custom period length or your own anchor value. Custom anchor values are great for comparing the price to your cost average. The features I have included are bar color and background color.
I liked the idea of the 'baseline" chart but I didnt like the implementation.
Enjoy
Percent Levels From Previous CloseThis indicator plots on the chart +/- 1% / 2% / 3% ranges based on the previous day's close levels.
Disclaimer :
Success in trading is all about following your trading strategy and indicators should fit into your own strategy, and not be traded purely on.
This script is for informational and educational purposes only. Use of the script does not constitute professional and / or financial advice. You are solely responsible for evaluating the outcome of the script and the risks associated with using the script. In exchange for the use of the script, you agree not to hold monpotejulien TradingView user responsible for any possible claims for damages arising out of any decisions you make based on the use of the script.
Close Over/Under LevelIf you want to be alerted when a price closes above or below a given level(s), then this indicator is for you! 😁 Whether you're looking for a breakout, or some change of structure, etc, this should come in handy.
Usage:
Just add a level(s) (anything above 0).
Optionally plot lines.
Set alerts as normal.
Enjoy!
HLC True Strength Indicator (with Vix)HLC True Strength Indicator Volume Weighted with Vix Line by SpreadEagle71
This indicator is a True Strength Indicator with Close, High and Low used together, along with the TSI of the Vix.
The white line is the close. The red line is the lows and the blue is the highs. These are also volume-weighted.
How to Interpret:
1. zero line crosses. If SPY/SPX500 crosses the zero line, then its bullish. If the purple Vix line crosses up, watch out because this is bearish.
2. white/blue/red lines cross purple (Vix). If they cross upwards, this is bullish. If downward, this is bearish. Basically, SPX, ES1!, SPY or even DIA can be used. The security and the Vix should travel in opposite directions and cross the zero-line at the same time. But this is not always the case.
3. Black area infills. These are used between the close and the highs (blue) and the lows(red). Close should not be between these in order to have momentum.
4. Close (white line) leads. Close is the last price so it tends to show where the others (highs and lows) are going. If the close is sagging below a high where the blue lines are on top, this could mean that there is a reversal coming. Same holds true for a white line above a "valley" formed by the blue and red lines; it could mean a reversal to the upside soon.
5. The Black Infill areas as a squeeze or contraction/expansion area. The thinner the black infill areas, the more of a momentum "squeeze" could be present. Wide black infill areas mean increased volatility and what may come next is a reversion to the mean for volatility. See TTM Squeeze Indicator or the Squeeze Momentum Indicator (kudos LazyBear).
Lastly, just remember indicators indicate; they are not magic. :)
SpreadEagle71
Key Levels// How it Works \\
Calculating Previous Days, Weeks and Monthly open, high, low, close and vwaps
Plots these levels on your chart
// Settings \\
You can enable/disable any of the levels you want to see
You can also change the amount of bars back the levels are plotted back to
// Use Case \\
These levels are often used in different methods of Technical analysis for support and resistance.
// Suggestions \\
Happy for anyone to make any suggestions on changes which could improve the script,
// Terms \\
Feel free to use the script, If you do use the script could you please just tag me as I am interested to see how people are using it. Good Luck!
Close strength lineThe close strength line shows how much the strength in the current up/down trend actually present.
We calculate it by difference between High-Low and the way it moves with respect to Close moving averages.
You can change intervals from settings.
Use this in combination with any other moving average indicator e.g. EMA 13
when Close line is below other indicators/priceline, it is Uptrend and close line acts as support.
when Close line is above other indicators/priceline, it is Downtrend and close line acts as resistance.
You can also use Close line as potential Targets for Buy or Short trades depending on it's direction with respect to price line last Close.
Close Combination Lock Style - Visual AppealThis creates a combination style closing price change on each tick.
It has two theme options, one as silver dials for Dark Theme and the other as black dials for White Theme.
We get fixated to watching closing prices on charts and it gets visually daunting. This creates a combination style price change which updates on each tick, which is quite pleasing to the eye.
When new price is above current center line, it shift the above prices showing ▲ arrow, and if new price is lower, it will shift the bottom prices showing ▼ arrow. If there is no change in price between the ticks, it will show =.