This script generates pseudo-random asset data . Due to the nature of the random generator, it is impossible to use this indicator as input for other indicators because the instance of the script that the indicator is applied to will automatically be different from the instance that is plotted on the chart. Therefore, the idea is to use this script in other...
Oscillator Evaluator (Analysis tool) The oscillator evaluator is a tool that will help you analyse and compare the oscillator of your choice to another 2 oscillators. By selecting the strategy with which you will analyze the oscillators, you will be able to see the behaviour of the oscillators in different aspects. First there is a moving average increase or...
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...
This is the defaut keltners channel strategy with a few additions. The main purpose is to show how we include the Kelly ratio into our scripts for dynamic position sizing based on the performance of the strategy on a per trade basis. We've also included the usual take-profit and stop-loss parameters in the event you want to play a little :) We hope this helps...
Introducing the Moving Regression Prediction Bands indicator. Here I aimed to combine the principles of traditional band indicators (such as Bollinger Bands), regression channel and outlier detection methods. Its upper and lower bands define an interval in which the current price was expected to fall with a prescribed probability, as predicted by the...
FINALLY! As everyone who tried to create, understand, or even find the Buff Pelz Dormeier Anti-volume stop-loss indicator knows that - it's not easy. Personally, I have partially, or perhaps completely figured out, the tips Buff had given in Investing with Volume Analysis book. AVSL now is ready. Please do some test and give me a feedback how it works in your...
Hello Traders As most of you know, I'm a member of the PineCoders community and I sometimes take freelance pine coding jobs for TradingView users. Off the top of my head, users often want to: - convert an indicator into a strategy, so as to get the backtesting statistics from TradingView - add alerts to their indicator/strategy - develop a generic strategy...
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...
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...
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...
NOTE The non-repainting technique in this publication that relies on bar states is now deprecated, as we have identified inconsistencies that undermine its credibility as a universal solution. The outputs that use the technique are still available for reference in this publication. However, we do not endorse its usage. See this publication for more information...
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....
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 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...