Daily Range %The Daily Range % Indicator calculates and plots a percentage of the daily range (high to low) based on a custom lookback period. It identifies outside bars from past daily data, prioritizing the most recent unbroken range. If no outside bar is found, it defaults to yesterday's range. The selected percentage of this range is then displayed on the chart, updating once per 5-minute bar (or the chosen resolution).
Pine实用程序
RSI Buy/Sell at 50 Corrected
Initial Settings:
The RSI indicator is calculated with a default period of 14, which is suitable for a 1-minute chart (you can change this value).
The code is set to non-overlay mode (overlay=false) so that the RSI is displayed below the chart.
Buy Signal Conditions:
When the RSI goes below 50 from above (in the previous candle) and then returns above 50, a buy signal (green arrow) is displayed.
Sell Signal Conditions:
When the RSI goes above 50 from below (in the previous candle) and then returns below 50, a sell signal (red arrow) is displayed.
Visual Display:
Buy signals are shown with green arrows pointing up, and sell signals with red arrows pointing down.
A horizontal line at level 50 and the RSI itself are also plotted on the chart for reference.
RCI with MA CrossoverThis script creates a technical indicator that:
Calculates the Rank Correlation Index (RCI)
Computes a Simple Moving Average (SMA) of the RCI
Generates trading signals based on crossovers between RCI and its SMA
Visualizes the results with plots
Inputs
RCI Length (rci_length): Default 12 periods
SMA Length (sma_length): Default 9 periods
Source (src): Default is closing price, but customizable
Key Functions
1. f_ord(seq, idx, itv)
Purpose: Calculates the rank of a value within a sequence
How it works:
Takes a value at position idx in sequence seq
Compares it with previous itv values
Counts how many values are greater (increments rank)
Handles ties by averaging ranks
Returns: Adjusted rank as a float
2. f_d(itv)
Purpose: Computes sum of squared differences between time and price ranks
How it works:
Loops through itv periods
Time rank decreases linearly (itv - i)
Price rank comes from f_ord
Sums squared differences
Returns: Total sum for RCI formula
3. f_rci(itv)
Purpose: Calculates the RCI value
Formula:
RCI = (1 - 6 * f_d(itv) / (n * (n² - 1))) * 100
where n = interval length
Features:
Returns NA for intervals < 2
Scales result to -100 to +100 range
Returns: RCI value
Main Calculations
RCI: Computed using f_rci with rci_length
SMA: Simple Moving Average of RCI over sma_length
Trading Signals
Buy Signal: When RCI crosses above its SMA
Sell Signal: When RCI crosses below its SMA
Visualization
RCI: Blue line
SMA: Red line
Buy Signals: Green triangles below bars
Sell Signals: Red triangles above bars
Zero Line: Gray horizontal reference line
How It Works
The RCI measures correlation between price order and time order
Positive RCI suggests upward trend
Negative RCI suggests downward trend
Crossovers with SMA generate trading signals:
RCI > SMA: Potential buy opportunity
RCI < SMA: Potential sell opportunity
Implementation Quality
Correctness: Follows standard RCI calculation methodology
Robustness: Handles edge cases (ties, small intervals)
Flexibility: Customizable inputs
Performance: Efficient for typical input values
This indicator can help traders identify trend strength and potential reversal points based on the relationship between price movements and time, enhanced by the SMA crossover signals.
EMA + RSI + MACD StrategyThe EMA + RSI + MACD strategy combines three powerful indicators to identify trend direction, confirm momentum, and filter out false signals. This strategy works exceptionally well for scalping, day trading, and swing trading in volatile markets like Bitcoin and other cryptocurrencies.
IBIT LEAPS & 30-Day Covered Call SignalsPine Script for NASDAQ:IBIT trading on TradingView that helps time LEAPS buys and covered call sales.
- Buy $60 Jan 2026 LEAPS: When RSI is under 45 and the 20-day SMA is above the 50-day.
-Sell covered calls (28–35 days out): When RSI is over 65 and price breaks above the upper Bollinger Band, targeting delta 0.15–0.25.
It’s showing about an 86% win rate on Bitcoin’s weekly chart—100% accuracy buying LEAPS on dips and 75% success selling calls at peaks. The weekly chart gives fewer signals than the daily, but I designed this to capture the big 2025 move if it happens.
Mark Hours/Minutes (Formula + Minutes)This Pine Script code is a TradingView indicator that analyzes the hour and minutes of each candle in a 1-minute timeframe and plots a red triangle above the candle if one of the following conditions is met:
Sum/Difference Condition: The sum or the absolute difference of the hours and minutes is equal to 29, 35, or 71, with a tolerance of +/- 1.
Minutes Condition: The minutes are equal to 00, 29, or 35.
This indicator is based on the Goldbach theory and the "algo path" concept popularized by Hopiplaka, which posits that algorithmic trading paths often initiate from minute values of 00, 29, and 35. Use this indicator according to your trading strategy.
RSI with Buy/Sell SignalsWhat This Script Does:
RSI Calculation:
Computes the RSI value based on the closing price and the specified length.
Buy/Sell Signals:
Buy Signal: Triggered when RSI crosses above the oversold level (e.g., 30).
Sell Signal: Triggered when RSI crosses below the overbought level (e.g., 70).
Visual Markers:
Buy Signals: Displayed as green "BUY" labels below the candlestick.
Sell Signals: Displayed as red "SELL" labels above the candlestick.
Background Highlighting: Candles with buy/sell signals are highlighted with a semi-transparent green or red background.
Alerts:
Alerts are generated for buy/sell signals, allowing you to take action in real-time.
Debugging:
The last RSI value is displayed as a label on the chart for easy reference.
Customize Parameters:
Adjust the rsi_length, overbought, and oversold levels to suit your trading strategy.
Analyze Signals:
Look for green "BUY" labels when RSI crosses above the oversold level.
Look for red "SELL" labels when RSI crosses below the overbought level.
Set Alerts:
Use TradingView's alert system to notify you when signals occur.
Example Output:
Buy Signal: A green "BUY" label appears below a candle, and the candle is highlighted with a semi-transparent green background.
Sell Signal: A red "SELL" label appears above a candle, and the candle is highlighted with a semi-transparent red background.
EMA & VWAP Indicatorindicates signal ema trend confirming ema and vwap for confirmation in one indicator
it can be used for identifying the trend and help to get best analysis of chart
JsonAlertJsonAlert Library – Convert TradingView Alerts to JSON for Server Processing! 📡
🚀 The JsonAlert library makes it easy to send TradingView alerts as structured JSON to your server, allowing seamless integration with automated trading systems, databases, or webhook-based services.
📌 Features:
✅ Converts TradingView alert data into JSON format
✅ Supports custom key-value pairs for flexibility
✅ Allows frequency control (once per bar, once per bar close, every update)
✅ Easy to integrate with server-side PHP or other languages
Note that you have to pass one string array for keys and one string array for values , also you should pass alert frequency .
📖 Example Usage in Pine Script:
//@version=6
indicator("My script" , overlay = true)
import Penhan/JsonAlert/1 as alrt
if high > low
var array keys = array.from("ticker", "timeframe", "pattern")
var array values = array.from( syminfo.ticker , timeframe.period , str.tostring(123.45) )
alrt.alarm (keys, values , alert.freq_once_per_bar)
📡 Json Output Example:
{"ticker": "BTCUSDT","timeframe": "1","pattern": "123.45"}
🖥️ Server-Side PHP Example:
There you can integrate JsonAlert with your server in seconds! :)
Première chandelle 15 min ORB strategy simplified. The lines will automatically extended from 9h30 to 16h. You will not have to do anything else.
SuperTrend STRATEGY w/ TP & SL//@version=5
strategy("SuperTrend STRATEGY w/ TP & SL", overlay=true)
// === Girdiler ===
atrPeriod = input.int(10, title="ATR Period")
mult = input.float(3.0, title="ATR Multiplier")
src = input.source(hl2, title="Kaynak")
tpPerc = input.float(2.5, title="Take Profit (%)")
slPerc = input.float(1.0, title="Stop Loss (%)")
entryOffsetPerc = input.float(0.2, title="Giriş Noktası Yüzdesel Geriden (%)")
// === ATR ve SuperTrend Hesabı ===
atr = ta.atr(atrPeriod)
upperBand = src - mult * atr
lowerBand = src + mult * atr
prevUpper = nz(upperBand , upperBand)
prevLower = nz(lowerBand , lowerBand)
upperBand := close > prevUpper ? math.max(upperBand, prevUpper) : upperBand
lowerBand := close < prevLower ? math.min(lowerBand, prevLower) : lowerBand
var trend = 1
trend := close > prevLower ? 1 : close < prevUpper ? -1 : nz(trend , 1)
buySignal = trend == 1 and trend == -1
sellSignal = trend == -1 and trend == 1
// === Giriş Noktası Takibi ===
var float lastBuyPrice = na
var float lastSellPrice = na
var int lastBuyBarIndex = na
var int lastSellBarIndex = na
var bool buyEntryPlotted = false
var bool sellEntryPlotted = false
if buySignal
lastBuyPrice := close * (1 - entryOffsetPerc / 100)
lastBuyBarIndex := bar_index
buyEntryPlotted := false
if sellSignal
lastSellPrice := close * (1 + entryOffsetPerc / 100)
lastSellBarIndex := bar_index
sellEntryPlotted := false
// === TP ve SL Hesapları ===
long_tp = lastBuyPrice * (1 + tpPerc / 100)
long_sl = lastBuyPrice * (1 - slPerc / 100)
short_tp = lastSellPrice * (1 - tpPerc / 100)
short_sl = lastSellPrice * (1 + slPerc / 100)
// === TP / SL Temasları (yalnızca işlemden sonra ilk gelen hedef) ===
hitLongTP = false
hitLongSL = false
hitShortTP = false
hitShortSL = false
// === Giriş Etiketleri ===
var label buyLabel = na
var label sellLabel = na
if not na(lastBuyPrice) and not buyEntryPlotted and close <= lastBuyPrice and bar_index > lastBuyBarIndex
buyLabel := label.new(x=bar_index, y=low, text="Giriş", style=label.style_label_up, color=color.fuchsia, textcolor=color.white)
buyEntryPlotted := true
lastBuyBarIndex := bar_index
if not na(lastSellPrice) and not sellEntryPlotted and close >= lastSellPrice and bar_index > lastSellBarIndex
sellLabel := label.new(x=bar_index, y=high, text="Giriş", style=label.style_label_down, color=color.fuchsia, textcolor=color.white)
sellEntryPlotted := true
lastSellBarIndex := bar_index
if not na(lastBuyPrice) and buyEntryPlotted and bar_index > lastBuyBarIndex
if high >= long_tp
hitLongTP := true
lastBuyPrice := na
else if low <= long_sl
hitLongSL := true
lastBuyPrice := na
if not na(lastSellPrice) and sellEntryPlotted and bar_index > lastSellBarIndex
if low <= short_tp
hitShortTP := true
lastSellPrice := na
else if high >= short_sl
hitShortSL := true
lastSellPrice := na
// === Strateji Girişleri ===
if buySignal
strategy.entry("BUY", strategy.long)
if sellSignal
strategy.entry("SELL", strategy.short)
// === SuperTrend Plot ===
upPlot = plot(trend == 1 ? upperBand : na, title="Up Trend", style=plot.style_linebr, linewidth=2, color=color.green)
dnPlot = plot(trend == -1 ? lowerBand : na, title="Down Trend", style=plot.style_linebr, linewidth=2, color=color.red)
// === TP & SL Plot ===
plotshape(hitLongTP, location=location.abovebar, style=shape.labeldown, color=color.green, text="TP", textcolor=color.white, title="TP Long")
plotshape(hitLongSL, location=location.abovebar, style=shape.labeldown, color=color.red, text="Stop", textcolor=color.white, title="SL Long")
plotshape(hitShortTP, location=location.belowbar, style=shape.labelup, color=color.green, text="TP", textcolor=color.white, title="TP Short")
plotshape(hitShortSL, location=location.belowbar, style=shape.labelup, color=color.red, text="Stop", textcolor=color.white, title="SL Short")
B.TB.T Trading
You can create simple trading notes by looking at the index, such as changing the active index of an existing index.
For those who have difficulty setting it up on their own,
This is an indicator that can be set to report the set value.
Correlation X macroeconomicsFind the correlation between financial assets and the main Brazilian macroeconomic variables:
SELIC rate (Red)
PIB (Green)
Inflation (Blue)
Employment and income (Yellow)
Unlike other indicators that measure the correlation between two assets, the indicator "Correlation X macroeconomics" measures, for example, the correlation that the VALE3 asset has with the SELIC rate.
The correlation is obtained by calculating the variation suffered by a given asset on the day a given Brazilian macroeconomic variable is released.
This indicator can be used on any financial asset.
Use time frame chart = 1 day.
To calculate the correlation, data published by IBGE and the Central Bank of Brazil over a period of time are used. This time period is different depending on the selected macroeconomic variable. Namely:
16 PIB disclosures (4 years)
24 SELIC rate disclosures (3 years)
24 disclosures of IPCA and employment and income data (2 years)
You can select one or more macroeconomic variables to check the effect of correlation separately on each of them.
This indicator "Correlation X macroeconomics" will be updated monthly, as detailed below:
At the end of the day on which the PIB is released
At the end of the day on which employment and income data are released
At the end of the day following the day on which the SELIC rate is published
On the last business day of the month if none of the aforementioned disclosures occur
OI-Based Buy/Sell with Stop-Loss//@version=5
strategy("OI-Based Buy/Sell with Stop-Loss", overlay=true)
// **Supertrend Settings**
atrLength = input(10, title="ATR Length")
factor = input(3.0, title="Multiplier")
= ta.supertrend(factor, atrLength)
// **Moving Averages for Crossover Strategy**
shortMA = ta.sma(close, 9)
longMA = ta.sma(close, 21)
// **Volume as OI Proxy**
volMA = ta.sma(volume, 20) // 20-period moving average of volume
high_OI = volume > volMA * 1.2 // OI increases when volume spikes above 120% of average
// **Buy/Sell Conditions**
buySignal = ta.crossover(shortMA, longMA) and direction == 1 and high_OI
sellSignal = ta.crossunder(shortMA, longMA) and direction == -1 and high_OI
// **Stop-Loss & Take-Profit (Risk Management)**
stopLoss = close * 0.97 // 3% Stop Loss
takeProfit = close * 1.05 // 5% Take Profit
// **Execute Buy/Sell Orders**
if buySignal
strategy.entry("Buy", strategy.long)
strategy.exit("Sell", from_entry="Buy", stop=stopLoss, limit=takeProfit)
if sellSignal
strategy.close("Buy")
// **Plot Buy/Sell Signals on Chart**
plotshape(buySignal, location=location.belowbar, color=color.green, style=shape.labelup, title="BUY")
plotshape(sellSignal, location=location.abovebar, color=color.red, style=shape.labeldown, title="SELL")
// **Plot Moving Averages & Supertrend**
plot(shortMA, color=color.blue, title="Short MA")
plot(longMA, color=color.orange, title="Long MA")
Bollinger Band Breakout StrategyI've created a complete PineScript v6 trading strategy based on your requirements. This strategy implements Bollinger Bands breakout rules combined with EMA trend filtering, RSI momentum confirmation, and volume analysis.
The strategy includes:
Entry conditions:
Long when price closes above the upper Bollinger Band during an uptrend with volume confirmation
Short when price closes below the lower Bollinger Band during a downtrend with volume confirmation
Exit conditions:
Take profit based on a configurable risk-reward ratio (default 2:1)
Stop loss placed at recent swing lows/highs or at the EMA(50)
Additional exit when price crosses the opposite Bollinger Band
Risk management:
Uses 100% of equity for position sizing
Commission set to 0.1% as specified
Implements proper risk calculation based on stop distance
Trend and market condition filters:
Only enters longs in uptrends (price > EMA20 > EMA50)
Only enters shorts in downtrends (price < EMA20 < EMA50)
Skips trades during choppy or sideways markets
Confirms breakouts with volume and OBV
Visual elements:
Plots all indicators for visual reference
Shows buy/sell signals on the chart
Displays a status table with real-time market conditions
Alligator IndicatorGood for M15, cross with following 3 bars candle put your entry buy or sell. RR 1:2 is enough
DateTimeLibrary with enums that can be used as script inputs to allow users to set their preferred date and/or time formats. The user-selected formats can be passed to the library functions (which use 𝚜𝚝𝚛.𝚏𝚘𝚛𝚖𝚊𝚝_𝚝𝚒𝚖𝚎() under the hood) to get formatted date and time strings from a UNIX time.
PREFACE
The target audience of this publication is users creating their own indicators/strategies.
Sometimes a date and/or time needs to be displayed to the user. As a Pine Coder, it is natural to focus our initial attention on the primary calculations or functions of a script, which can lead to the display format of dates and times being an afterthought. While it may not be crucial for the main use case of a script, increased customizability can help push indicators/strategies to the next level in the eyes of the user.
The purpose of this library is to provide an easy-to-use mechanism for allowing script users to choose the formats of dates and times that are displayed to them. Not only is this helpful for users from around the world who may be accustomed to different date/time formats, but it also makes it easier for the script author because it offloads the date/time formatting decision from the author to the user.
HOW TO USE
Step 1
Import the library. Replace with the latest available version number for this library.
//@version=6
indicator("Example")
import n00btraders/DateTime/ as dt
Step 2
Select a date format and/or time format enum to be used as an input.
dateFormatInput = input.enum(dt.DateFormat.FORMAT_3, "Date format")
timeFormatInput = input.enum(dt.TimeFormat.TWENTY_FOUR_HOURS, "Time hours format")
Step 3
Pass the user's selection as the `format` parameter in the formatting functions from this library. The `timestamp` & `timezone` parameters can be any value that would otherwise be used in 𝚜𝚝𝚛.𝚏𝚘𝚛𝚖𝚊𝚝_𝚝𝚒𝚖𝚎(𝚝𝚒𝚖𝚎, 𝚏𝚘𝚛𝚖𝚊𝚝, 𝚝𝚒𝚖𝚎𝚣𝚘𝚗𝚎).
string formattedDate = dt.formatDate(timestamp, dateFormatInput, timezone)
string formattedTime = dt.formatTime(timestamp, timeFormatInput, timezone)
LIMITATIONS
The library's ease-of-use comes at a few costs:
Fixed date/time formats.
Using the library's pre-defined date & time formats means that additional custom formats cannot be utilized. For example, this library does not include seconds or fractional seconds in formatted time strings. If a script's use case requires displaying the 'seconds' from a time of day, then 𝚜𝚝𝚛.𝚏𝚘𝚛𝚖𝚊𝚝_𝚝𝚒𝚖𝚎() must be used directly.
Fixed time zone offset format.
The `formatTime()` function of this library can optionally add the time zone offset at the end of the time string, but the format of the offset cannot be specified. Note: if the default format for time zone offset is not sufficient, the Timezone library can be imported directly to get the time zone offset string in a preferred format.
ADVANTAGES
There are benefits to utilizing this library instead of directly using 𝚜𝚝𝚛.𝚏𝚘𝚛𝚖𝚊𝚝_𝚝𝚒𝚖𝚎():
Easy to use from the user's perspective.
The date & time format enums provide a similar look and feel to the "Date format" and "Time hours format" options that already exist in the TradingView chart settings.
Easy to use from the author's perspective.
The exported functions from this library are modeled to behave similarly to the 𝚜𝚝𝚛.𝚏𝚘𝚛𝚖𝚊𝚝_𝚝𝚒𝚖𝚎(𝚝𝚒𝚖𝚎, 𝚏𝚘𝚛𝚖𝚊𝚝, 𝚝𝚒𝚖𝚎𝚣𝚘𝚗𝚎) built-in function from Pine Script.
Format quarter of the year.
The date formatting function from this library can display a fiscal quarter if it's included in the user-selected format. This is currently not possible with the built-in 𝚜𝚝𝚛.𝚏𝚘𝚛𝚖𝚊𝚝_𝚝𝚒𝚖𝚎().
EXPORTED ENUM TYPES
This section will list the available date/time formats that can be used as a script input. Each enum type has a detailed //@𝚏𝚞𝚗𝚌𝚝𝚒𝚘𝚗 description in the source code to help determine the best choice for your scripts.
Date Format Enums:
𝙳𝚊𝚝𝚎𝙵𝚘𝚛𝚖𝚊𝚝
𝙳𝚊𝚝𝚎𝙵𝚘𝚛𝚖𝚊𝚝𝙳𝚊𝚢𝙾𝚏𝚆𝚎𝚎𝚔𝙰𝚋𝚋𝚛
𝙳𝚊𝚝𝚎𝙵𝚘𝚛𝚖𝚊𝚝𝙳𝚊𝚢𝙾𝚏𝚆𝚎𝚎𝚔𝙵𝚞𝚕𝚕
𝙲𝚞𝚜𝚝𝚘𝚖𝙳𝚊𝚝𝚎𝙵𝚘𝚛𝚖𝚊𝚝
Supporting Date Enums:
𝙳𝚊𝚝𝚎𝙿𝚛𝚎𝚏𝚒𝚡
Time Format Enums:
𝚃𝚒𝚖𝚎𝙵𝚘𝚛𝚖𝚊𝚝
Supporting Time Enums:
𝚃𝚒𝚖𝚎𝙰𝚋𝚋𝚛𝚎𝚟𝚒𝚊𝚝𝚒𝚘𝚗
𝚃𝚒𝚖𝚎𝚂𝚎𝚙𝚊𝚛𝚊𝚝𝚘𝚛
𝚃𝚒𝚖𝚎𝙿𝚘𝚜𝚝𝚏𝚒𝚡
Note: all exported enums have custom titles for each field. This means that the supporting enums could also be exposed to the end-user as script inputs if necessary. The supporting enums are used as optional parameters in this library's formatting functions to allow further customizability.
EXPORTED FUNCTIONS
formatDate(timestamp, format, timezone, prefix, trim)
Converts a UNIX time into a date string formatted according to the selected `format`.
Parameters:
timestamp (series int) : A UNIX time.
format (series DateFormat) : A date format.
timezone (series string) : A UTC/GMT offset or IANA time zone identifier.
prefix (series DatePrefix) : Optional day of week prefix.
trim (series bool) : Optional truncation of numeric month / day.
Returns: Calendar date string using the selected format.
⸻⸻⸻⸻⸻⸻⸻⸻
Required parameters: `timestamp`, `format`.
Note: there is a version of this function for each Date Format enum type. The only difference is the type of the `format` parameter.
Tip: hover over the `formatDate()` function in the Pine Editor to display useful details:
Function description
Parameter descriptions + default values
Example function usage
formatTime(timestamp, format, timezone, trim, separator, postfix, space, offset)
Converts a UNIX time into a formatted time string using the 24-hour clock or 12-hour clock.
Parameters:
timestamp (series int) : A UNIX time.
format (series TimeFormat) : A time format.
timezone (series string) : A UTC/GMT offset or IANA time zone identifier.
trim (series TimeAbbreviation) : Optional truncation of the hour and minute portion.
separator (series TimeSeparator) : Optional time separator.
postfix (series TimePostfix) : Optional format for the AM/PM postfix.
space (series bool) : Optional space between the time and the postfix.
offset (series bool) : Optional UTC offset as a suffix.
Returns: Time of day string using the selected format.
⸻⸻⸻⸻⸻⸻⸻⸻
Required parameters: `timestamp`, `format`.
Note: the `trim`, `postfix`, and `space` optional parameters are not applicable and will be ignored when using the 24-hour clock (`format` = TimeFormat.TWENTY_FOUR_HOURS).
Tip: hover over the `formatTime()` function in the Pine Editor to display useful details:
Function description
Parameter descriptions + default values
Example function usage
Example outputs for combinations of TimeFormat.* enum values & optional parameters
NOTES
This library can be used in conjunction with the Timezone library to increase the usability of scripts that can benefit from allowing the user to input their preferred time zone.
Credits to HoanGhetti for publishing an informative Markdown resource which I referenced to create the formatted function descriptions that pop up when hovering over `formatDate()` and `formatTime()` function calls in the Pine Editor.
Kalkulator Średniej CenyCalculates the weighted average of price and lots.
Enter at least 1 position.
A blue line with the price will be drawn on the screen.
Lot Size InfoLot Size Info – Quick Futures Lot Size Display
Overview:
The Lot Size Info indicator helps traders quickly determine the lot size of futures contracts for a given symbol.
How It Works:
- Automatically detects whether the current symbol is a futures contract.
- If a futures contract exists, it fetches and displays the lot size.
- If no futures contract is available, it doesn't display anything.
- The information is displayed in a non-intrusive table at the bottom-right of the chart.
Why Use This Indicator?
✅ Instant Futures Lot Size Visibility – No need to check manually.
✅ Prevents Confusion – Displays nothing when no futures contract exists.
✅ Minimal & Non-Distracting UI – Small floating table that updates in real-time.
🔹 Best for: Futures traders, scalpers, and positional traders who frequently switch between stock and futures charts.
🚀 Add this to your TradingView toolkit today!
Day Highlighting ColumnsDays get highlighted.
Helps me to avoid backtests that lead to good faith violations.
XAUUSD Correlation IndicatorXAUUSD Correlation Indicator
Questo indicatore per TradingView calcola e visualizza la correlazione tra il prezzo di XAUUSD (oro) e una serie di altri asset finanziari, tra cui valute (EURUSD, AUDUSD, NZDUSD, GBPUSD), metalli preziosi (platino, argento), indici azionari (SPX500, DJI, NASDAQ) e il dollaro statunitense (DXY).
L'indicatore offre:
1. Correlazione: Calcola la correlazione tra XAUUSD e gli altri asset su un periodo personalizzabile, dove un numero superiore allo 0 indica una correlazione positiva ed un numero inferiore allo 0 indica una correlazione negativa.
2. Variazione percentuale: Mostra la variazione percentuale dei prezzi degli asset rispetto all'apertura.
3. Visualizzazione personalizzabile: Permette di ordinare i dati in base alla correlazione o alla variazione percentuale.
4. Tabella interattiva: I risultati sono visualizzati in una tabella colorata, con opzioni per personalizzare i colori di sfondo, testo e bordi.
Ideale per trader e analisti che vogliono monitorare le relazioni tra l'oro e altri mercati in tempo reale, questo strumento aiuta a identificare opportunità di trading basate su correlazioni e tendenze di mercato.