Wanna know how long your script takes to execute. Just put this function at the end of your code and it will tell you how much time it takes to run your algo from start to end. Data will show in the data window panel measured in seconds
Library "AlgebraLib" f_signaldraw(_side, _date) : Draw a simple label with Buy or Sell signal Parameters: _side (string) _date (int) Returns: : VOID, it draws a new label
This simple indicator calculates and provides insights into different performance metrics of an asset - Sharpe, Sortino and Omega Ratios in particular. It allows users to customize the lookback period and select their preferred data source for evaluation of an asset. Sharpe Ratio: The Sharpe Ratio measures the risk-adjusted return of an asset by considering...
This scripts calculates the percentage gain in a month (previous 22 trade days). Firstly, it calculates number of sample days -> minimum no. of sampling duration = 22 -> maximum no. of sampling duration = increased from 22 until 0day_low > 22_day_high Example if sampling_duration = 100 Monthly percentage gain = ((Current_Day_High_Price - 0_Day_Low_Price) *...
What Is This? This script code adds a Monthly Strategy Performance Table to your Pine Script strategy scripts so you can see a month-by-month and year-by-year breakdown of your P&L as a percentage of your account balance. The table is based on realized equity rather than open equity, so it only updates the metrics when a trade is closed. That's why some...
The Liquidation Lines Technical Indicator is a trading tool designed to assist traders in identifying potential liquidation levels. This indicator generates virtual positions, known as "liquidation lines", which mark the points at which these positions would be liquidated under specified conditions. Key Features: Quantity of Lines: The indicator can create up to...
It contains the Correlations for SP:SPX , TVC:DXY , CURRENCYCOM:GOLD , TVC:US10Y and TVC:VIX and is intended for INDEX:BTCUSD , but works fine for most other charts as well. Don't worry about the colored mess, what you want is to export your chart -> TradingView: How can I export chart data? and then use the last line in the csv file to copy your...
Library "KernelFunctionsFilters" This library provides filters for non-repainting kernel functions for Nadaraya-Watson estimator implementations made by @jdehorty. Filters include a smoothing formula and zero lag formula. You can find examples in the code. For more information check out the original library KernelFunctions. rationalQuadratic(_src, _lookback,...
In this small indicator I make it possible for the user to set two different input sources. Then, the indicator displays the correlation of these two input sources. It's a very small script, but I think it could be helpful to somebody to find uncorrelated indicators for his trading strategy. To use uncorrelated indicators is in general recommended. Enjoy this...
This indicator draws an upper and lower band for each day. It uses the Average True Range calculation (with configurable lookback) and places the band at 1ATR above and 1ATR below the daily open. I use this indicator as a simple gauge to tell how significant price movement is, and get a feel for the daily volatility. Due to the fractal nature of price action,...
Initial Balance Strategy Initial Balance Strategy uses a source code of "Initial Balance Monitoring Panel" that build from "Initial Balance Markets Time Zones - Overall Highest and Lowest". Initial Balance is based on the highest and lowest price action within the first 60 minutes of trading. Reading online this can depict which way the market can trend for the...
Helps users track their position and profit/loss in real-time. Instructions : Open the indicator settings Input your Quantity, Buy Price, Fee, and Target Price This indicator is designed to provide users with simple real-time tracking of their positions and profit/loss within a trading session. It offers clear and concise information that enables...
This script display some useful Statistics data that can be useful in making trading decision. Here the list of information this script is display in table format. You can change each and every single ema and rs length as per your need from setting. 1) close difference from first ema 2) close difference from second ema 3) close difference from third ema 4)...
Hello, I am releasing this time series modelling indicator. Brief overview of the indicator's functionality: The Time Series Model indicator is a technical analysis tool that calculates and visualizes a linear regression line based on historical price data. It assesses the trend direction and provides an outer band around the regression line to indicate...
Cobra's Crypto Market Screener is designed to provide a comprehensive overview of the top 40 marketcap cryptocurrencies in a table\heatmap format. This indicator incorporates essential metrics such as Beta, Alpha, Sharpe Ratio, Sortino Ratio, Omega Ratio, Z-Score, and Average Daily Range (ADR). The table utilizes cell coloring resembling a heatmap, allowing for...
Hello, I am releasing this indicator called the Autoregressive Cloud Indicator. What it does: The indicator performs an autoregression analysis on 3 price variables of a ticker, those being the High, the Low and the Close. It uses a 1-lag system and looks back at the previous close, high and low’s effect on the proceeding high, low and close. It then plots out...
The Multiple Timeframe Stationary Extreme Indicator is designed to help traders identify extreme price movements across different timeframes. By analyzing extremes in price action, this indicator aims to provide valuable insights into potential overbought and oversold conditions, offering opportunities for trading decisions. The indicator operates by calculating...
Publishing my first indicator on TradingView. Essentially a modification of the Correlation Coefficient indicator, that displays a 2 ticker symbols' correlation coefficient vs, the chart presently loaded.. You can modify the symbols, but the default uses DXY and XAU, which have been displaying strong negative correlation. As with the built-in CC (Correlation...