Reverse Repo Correlation Indicator This TradingView indicator calculates the correlation between the current stock's close price and the value of the Reverse Repo Rate (`RRPONTSYD`). It uses the Pearson correlation coefficient to measure the strength and direction of the relationship. Inputs - **Correlation Length**: The number of bars used to calculate the...
Really excited to be sharing this indicator! This is the cross-period comparison indicator, AKA the comparison indicator. What does it do? The cross-period comparison indicator permits for the qualitative assessment of two points in time on a particular equity. What is its use? At first, I was looking for a way to determine the degree of similarity...
The Rate of Deviation indicator calculates and displays the amount the current price varies above or below the average price over Length bars. A deviation value greater than the base level indicates that the current price is higher than the price average while a deviation less than the base level indicates that the current price is lower than the price average.
📊 StatBox: A Comprehensive Trading Indicator for RSI, Volume Percent, and ADD 📈💼 Introducing StatBox, the ultimate trading indicator designed to provide traders with a powerful analytical toolset for making informed trading decisions. With StatBox, you gain access to real-time data on Relative Strength Index (RSI), Volume Percent, and ADD (Advance/Decline...
Grid Spot Trading Algorithm V2 is the last grid trading algorithm made by our developer team. Grid Spot Trading Algorithm V2 is a fixed 10-level grid trading algorithm. The grid is divided into an accumulation area (red) and a selling area (green). In the accumulation area, the algorithm will place new buy orders, selling the long positions on the top of the...
The tool you're using is a financial instrument trading planner and analyzer. Here is how to use it: Trade Planning: You can plan your trade entries and exits, calculating potential profits, losses, and their ratio (P/L ratio). You can define up to five target closing prices with varying volumes, which can be individually activated or deactivated (volume set...
Library "Position_control" This is a library for defining positions and working with them. f_calculateLeverage(_Leverage, _maintenance, _value, _direction) Calculate the leverage used in a trade. @description This function calculates the leverage used in a trade, based on the value of the trade, the maintenance margin, and the direction of the...
Library "APT_Metrics" Portfolio metrics using alternative portfolio theory metrics(init, cur, start, end, alpha) Calculates APT metrics Parameters: init (float) : Starting Equity (strategy.initial) cur (float) start (int) : Start date (UNIX) end (int) : End Date (UNIX) alpha (float) : Confidence interval for DaR/CDaR. Defval =...
See inside candles based on user-input LTF setting: get data on 'Directionality' of your candle; Gaps (total and Sum; UP and DOWN); Number of Bull or Bear constituent candles //Features: -DIRECTIONALITY: compare length of the 'zig-zag' random walk of lower time frame constituent candles, to the full height of the current candle. Resulting % I refer to as...
A very simple indicator to display the spread between ES and SPX. The table by default displays in the upper right corner of the chart. If you are on the chart for SPX, it will show the current price of ES, as well as the difference in points between the two. Similarly, if on the chart for ES, it will show the price for SPX as well as the difference in points...
This is a script written exclusively for people who are trying to learn Pine Script. PSESS stands for "Pine Script Educational Script Series" which is a series of scripts that helps Pine Script programmers in 2 ways: 1. Learn Pine Script at more depth by an interactive environment where they can immediately see the effects of any change in the pre-written...
Expected Volatility Hello and welcome to my first indicator! I'm publishing this indicator as free to use and modify because I think it's a great place to learn and I hope I can teach you something. There are some terms which you need to understand before I begin explaining this indicator and what it does for you: Daily Settlement - The price at which a market...
This is a manual profit and loss tracker. It takes the user's manual input of total cost and quantity, and then outputs a table on the bottom right of the chart showing the profit or loss %, average purchase price, gross profit or loss, and market value. Instructions: 1. Double click the indicator title at the top left of the chart 2. Select the "Inputs"...
Monte Carlo simulations have been a popular tool in the world of finance, risk analysis, and decision making for decades. In this post, I will take you through the history of Monte Carlo simulations and explain how I implemented this powerful technique in Pine Script. This implementation can help traders and investors in various time frames to better understand...
Enter your purchase price & the quantity. It'll display a line at that value, with a label indicating the current gain/loss
Hello Traders ! Looking for better trading results ? "This indicator shows you how to identify price reversals in a timely manner." John F. Ehlers Introduction : The Gaussian Fisher Transform Price Reversals indicator, dubbed FTR for short, is a stat based price reversal detection indicator inspired by and based on the work of the electrical engineer now...
Library "BenfordsLaw" Methods to deal with Benford's law which states that a distribution of first and higher order digits of numerical strings has a characteristic pattern. "Benford's law is an observation about the leading digits of the numbers found in real-world data sets. Intuitively, one might expect that the leading digits of these numbers would be...
Shades your chart background to flag events such as crises or recessions, in similar fashion to what you see on FRED charts. The advantage of this indicator over others is that you can quickly input custom event dates as text in the menu to analyse their impact for your specific symbol. The script automatically labels, calculates and displays the peak to...