After getting good response on Wedge-and-Flag-Finder-Multi-zigzag , I thought I will build little bit further into the script. Main differences Uses deep search algorithm for patterns instead of just using last 5 pivots Flag pattern is removed so that we can concentrate mainly on trend line pairs More number of overall patterns. Trend Patterns...
Library "mZigzag" Matrix implementation of zigzag to allow further possibilities. Main advantage of this library over previous zigzag methods is that you can attach any number of indicator/oscillator information to zigzag calculate(length, ohlc, indicatorHigh, indicatorLow, numberOfPivots) calculates zigzag and related information Parameters: length...
Library "_matrix" Library helps visualize matrix as array of arrays and enables users to use array methods such as push, pop, shift, unshift etc along with cleanup activities on drawing objects wherever required unshift(mtx, row) unshift array of lines to first row of the matrix Parameters: mtx : matrix of lines row : array of lines to be...
Here is a small attempt to automatically identify wedges and flags. Tradingview standard wedge checks for only 4 pivots. In this version, I have considered 5 pivots instead - which can help reduce noise as 4 pivots forming wedge can be quite common. In future, will also try to add more pivots in pattern recognition to make the signal more accurate. If wedge...
Library "drawingutils" Private methods used in my scripts for some basic and customized drawings. No documentation provided as these are meant for private use only. draw_line() draw_label() draw_linefill() draw_labelled_line() draw_labelled_box() runTimer()
Back to my favourite topic - Zigzags. Here is an indicator which can help you visualise volume data on Zigzag swing highs and lows. Settings are pretty simple and provides variety of display options Display options are as demonstrated in the chart has following main types. Regular Plus/Minus - Stacked Plus/Minus - Overlapping Plus/Minus - Opposite...
We often hear statements such as follow the big volume to project possible price movements. Or low volatility is good for trend. How much of it is statistically right for different markets. I wrote this small script to study the impact of Volatility and Volume on price movements. Concept is as below: Compare volume with a reference median value. You can also...
Another attempt on making use of CM-Williams-Vix-Fix-Finds-Market-Bottoms from Chris Moody - which is arguably one of the best indicator available on pine and tradingview platform. Every time I revisit this, I get new ideas on applying this method. I have slightly altered formula to highest(source)-source/highest(source) from the original formula ...
I got this idea from @fikira's script Intrabar-Price-Volume-Change-experimental The indicator calculates OBV and PVT based on ticks. Since, the indicator relies on live ticks, it only starts execution after it is put on the charts. The script can be useful in analysing intraday buy and sell pressure. Details are color coded based on the values. Data is...
A friendly reminder to myself and rest of the traders that market can stay low for prolonged time!! Details are pretty simple. Here is small comparison of the stats for major US indices. Can also be applied to stocks. Cells are highlighted in red background ii Drawdown/Recovery is still in progress for historical stats Current drawdown...
Library "eHarmonicpatternsExtended" Library provides an alternative method to scan harmonic patterns. This is helpful in reducing iterations. Republishing as new library instead of existing eHarmonicpatterns because I need that copy for existing scripts. scan_xab(bcdRatio, err_min, err_max, patternArray) Checks if bcd ratio is in range of any harmonic...
⬜ The script is intended to cover few things. ▶ Strategy testing framework based on eStrategy library ▶ Using historicalrange of values for identifying better entry and exits. This is also built on top of the Systematic Investment Plan script published here ⬜ Strategy testing framework Strategy testing framework is different from tradingview...
Library "eStrategy" Library contains methods which can help build custom strategy for continuous investment plans and also compare it with systematic buy and hold. sip(startYear, initialDeposit, depositFrequency, recurringDeposit, buyPrice) Depicts systematic buy and hold over period of time Parameters: startYear : Year on which SIP is started ...
Tradingview default strategy tester has few limitations. To name some: Tradingview default strategy tester does not have option for periodic investment. Does not allow reduce and refill kind of operations. Comparison to buy and hold equity does not take into consideration on number of days invested Hence, I created this as base for my further...
Library "historicalrange" Library provices a method to calculate historical percentile range of series. hpercentrank(source) calculates historical percentrank of the source Parameters: source : Source for which historical percentrank needs to be calculated. Source should be ranging between 0-100. If using a source which can beyond 0-100, use short...
Hello traders, Many who used Auto Harmonic Pattern - Ultimate had enquired with me about having option to project PRZ before patterns formed. We always replied that it is in pipeline but will not be part of existing script. Finally, we decided to utilise part of our Christmas and new year break to make it happen. Lets get started.. ⬜ Process ▶ Unlike...
This is another script involving interactive inputs. This is similar to Manual-Harmonic-Patterns-With-interactive-inputs . But, instead of taking XABCD and verifying if it confirms to any pattern, here we only take XABC and project all PRZs. Example, upon adding the script to chart, it will prompt to select 4 points on chart by clicking on it. if we select X, A,...
This script is a drawing tool which allows users to draw XABCD on the chart and script will tell whether there is any harmonic patterns on the drawings made. The script is based on interactive inputs and requires users to chose XABCD points. Please note This is not a scanner and it will not scan historical bars for harmonic patterns. This needs to be used...