Some functions to handle Arithmetic Geometric Mean.

157

This script plots both real and HA candles regardless or which are used on the chart in TV settings. (and has the functions for you to use.) Lots of people seem to misunderstand backtesting (or scam people) based on HA candles. Backtesting with HA candles leads to impossible trades. ALWAYS backtest with real candles. That doesn't mean you might not want to look...

213

Oftentimes a single look at the candlestick configuration happens to be enough to understand what is going on. The chandlestick function is an experiment in smart labelling that produces candles for various time frames, not only for the fixed 1m, 3m , 5m, 15m, etc. ones, and helps in decision-making when eye-balling the chart. This function generates up to 12 last...

146

20 step red/green gradient function The color gradient function allow colorize any source in 5% steps. Define the source, minimum and maximum value (constant or , for example, bb (or any other channel)).

353

This script uses a reverse function of the famous Ehler Instantaneous Trendline to calculate the source price required in order to change from Bullish to bearish From my analysis, the reverse price does appear to be rather choppy, though it is 100% accurate. This is because Ehler's Instantaneous Trendline tends to remain trending for longer periods of time with...

48

"In statistics, kernel density estimation (KDE) is a non-parametric way to estimate the probability density function of a random variable." from wikipedia.com KDE function with optional kernel: Uniform Triangle Epanechnikov Quartic Triweight Gaussian Cosinus Republishing due to change of function. deprecated script:

143

EXPERIMENTAL: the logistic equation and the market.. :)..

674

This script is a continuation from Duyck's Unicode font function A different approach made on this function to able change font type on a single string Now you can call it as a function to change the font type on every string that you need, either it is for a Label or regular Text Shoutout to @Duyck for his amazing works on this function. Thank you to PineScript...

117

Library "FunctionKellyCriterion" Kelly criterion methods. the kelly criterion helps with the decision of how much one should invest in a asset as long as you know the odds and expected return of said asset. simplified(win_p, rr) simplified version of the kelly criterion formula. Parameters: win_p : float, probability of winning. rr : float,...

78

A function to track maximum profit.

542

Vector Scaler is like Stochastic but it uses a different method to scale the input. The method is very similar to vector normalization but instead of keeping the "vector" we just sum the three points and average them. The blue line is the signal line and the orange line is the smoothed signal line. I have added the "J" line from the KDJ indicator to help spot...

31

Function - Number of digits before and after the decimal point Detect the number of digits in integers and floats, before the decimal and after it. It also works for negative numbers. There are some rounding issues, but the currently maximum supported number can have safely up to 3 digits after the decimal point.

123

Hi BIG PLAYERS Each of us makes mistakes and exceptions confirm the rule. However, if you disregard the rules of trading, you lose your money - without any ifs and buts! I have therefore created a reminder label for myself, which trading approaches I always want to stick to. These rules serve me as a guideline when I should trade. Through the permanent...

214

This script is for a triple moving average indicator where the user can select from different types of moving averages, price sources, lookback periods and resolutions. Features: - 3 Moving Averages with variable MA types, periods, price sources, resolutions and the ability to disable each individually - Crossovers are plotted on the chart with detailed...

325

First off, a huge thank you to the following people: LEGION: LazyBear: www.tradingview.com xSilas: www.tradingview.com Ni6HTH4awK: www.tradingview.com sco77m4r7and: SNOW_CITY: www.tradingview.com oh92: www.tradingview.com alexgrover: www.tradingview.com cI8DH: www.tradingview.com DonovanWall: www.tradingview.com Since I've been on TradingView I've become...

378

Custom f_nDecimals() function returns precision of decimal numbers of the following forms: const, input, simple, and series of the following types: float, integer, and string. Error checking is performed for valid numbers and invalid values return NaN. NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any...

33

EXPERIMENTAL: this is very experimental and INCOMPLETE, use at your own discretion. thanks glaz for the help :)

247