Feature scaler | Pine Utilities series, ready to be used in "study-on-study" fashion | Includes min-max, normalization, standardization and unit length scaling. One and only source: en.wikipedia.org Endpoint inputs allow to set an interval of interest for min-max scaler. Can be (and should be) applied to other studies, or to the chart itself. In this example,...
High-pass filter | Pine Utilities series, ready to be used in "study-on-study" fashion | Represents the difference between the filter and the original unfiltered data. How to use: 1) Add a filter to your chart (in this particular case it was 4-pole Gaussian filter implemented by @everget, ty man); 2) Tap ... on your's filter status line and choose "Add...
Basic Pareto distribution! This is a simple exponential curve set on the 1 minute timeframe. Three different gradients are used in the example image.
█ OVERVIEW Here I present to the community at large a collection of code comment blocks that I think will be useful, especially for larger script projects bordering on 2,000 lines or above of code. █ PLANNED FUTURE UPDATES Work with the community to expand this template to be even more useful with the inclusion of useful global colour sets,...
Add derivative of a signal for leading behaviour formula: sig = (lambda/100)*source + (1-lambda/100)**momentum ) it has a multiplier and an offset for adjustment of result. final formula: sig = multiplier*( (lambda/100)*src + (1-lambda/100)*mom_coef*mom ) + offset
In this script I use a simple, not necessarily profitable, strategy of a cross of MAs to teach how to calculate and plot the PnL of each trade made by the indicator. I also show how to calculate the cumulative PnL of all trades and the Buy and Hold of the same period. These calculations which are natively available in any strategy script, require a bit of...
Moving Average Convergence Divergence – MACD The most popular indicator used in technical analysis , the moving average convergence divergence ( MACD ), created by Gerald Appel. MACD is a trend-following momentum indicator , designed to reveal changes in the strength, direction, momentum, and duration of a trend in a financial instrument’s price Historical...
Countdown Interval Timer calculates the time remaining (in seconds) until bar close and 5 custom intervals (minutes). Given the execution model of Pine Script is ticked-based, alerts based on this indicator will only trigger if there is a tick at the right time. Specifically, a tick would be required between the event target (close of bar time, end of minute/s...
Match with the MM Chop Filter This draw Non repainting range boxes when the oscillator see a range. -Breakout Buy/Sell Signals and Exit signals when prices enters a range just in case you did get into a trade. . -Alarms to match the signals How to use Match with the oscillator and always trade the trend with your strategy confirmation and the breakout this...
The only time filter that you will ever need. Easily filter for: --> Start/End Dates --> Weekdays --> 1 or 2 Daily Trade Sessions. This is open source on purpose so you can enjoy ease of use on your own codes. Simply copy the code and use the variable "inTime" to filter bars that fit your time constraints. I spent a lot more time on this than I'd like to...
Dashboard to see Price Momentum Build-Up at Nifty. It cumulates all prices and their respective weightage. During initial of a candle, we are not aware of volume is High or Not, we only get it in later buildup. But Price buildup will display it at the same instant that what is going with the price of all stocks. The logic used here is that 1) If a stock close >...
This creates a combination style closing price change on each tick. It has two theme options, one as silver dials for Dark Theme and the other as black dials for White Theme. We get fixated to watching closing prices on charts and it gets visually daunting. This creates a combination style price change which updates on each tick, which is quite pleasing...
This script enables calling and/or plotting of traditional Candles sources while loaded on Heikin Ashi charts. Thanks to @PineCoders for rounding method: www.pinecoders.com Thanks to @BeeHolder for method to regex normalize syminfo.tickerid. NOTICE: While this script is meant to be utilized on Heikin Ashi charts it does NOT enable ability to backtest! NOTICE:...
A simple utility tool to examine a filter's step & impulse responses. By default you can see LSMA's responses. How to use: 1. Insert your filter to "f(input)" function inside the code; 2. Let this tool help you to make your own filters. I been seeing people dropping snaps with this stuff but NEVER, NO1 actually dropped the tool itself (4 real?). Well here is it,...
Example overload functions accept loading of _value for types float, int, or string, then positively identifies the actual argument type of that specific loaded _value.
Example function accepts loading of _value for types float, int, or string, then identifies whether the loaded _value is a string number, string, or number.
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...
Another simple script to be added on top of other indicators. Simply provides a symbol of varying color depending on the value of the oscillator. Allows up to 4 different colors in each direction. Includes alerts conditions. Demonstration is the indicator being applied to the RSI (purple) included in Market Cipher B. To use, simply add it to your indicator, and...