Autodrawn Pivot Levels IndicatorAn experiment with pinescript's line.new() function. The Autodrawn Pivot Levels indicator draws horizontal lines in areas where prices have been flat, which serve as pivot points. This can be useful for pivot trading as it visually shows several critical levels
Pivot
Dow Jones Stocks : Pivot : ScreenerWith the Dow Jones Stocks Pivot Screener, you can scan a list of the 30 stocks / companies included in the Dow Jones Industrial Average index in real-time.
By using the indicator, you can monitor pivot breakouts and enter trades based on them.
As soon as the DJIA Index list is updated, I will update this List
The indicator includes three types of pivots . Classic, Fibonacci, and Standard.
You have the option to select between Daily, Weekly, and Monthly time frames as well
Market Structure Patterns (Nephew_Sam_)This market structure indicator plots HH/LL labels with a little twist - it can identify upto 14 custom patterns of your choice!
Indicator settings:
Pivot strength - highest or lowest point in a number of x left+right bars
Show - show zigzag lines, HHLL labels, Pattern Matches
Patterns - upto 14 patterns (7 bear, 7 bull) with custom label text
Styles - for labels and lines
Disclaimer
- Although 90% of this indicator is custom coded, I have to give credits to LonesomeTheBlue (www.tradingview.com) for his "Double Zig Zag with HHLL" indicator where I got the logic on how to plot the labels in real time.
- This indicator repaints labels in realtime (not historical candle)
TradingCube : Crypto : Pivot ScreenerThe Crypto Pivot Screener is a real-time scanner of a list of top crypto assets.
You can use the indicator to monitor the pivots of about 40 crypto assets.
At least once a month, I will update the List of Crypto assets.
The indicator includes three types of pivots . Classic, Fibonacci, and Standard.
You have the option to select between Daily, Weekly, and Monthly time frames as well
Support and Resistance Multiperiod (Zig Zag Based)Support and Resistance Multiperiod (Zig Zag Based)
What is the indicator?
• The indicator is a multi period (up to 5 lengths) Support and Resistance indicator calculated based on Zig Zag.
Who can use?
Scalpers to Long term investors
What timeframe to use?
• Any timeframe
What are the lines?
• Green lines are Support levels.
• Orange lines are Resistance levels.
How to use?
• Buy Low and Sell High.
• Brighter zones means strong Support or Resistance.
• Weaker zones appear lighter.
• Brighter zones are formed by overlapping of lines from multiple levels of support or resistance.
Indicator Menu
• The indicator can input 5 different Lengths.
• The default settings uses 13, 21, 52, 100 & 200.
• Every option are customizable.
ATRvsDTR + ADR Zone + SSS50%This Script is to be used for intra day as far as the adr zones. The adr zones are used as support and resistance but also can be used to determine whether the stock is breaking out or not. Also being that the adr zones are calculated using a 5 or 10 day period unless you change the settings, and are set when price opens. It does really help you know whether a stock is moving more than it does on average to me it just signifies its directional. So I added the atr vs dtr so you can see what a stock moves on average versus what it has moved today.
The atr period is calculated based on the daily period unless you change the settings. I added to the original script 3 more percentages the atr vs dtr will change as it goes higher so that you can be aware when the stock is getting closer to moving 100% of its atr. Even though a stock breaks above or below the adr that doesn't mean it has moved more than it normally moves.
I also have the weekly open on the script as I trade the strat and I want to know, at what price the the week will change from bearish to bullish and vice versa. So that I can understand the trend when I am trading intraday.
The 50% lines were added for Sara strat snipers 50% rule and you can change the timeframes on them. This is used to know whether a candle will go 3. This also can help with retracements vs reversals, because in traditional technical analysis 50% is around where people start think its a reversal more so than a retracement.
I believe the script will be very help as it can show you price being directional but can also let you know when the stock is getting close to moving more than it normally has or if it has moved more than it normally has. As well as being able to see if something is a retracement vs a reversal. I trade TheStrat strategy so this can be very helpful in that regard
The 50% retracement levels are default 1h and daily. You can change them and whether or not they show
In the example chart you can see we are below weekly open which is bearish and you can also see where price reverses out of the upper adr zone. As well as how much of the atr we have moved on this day in time.
Pivot Points Standard Higher Timeframe█ OVERVIEW
This indicator was intended as educational purpose only and alternative way to write pine script in version 5 for Pivot Points Standard.
█ CREDITS
Credits to TradingView for original built-in source code.
█ FEATURES
Display price or percentage.
Change color for labels and lines.
█ USAGE EXAMPLES
Relative Strength Index - Divergences - LibertusHello all,
To ease everyone's trading experience I made this script which colors RSI overbought and oversold conditions and as a bonus displays bullish or bearish divergences in last 50 candles (by default, you can change it).
Script is open source, part of code is from Trading View examples. If you have suggestions or you already made some improvements, please report in comment.
Happy trading and good luck!
Camarilla PivotsA slimmed down/cleaner version of the "Pivot Points Standard" indicator. This is for Camarilla pivots only. The S and R pivots are renamed to L/H and the colors of pivot 1 and 2 are faded out by default since those pivots are less used in the Camarilla trading system. They can also be disabled of course.
20 Camarilla Pivot PointsThis indicator plots 20 Camarilla pivot points above and below the pivot based on the selected time frame. This is useful when price goes between the standard 3 and 4 pivots and above 4. Note that the normal 4 pivot point is labeled as 6 in this indicator. You can change the color of each set of pivots so you can mark the standard Camarilla pivots if you wish. The image is using monthly Camarilla pivots on a 1 hour time frame.
Eazi Money Pro+ Pivot [ 4Reel ]This Indicator is designed to catch the daily low / high pivot point!
If you're looking to maximize your pip count, then this is the tool you need to catch that ULTIMATE ENTRY.
OmCrypto - PSAR with TargetOmCrypto - PSAR with Target
This script uses PSAR as it's main buy and sell signal with automatic target to take profit, entry and stop loss
It also supports alert so you can use it for bots
You can set your own period (timeframe) for the target lines in settings, default is 60 minutes (1h)
Volume Profile, Pivot Anchored by DGTVolume Profile (also known as Price by Volume ) is an charting study that displays trading activity over a specified time period at specific price levels. It is plotted as a horizontal histogram on the finacial isntrumnet's chart that highlights the trader's interest at specific price levels. Specified time period with Pivots Anchored Volume Profile is determined by the Pivot Levels, where the Pivot Points High Low indicator is used and presented with this Custom indicator
Finally, Volume Weighted Colored Bars indicator is presneted with the study
Different perspective of Volume Profile applications;
Anchored to Session, Week, Month etc : Anchored-Volume-Profile
Custom Range, Interactive : Volume-Profile-Custom-Range
Fixed Range with Volume Indicator : Volume-Profile-Fixed-Range
Combined with Support and Resistance Indicator : Price-Action-Support-Resistance and Volume-Profile
Combined with Supply and Demand Zones, Interactive : Supply-Demand-and-Equilibrium-Zones
Disclaimer : Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Real IndicatorReal indicator is an indicator to convert ohlcv charts to one oscilator!
there is an effective thing in all charts: "Volume", and I used this thing to mix it by price
Buy: on crossing above to Bollinger-lower-band (on Up-trends)
Sell: on crossing under Bollinger-upper-band (on Down-Trends)
use an SMA-200 to determine trends ;)
Heikin Ashi OscillatorThis indicator plots a delta between the Heiken Ashi close price and the regular candlestick closing price as a histogram, which allows you to quickly analyse changes in trend
direction.
It also provides a reverse-engineered closing price for regular candlesticks, to reach in order to maintain the momentum, which allows you to be forewarned of potential pivot points to change in bias in direction.
Feel free to use this indicator to modify and add to your charts as you wish.
fontilabLibrary "fontilab"
Provides function's indicators for pivot - trend - resistance.
pivots(src, lenght, isHigh) Detecting pivot points (and returning price + bar index.
Parameters:
src : The chart we analyse.
lenght : Used for the calcul.
isHigh : lookging for high if true, low otherwise.
Returns: The bar index and the price of the pivot.
calcDevThreshold(tresholdMultiplier, closePrice) Calculate deviation threshold for identifying major swings.
Parameters:
tresholdMultiplier : Usefull to equilibrate the calculate.
closePrice : Close price of the chart wanted.
Returns: The deviation threshold.
calcDev(basePrice, price) Custom function for calculating price deviation for validating large moves.
Parameters:
basePrice : The reference price.
price : The price tested.
Returns: The deviation.
pivotFoundWithLines(dev, isHigh, index, price, dev_threshold, isHighLast, pLast, iLast, lineLast) Detecting pivots that meet our deviation criteria.
Parameters:
dev : The deviation wanted.
isHigh : The type of pivot tested (high or low).
index : The Index of the pivot tested.
price : The chart price wanted.
dev_threshold : The deviation treshold.
isHighLast : The type of last pivot.
pLast : The pivot price last.
iLast : Index of the last pivot.
lineLast : The lst line.
Returns: The Line and bool is pivot High.
getDeviationPivots(thresholdMultiplier, depth, lineLast, isHighLast, iLast, pLast, deleteLines, closePrice, highPrice, lowPrice) Get pivot that meet our deviation criteria.
Parameters:
thresholdMultiplier : The treshold multiplier.
depth : The depth to calculate pivot.
lineLast : The last line.
isHighLast : The type of last pivot
iLast : Index of the last pivot.
pLast : The pivot price last.
deleteLines : If the line are draw or not.
closePrice : The chart close price.
highPrice : The chart high price.
lowPrice : The chart low price.
Returns: All pivot the informations.
getElIntArrayFromEnd() Get the last element of an int array.
getElFloatArrayFromEnd() Get the last element of an float array.
getElBoolArrayFromEnd() Get the last element of a bool array.
isTrendContinuation(isTrendUp, arrayBounds, lastPrice, precision) Check if last price is between bounds array.
Parameters:
isTrendUp : Is actual trend up.
arrayBounds : The trend array.
lastPrice : The pivot Price that just be found.
precision : The percent we add to actual bounds to validate a move.
Returns: na if price is between bounds, true if continuation, false if not.
getTrendPivots(trendBarIndexes, trendPrices, trendPricesIsHigh, interBarIndexes, interPrices, interPricesIsHigh, isTrendHesitate, isTrendUp, trendPrecision, pLast, iLast, isHighLast) Function to update array and trend related to pivot trend interpretation.
Parameters:
trendBarIndexes : The array trend bar index.
trendPrices : The array trend price.
trendPricesIsHigh : The array trend is high.
interBarIndexes : The array inter bar index.
interPrices : The array inter price.
interPricesIsHigh : The array inter ishigh.
isTrendHesitate : The actual status of is trend hesitate.
isTrendUp : The actual status of is trend up.
trendPrecision : The var precision to add in "iscontinuation" function.
pLast : The last pivot price.
iLast : The last pivot bar index.
isHighLast : The last pivot "isHigh".
Returns: trend & inter arrays, is trend hesitate, is trend up.
drawBoundLines(startIndex, startPrice, endIndex, endPrice, breakingPivotIndex, breakingPivotPrice, isTrendUp) Draw bounds and breaking line of the trend.
Parameters:
startIndex : Index of the first bound line.
startPrice : Price of first bound line.
endIndex : Index of second bound line.
endPrice : price of second bound line.
breakingPivotIndex : The breaking line index.
breakingPivotPrice : The breaking line price.
isTrendUp : The actual status of the trend.
Returns: The lines bounds and breaking line.
Pivoting PivotMany people use Pivots when conducting analysis, but I don't see many people using pivoting pivots. Pivoting pivots are pivots that don't have any other pivots around them. They can be useful when trying to separate pivot clusters from important pivot points.
The code is calculated by finding the distance between two candlesticks (left check), then calculating the distance between the last pivot and the current candlestick.
On the chart: labels are TradingView's official pivot high and pivot low script, and the blue candle color is my pivoting pivots (both with a look left and look right of 2).
Special thanks to @fikira for helping me with ideas for the calculations!
PivotThis library was designed to create three different datasets using Bill Williams fractals. The goal is to spot trends in reversal data and ultimately use these datasets to help predict future price reversals.
First, the pivot() function is used to initialize and populate three separate arrays (high pivot , low pivot , all pivots ). Since each high/low price depends on the bar_index, the bar_index, pivot direction(high/low), and high/low values are compressed into a string to maintain the data's integrity ("__"). Once each string array is populated and organized by bar_index, all three are returned inside a tuple. The return value must be deconstructed H,L,A =pivot() for each array's values to be accessed using getPivot() . This boilerplate allows for data to be accessed more efficiently in a recursive environment. getPivot() was designed to be used inside of a for or while block to populate matrices for further analyses. Again, getPivot() return values must be exposed through deconstruction. x,d,y =getPivot(). See code for more details.
pivot(int XLR) initializes and populates arrays
Parameters
XLR - number of bars to the left and right that must be lower for a high to be considered a pivotHigh, or vice versa. This number will drastically change the size and scope of the returned datasets. smaller values will produce much larger datasets, which might model short term price activity well. In contrast, larger values will produce smaller datasets which might model longer term price activity well.
Returns - tuple [string ]
getPivot(string arrayID, int index) accesses array data
Parameters
arrayID - the variable name for one of the three arrays returned by pivot().
index - the index of the provided array, with 0 being the most recent pivot point. can be set to " i " in a loop to access values recursively
Returns - tuple
CPR by Hindustani Sandeep MalikThis script is based on the Secret of Pivot Boss book by Frank Ochoa.
You can view the Daily timeframe CPR/s1-s5 support/r1-r5 resistance.
You can view the Weekly timeframe CPR/s1 support/r1 resistance.
You can view the Monthly timeframe CPR/s1 support/r1 resistance.
[_ParkF]MDRPThis indicator indicates that 'Momentum Discrepancy Reversal Point' = 'MDRP'.
Mixing and modifying several general indicators to find support and resistance
It is created to predict the change point of the trend by overlaying it on the chart.
The 4 support and resistance lines are drawn live, and the changed support and resistance lines are
It erases the line and overlays it again with a new line.
For each support and resistance , you can modify the color or line thickness, number of expressions, etc. in the input menu.
1. _____RSI-SR
Based on Wilder's RSI formula, overbought and oversold
Changes are detected and overlaid on the chart in the form of 2 resistances and 2 supports.
2. _____STOCHRSI-SR
Using the general stochastic and Wilder's RSI calculations,
Detect changes in overbought and oversold areas
It overlays the chart in the form of 1 resistance and 1 support.
3. _____PV-SR
Pivot-based support and resistance will be overlaid on the chart,
By default, 10 pivot lines are drawn, but by modifying the count in the input menu,
You can modify the number of overlays.
4. _____FVG
'Fair value gaps' refers to gaps within consecutive candles.
This section is overlaid in the form of a box,
The default is to draw 10 FVG boxes, but set count in the input menu.
You can modify the number of overlays by editing.
5. _____ZIGZAG
This is to find MDRP by overlaying the low and high prices of the current trend on the chart.
ZIGZAG labels near supports and resistances of 1, 2, 3 and 4 can increase the reliability of the MDRP.
The default value of live in the input menu is true, but if it is false, the closing price is checked and drawn.
Reduce false signals.
6. _____ICHIMOKU
The 5 lines of ICHIMOKU were overlaid with the default values of 9, 26, 52, 26,
Lines other than LeadLine A and B that are overlaid on the chart are overlaid on the chart only as much as the period value of each line.
* The _____FVG indicator cited the source of 'makuchaku'.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
이 지표는 'Momentum Discrepancy Reversal Point' = 'MDRP'를
찾기 위해 여러개의 일반적 지표들을 혼합, 수정하여 지지와 저항의 형태로
차트에 overlay 시켜 트렌드의 변화 지점을 예측 하기 위해 만들어졌습니다.
4개의 지지와 저항선은 실시간으로 그려지게 되며, 변화된 지지와 저항은 기존의
선을 지우고 새로운 선으로 다시 표시 됩니다.
각 지지와 저항은 input 메뉴에서 색 또는 선의 두께, 표현할 개수 등을 수정할 수 있습니다.
1. _____RSI-SR
Wilder's RSI 계산식을 기반으로 과매수, 과매도 영역에서의
변화를 감지하여 2개의 저항과 2개의 지지의 형태로 차트에 표시 됩니다.
2. _____STOCHRSI-SR
일반적 스토캐스틱과 Wilder's RSI의 계산식을 이용하여
과매수, 과매도 영역에서의 변화를 감지하여
1개의 저항과 1개의 지지의 형태로 차트에 표시됩니다.
3. _____PV-SR
Pivot을 기반으로 한 지지와 저항을 차트에 표시 하게 되며,
기본값은 10개의 Pivot선이 그려지게 되지만 input 메뉴에서 count를 수정하여
표시할 개수를 수정할 수 있습니다.
4. _____FVG
'Fair value gaps'는 연속된 캔들 안에서의 갭 구간을 말합니다.
이 구간을 박스의 형태로 표시한 것이며,
기본값은 10개의 FVG 박스가 그려지게 되지만 input 메뉴에서 count를
수정하여 표시할 개수를 수정할 수 있습니다.
5. _____ZIGZAG
현재 트렌드의 저가와 고가를 차트에 표시하여 MDRP를 찾기 위한 것으로
1, 2, 3, 4의 지지와 저항 부근에서의 ZIGZAG 라벨은 MDRP의 신뢰도를 높혀줄 수 있습니다.
input 메뉴에서의 live 기본값은 체크되어 있지만 체크를 해제하면 종가를 확인하고 그려지기에
거짓 신호를 줄일 수 있습니다.
6. _____ICHIMOKU
ICHIMOKU의 5개의 선은 기본값인 9, 26, 52, 26으로 표시하였으며,
차트에 표시되는 선행스팬 1과 2를 제외한 전환선, 기준선, 후행스팬은 각 선의 기간값만큼만 차트에 표시 되게 하였습니다.
[_ParkF]MDRPThis indicator indicates that 'Momentum Discrepancy Reversal Point' = 'MDRP'.
Mixing and modifying several general indicators to find support and resistance
It is created to predict the change point of the trend by overlaying it on the chart.
The 4 support and resistance lines are drawn live, and the changed support and resistance lines are
It erases the line and overlays it again with a new line.
For each support and resistance, you can modify the color or line thickness, number of expressions, etc. in the input menu.
1. _____RSI-SR
Based on Wilder's RSI formula, overbought and oversold
Changes are detected and overlaid on the chart in the form of 2 resistances and 2 supports.
2. _____STOCHRSI-SR
Using the general stochastic and Wilder's RSI calculations,
Detect changes in overbought and oversold areas
It overlays the chart in the form of 1 resistance and 1 support.
3. _____PV-SR
Pivot-based support and resistance will be overlaid on the chart,
By default, 10 pivot lines are drawn, but by modifying the count in the input menu,
You can modify the number of overlays.
4. _____FVG
'Fair value gaps' refers to gaps within consecutive candles.
This section is overlaid in the form of a box,
The default is to draw 10 FVG boxes, but set count in the input menu.
You can modify the number of overlays by editing.
5. _____ZIGZAG
This is to find MDRP by overlaying the low and high prices of the current trend on the chart.
ZIGZAG labels near supports and resistances of 1, 2, 3 and 4 can increase the reliability of the MDRP.
The default value of live in the input menu is true, but if it is false, the closing price is checked and drawn.
Reduce false signals.
6. _____ICHIMOKU
The 5 lines of ICHIMOKU were overlaid with the default values of 9, 26, 52, 26,
Lines other than LeadLine A and B that are overlaid on the chart are overlaid on the chart only as much as the period value of each line.
* The _____FVG indicator cited the source of 'makuchaku'.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
이 지표는 'Momentum Discrepancy Reversal Point' = 'MDRP'를
찾기 위해 여러개의 일반적 지표들을 혼합, 수정하여 지지와 저항의 형태로
차트에 overlay 시켜 트렌드의 변화 지점을 예측 하기 위해 만들어졌습니다.
4개의 지지와 저항선은 실시간으로 그려지게 되며, 변화된 지지와 저항은 기존의
선을 지우고 새로운 선으로 다시 표시 됩니다.
각 지지와 저항은 input 메뉴에서 색 또는 선의 두께, 표현할 개수 등을 수정할 수 있습니다.
1. _____RSI-SR
Wilder's RSI 계산식을 기반으로 과매수, 과매도 영역에서의
변화를 감지하여 2개의 저항과 2개의 지지의 형태로 차트에 표시 됩니다.
2. _____STOCHRSI-SR
일반적 스토캐스틱과 Wilder's RSI의 계산식을 이용하여
과매수, 과매도 영역에서의 변화를 감지하여
1개의 저항과 1개의 지지의 형태로 차트에 표시됩니다.
3. _____PV-SR
Pivot을 기반으로 한 지지와 저항을 차트에 표시 하게 되며,
기본값은 10개의 Pivot선이 그려지게 되지만 input 메뉴에서 count를 수정하여
표시할 개수를 수정할 수 있습니다.
4. _____FVG
'Fair value gaps'는 연속된 캔들 안에서의 갭 구간을 말합니다.
이 구간을 박스의 형태로 표시한 것이며,
기본값은 10개의 FVG 박스가 그려지게 되지만 input 메뉴에서 count를
수정하여 표시할 개수를 수정할 수 있습니다.
5. _____ZIGZAG
현재 트렌드의 저가와 고가를 차트에 표시하여 MDRP를 찾기 위한 것으로
1, 2, 3, 4의 지지와 저항 부근에서의 ZIGZAG 라벨은 MDRP의 신뢰도를 높혀줄 수 있습니다.
input 메뉴에서의 live 기본값은 체크되어 있지만 체크를 해제하면 종가를 확인하고 그려지기에
거짓 신호를 줄일 수 있습니다.
6. _____ICHIMOKU
ICHIMOKU의 5개의 선은 기본값인 9, 26, 52, 26으로 표시하였으며,
차트에 표시되는 선행스팬 1과 2를 제외한 전환선, 기준선, 후행스팬은 각 선의 기간값만큼만 차트에 표시 되게 하였습니다.
Weekly Returns with BenchmarkSome time ago I published Monthly returns table. Now It's time for weekly one.
To get it work you need a pretty big screen, but I hope it will be useful for some of you.
Features of this table includes:
Display weekly returns of your strategy, benchmark, and alpha over this benchmark.
Select benchmark to be another instrument
Select the date from which you want to compute monthly returns
Show/hide benchmark and alpha
Choose colors for gradient for gain/loss values
Use it with any type of strategy
Use it with replay
Thanks to @MUQWISHI to help me coding it.
It's not about the strategy itself but the way you display returns on your chart. So pls don't critique my choice of the strategy and its performance 🙂
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Vector Flow ChannelA decay channel that allows multi stage setup for timed events.
update to V5:
and