Commission-aware Trade Labels Description: This library provides an easy way to visualize take-profit and stop-loss levels on your chart, taking into account trading commissions. The library calculates and displays the net profit or loss, along with other useful information such as risk/reward ratio, shares, and position size. Features: Configurable...
The Macon Strategy is an idea conceived by Didier Darcet , co-founder of Gavekal Intelligence Software. Inspired by the Water Level, an instrument used by masons to check the horizontality or verticality of a wall. This method aims to measure the psychology of financial markets and determine if the market is balanced or tilting towards an unfavorable side,...
This indicator provides easy-to-see Kimchi premium information. It provides three pieces of information. 1. Current premium 2. The highest value of the premium over the last 240 candlesticks in the current timeframe. 3. The highest value of the premium over the last 240 candlesticks in the current timeframe. I think this script is a very simple indicator. It is...
Concentrated Market Maker Strategy by oxowl. This script plots an upper and lower bound for liquidity provision, and checks for rebalancing conditions. It also includes alert conditions for when the price crosses the upper or lower bounds. Here's an overview of the script: It defines the input parameters: liquidity range percentage, rebalance frequency in...
Linear regression is a statistical method used to model the relationship between a dependent variable and one or more independent variables. It assumes a linear relationship between the dependent variable and the independent variable(s) and attempts to fit a straight line that best describes the relationship. In the context of predicting the price of a stock...
Library "Bitwise, Encode, Decode" Bitwise, Encode, Decode, and more Library docs() Hover-Over Documentation for inside Text Editor bAnd(a, b) Returns the bitwise AND of two integers Parameters: a : `int` - The first integer b : `int` - The second integer Returns: `int` - The bitwise AND of the two integers bOr(a, b) Performs a...
Locate candles that have done more than % move. % being provided by the user.
Difference between spot and derivative prices. With this indicator you can get an idea on how strong the market is.
Turtle Trading Risk Adjusted Position Size Calculator Hello Traders ! Turtle Trading Risk Adjustment Calculator (inspired by the Turtle Traders Position sizing methods) aims to objectively help day traders allocate the appropriate position size per trade by scaling different instruments by their risk, as measured by their volatility via the ATR (default -...
what is Futures /Spot Ratio? Although futures and spot markets are separate markets, they are correlated. arbitrage bots allow this gap to be closed. But arbitrage bots also have their limits. so there are always slight differences between futures and spot markets. By analyzing these differences, the movements of the players in the market can be interpreted and...
This script trying to detect different lifecycle of stock / Stages. There is mainly 4 stages of stocks. 1) stage 1 - Accumulation = color = aqua 2) stage 2 - Advancing = color = green 3) stage 3 - Distribution = color = yellow 4) stage 4 - Declining = color = red At some point the condition i wrote wont detect any stage.
The XLY/XLP ratio is a financial indicator that measures the ratio between the two ETFs (Exchange Traded Funds) Consumer Discretionary Select Sector SPDR Fund (XLY) and Consumer Staples Select Sector SPDR Fund (XLP). This ratio is often used by traders and investors as a measure of the relative success of companies in the consumer goods and consumer services...
Hello! This script "Gaps" is a continuation and improvement on a subset indicator included in the "Quartile Volume; Volume Aggregation; US Range Bars; Gaps)" script! As advised by @thebearfib, the "Gaps" indicator is now standalone! Features Stat: Avg. Bars to Fill Up Gap Stat: Avg. Bars to Fill Down Gap Stat: Cumulative Up Gap % Increase Stat:...
This script will count the bars back since the last time the current bar indicator value was either this low or this high. It will provide the time in either, seconds, minutes, hours, days, weeks, months, or years. please note: There are currently no alerts setup for this script. the length options only apply to the sources that have the "(MA)" in their...
This indicator gives you the ability to see historical data for each bar on the chart by simply hovering over the high of the bar, similar to the functionality of MarketSmith. Data for each bar includes: Open High Low Close + Change Percentage Change Closing Range Volume Volume Percent based on 50 day average Distance to 4 selectable moving...
This is a sample PineSript code implementation using Correlation Coefficient. It uses the ta.correlation library of Pinescript and calculates the correlation based on user input length. The results are then plotted on a table. The corr value displays the actual correlation coefficient value while the Corr Status displays the interpretation of the correlation...
This is the Global Monetary Supply M2 of the richest and most populous countries that have info from at least 2008 It is measured in USD (converting the M2 of each of the countries respective currencies and virtually converting them into USD) This is less than the global liquidity as it does not include the countries' assets in other currencies (on their balance...
Library "DataChart" Library to plot scatterplot or heatmaps for your own set of data samples draw(this) draw contents of the chart object Parameters: this : Chart object Returns: current chart object init(this) Initialize Chart object. Parameters: this : Chart object to be initialized Returns: current chart object addSample(this,...