IPO Date ScreenerThis script, the IPO Date Screener, allows traders to visually identify stocks that are relatively new, based on the number of bars (days) since their IPO. The user can set a custom threshold for the number of days (bars) after the IPO, and the script will highlight new stocks that fall below that threshold.
Key Features:
Customizable IPO Days Threshold: Set the threshold for considering a stock as "new." Since Pine screener limits number bars to 500, it will work for stocks having trading days below 500 since IPO which almost 2 years.
Column Days since IPO: Sort this column from low to high to see newest to oldest STOCK with 500 days of trading.
Since a watchlist is limited to 1000 stocks, use this pines script to screen stocks within the watch list having trading days below 500 or user can select lower number of days from settings.
This is not helpful to add on chart, this is to use on pine screener as utility.
Statistics
NSE Compact Panel by KGHow It Works
1.Analyzes price action using multiple technical indicators
2.Updates a right-aligned panel with:
a)Current indicator values
b)Bullish/bearish status
c)Visual trend direction cues
3. Designed for quick scanning of market conditions on NSE charts.
4.The Script is for educational purpose only
DCA (CryptoBus)DCA (CryptoBus)
🚀 DCA (CryptoBus) — автоматизированная стратегия усреднения (Dollar-Cost Averaging) для TradingView!
📉 Покупай активы равными частями на падениях и снижай среднюю цену входа.
🔧 Гибкая настройка параметров для адаптации под рынок.
The Ultimate Lot Size Calculator Backstory
I created this Pine Script tool to calculate lot sizes with precision. While there are many lot size calculators available on TradingView, I found that most had significant flaws. I started teaching myself Pine Script over three and a half years ago with the sole purpose of building this tool. My first version was messy and lacked accuracy, so I never published it. I wanted it to be better than any other available tool, but my limited knowledge back then held me back.
Recently, I received a request to create a similar tool, as the current options still fail to deliver the precision and reliability traders need. This inspired me to revisit my original idea. With improved skills and a better understanding of Pine Script, I redesigned the tool from scratch, making it as precise, reliable, and efficient as possible.
This tool features built-in error detection to minimize mistakes and ensure accuracy in lot size calculations. I've spent more time on this project than on any other, focusing on delivering a solution that stands out on TradingView. While I plan to add more features based on user feedback, the current version is already a powerful, dependable, and easy-to-use tool for traders who value precision and efficiency in their lot size calculations.
How to use the tool ?
At first it might seem complicated, but it is quite easy to use the tool. There are two modes: auto and manual. By default, the tool is set on manual mode. When you apply the tool on the chart, it will ask you to choose the entry price, then the stop-loss price, and at last the take-profit price. Select all of them one by one. These values can be changed later.
Settings
There are various setting given for making the tool as flexible as possible. Here is the explanation for some of most important settings. Play with them and make yourself comfortable.
General settings
Auto mode : Use this mode if you want the the risk reward to be fixed and stop loss to be based on ATR. However the stop loss can be changed to be based on user input.
Manual mode : Use this mode if you want full control over entry, stop loss and take profit.
Contract Size : The tool works perfectly for all forex pairs including gold and silver but as the contract size is different for different assets it is difficult to add every single asset into the script manually so i have provided this option. In case you want to calculate lot size for a asset other then forex, gold or silver make sure to change this. Contract size = Quantity of the asset in 1 standerd lot.
Account settings
Automatic mode settings and ATR stop settings
Manual mode settings
Table and risk-reward box settings are pretty much self-explanatory i guess.
Error handling
A lot size calculator is a complex program. There are numerous points where it may fail and produce incorrect results. To make it robust and accurate, these issues must be addressed and managed properly, which practically all existing lot size calculator scripts fail to do.
Golden tip
When the symbol is changed it will display a symbol change warning as the entry, stop loss and take profit price won't change.
There are 2 ways to get fix this. Either manually enter all three values which i hate the most or remove the script from the chart and re-apply the script on chart again.
So to re-apply the indicator in most easy way follow the following instructions:
Note : If you encounter any other error then read the instruction to fix it and if it is an unknow error pleas report it to me in comments or DM.
Static price-range projection by symbolThis indicator shows you a predefined range to the right of the last candle of your chart. This range is custom and can be changed for a handful of symbols that you can choose. This scale will help you determining if the market is providing a reasonable range before you enter a trade or if the market isn't actually moving as much as you might think. This is particularly useful if you are into scalping and have to consider commission or spread in your trades.
Since all symbols have different price ranges in which they move this indicator doesn't make sense to just have "a one size fits all" approach. That's why you can choose up to 6 symbols and set the range that you want to have shown for each when you pull it up on the chart. Using my default values that means for when the NQ (Nasdaq future) is on the chart you will see a range of 20 handles projected. When you change the the ES (S&P500 future) you will instead see 5 handles. While the number is different that is somewhat of an equal move in both symbols.
There also is an option to set a default price range for all other symbols that are not selected if it is needed. However the display of the scale on anything else than the 6 selected symbols can also be turned off.
There are options provided on how exactly you want to indicator to determine if the chart symbol matches one of the selected symbols.
You can enable it to make sure the exchange/broker is the exact same as selected.
It can check for only the symbol root to match the selection. Specifically for futures this means that while ES1! might be selected, anything ES (ES1!, ES2!, ESH2025, ESM2025, ESM2022, ...) will be a match to the selection)
On the painted scale it is possible to not just show this range extended into each direction once. Per default you will have 3 segments of it in each direction. This can be reduced to just 1 or increased.
If you chose a high number of segments or a large range make sure to use the "Scale price chart only" option on your chart scale to not have the symbols price candles squished together by the charts auto scaling.
And last but not least the indicator options provide some possibilities to change the appearance of the printed price range scale in case you disagree with my design.
21 EMA with ATR Bands21 EMA with ATR Bands. Specifically looking at the overbought and oversold levels to either add or trim positions.
Datos - BigBang by Arturo ArguellesIndicador para colocar datos y marca de agua, así como visualizar la información del activo y su temporalidad
Sígueme en redes: @fxarturo_bigbang
Central Bank BS Delta TracerCentral Bank BS Delta Tracer is a new way of looking at liquidity on TradingView.
CBBSDT (for short) shows bars for popular central bank balance sheets. The default is the US, but other countries can be viewed or compared as well.
You can combine multiple central bank balances, and all are calculated in USD using currency pairs so that the units match up. Combining can also show differentials, such as if the ECB did more QT than the US in a given time frame.
Warning: Time frames lower than a month may be inaccurate. Many central banks do not report their BS on a frequent basis, so do know ahead of time that data is usually outdated by a variable amount depending on the data source. Check with the particular sources of central bank BS before making assumptions about deltas using this indicator.
Debt is the dark energy of the economy. Therefore we must know how much of it is pumping or draining.
Candle Partition Statistics with IQV and Chi2NOTE: THE FORMULA IN THE CHART IS NOT PART OF THE CODE
This Pine Script calculates statistical measures for candle partitions based on whether a candle is bullish or bearish and whether the price is above or below an EMA. It evaluates statistical properties such as the Index of Qualitative Variation (IQV) and the Chi-Square (χ²) statistic to assess variations in price action.
Concept of Index of Qualitative Variation (IQV)
IQV is a statistical measure used to quantify the diversity or dispersion of categorical variables. In this script, it is used to measure how evenly the four categories of candles (green above EMA, red above EMA, green below EMA, red below EMA) are distributed.
Purpose of IQV in the Script:
IQV ranges from 0 to 1, where 0 indicates no variation (one category dominates) and 1 indicates maximum variation (categories are equally distributed).
A high IQV suggests balanced distributions of bullish/bearish candles above/below the EMA, indicating market uncertainty or mixed sentiment.
A low IQV suggests dominance of a particular candle type, indicating a strong trend.
Concept of Chi-Square (χ²) Test
Chi-square (χ²) is a statistical test that measures the difference between expected and observed frequencies of categorical data. It assesses whether short-term price behavior significantly deviates from historical trends.
Purpose of Chi-Square in the Script:
A high χ² value means that short-term candle distributions are significantly different from historical patterns, indicating potential trend shifts.
If χ² exceeds a predefined significance threshold (chi_threshold), an alert (Chi² Alert!) is triggered.
It helps traders identify periods where recent price behavior deviates from historical norms, possibly signaling trend reversals or market regime changes.
Key Takeaways:
IQV helps measure the diversity of price action, detecting whether the market is balanced or trending.
Chi-square (χ²) identifies significant deviations in short-term price behavior compared to long-term trends.
Both metrics together provide insights into whether the market is stable, trending, or shifting.
The Nasan C-score enhances trend strength by incorporating volatility. It is calculated as:
enhanced_t_s =(𝑡𝑠 × avg_movement x 100)/SMA(𝑐lose)
Key Components:
𝑡𝑠 : Measures trend strength based on price movements relative to EMA.
ts=green_EMAup_a+0.5×red_EMAup_a−(0.5×green_EMAdown_a+red_EMAdown_a)
avg_movement: The SMA of absolute close-open differences, capturing volatility.
Normalization: The division by SMA(close) adjusts the score relative to price levels.
Purpose of the Nasan C-score
Enhanced Trend Strength
It amplifies the trend strength value by factoring in volatility (price movement).
If price volatility is high, trend strength variations have a greater impact.
Volatility-Adjusted Momentum
By scaling 𝑡𝑠 with average movement, the score adjusts to changing price dynamics.
Higher price fluctuations lead to a higher score, making trend shifts more prominent.
How It Can Be Used in Trading
Higher values of Nasan C-score indicate strong bullish or bearish trends.
Comparing it with past values helps determine whether momentum is increasing or fading.
Thresholds can be set to identify significant trend shifts based on historical highs and lows.
Global Liquidity Index - Selectable (Indicator) by FlickyScript attained from Flicky on Erik Krown's Crypto Cave
The Global Liquidity Index offers a consolidated view of all major central bank balance sheets from around the world. For consistency and ease of comparison, all values are converted to USD using their relevant forex rates and are expressed in trillions. The indicator incorporates specific US accounts such as the Treasury General Account (TGA) and Reverse Repurchase Agreements (RRP), both of which are subtracted from the Federal Reserve's balance sheet to give a more nuanced view of US liquidity. Users have the flexibility to enable or disable specific central banks and special accounts based on their preference. Only central banks that both don’t engage in currency pegging and have reliable data available from late 2007 onwards are included in this aggregated liquidity model.
Global Liquidity Index = Federal Reserve System (FED) - Treasury General Account (TGA) - Reverse Repurchase Agreements (RRP) + European Central Bank (ECB) + People's Bank of China (PBC) + Bank of Japan (BOJ) + Bank of England (BOE) + Bank of Canada (BOC) + Reserve Bank of Australia (RBA) + Reserve Bank of India (RBI) + Swiss National Bank (SNB) + Central Bank of the Russian Federation (CBR) + Central Bank of Brazil (BCB) + Bank of Korea (BOK) + Reserve Bank of New Zealand (RBNZ) + Sweden's Central Bank (Riksbank) + Central Bank of Malaysia (BNM).
This tool is beneficial for anyone seeking to get a snapshot of global liquidity to interpret macroeconomic trends. By examining these balance sheets, users can deduce policy trajectories and evaluate the global economic climate. It also offers insights into asset pricing and assists investors in making informed capital allocation decisions. Historically, riskier assets, such as small caps and cryptocurrencies, have typically performed well during periods of rising liquidity. Thus, it may be prudent for investors to avoid additional risk unless there's a consistent upward trend in global liquidity.
ColorMACD//@version=5
indicator("ColorMACD", overlay=false)
// Input parameters
fast_ema_period = input.int(12, title="Fast EMA Period")
slow_ema_period = input.int(26, title="Slow EMA Period")
signal_period = input.int(9, title="Signal Period")
// Calculate MACD
= ta.macd(close, fast_ema_period, slow_ema_period, signal_period)
// Define colors
color_up = color.new(color.red, 0) // Red for positive MACD above signal
color_down = color.new(color.lime, 0) // Lime for negative MACD below signal
color_neutral = color.new(color.aqua, 0) // Aqua for neutral conditions
// Plot MACD Line with color based on conditions
plot(macdLine, color=macdLine > 0 and macdLine > signalLine ? color_up : macdLine < 0 and macdLine < signalLine ? color_down : color_neutral, linewidth=2, title="MACD Line")
// Plot Signal Line
plot(signalLine, color=color.new(color.magenta, 0), linewidth=1, title="Signal Line")
// Plot Histogram
histColor = macdLine > 0 and macdLine > signalLine ? color_up : macdLine < 0 and macdLine < signalLine ? color_down : color_neutral
plot(macdLine - signalLine, color=histColor, style=plot.style_columns, title="Histogram")
// Zero Line
hline(0, color=color.new(color.silver, 0), linestyle=hline.style_solid, title="Zero Line")
Enhanced Strategy Tester with multi TP and SL TriggerThis script builds upon metrobonez1ty’s Strategy Tester, adding advanced features while maintaining its flexibility to integrate with external indicator signals.
Enhancements & Features
✅ Multiple Take Profit (TP) Levels – Supports up to three TP exits based on external signals.
✅ Dynamic Stop-Loss (SL) Signal – Optionally use an indicator-based SL trigger.
✅ Confluence Filtering – Requires additional confirmation for trade entries.
✅ Flexible Exit Signals – Allows dynamic exits rather than static tick-based TP/SL
JOLUROCE 2.0ondiciones para COMPRA (▲ Verde):
Score ≥ 3 (Tendencia alcista en 3 temporalidades)
Precio sobre nivel Fibonacci 61.8%
RSI > 52 + ADX > 20
Volumen 30% sobre el promedio
Confirmación DXY (USD débil para pares EUR/USD)
Condiciones para VENTA (▼ Rojo):
Score ≤ -3 (Tendencia bajista en 3 temporalidades)
Precio bajo nivel Fibonacci 61.8%
RSI < 48 + ADX > 20
Volumen 30% sobre el promedio
Confirmación DXY (USD fuerte para pares EUR/USD)
3Time ZonesUso de 3 Zonas de tiempos a la vez para customizar. Predeterminadamente trae la división diaria, zona de operativa de New York y como 3ra los horarios de manipulaciones del mercado en NY 👍✌️
IronCondor 10am 30TF by RMThe IronCondor 10am 30TF indicator shows Iron Condor trades win rate over a large number of days.
The default ETFs in this indicators are "QQQ", "SPY", "RUT" , "CBTX" and "SPX", other entries have not been tested.
Iron Condor quick explanation:
- Iron Condors trades have four options, generally, are based around a Midpoint price (Current Market Price Strike) and
- Two equally distances Strikes for the SELL components (called the Body of the Iron Condor)
- Further away from the two SELLs, another Two BUYs for protection (not considered in this indicator)
- Iron Condors are used for Passive Income based on small gains most of the time.
The IronCondor 10am 30TF has its logic created based on the premises that:
- Most days the market prices stay within a range.
- As example the S&P market prices would stay within 1% on about 80% of the time
- The moving markets (bullish or bearish) occur about 20% of the time
- The biggest market price volatility generally occurs before market opens and then around the first hour or so of trade in the day.
- After the first hour or so of the market the prices would be most likely to stay within a range.
The operation is simple:
- At the Trade Star time in the day (say 10:30 Hrs.) draws a vertical yellow line, then
- Creates two blue horizontal lines for the SELL limits in the Iron Condor Body, at +/- 1% price boundary (check Ticker list below for values)
- At the Trade End time (say 16:00 Hrs.) checks that none of the SELL limits have been broken by highs or lows during the trade day
(The check is done calculating at Trade End time the high/lows 10 bars back for 30 min TF - timeframe)
- There is a label at each Trade End time with Win/Loss and Body value.
- There is one final label with overall calculated past performance in Win percentage out of 'n' trades
Defaults and User Entries:
- The User can modify the Midpoint price called 'IronCondor Midpoint STRIKE' (default is the Candle Close at the selected time)
- The User can modify the Body value called 'IronCondor Body' (default is the Ticker's selected value as per list below)
"QQQ" or "SPY" Body = 5
"RUT" or "CBTX" Body = 20
"SPX" Body = 60
* Disclaimer: This is not a Financial tool, it cannot used as any kind of advice to invest or risk moneys in any market,
Markets are volatile in nature - with little or no warning - and will drain your account if you are not careful.
Use only as an academic demonstrator => * Use at your own risk *
BTC Point & Figure Buy Signals for 2025Original Credit to www.tradingview.com for his 2020 BTC BPI Script.
I've updated the script to pinescript v5 and have swapped out the trading pairs for 27 pairs that several LLM AI's recommended as those most correlated to Bitcoin's price action.
The results are wonderful, and I've been using this updated version primarily as a strong confluence indicator for mainly long entries, though it does pretty well in timing tops and short entries as well.
Please let me know if you have a more definitive source for a basket of trading pairs to use, and I'll happily edit the script (or you can if you are proficient) and create a new version.
Given 4 years have passed and much more expanded and saturated the number of coins are in the market, I thought it would be interesting, if not informative to update the pairs.
An analysis of the trading pairs used in 2020 vs 2025 is as follows:
Common Trading Pairs
The following trading pairs are present in both scripts:
ADAUSDT
ALGOUSDT
ATOMUSDT
BCHUSDT
BNBUSDT
BTCUSDT
DOGEUSDT
ETHUSDT
HBARUSDT
LTCUSDT
VETUSDT
XLMUSDT
XMRUSDT
XRPUSDT
XTZUSDT
ZECUSDT
Unique to List
The following trading pairs are only found in the 2020 script:
BATUSDT
BTSUSDT
DASHUSDT
EOSUSDT
ETCUSDT
FTTUSDT
HOTUSDT
ICXUSDT
IOTAUSDT
LSKUSDT
NANOUSDT
NEOUSDT
OMGUSDT
ONTUSDT
QTUMUSDT
REPUSDT
RVNUSDT
SCUSDT
THETAUSDT
TRXUSDT
WAVESUSDT
ZILUSDT
Unique to List 2
The following trading pairs are only found in the 2025 list:
APTUSDT
AVAXUSDT
DOTUSDT
FILUSDT
ICPUSDT
IMXUSDT
LDOUSDT
LINKUSDT
RNDRUSDT
SHIBUSDT
SOLUSDT
Summary
Common Pairs: There are 16 trading pairs shared between the two scripts.
Unique to List 2020: 22 trading pairs that are not in 2025 pairs
Unique to 2025 pairs: : 11 trading pairs that are not in 2020 pairs
Enjoy, provide feedback and remember, all credit to @LonesomeTheBlue for the OG script.
Position Averaging (CryptoBus)🛠 Averaging Strategy — умное усреднение для инвестирвоания от CryptoBus !
📊 Стратегия анализирует тренд и корректирует входы, снижая влияние волатильности.
⚡ Возможности:
• Автоматическое открытие позиций на основе динамических сигналов
• Гибкая настройка шагов усреднения
• Поддержка различных таймфреймов
• Оптимизировано для CryptoBus
🚀 Используй мощь усреднения для стабильного роста портфеля!
INDIA_VIX_regression V2Indicator named "INDIA_VIX_regression V2" that performs a regression analysis between the India VIX (volatility index) and the selected stock's price changes to assess their relationship.
Key Features:
1. Regression Calculation: Uses the regress function from an external library (voided/regress/1) to compute alpha (α), beta (β) values between India VIX and the selected stock's daily price changes.
2. Significance Check: Evaluates α and β against predefined thresholds (0.05 for α and 0.5 for β) and assigns a color-coded label (Green for significant, Red for non-significant).
3. Visual Output: Displays results in a table at the bottom-right corner, including:
a) The selected stock’s ticker name
b) Alpha (α) and Beta (β) values with significance labels
4. Enhanced Readability: Uses color-coded formatting for better visualization.
This script helps traders to understand the relationship between market volatility (India VIX) and a specific stock's movement, aiding in risk analysis and decision-making.Script in testing phase....
Señal de Compra/Venta con SL, TP y Nube de Tendencia (marroquin)1-Medias Móviles (SMA): Se utiliza una media móvil simple para generar señales de compra y venta. Cuando el precio cruza por encima de la SMA, se genera una señal de compra, y cuando cruza por debajo, se genera una señal de venta.
2-Average True Range (ATR): El ATR se utiliza para calcular los niveles de Stop Loss y Take Profit. El Stop Loss se coloca a una distancia de ATR desde el precio de entrada, y el Take Profit se coloca a una distancia de ATR multiplicado por el ratio de riesgo/beneficio.
2-Señales de Compra/Venta: Las señales se dibujan en el gráfico con etiquetas "BUY" y "SELL".
3-Stop Loss y Take Profit: Los niveles de Stop Loss y Take Profit se dibujan en el gráfico y también se muestran en un cuadro en la esquina inferior derecha del gráfico.
4-Tabla de Información: Se utiliza una tabla para mostrar los niveles sugeridos de Stop Loss y Take Profit.
Personalización:
Puedes ajustar la longitud de la SMA y el ATR según tus preferencias.
El ratio de riesgo/beneficio también se puede ajustar para adaptarse a tu estrategia de trading.
Cómo Usar:
Copia el script en el editor de Pine Script en TradingView.
Ajusta los parámetros según tus necesidades.
Añade el indicador a tu gráfico.
Sessions, range deviations & statsThis indicator builds on the excellent range projections indicator by @tradeforopp. Simple logic to calculate statistics based on a time based range are calculated per the original script. However, this version builds on that by providing users with the ability to apply conditional filters and add some context to the current trading day. Hopefully, this provides users with the ability to backtest potential scenarios based on key sessions and levels, as well as aide in generating a daily bias for trading
Columns in the stats table have been generated to show whether price retraces fully back through the range to hit the first deviation if any level to the opposite side has been hit
For example, if price hit deviation 4 to the upside, additional stats have been generated to show the % of times that price then went to hit deviation 1 to the downside
The range used for generating stats is fully customisable per the original indicator
The indicator will additionally plot the following:
1. Trading sessions (Asia, London & New York): Fully customisable times and display
2. Weekly initial balance high/low/50%: Monday or Monday & Tuesday can be used to determine the weekly balance
3. Previous day and week high/low/50%
4. Midnight and 8am open levels: The times can be changed if required and the statistics will reflect the new time, though the name on the chart and in the stats table will remain the same
Users can then generate additional stats for deviations being hit if certain levels are above other levels
For instance, if the Asia low is higher than the 8am open, it could indicate a bearish day and as such the stats table will show whether levels to the upside of the range or the downside are more likely to be hit
Індекс Ентропії Ринку та Математичне ОчікуванняЯкщо індикатор показує значення математичного очікування ентропії
𝐸
=
2
E =2, ось як це можна розшифрувати:
Сутність показника:
𝐸
E є середньою ентропією, що розраховується як зважена сума ентропій для кожного макростану (ріст, зниження, консолідація). Ентропія кожного макростану визначається за формулою
𝑆
=
ln
(
Ω
)
S=ln(Ω), де
Ω
Ω — кількість унікальних мікростанів (комбінацій параметрів
𝑃
P,
Δ
Δ,
𝑉
ℎ
𝑜
𝑢
𝑟
V
hour
), які формують цей макростан.
Що означає значення 2:
Значення
𝑆
=
2
S=2 вказує на те, що ефективна кількість мікростанів для даного макростану становить
𝑒
2
≈
7.4
e
2
≈7.4. Це означає, що у середньому існує приблизно 7–8 різних комбінацій мікростанів, які приводять до формування спостережуваного макростану.
Інтерпретація в контексті ринку:
Середній рівень різноманіття: Значення 2 свідчить про помірний рівень різноманіття ринкових станів. Ринок проявляє не надто просту, але й не надто хаотичну поведінку.
Стійкість або невизначеність: Якщо порівнювати, то нижчі значення
𝐸
E (наприклад, близько 0-1) можуть вказувати на вузький набір умов, які формують тренд (менша стійкість, потенційно більша вразливість до змін), а вищі значення (вище 2) — на дуже різноманітні умови, що можуть свідчити про більшу невизначеність або складність ринкової поведінки.
Потенційна застосовність: Такий рівень ентропії може допомогти трейдеру оцінити, наскільки "розгалуженим" є процес формування тренду на ринку. Помірне значення може бути індикатором того, що ринок має достатньо варіантів для адаптації, але водночас не перебуває у стані надмірного хаосу.
Таким чином, коли
𝐸
E знаходиться на рівні 2, це означає, що ринок демонструє середній рівень розмаїтості мікростанів, що формують загальний тренд. Це може бути ознакою збалансованості, але також може сигналізувати про певну гнучкість у ринкових умовах.