The following indicator returns a line bouncing of the extremities of a Donchian channel, with the aim of replicating a "zig-zag" indicator. The indicator can both be lagging or lagging depending on the settings user uses. Various extended lines are displayed in order to see if the peaks and troughs made by the Donchian zig-zag can act as potential...
Add MTF capabilities to "seconds" timeframes!! This script is not intended to be used as an indicator but gives you a workaround to solve the missing seconds MTF capabilities. The "resolution" function in Pinescript doesn't allow for seconds values to be put in MTF So I wrote a little helper code with arrays to get MTF on seconds timeframes. If you want...
Volume swings are defined as increasing volume and higher highs/lower lows over a minimum of three bars. This script tracks volume swings over an intraday chart and stores the final lowest low swing / highest high swing over the course of the day. The final high swing and low swing are then plotted over the following day as possible retracement / support &...
Maximum Drawdown and Maximum Relative Drawdown% calculating functions. I needed a way to calculate the maxDD% of a serie of datas from an array (the different values of my balance account). I didn't find any builtin pinescript way to do it, so here it is. There are 2 algorithms to calculate maxDD and relative maxDD%, one non optimized needs n*(n - 1)/2...
█ OVERVIEW This script presents a new function to help coders use security() in both repainting and non-repainting modes. We revisit this often misunderstood and misused function, and explain its behavior in different contexts, in the hope of dispelling some of the coder lure surrounding it. The function is incredibly powerful, yet misused, it can become a...
The indicator calculates Triangularity over Stoch RSI Overbought and Oversold Conditions So Ever wondered how a overbought and oversold condition looks if the values are triangualrised The indicator plots auto band levels on top of price Enjoy!
You don't need loops to get the rolling correlation between an input series and a linear sequence of values, this can be obtained from the normalized difference between a WMA and an SMA of the input series. The closed-form solutions for the moving average and standard deviation of a linear sequence can be easily calculated, while the same rolling statistics for...
Delta-RSI Oscillator Strategy: This strategy illustrates the use of the recently published Delta-RSI Oscillator as a stand-alone indicator. Delta-RSI represents a smoothed time derivative of the RSI, plotted as a histogram and serving as a momentum indicator. There are three optional conditions to generate trading signals (set separately for Buy, Sell and Exit...
This indicator was invented in 2001 by Konstantin Kopyrkin. The name "Nick Rypock" is derived from his surname reading in the opposite direction: Kopyrkin -> Kopyr Kin -> Kin Kopyr -> Nik Rypok The idea of the indicator is similar to the Chandelier Exit, but doesn't involve ATR component and uses a percentage instead. A dynamic price channel is used to...
Multi-timeframe Strategy based on Logistic Regression algorithm Description: This strategy uses a classic machine learning algorithm that came from statistics - Logistic Regression (LR). The first and most important thing about logistic regression is that it is not a 'Regression' but a 'Classification' algorithm. The name itself is somewhat misleading....
█ OVERVIEW This indicator calculates relative volume, which is the ratio of present volume over an average of past volume. It offers two calculation modes, both using a time reference as an anchor. █ CONCEPTS Calculation modes The simplest way to calculate relative volume is by using the ratio of a bar's volume...
█ OVERALL Plot waindrops (custom volume profiles) on user defined periods, for each period you get high and low, it slices each period in half to get independent vwap, volume profile and the volume traded per price at each half. It works on intraday charts only, up to 720m (12H). It can plot balanced or unbalanced waindrops, and volume profiles up to 24H...
Dear all, I wish a Happy New Year! The last time I tried to developing a Volume Heatmap, that the Marketorders made. With the currently version I achieve my skills for that and I present it for everyone - some bugs I cannot solve today. It also possible to see the POC - also the dynamic of volume developing: The background for that is to find the...
█ OVERVIEW “The benchmark Dow Jones Industrial Average is off nearly 300 points as of midday today...” “So what? Is that a lot or a little? Should we care?” -Adam H Grimes- This screener aims to provide Bird-Eye view across sector indices, to find which sector is having significant or 'out-of-norm' move in either direction. The significance of the move is...
Moving Regression is a generalization of moving average and polynomial regression. The procedure approximates a specified number of prior data points with a polynomial function of a user-defined degree. Then, polynomial interpolation of the last data point is used to construct a Moving Regression time series. Application: Moving Regression allows one to smooth...
kNN-based Strategy (FX and Crypto) Description: This strategy uses a classic machine learning algorithm - k Nearest Neighbours (kNN) - to let you find a prediction for the next (tomorrow's, next month's, etc.) market move. Being an unsupervised machine learning algorithm, kNN is one of the most simple learning algorithms. To do a prediction of the next market...
Hello Traders, Here is my new year gift for the community, Digergence for Many Indicators v4 . I tried to make it modular and readable as much as I can. Thanks to Pine Team for improving Pine Platform all the time! How it works? - On each candle it checks divergences between current and any of last 16 Pivot Points for the indicators. - it search divergence...
World Clocks - something for fun Happy New Year! ps: in case no update on the charts then the clock will not update too and will lag or stop till a new update is received