Support & Resistance AI LevelScopeSupport & Resistance AI LevelScope
Support & Resistance AI LevelScope is an advanced, AI-driven tool that automatically detects and highlights key support and resistance levels on your chart. This indicator leverages smart algorithms to pinpoint the most impactful levels, providing traders with a precise, real-time view of critical price boundaries. Save time and enhance your trading edge with effortless, intelligent support and resistance identification.
Key Features:
AI-Powered Level Detection: The LevelScope algorithm continuously analyzes price action, dynamically plotting support and resistance levels based on recent highs and lows across your chosen timeframe.
Sensitivity Control: Customize the sensitivity to display either major levels for a macro view or more frequent levels for detailed intraday analysis. Easily adjust to suit any trading style or market condition.
Level Strength Differentiation: Instantly recognize the strength of each level with visual cues based on how often price has touched each one. Stronger levels are emphasized, highlighting areas with higher significance, while weaker levels are marked subtly.
Customizable Visuals: Tailor the look of your chart with customizable color schemes and line thickness options for strong and weak levels, ensuring clear visibility without clutter.
Proximity Alerts: Receive alerts when price approaches key support or resistance, giving you a heads-up for potential market reactions and trading opportunities.
Who It’s For:
Whether you're a day trader, swing trader, or just want a quick, AI-driven way to identify high-probability levels on your chart, Support & Resistance AI LevelScope is designed to keep you focused and informed. This indicator is the perfect addition to any trader’s toolkit, empowering you to make more confident, data-backed trading decisions with ease.
Upgrade your analysis with AI-powered support and resistance—no more manual lines, only smart levels!
AND
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
OrderBlock [kyleAlgo]The principle of this indicator
ATR (Average True Range) Setting: The code uses ATR to help calculate the Supertrend indicator.
Supertrend Trend Direction: Identify bullish and bearish trends with the Supertrend method.
Order Block Recognition: This part of the code recognizes and creates order blocks, visualizing them as boxes on the chart. If the number of blocks exceeds the maximum limit, old blocks will be deleted.
Function to prevent overlapping: check whether the new order block overlaps with the existing order block through the isOverlapping function.
Order block color setting: The code sets the color according to whether the block is bullish or bearish, and whether it breaks above or below. Afterwards the color of the existing order blocks will be updated.
Sensitivity settings: Through the input settings of factor and atrPeriod, the sensitivity of Supertrend and the detection of order blocks can be affected.
Visualization: Use TradingView's box.new function to draw and visualize order blocks on the chart.
Practicality:
Support and Resistance Levels: Order blocks may represent areas of support and resistance in the market. By visualizing these areas, traders can better understand when price reversals are likely to occur.
Trading Signals: Traders may be able to identify trading signals based on the color changes of blocks and price breakouts. For example, if the price breaks above a bullish block, this could be a signal to buy.
Risk Management: By using ATR to adjust the sensitivity of Supertrend, the symbol helps traders to adjust their strategies according to market volatility. This can be used as a risk management tool to help identify stop loss and take profit points.
Multi-timeframe analysis: Although the code itself does not implement multi-timeframe analysis directly, it can be done by applying this indicator on different timeframes. This helps to analyze the market from different angles.
Flexibility and Customization: Through sensitivity settings, traders can customize the indicator according to their needs and trading style.
Reduced screen clutter: By removing overlapping order blocks and limiting the maximum number of order blocks, this code helps reduce clutter on charts, allowing traders to analyze the market more clearly.
Overall, this "Pine Script" can be a powerful analytical tool for trend traders and those looking to improve their trading decisions by visualizing key market areas. It can be used alone or combined with other indicators and trading systems for enhanced functionality.
Support and Resistance Backtester [SS]Hey everyone,
Excited to release this indicator I have been working on.
I conceptualized it as an idea a while ago and had to nail down the execution part of it. I think I got it to where I am happy with it, so let me tell you about it!
What it does?
This provides the user with the ability to quantify support and resistance levels. There are plenty of back-test strategies for RSI, stochastics, MFI, any type of technical based indicator. However, in terms of day traders and many swing traders, many of the day traders I know personally do not use or rely on things like RSI, stochastics or MFI. They actually just play the support and resistance levels without attention to anything else. However, there are no tools available to these people who want to, in a way, objectively test their identified support and resistance levels.
For me personally, I use support and resistance levels that are mathematically calculated and I am always curious to see which levels:
a) Have the most touches,
b) Have provided the most support,
c) Have provided the most resistance; and,
d) Are most effective as support/resistance.
And, well, this indicator answers all four of those questions for you! It also attempts to provide some way to support and resistance traders to quantify their levels and back-test the reliability and efficacy of those levels.
How to use:
So this indicator provides a lot of functionality and I think its important to break it down part by part. We can do this as we go over the explanation of how to use it. Here is the step by step guide of how to use it, which will also provide you an opportunity to see the options and functionality.
Step 1: Input your support and resistance levels:
When we open up the settings menu, we will see the section called "Support and Resistance Levels". Here, you have the ability to input up to 5 support and resistance levels. If you have less, no problem, simply leave the S/R level as 0 and the indicator will automatically omit this from the chart and data inclusion.
Step 2: Identify your threshold value:
The threshold parameter extends the range of your support and resistance level by a desired amount. The value you input here should be the value in which you would likely stop out of your position. So, if you are willing to let the stock travel $1 past your support and resistance level, input $1 into this variable. This will extend the range for the assessment and permit the stock to travel +/- your threshold amount before it counts it as a fail or pass.
Step 3: Select your source:
The source will tell the indicator what you want to assess. If you want to assess close, it will look at where the ticker closes in relation to your support and resistance levels. If you want to see how the highs and lows behave around the S/R levels, then change the source to High or Low.
It is recommended to leave at close for optimal results and reliability however.
Step 4: Determine your lookback length:
The lookback length will be the number of candles you want the indicator to lookback to assess the support and resistance level. This is key to get your backtest results.
The recommendation is on timeframes 1 hour or less, to look back 300 candles.
On the daily, 500 candles is recommended.
Step 5: Plot your levels
You will see you have various plot settings available to you. The default settings are to plot your support and resistance levels with labels. This will look as follows:
This will plot your basic support and resistance levels for you, so you do not have to manually plot them.
However, if you want to extend the plotted support and resistance level to visually match your threshold values, you can select the "Plot Threshold Limits" option. This will extend your support and resistance areas to match the designated threshold limits.
In this case on MSFT, I have the threshold limit set at $1. When I select "Plot Threshold Limits", this is the result:
Plotting Passes and Fails:
You will notice at the bottom of the settings menu is an option to plot passes and plot fails. This will identify, via a label overlaid on the chart, where the support and resistance failures and passes resulted. I recommend only selecting one at a time as the screen can get kind of crowded with both on. here is an example on the MSFT chart:
And on the larger timeframe:
The chart
The chart displays all of the results and counts of your support and resistance results. Some things to pay attention to use the chart are:
a) The general success rate as support vs resistance
Rationale: Support levels may act as resistance more often than they do support or vice versa. Let's take a look at MSFT as an example:
The chart above shows the 334.07 level has acted as very strong support. It has been successful as support almost 82% of the time. However, as resistance, it has only been successful 33% of the time. So we could say that 334 is a strong key support level and an area we would be comfortable longing at.
b) The number of touches:
Above you will see the number of touches pointed out by the blue arrow.
Rationale: The number of touches differs from support and resistance. It counts how many times and how frequently a ticker approaches your support and/or resistance area and the duration of time spent in that area. Whereas support and resistance is determined by a candle being either above or below a s/r area, then approaching that area and then either failing or bouncing up/down, the number of touches simply assesses the time spent (in candles) around a support or resistance level. This is key to help you identify if a level has frequent touches/consolidation vs other levels and can help you filter out s/r levels that may not have a lot of touches or are infrequently touched.
Closing comments:
So this is pretty much the indicator in a nutshell. Hopefully you find it helpful and useful and enjoy it.
As always let me know your questions/comments and suggestions below.
As always I appreciate all of you who check out, try out and read about my indicators and ideas. I wish you all the safest trades and good luck!
Manual PnL (Profit and Loss) % Tracker - spot long only
This is a manual profit and loss tracker. It takes the user's manual input of total cost and quantity, and then outputs a table on the bottom right of the chart showing the profit or loss %, average purchase price, gross profit or loss, and market value.
Instructions:
1. Double click the indicator title at the top left of the chart
2. Select the "Inputs" tab and click the empty field next to "Symbol" to enter the traded symbol+exchange. This entry MUST be the same as the chart you are on, for example BTCUSDT/BINANCE (indicator will not display otherwise)
3. Enter the Total Cost and Qty of shares/coins owned
4. Optional - change positive or negative colors
5. Optional - under the "Style" tab, change the color of the average price (AVG) line
Note that for the average price (AVG) line to be shown/hidden you must enable/disable "Indicator and financials labels" in the scales settings.
For crypto or other tickers that have prices in many decimal places I would suggest, for the sake of accuracy, adjusting the decimal places in the code so that for prices under $1 you will display more info.
For example let's say you purchase x number of crypto at a price of 0.031558 you should change the code displaying "0.00" on line 44 to "0.000000"
This will ensure that the output table and plotted line will calculate an average price with the same number of decimals.
Fibonacci Ratios with Volatility(Weekly Time Frame.)Script is based on weekly time Frame. Fib ratios are drawn at the Open of the Market. Open price is compared with Previous week High , low and close. If weekly open is above Previous week high or low, Fib 0 % is plotted above High or the low as the case may be . If weekly open is between previous week high and low Fib 0% is equal to previous week Close and other fib ratios are plotted accordingly. As its vol based, works fantastically. This script is inspired by Fibonacci and Volatility script by PB GHOSH.
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
SST-V2this scrips is combination of Moving average that you can alter with buy and Sell signal.
it is easy to use. u can go with the trend as of the bar color turn to blue it is indcate tha ur in bullish trend
and with turn to red it indicate that your in down trend.
Use Ema 200 for trend confluences
hope you like it.
thank's
Sadflute
MTF High and Low FractionsMTF High and Low Fractions
Description
An experimental script that prints 1/3, 1/4 and 1/8 levels of the previous timeframe's high and low to the current timeframe. The idea is quite simple. It mirrors the the previous high and low with user selected levels. The default setting is the previous daily high and low but can be customized on user discretion.
New levels are printed after the close of the previous timeframe and open of the new timeframe (user's timeframe setting).
How To Use
Levels should not be used blindly. Levels can be used as confluence when aligned with high probability supply and demand zones, support, resistance, order blocks, and so on.
Fear and Greed Intraday IndexThis script uses all of the sub-components of my 'Fear and Greed Index' which can be used on intraday timeframes. Most of the components of this script are based on the popular fear and greed index website and are briefly described in the code comments.
Several of the subcomponents have been recalculated to use RSIs instead of being compared to moving averages, which means as opposed to being used a contrarian timing indicator as the daily timeframe Fear and Greed Index is, this indicator now may potentially be used more like a momentum indicator.
It's up to you!
Enjoy!
Fear and Greed IndexI couldn't find one based on the original, so I made my own, it's not quite identical, but it does the job.
Red = greed
Green = fear
I updated a lot of the subcomponents and fixed a bug. I've reduced the smoothing to 1, it was previously 5 if you prefer smoother signals. Also added a McClellan oscillator.
I've commented out the plotting of individual sub-components, just uncomment them to see what they do. Some look like pretty useful indicators on their own.
Enjoy!
Divergence-Support/ResistenceAnother script based on zigzag, divergence, and to yield support and resistence levels.
This idea started with below two concepts:
▶ Support and resistence are simply levels where price has rejected to go further down or up. Usually, we can derive this based on pivots. But, if we start looking at every pivot, there will be many of them and may be confusing to understand which one to consider.
▶ Lot of people asked about one of my previous script on divergence detector on how to use it. I believe divergence should be considered as area of support and resistence because, they only amount to temporary weakness in momentum and nothing more. As per my understanding
Trend > Hidden Divergence > Divergence > Oscillator Levels of Overbought and Oversold
⬜ Process
▶ Now combining the above two concepts - what we are trying to do here is draw support resistence lines only on pivots which has observed either divergence or hidden divergence. Continuation and indecision pivots are ignored.
▶ Input requires only few parameters.
Zigzag lengths and oscillator to be used. Oscillator periods are automatically calculated based on zigzag length. Hence no other information required. You can also chose custom oscillator via external source.
▶ Display include horizontal lines of support/resistence which are drawn from the candle from where divergence or hidden divergence is detected.
▶ Support resistence lines are colored based on divergence. Green shades for bullish divergence and bullish hidden divergence whereas red shades for bearish divervence and bearish hidden divergence. Please note, red and green lines does not mean they only provide resistence or support. Any lines which are below the price should be treated as support and any line which are above the price should be treated as resistence.
▶ Divergence symbols are also printed on the bar from where divergence/hidden divergence is detected.
↗ - Bullish Hidden Divergence
↘ - Bearish Hidden Divergence
⤴ - Bullish Divergence
⤵ - Bearish Divergence
▶ Script also demonstrates usage of libraries effectively. I have used following libraries in this code.
import HeWhoMustNotBeNamed/ zigzag /2 as zg
import HeWhoMustNotBeNamed/enhanced_ta/8 as eta
import HeWhoMustNotBeNamed/ supertrend /4 as st
Can be good combination to use it with harmonic patterns.
High_Low level plots for yesterday, pre market , regular, and AHthis study will plot yesterdays, high and low price, pre market's high and low price, regular day's high and low price and post markets high and low price.
First Week Trend [MX]I created this indicator based on one of my ways of analyzing the BTC trend in particular, I noticed that the break of the first weekly candle usually indicates the trend for the rest of the month.
This indicator has a bug in which if you change the timeframe of the indicator it will show erroneous values
If you use the candlestick chart, you will need to pull the visual order of this indicator to the top to overlay the colors of the standard candles, or simply hide the standard candles
the trend colors are bugged in timeframes other than the weekly
special thanks to @xdecow who helped me with the code
////////////////////////////////////////////////////////////////////////
Eu criei esse indicador baseado em uma das minhas formas de analisar a tendência do BTC em específico, eu notei que o rompimento do primeiro candle do semanal costuma indicar a tendência para o resto do mês.
Esse script tem um bug em que se mudar o timeframe do indicador ele irá mostrar valores errados
Se você usa o gráfico de candlesticks, você precisará puxar para o topo a ordem visual desse indicador para sobrepor as cores do candles padrões, ou simplesmente ocultar os candles padrões
as cores da tendencia estão bugados em outros timeframes diferentes do semanal
agradecimentos especiais ao @xdecow que me ajudou no código
Stoch+RSI (SLOW D)_By Josef_HakkakStoch+RSI (SLOW D)_By Josef_Hakkak
Stochastic and RSI by SLOW D%
-> How to use:
B UY = When the yellow line (D of Slow Stoch ) goes out of the green range, it is better that the purple line ( RSI ) is be low
SELL = When the yellow line (D of Slow Stoch ) goes out of the red range, it is better to have the purple line ( RSI ) is be high
This script was previously written by RRanjanFX and has now been edited by me and changes have been made to optimize for shorter timeframes.
Edited and updated and optimized from:
RRanjanFX
Many thanks and loyal to RRanjanFX
Bitfinex Sentiment Index [Long-Short]BSI provides two attractive graphs that breakdown the long (green area) and short (red area) positions ratio for the all Bitfinex margin cryptocurrency pairs only .
It is a quantitative measure of the bullishness or bearishness that can be used as a trading rule or in a trading system entries or exits. Included slow stochastic oscillator.
Breakout IndicatorThis script allows you to set breakout alerts.
An alert will be triggered only when price breaks and closes beyond the specified prices. You will get an alert on the first candle that closes beyond the levels you set.