Just a quick trial at using statistical variance/standard deviation as an indicator. The general idea is that higher variance in the short term tends to indicate more volatility/movement. The other thing is that it can help set probabilistic boundaries for movements (e.g., if you set the bars to be 2 standard deviations, you are visualizing a range that denotes...
A crypto correlation matrix or table is a tool that displays the correlation between different cryptocurrencies and other financial assets. The matrix provides an overview of the degree to which various cryptocurrencies move in tandem or independently of each other. Each cell represents the correlation between the row and column assets respectively. The...
Indicator of trading sessions: Indicator created to track the opening of trading sessions: Asia, Frankfurt, London, New York. Tracking the opening of these key levels - Day Opening (DO), Week Opening (WO), Month Opening (MO). - New York (NYM) openings display. - Highs and lows of the previous day (PDH/PDL). - Day of the week display. - Formation...
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