Percent Research is an indicator that will plot a color / column on the chart in case custom requirements are met. The requirements are: - Price : Price requirement (equal or above input). - Change % Up : Amount the price have moved up in percent (equal or above input). - Change % Down : Amount the price have moved down in percent (equal or below input). - ...
An indicator that is a parametric lag power filter. I'm starting Time Series Analysis by Hamilton James Douglas, to try to find some fun ideas to test and upgrade my skills on that subject and share them when it produce something that can be useful. The idea behind that indicator, it's to only get the shape of the biggest movement in percent. To solve that...
I found a very high correlation in a research-based Artificial Neural Networks.(ANN) Trained only on daily bars with blockchain data and Bitcoin closing price. NOTE: It does not repaint strictly during the weekly time frame. (TF = 1W) Use only for Bitcoin . Blockchain data can be repainted in the daily time zone according to the description time. Alarms are...
The one of the most important indicators every trader must use is time :) Sometimes it has a lag due to the script recalculation per each candle tick (not every second)
A simple as ass concept that uses modular arithmetic to plot dashed line.
I found a bug with built-in percentrank function. Sometimes it gives unexpected and incorrect results. You can see a one of them on the chart. ALL scripts which use percentrank function are affected. No matter which version they use, no matter who is their author - ALL scripts which use this built-in function can work incorrectly. If you want to avoid...
Hello traders and developers! I was wondering how built-in "dev" function in Pine is calculated so I made a little research. I examined 7 samples: 0) "dev" function itself 1) "dev" according to its description: series - sma(series) 2) Mean Absolute Deviation 3) ratio of the absolute difference from 1) divided by period 4) ratio of the difference from 1)...
Hello traders and developers! I compared different techniques to get momentum of the series. The 4 samples are: 1) Raw difference between price and price some bars ago 2) Built-in "change" function 3) Built-in "mom" function 4) Jedi's momentum - difference between current and previous SMA multiplied by it's period All results are identical. So, we have two...
Hello traders and developers! I was wondering how built-in "roc" function in Pine is defined and calculated so I made a little research. I examined 4 samples: 1) "roc" function itself 2) "roc" according to its description 3) price change ratio 4) price percent change ratio The results of the first and fourth samples are identical. So, TV built-in roc(source,...
Kendall Rank Correlation Coefficient script. This way to measure the ordinal association between two measured quantities described by Maurice Kendall (1938, Biometrika, 30 (1–2): 81–89, "A New Measure of Rank Correlation"). In this script I compare Kendall Coefficient and Pearson Coefficient (using built-in "correlation" function).
I compared custom median (using the sorting solution by @apozdnyakov) with built-in median (using percentile_nearest_rank function) If you see the zero line this means the solutions give the same results. The best results was achieved on the odd lengths. Conclusions: 1) Do not try to reinvent the wheel. 2) Always check the Pine Script docs to find already...
Quasi White Noise script. An experimental approach to implement a white noise using Pine Script. Uses Connors RSI under the hood. en.wikipedia.org
counts N of sequences, N of bars, N of same open/close value, and N of sequences from 1 -> 10+ bar sequences in a direction up/down.
EXPERIMENTAL: Study on Fractal Price Flow. UPDATE: Cleaned up, added optional time frames(all), will need to go into options for setup, all settings are off by default.
this code is untested use at your own risk... applying timed price change over the square to predict price expansion or contraction of the range, it is not predicting the future price only the range that is possible for the price to be in within a margin of error of possibility, with that said i think its very unlikely for price to fall outside the range, due to...