Adaptive technical indicators are importants in a non stationary market, the ability to adapt to a situation can boost the efficiency of your strategy. A lot of methods have been proposed to make technical indicators "smarters", the dominant cycle tuned indicators are one of them which are based on J.F.Ehlers theory. Here is a collections of algorithms to...
I'm a follower of Noldo, and I've learned almost all of his published scripts. I like some of the basic functions he wrote so much that I decided to collect them as a noldo_ta library file to share. Most of these functions are the same as Noldo's version, and there are some interesting algorithmic processing, which I also encapsulated into functions....
Library "MomentumSignals" Contains utilities varying algorithms for detecting key changes in momentum. Note: Momentum is not velocity and should be used in conjunction with other indicators. A change in momentum does not mean a reversal of velocity or trend. simple(primary, secondary, len) Compares two series for changes in momentum to derive signal...
Library "Momentum" Contains utilities varying algorithms for measuring momentum. simple(fast, slow, src, fastType, slowType) Derives momentum from two moving averages of different lengths. Parameters: fast : The length of the fast moving average. slow : The length of the slow moving average. src : The series to measure from. Default is...
Library "bench" A simple banchmark library to analyse script performance and bottlenecks. Very useful if you are developing an overly complex application in Pine Script, or trying to optimise a library / function / algorithm... Supports artificial looping benchmarks (of fast functions) Supports integrated linear benchmarks (of expensive scripts) One...
Library "FFTLibrary" contains a function for performing Fast Fourier Transform (FFT) along with a few helper functions. In general, FFT is defined for complex inputs and outputs. The real and imaginary parts of formally complex data are treated as separate arrays (denoted as x and y). For real-valued data, the array of imaginary parts should be filled with...
Library "StringEvaluation" Methods to handle evaluation of strings. is_comma(char) Check if char is a comma ".". Parameters: char : string, 1 character string. Returns: bool. is_op(char) Check if char is a operator. Parameters: char : string, 1 character string. Returns: bool. number(char) convert a single char string into valid...
Library "MovingAverages" Contains utilities for generating moving average values including getting a moving average by name and a function for generating a Volume-Adjusted WMA. vawma(len, src, volumeDefault) VAWMA = VWMA and WMA combined. Simply put, this attempts to determine the average price per share over time weighted heavier for recent values. Uses a...
Library "fraction" Fraction Creation and Basic Operations. Cracked a tough problem in making this Polarity Agnostic Decimal without a cheating "abs * sign of input". it's quite fast, however still test for errors before production use. >> Big Neon Sign on 1/0 value. << Int Array (LOC 0/1).. To/From Decimal(float) Comparison ( < / == / >) Add /...
Library "Algomojo" This library brings faster access to Automate trades. It simplifies the execution rules and helps traders to implement faster algo trading strategies. algomodule()