Pi - Intraday High-Low Predictor
Pi - Intraday High-Low Predictor
This is not my Strategy/Research , I've just coded it into a indicator.
I found it interesting & useful so I'm sharing it here.
This Strategy/Research is by Kshirod Chandra Mohanty ( y-o-u-t-u-b-e : Trade with IITIAN )
You can watch his video on y-o-u-t-u-b-e for more info on this one.
the video has following title :
"1Cr Paid Strategy For Free || 10000 Subscribers Special Giveaway || How to find Day High or Low"
This will not tell you which is day high or day low, but it will help you to predict the day high from a day low and day low from a day high.
It will give you a possible range to which the prices could move to.
He has explained/used this on Banknifty.
How to Find out Day High from Day Low & Day Low from Day High :-
He uses the value of Pi (3.14) and the Range of 1st 5minute candle to find out the possible highs from day low and the possible lows from day high.
Range = value of Pi * 1st 5minutes Range
Small range = Range / 2
Large range = Range + Small range
so to find out the possible lows from day high we do following calculations
Small range low = day high - Small range
Range low = day high - Range
Large range low = day high - Large range
and to find out the possible highs from day low we do following calculations
Small range high = day low + Small range
Range high = day low + Range
Large range high = day low + Large range
Note :- This Indicator does Repaint in following ways,
As the script uses the Day High to predict the possible lows ,
so if it's an up-trending day and price keeps on making new High's then the ranges for lows will keep on changing.
similarly the script uses the Day Low to predict the possible high's ,
so if it's an down-trending day and price keeps on making new Low's then the ranges for highs will keep on changing.
My observations / thoughts about this :-
This script does not provide buy/sell recommendations. it just provides possible ranges to where prices can go from Day-High & Day-Low.
It's better to avoid trading when the price is trading between the Small range high & Small range low levels.
As it has high probability that it will be a range bound day and price will stay in between those two levels.
There is a high probability that it will be a trending day if price breaks either the Small range high/low ,
then the price could move to Range low/high.
If price breaks from Range High/Low then there is a high probability that it will be a trending day and the price could move to Large Range low/high.
Note :- If you want to use this on instruments/scripts/indexes which are active for large session such as forex/cryptos , then i suggest that you use the Opening Range period of 4Hours i.e 240minutes, to get better results.
using the default setting of 5minutes will not give good results on them.
play around with this value to find out which one suits that instrument/script/index the best.
Don't trust these levels blindly, do backtest or live testing of this then use for real trade if you want.
Use Price action near these levels to make any trading decision's.
The script provides following options :
1. Option to display Ranges in a Table (which you can enable/hide as you wish)
You can set the Table's location, size , background color & text color according to your preference.
2. Option to enable/hide Predicted-Highs from Day-Low on chart.
3. Option to enable/hide Predicted-Lows from Day-High on chart.
4. Option to set the Opening range period - here you can select your preferred opening range for calculation purpose.
5. Option to enable/hide historical levels on chart.
6. Options to customize the colors & line styles for lines.
7. Options to customize the colors , position & size for labels.
High
Extended Session High/Low - Intraday and daily chartsThis script plots the extended session highest high and lowest low levels. It works on any time frame from 1 minute to daily.
Please note that during the extended session, TradingView stops updating the daily chart. This means that once the script is loaded on a daily chart, it will not be updated until the market opens, unless you manually reload the layout (Ctrl+R). For this reason, it is recommended to use a multi-timeframe layout, so when the pre/post market line is near the extended session high/low on the daily chart, you can compare these values with those on an intraday chart of the same ticker.
The extended session high/low are important for day traders because they represent the maximum and minimum limits within which the trades have taken place during the extended trading hours. This can make them levels of support/resistance that can be useful for planning trend following, reversal and range-bound strategies.
By displaying the extended session high/low on the daily chart, traders can also see if there are any significant levels nearby that are related to the daily time frame, such as trendlines, support/resistance levels, or moving averages. This can help the trader evaluate whether there is enough room for a price movement in the direction of his trading strategy.
Expected Move Plotter [CHE]Expected Move Plotter
"There is magic in everything new."
Introduction:
This script is an indicator for financial trading that plots the expected movement of a security based on the average range over the last five periods. The script is written in Pine Script, a high-level programming language used for creating technical indicators, strategies, and other trading tools for the TradingView platform.
Inputs:
Percentage of Open and Close: This input specifies the percentage of the open and close price to use for the expected movement.
Time Periods: The script takes the different time periods into account and translates them to either 60 seconds, 240 seconds, 1 day, 3 days, 7 days, 1 month, 3 months or 12 months.
Calculation:
The script uses the "Open" and "High"/"Low" values of the last 5 periods to calculate the average range and plots the expected movement above and below the current open price. The plot is either green or red depending on whether the expected move is above or below the current close.
Code Breakdown:
The script starts by defining three integer constants: MS_IN_MIN, MS_IN_HOUR, and MS_IN_DAY, which represent the number of milliseconds in a minute, hour, and day, respectively.
The function timeStep_translate() returns a string that represents the timeframe for a chart based on the current timeframe. The function first converts the chart's timeframe to milliseconds and then uses a switch statement to determine the string value to be returned based on the number of milliseconds in the timeframe.
The script then retrieves the data for the open, high, and low values for the last five periods. The high and low values are used to calculate the average range, which is then used to plot the expected movement above and below the current open price.
Conclusion:
This script provides traders with a visual representation of the expected movement of a security based on the average range over the last five periods. It takes different time periods into account and provides a clear indication of whether the expected move is above or below the current close. The script is easy to use and provides a useful tool for traders looking to make informed trading decisions.
Best regards Chervolino
AIO Key LevelsAll In One Key Levels - Displays key levels for any type of chart.
Over 30 levels at your complete disposal.
Filled with a host of features that allow you to customise the appearance and display of the indicator to suit your individual trading style.
The result is a clear and concise indicator that helps traders easily identify key levels.
- The indicator is easy to use and does not need a detailed description.
- With customisable input parameters such as display style, line style, font style, offset, threshold and index.
- The colours for the key levels can also be customised.
- The script uses a 'switch' function and selected input parameters to set display, line and font styles.
- The key levels are constructed using the data received and the selected styles and colours.
- A unique cycle helps to improve the readability of the levels without "polluting" the graph with multiple labels
- In addition, I have left hints in the indicator to help you understand it better.
For Pine coders.
Why did I create it when there are many counterparts?
Simply because counterparts have very large and complex code and modest functionality and flex.
Here I have managed to fit it into 100 lines still readable.
You can learn how to call lots of lines and marks with just one function.
I also created a unique loop that connects labels if they are too close together for better visibility on a plot.
I have left detailed comments for each action.
I would be glad if someone could tell me how to make it more easier.
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.
Simple Zigzag UDT█ OVERVIEW
This indicator displays zigzag based on high and low, which is using user-defined types (UDT) or objects .
█ CREDITS
LonesomeTheBlue
█ FEATURES
1. Label can be resized.
2. Label can be display either short (Eg : HH, LL, H, L, etc) and long (Eg : Higher Low, etc)
3. Color can be customized either contrast color of chart background, trend color or customized color.
█ EXAMPLES / USAGES
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!
Session High and Low IndicatorThis script is meant for stocks that have a pre-market session. It is meant to be used on the 1 min time frame. This script will draw a green line at the high of pre-market, and a red line at the low of pre-market and extend these lines across the regular session day
This makes it easy to see if price action during regular market has broken above pre-market high or broken below pre-market low.
The high/low skips any quick spikes in price action (similar to what happens at 8:30 am every day).
Heiken Ashi Swing High/LowIt uses Heiken Ashi candles to detect recent swing high and low.
It can be used as a stop-loss or support/resistance indicator.
EVA - Daily Candle BoxThis is a very simple indicator who display few information about the LAST daily candle. ( it is possible to change the timeframe to have information about last week or last hour )
The green background zone is the channel between last daily candle close and last daily high.
The red background zone is the channel between last daily candle close and last daily low.
The middle line display the last daily candle close.
You can desactivate some display , and let just what you need.
If you have any idea to improve it , let me a message !
Asymmetric Dispersion High Lowdear fellows,
this indicator is an effort to determine the range where the prices are likely to fall within in the current candle.
how it is calculated
1. obtain
a. gain from the open to the high
b. loss from the open to the low
in the last 20 (by default) candles and
in the last 200 (10*20 by default) candles
2. perform
a. the geometric average (sma of the log returns) over these gains and losses
b. their respective standard deviation
3. plot from the open of each candle
a. the average + 2 standard deviations (2 by default) of the short window size
b. same for the long window size (which is overlapped)
what it shows
1. where the current candle is likely to move with 95% likelyhood
how it can be interpreted
1. a gauge for volatility in the short and long term
2. a visual inbalance between likelyhood to go up or down according to dispersion in relation to current prices or candle open.
3. a confirmation of crossings of, for instance, support and resistances once the cloud is completely above or below.
in regard to bollinger bands (which are and excellent well proven indicator)
1. it segregates upward moves from the downward ones.
2. it is hardly crossed by prices
3. it is centered on the current candle open, instead of the moving average.
we welcome feedback and critic.
best regards and success wishes.
inChart - LibLibrary "inChart"
determine if price value is between chart high + x% and low - x% on the visible chart.
inChart()
Multi Timeframe Support & ResistanceAbout This Indicator
This indicator plots support (pivot low) and resistance (pivot high) using the chart timeframe and second editable timeframe.
How it can be useful
Having higher timeframe support and resistance plotted on a lower timeframe chart helps keep you grounded in the current range the price is in. This can be useful when wanting to avoid taking longs at resistance and shorts at support.
How to use
Adjusting the look back and look ahead will impact how frequently the support and resistance lines move. When Price breaks above resistance or below support, the lines will not move until a new pivot high and pivot low are detected.
Disclaimer: Not Financial Advice
Net New Highs/Lows (With visible code)Basically the same script than Carusolnsights but without hidding the lines of code...
"This indicator displays the net number of stocks on the Nasdaq Composite making 52-week highs or lows. For instance, if there are 60 new 52-week highs and 20 new 52-week lows, the net number will display 40 net new 52 week highs. This indicator is particularty useful in gauging what the breadth is of the Nasdaq.
Three days of net 52-week highs show a healthy market which is conducive to increasing exposure. This condition is highlighted with a green background.
Three days of net 52-week lows show an unhealthy market which is conducive to reducing exposure. This condition is high|lighted with a red background."
Liquidity Raids and Sweeps by TexmoonbeamLiquidity is a vital concept in trading. It gives us an indication of where buy / sell orders are in the market, and the direction price is likely to move once this liquidity has been taken.
The purpose of this indicator is to show you when and where there has been a 'raid' or 'sweep' of this liquidity, meaning a reversal might occur.
The indicator does this by looking for candle wicks, that go beyond a previous pivot high or low.
Settings:
Timeframe – This settings changes the timeframe that the indicator looks for raids/sweeps. Higher timeframes generally mean stronger moves.
Left bars – the number of bars gap higher/lower to the left of a pivot low/high. A higher number means the high or low was formed from a stronger move.
Right bars – the number of bars gap higher/lower to the right of a pivot low/high. A higher number means the high or low started a stronger move.
Max Gap – the maximum number of candles between a raid or sweep. Reduce this number on higher time frames if there are memory errors.
Min Gap – the minimum number of candles between a raid or sweep.
Alerts Wait For Close – If ticked, this means an alert will not be triggered by the current candle wick, overlapping a previous, until the close of that candle. Unticked you will be alerted as soon as the current candle crosses a previous high/low, though it might close far beyond that point and not actually turn out to be a raid/sweep.
Buy Side/Sell Side – line style and colour preferences for buy and sell side.
Strategy:
As seen in the example chart, the raid/sweep of liquidity, where only a wick reaches beyond a previous high or low, can be followed by a reversal of direction, often to seek other liquidity targets. This indicator could provide an opportunity to enter a trade at this point and the alert feature means you will be able to set up custom alerts on multiple charts or timeframes.
You should use other confluence and a lower time frame confirmation after a raid/sweep, to identify your entry, stop loss and targets. Familiarity with liquidity and smart money concepts are recommended.
AllTimeHighLowLibrary "AllTimeHighLow"
Provides functions calculating the all-time high/low of values.
hi(val)
Calculates the all-time high of a series.
Parameters:
val : Series to use (`high` is used if no argument is supplied).
Returns: The all-time high for the series.
lo(val)
Calculates the all-time low of a series.
Parameters:
val : Series to use (`low` is used if no argument is supplied).
Returns: The all-time low for the series.
All-In-One Sessions, Weekly, Monday, Previous Highs/LowsWe are forever drawing key levels on our charts with saved drawing templates, but finding the levels, adding the labels, is all tedious stuff. We have indicators, but we have multiple different ones at a time.
What if you could just tick a box on/off?
Well now you can.
This all in one 'levels' indicator is designed to show all the key highs and lows from previous weeks, Monday, the current week, as well as an option to highlight the market sessions and their highs and lows.
There are lots of options available for extending lines and choosing their colors, so once you have set it up how you want, don't forget to save YOUR defaults.
Oorah.
Mark StructureMark Structure is building the market swing structure, minor and sub structure and marks all possible insignificant pivots
Building such structure is really complex task to do, that has a lot of obstacles and challenges. I'm doing my best to develop this indicator behaving in absolutely expectable and right way. Fill free to leave any comments or bug reports.
it supports:
- Marking all pivots with labels or join them continuously with trend lines.
- Marking minor and sub structured swings with labels or join them continuously with trend lines. Marking BOS or SMS BOS, which are mbos. Minor and substructure are structures inside swing structure and it can differ from the structure of lower timeframe
- Marking swings of swing structure with labels or join them continuously with trend lines. Marking BOS or SMS BOS of swing structure
- Changing bullish and bearish colors of each kind of structures
- Changing pivot labelings
- Changing colors of BOSs
Remarks:
- As I told you guys before, it has a lot of challenging cases. eg we have swing low and high on the same candle and in order to decide which pivot goes first I take lower time frame data to figure out what pivot is the first, but it happens that on lower time frame the same issue takes place, due to limitation of TradingView I can't go infinitely to lower timeframes to solve this issue, so I mark those cases with labels
- Another issue is very beginning of the trend its hard to detect swing structure there due to missing historical data. so skip a few waves in the very beginning
- Don't expect to have minor and sub structure in each swing waves, its totally fine when you don't have them at all
- Swing structure is the most significant structure and shows real price direction. Trend change is confirmed when for bull->bear the last HLbull LH>HH and HH-HL-HH are confirmed. You can change labelling for unconfirmed swing trend in the settings. By default its already done
Mondays Range by B1rdPlots mondays range (high, low and optionally average)
Features:
Added the option to extend the range for the entire week or just monday
Added the option to display if the high or low of the range has been taken and removes the level aftwards
Added the option to only display the current week
Added the option to visualize new weekly sessions
Added the option to mark mondays with a seperate background
Will update the script based on suggestions
PharshK RSI and Zigzag with H/LIt is with RSI level
and Zigzag Pattern that Market goes on Maximum level and Lower Level
And it is also Showing High and Law Level of last Moving Candle so it is easy to entry and Hold
Day Week Month High & LowThis is a small little script that helps visually mark the high and lows of the DAY, WEEK or MONTH (of your choosing). It's best when paired with my High and Low Fibonacci Pivot Points indicator to help emphasize the high and lows of the day, week or month.
High and Low Fibonacci Pivot PointsThis is a standard fibonacci retracement level indicator and free to use for all. I couldn't find any decent retracement levels that works for me (and definitely wasted money on paid script access that didn't work so well for my trading style), so I created this for my own use and now sharing it with the TradingView community. Fibonacci retracement levels help traders predict key areas where a stock/security may find support or resistance. The common ratios are available, such as 23.6, 38.2, 61.8 and so forth. You can choose from Day, Week or Month for your fibonacci retracement lines. In order to keep in sync with my particular style of keeping charts nice and clean, I've created this indicator with defaults to use friendly color schemes. You can of course, choose another color, etc... that fits your own taste. All of my published scripts utilize TradingView's version 5 scripting.
Main Features:
- Show or hide pre-market high and lows (the pre-market high & lows are hidden by default)
- Show or hide the 1-hour 20 EMA line (hidden by default, as this is more uncommon than the 1-hour 50 EMA line for potential support or resistance)
- Show or hide the 1-hour 50 EMA line
- Show or hide the fibonacci retracement lines (the 50% line is hidden by default)
- Option to allow the fibonacci retracement lines to start out the first few minutes of market open to use the pre-market high & low. Once the stock/security price breaks either the pre-market high or pre-market low, it reverts to using the day's high and low. This only works on chart timeframes under the daily time frame.
FYI:
All customizable settings have a help/info window. Please refer to the help/info window, if you're unsure of what a setting does what. Also, note that I wrote and published this script after market close, so I haven't had the chance to check/test if everything works, which can only be fully verified during market open hours (for non-crypto securities).
* Please note that this script is in its early beta stage and there could be bugs. This is being provided as is and the information provided by this script is meant for informational/entertainment purposes only.
Lune Market Analysis Premium- Version 0.9 -
Lune Algo was developed and built by Lune Trading, utilizing years of their trading expertise. This indicator works on all stocks, cryptos, indices, forex, futures , currencies, ETF's, energy and commodities. All the tools and features you need to assist you on your trading journey. Best of all, Lune Algo is easy to use and many of our tools and strategies have been thoroughly backtested thousands of times to ensure that users have the best experience possible.
Overview
Trade Dashboard—Provides information about the current market conditions, Such as if the market is trending up or down, how much volatility is in the market and even displays information about the current signal.
Trade Statistics—This tool gives you a breakdown of the Statistics of the current selected strategy based on backtests. It tells you the percentage of how often a Take Profit or Stop Loss was hit within a specific time period. Risk and Trade management is very important in trading, and can be the difference between a winning and losing strategy. So we believe that this was mandatory.
Current Features:
Advanced Buy and Sell Signals
Exclusive built-in Strategies
Lune Confidence AI
EK Clouds
Reversal Bands
Vray (Volume Ray)
Divergence Signals
Reversal Signals
Support/Resistance Zones
Built-in Themes
Built-in Risk Management system (take profit/stop loss)
Trade Statistics
Trade Assistance
Trade Dashboard
Advanced Settings
+ More coming soon, Big plans!
Features Breakdown:
Lune Confirmation—Used to help you confirm your trades and trend direction. It uses unique calculations, and its settings can be adjusted to allow traders to adapt the settings to fit their trading style.
Lune Confidence AI—All strategies are equipped with our exclusive built-in Confidence AI. This feature tells you how much confluence there is in a trade. It uses a rating system where signals are given a number from 0 to 5. A rating of 0 indicates that there is not a lot of confluence or confidence in the signal, while a rating of 5 indicates that there is a lot of confidence in the trade. This feature is not perfect and will be improved overtime.
Support/Resistance Zones—Calculates the most important support/resistance levels based on how many times a level has been used as support or resistance. Traders also refer to these as supply and demand zones and key levels.
EK Clouds—Used to further help you confirm trend and was optimized to also be used as support and resistance. This feature is powered by custom moving averages.
Reversal Bands—An optimized and improved version of the infamous Bollinger Bands. When price action takes place within the Reversal Bands it usually indicates that the current symbol is overextended and a reversal is possible.
Vray—Also Known as "Volume Ray", Assists you in better visualizing volume. This helps you find key levels and areas of support that you wouldn't be able to see otherwise. It helps you trade like the institutions.
This indicator's signals DO NOT REPAINT.
If you are using this script you acknowledge past performance is not necessarily indicative of future results and there are many more factors that go into being a profitable trader.