[_ParkF]Linreg & Trendlines* The script has been uploaded again.
Linear regression and trendline not only facilitate trend identification,
but also identify support and resistance within it,
and linear regression and trendline departure can detect trend changes, which are useful in trading.
Linear regression and trend lines are shown in the chart.
It offers a variety of options, length, color, thickness, on/off switch, etc.
I hope it will help you with your trading.
hope you become rich!
---------------------------------------------------------------------------------------------------------------------------
* 스크립트가 다시 업로드 되었습니다.
선형 회귀(채널) 및 추세선은 추세 식별을 용이하게 할 뿐만 아니라,
또한 그 안에서 지지와 저항을 식별하고,
선형 회귀(채널) 및 추세선 이탈은 거래에 유용한 추세 변화를 감지할 수 있습니다.
선형 회귀(채널) 및 추세선이 차트에 표시됩니다.
길이, 색상, 두께, 온/오프 스위치 등 다양한 옵션을 제공합니다.
거래에 도움이 되셨으면 합니다.
부자되세요!
---------------------------------------------------------------------------------------------------------------------------
* I would like to express my gratitude to zdmre for revealing the linear regression source.
Support
[_ParkF]MFI+Added the Moneyflow Index indicator.
Divergence signals and diversion lines are drawn.
Support and resistance were also confirmed when linear regression and trend lines were used for the Moneyflow Index.
Two linear regression and two trend lines are drawn.
Because the two linear regression values are different, you can see the support and resistance of long-term and short-term linear regression.
Since the periodic values of the two trend lines are also different, support and resistance that could not be identified in linear regression can be identified.
Each linear regression line and trend line can be turned on or off.
In addition, each linear regression line and trend line can arbitrarily modify period values and deviation values.
I hope it will help you trade.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
머니플로우인덱스 지표를 추가하였습니다.
다이버전스 신호와 다이버전스 라인이 그려집니다.
머니플로우인덱스에도 선형회귀와 추세선을 이용했을 때 지지와 저항이 확인이 되었습니다.
2개의 선형회귀와 2개의 추세선이 그려지고
두 선형 회귀 값은 서로 다르기 때문에 장기 및 단기 선형 회귀의 지지 및 저항을 확인할 수 있습니다.
두 추세선의 주기 값도 다르므로 선형 회귀 분석에서 확인할 수 없었던 지지 및 저항을 확인할 수 있습니다.
각 선형 회귀선 및 추세선은 켜거나 끌 수 있습니다.
또한 각 선형 회귀선 및 추세선은 주기 값과 편차 값을 임의로 수정할 수 있습니다.
당신의 트레이딩에 도움이 되었으면 합니다.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* I would like to express my gratitude to zdmre for revealing the linear regression source.
* I would like to express my gratitude to aaahopper for revealing the trendlines source.
[_ParkF]RSI+RSI ----- UPGRADE ----> RSI+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The RSI index has been upgraded.
The display function of RSI Candle, RSI Line, Divergence, and Divergence Line, which were previous functions, has been maintained.
As an upgrade, two linear regression and two trend lines are drawn.
Since the two linear regression values are different, support and resistance of long-term and short-term linear regression can be confirmed.
The two trend lines also have different period values, so it is possible to check support and resistance that could not be confirmed in linear regression.
Each linear regression and trend line can be turned on and off.
In addition, each linear regression and trend line can arbitrarily modify period values and deviation values.
Log charts and linear chart switches have been added to the trend line.
I hope it will help you with your trading.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
RSI 인덱스가 업그레이드되었습니다.
기존 기능이었던 캔들, 라인, 다이버전스, 다이버전스 라인의 디스플레이 기능은 그대로 유지됐다.
업그레이드로 두 개의 선형 회귀 분석과 두 개의 추세선이 그려집니다.
두 선형 회귀 값은 서로 다르기 때문에 장기 및 단기 선형 회귀의 지지 및 저항을 확인할 수 있습니다.
두 추세선의 주기 값도 다르므로 선형 회귀 분석에서 확인할 수 없었던 지지 및 저항을 확인할 수 있습니다.
각 선형 회귀선 및 추세선은 켜거나 끌 수 있습니다.
또한 각 선형 회귀선 및 추세선은 주기 값과 편차 값을 임의로 수정할 수 있습니다.
로그 차트 및 선형 차트 스위치가 추세선에 추가되었습니다.
당신의 트레이딩에 도움이 되었으면 합니다.
* I would like to express my gratitude to zdmre for revealing the linear regression source.
* I would like to express my gratitude to aaahopper for revealing the trendlines source.
[_ParkF]FractalTop gray line is the fractal resistance.
Bottom gray line is the fractal support.
Central red line is the average of the top&bottom fractal.
Fractals can be displayed as support and resistance, and the red fractal average line indicates a trend.
상단 회색선은 프랙탈 저항,
하단 회색선은 프랙탈 지지,
중앙 빨간선은 프랙탈 상,하단의 평균,
프랙탈은 지지와 저항으로 표시되고 빨간색 프랙탈 평균선은 추세입니다.
TRADING MADE SIMPLEThis indicator shows market structure. The standard method of using Williams Highs and Lows as pivots, is something of an approximation.
What's original here is that we follow rules to confirm Local Highs and Local Lows, and strictly enforce that a Low can only follow a confirmed High and vice-versa.
-- Highs and Lows
To confirm a candle as a Local High, you need a later candle to Close below its Low. To confirm a Local Low, you need a Close above its High.
A Low can only follow a High (after it's been confirmed). You can't go e.g High, High, Low, Low, only High, Low, High, Low.
When price makes Higher Highs and Higher Lows, market structure is said to be bullish. When price makes Lower Lows and Lower Highs, it's bearish.
I've defined the in-between Highs and Lows as "Ranging", meaning, neutral. They could be trend continuation or reversal.
-- Bullish/Bearish Breaks
A Bullish break in market structure is when the Close of the current candle goes higher than the previous confirmed Local High.
A Bearish Break is when the Close of the current candle goes lower than the most recent confirmed Local Low.
I chose to use Close rather than High to reduce edge case weirdness. The breaking candle often ends up being a big one, thus the close of that candle can be a poor entry.
You can get live warnings by setting the alert to Options: Only Once, because during a candle, the current price is taken as the Close.
Breaks are like early warnings of a change in market bias, because you're not waiting for a High or Low to be formed and confirmed.
Buy The Dip / Sell The Rally
Buy The Dip is a label I gave to the first Higher Low in a bullish market structure. Sell The Rally is the first Lower High in a bearish market structure.
These *might* be good buying/selling opportunities, but you still need to do your own analysis to confirm that.
== USAGE ==
The point of knowing market structure is so you don't make bullish bets in a bearish market and vice versa -
or if you do at least you're aware that that's what you're doing, and hopefully have some overwhelmingly good reason to do so.
These are not signals to be traded on their own. You still need a trade thesis. Use with support & resistance and your other favourite indicators.
Works on any market on any timeframe. Be aware that market structure will be different on different timeframes.
IMPORTANT: If you're not seeing what you expect, check your settings and re-read this entire description carefully. Confirming Highs and Lows can get deceptively complex.
BB Order BlocksUsing the Bollinger Band to mark areas of Support and Resistance
The scrip finds the highest and lowest levels of the bands to mark up futures areas of interest.
If the High/Lows are being broken on the Bollinger band, or if the look back range has expired without finding new levels, the script will stop plotting them until new levels are found
I have found many combinations which work well
Changing the band length to to levels 20,50,100 or 200 seem to give interesting results
Aswell as this changing the standard deviation to 3 instead of 2 marks up key levels.
The look back range seems to show better levels on 50,100 and 200
Let me know any changes or updates you think you could make an impact , this was just a quick basic script I wanted to share.
first hour high and low by akash mauryaThis indicator marks the first hour's high and low with a line with the percentage of range height.
First hour high and low generally act as heavy support and resistance or say major key areas in daily intraday charts.
You can adjust the settings if you want to see previous days' hour range lines or not.
This indicator will automatically create hour-range lines after an hour of market opening.
Pivot Support/ResistanceThis indicator displays immediate Pivot Highs/Lows compared to the current price as lines on the chart. It can be useful to identify support/resistance.
Bitcoin Inflation-Adjusted Support and Resistance5year breakeven inflation rate fitted for log BTC chart as Support and Resistance
Chart Map[netguard] V1.0Chart map is a indicator that shows best levels of price.
on this indicator we divided ATH and ATL of chart to 16/32 levels that each one of them can control price and candles.
furthermore you can use weekly or daily map in this indicator.in weekly map we divide High to Low of last week candle to 8 levels that these levels can control candles too.
In general, these levels act as strong support and resistance.
you can trade on these levels with candle patterns.
Volume based support resistance with SwingThere has been an endless debate on how to derive volume levels on the Price Action
One such method which I have encountered (being pointed by one of my followers Anjan Gadade)
is to take the (High+Low+close)/3, as an ambient level when volume is above average (sma20) and also when volume is above its Standard Deviation 2
To make sense of the volume level structure I tested it with Swing points, for extra confluence, and i must say, this can be used as a good indication of trend if combined together
So I thought to open Source it, to people who might be looking for a much visual Interpretation!
Enjoy!
Price Clouds (PS)Price could shows you dynamic support resistance levels. It also displays two bands (ie clouds) that show you where the trend is. If the price hits the bottom of the high band thats a buy and if it hits the top of the high band its a sell. During times of volatility the price can break support but you will find that the opposite band will work as the next level. I added tool tips for every option to help explain what everything does and I also left suggestions for other settings.
This works great on everything! That being said I have this setup in a general way that works really well for 20m forex. If you are scalping you might want to speed up the indicator. This is also true if you want go to the daily chart or above. Adjust the Stdev to match the market.. and I mean really play around with.. dont be shy! With all that out of the way this really will work out of the box. If you like this indicator its actually the same thing as my (PBS) but this one is an overlay on the chart. (Also as of publishing this script the code for this version is way cleaner. In fact I plan on replacing PBS with this as its base)
If you find this indicator is useful to you, Star it, Follow, Donate, Like and Share.
Your support is a highly motivation for me.
Smamaema1 SMA, 3 EMA, 1 MA. The SMA in white is an amazing support/resistence level on 4h charts with a long history, the three EMA are good indicators of buy/sell zones and and the MA is the same as EMA but with lag.
Universal logarithmic growth curves, with support and resistanceLogarithmic regression is used to model data where growth or decay accelerates rapidly at first and then slows over time. This model is for the long term series data (such as 10 years time span).
The user can consider entering the market when the price below 25% or 5% confidence and consider take profit when the price goes above 75% or 95% confidence line.
This script is:
- Designed to be usable in all tickers. (not only for bitcoin now!)
- Logarithmic regression and shows support-resistance level
- Shape of lines are all linear adjustable
- Height difference of levels and zones are customizable
- Support and resistance levels are highlighted
Input panel:
- Steps of drawing: Won't change it unless there are display problems.
- Resistance, support, other level color: self-explanatory.
- Stdev multipliers: A constant variable to adjust regression boundaries.
- Fib level N: Base on the relative position of top line and base line. If you don't want all fib levels, you might set all fib levels = 0.5.
- Linear lift up: vertically lift up the whole set of lines. By linear multiplication.
- Curvature constant: It is the base value of the exponential transform before converting it back to the chart and plotting it. A bigger base value will make a more upward curvy line.
FAQ:
Q: How to use it?
A: Click "Fx" in your chart then search this script to get it into your chart. Then right click the price axis, then select "Logarithmic" scale to show the curves probably.
Q: Why release this script?
A: - This script is intended to to fix the current issues of bitcoins growth curve script, and to provide a better version of the logarithmic curve, which is not only for bitcoin , but for all kinds of tickers.
- In the public library there is a hardcoded logarithmic growth curve by @quantadelic . But unfortunately that curve was hardcoded by his manual inputs, which makes the curve stop updating its value since 2019 the date he publish that code. Many users of that script love using it but they realize it was stop updating, many users out there based on @quantadelic version of "bitcoin logarithmic growth curves" and they tried their best to update the coordinates with their own hardcode input values. Eventually, a lot of redundant hardcoded "Bitcoin growth curve" scripts was born in the public library. Which is not a good thing.
Q: What about looking at the regression result with a log scale price axis?
A: You can use this script that I published in a year ago. This script display the result in a log scale price axis.
Support Resistance Zones using confluence & Std. DeviationOverview:
This indicator takes (interactive) input from the user for support and resistance levels and plots important zones considering the other confluence levels in the indicator.
Working of indicator:
This indicator takes six input of Support/resistance level form the user
It has following 32 confluence levels
a.4 Recent positive Divergence levels (DN1, DN2, DN3, DN4)
b.4 recent negative divergence levels (DP1, DP2, DP3, DP4)
d.5 Fibonacci levels (Fib0, Fib236, Fib5, Fib618, Fib786)
e. 7 Pivot levels (P, PR1, PR2, PR3, PS1, PS2, PS3)
f.4 EMAs (E20, E200, E100, E50)
g. ATH, ATL, Weekly High, Weekly Low, two days ago high, two days ago low, previous day high , previous day low
The code checks nearest ‘n’ CONFLUENCE for each level (“Number of confluences to check”) in the indicator, after getting the nearest confluence it calculates the standard deviation of those levels WITH RESPECT TO THE MANUAL INPUT LEVELS.
If the Std. Deviation is less than the input value (“Minimum standard deviation” option) then the zone is displayed on the chart.
How to use:
Add the indicator on the chart select your important support and resistance levels.
Set standard deviation, if the confluence is less than the input standard deviation then you will see those zones on the chart.
You can display all divergence levels; you can display all fib levels. All confluences can be displayed by using the setting of the indicator
How to read the indicator values:
The zone will show all the confluence it has in its zone,
Example:
Table details:
The table shows the maximum and minimum deviation out of all six levels .To see at least one zone you have to make sure that Input value Std. Deviation must be greater than Min Std. Deviation of the table
Sources & refences :
Big thank to www.pinecoders.com and kodify.net
Standard deviation :
www.investopedia.com
function to find 'k' closest elements :
www.techiedelight.com
Interactive support resistance :
Divergence for many indicators:
Auto fib level by DGT:
www.tradingview.com
session min/max support&resistance [LM]Hello traders,
I would like to present you session min/max support&resistance indicator. The idea behind is to calculate min and max per session and render line at those levels and bars until the price reach the level. With this you can see levels where the price didn't reach with granular control over how many lines can be shown.
Indicator has following settings:
General control - where you can select session interval and show/hide labels
Line control - where you can adjust type of line, color of up/bottom level..
I hope you will enjoy it,
Lukas
Pivot Support & ResistanceHere signals are based on the pivot high and pivot lows. Factors taken into account in understanding the breakout or breakdown are:
volume
candle bar is not opening candle
must be near pivot high or low
Recommendation:
Use once candle closes else you might get trapped in certain cases so be careful
Divina - Support and ResistanceGiven the positive feedback received on the first Dynamic Support/Resistance script, I've decided to rewrite it on Pine Script v5 and publish it with open source code.
The main Divina area (box) is derived from change in price and volume, while the other support and resistance levels are based on the golden ratio (Divina proportione) or Fibonacci numbers.
The box will start to paint if the previous closed bar satisfy a condition and it will be never be repainted in the future. Anyway the box and the levels will be extended until a new signal is detected.
The Divina Support and Resistance will help you to find good price zones on wich the market might take trading decision. It is not a strategy by per se, it should be used with other good trading techniques.
Auto S/R v2This script allows users to plot automatic support and resistance lines on their chart from any timeframe. This allows them to automatically overlay daily support and resistance lines on an intraday chart.
1. First we get a value from a 5 bar pivot.
2. From that pivot we calculate the ATR.
3. We draw lines above and below by either adding or subtracting from our value in step 1.
The user has the option to turn off the price labels, set the number of lines they want displayed, and adjusting the closeness of each line by using the adjuster.
[MF] CURRENT AND NEXT CPR LEVELSThis is CPR with Monthly, Weekly and Daily time frames of the current and next* CPR levels.
* The following lines only become relevant at the end of the cycle.
CPR LEVELS:
P (pivot point) = (H + L + C) / 3
BC (Bottom Central) = (H + L) / 2
TC (Top Central) = (P - BC) + P
Resistance Levels
- Green = R1 Levels ( 2×P - L )
- Green = R2 Levels ( P + (H - L) )
- Green = R3 Levels ( H + 2 * (P - L) )
Support Levels
- Red = S1 Levels ( 2×P - H )
- Red = S2 Levels ( P - (H - L) )
- Red = S3 Levels ( L - 2 * (H- P) )
Description and Refrences:
en.wikipedia.org(technical_analysis)
Rules For BUY Setup with CPR
1) Today's Pivot Level Should be higher than Previous Day's Pivot Level
2) The previous day's close should be near day high.
Rules For SELL Setup with CPR
1) Today's Pivot Level Should be lower than Previous Day's Pivot Level
2) The previous day's close should be near day low.
CPR or central pivot range is the best tool available for the trader to see the price base indicator. You can use this tool i.e CPR (central pivot range) to check the price indicator in the stock market. You know the price of shares sometimes goes up or sometimes goes down in the stock market. So it will be best to stay updated and know it before the time the share market/stock market fall or rises.
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.
Levels High LowEnglish:
Indicator for quickly identifying support and resistance levels. It is possible to use the parameter of the length of the upper and lower levels. The larger it is, the stronger the levels of the levels. The smaller it is, the less strong the levels are. It is possible to go back and turn off labels and lines. By default, the labels and lines are scale, and the length is 20.
Русский:
Индикатор предназначен для быстрого определения уровней поддержки и сопротивления. Есть возможность изменять параметр длинны верхних уровней и нижних. Чем он больше, тем более сильные уровни отображаются. Чем он меньше, тем менее сильные уровни отображаются. Есть возможность включать и отключать метки и линии. По умолчанию метки и линии отображаются, а длинна равна 20.
SupportResitanceAndTrendLibrary "SupportResitanceAndTrend"
Contains utilities for finding key levels of support, resistance and direction of trend.
superTrendPlus(multiple, h, l, atr, closeBars) A more flexible version of SuperTrend that allows for supplying the series used and sensitivity adjustment by confirming close bars.
Parameters:
multiple : The multiple to apply to the average true range.
h : The high values.
l : The low values.
atr : The average true range values.
closeBars : The number of bars to confirm a change in trend.
Returns:
superTrend(multiple, period, mode, closeBars) superTrendPlus with simplified parameters.
Parameters:
multiple : The multiple to apply to the average true range.
period : The number of bars to measure.
mode : The type of moving average to use with the true range.
closeBars : The number of bars to confirm a change in trend.
Returns:
stochSR() Identifies support and resistance levels by when a stochastic RSI reverses. Returns: