Indicator

Indicator

Indicator

Indicator

Open Interest Suite [QuantAlgo]🟢 Overview
The Open Interest (OI) Suite is a comprehensive OI visualization and analysis tool built specifically for crypto perpetual futures traders. It reads open interest data directly from PulseWire-supported exchanges, giving you a way to monitor how many active contracts are currently open in the market. Whether you are tracking a single exchange or aggregating OI across venues like Binance, Bybit, Bitget, Coinbase, Kraken, HTX, BitMEX, and OKX, this indicator is one of the most powerful contextual tools available, allowing traders to quickly gauge overall perpetual futures market positioning.
🟢 What is Open Interest?
Open interest (OI) is the total number of live contracts between buyers and sellers at any given moment. Every long is matched to a short at a 1:1 ratio, so OI gives you a strong sense of how much capital and how many positions are currently committed to the market. Rising OI suggests new money and new positions are entering. Falling OI suggests positions are being closed or liquidated. When combined with price action, OI becomes one of the most valuable lenses available for understanding what is likely happening beneath the surface of price movement in perpetual markets.
🟢 How It Works
The indicator operates in two distinct modes. In Single (Chart) mode, it automatically reads open interest from whichever supported exchange and perpetual contract you are currently viewing, requiring no manual configuration. In Aggregated mode, it fetches OI from some of the highest-volume exchanges in crypto, for example, Binance, Bybit, Bitget, Coinbase, Kraken, HTX, BitMEX, and OKX, combines them into a single composite total, and gives you a cross-market view of positioning that no individual exchange feed can provide on its own. For each exchange in Aggregated mode, OI is fetched across both USDT and USDC perpetual pairs where applicable, then converted to a unified measure before summing. More exchanges will be added as their data becomes available on PulseWire.
The Measure setting controls how OI values are expressed. In Coins mode, values are kept in their native unit, which may be more useful when you want to observe raw contract volume independent of price fluctuations. In Dollars mode, coin quantities are multiplied by the current bar price to convert values into USD, which is the standard way most traders and data providers report OI and tends to make cross-asset comparisons more intuitive. For exchanges that report natively in USD, the conversion is handled in reverse when Coins mode is active.
🟢 Key Features
▶ View Modes
The indicator offers four ways to visualize OI, each suited to a different analytical purpose.
1. Candles: Renders OI as full OHLC candlesticks, displaying open, high, low, and close OI for every bar. This is the richest view for studying OI structure, trends, compression, and expansion over time. You can watch OI build or unwind bar by bar similarly to how you read price action, which may help with spotting periods of aggressive position-building or rapid deleverage.
2. Lines: Renders OI as a single continuous line using the close value of each bar. Cleaner and less visually demanding than candles, this mode works well for maintaining OI context alongside other indicators without crowding the chart.
3. Change: Displays the bar-over-bar absolute difference in OI as a histogram. Positive bars indicate net new positions were likely opened. Negative bars suggest net positions were closed or liquidated. This mode can help identify the bars where positioning shifted most dramatically, which often corresponds to high-conviction entries, forced liquidations, or possible trend exhaustion.
4. Change (%): The same histogram expressed as a percentage of the prior bar OI value. This normalises the signal across different asset sizes and OI magnitudes, which could make it easier to compare positioning dynamics between a large-cap asset and a smaller altcoin.
▶ Aggregated Mode and Exchange Selection
In Aggregated mode, each of the eight supported exchanges can be toggled on or off independently. This flexibility allows several useful configurations beyond a simple total. You can enable only one exchange to track that specific venue regardless of which chart you are currently viewing. You can also add the indicator to your layout multiple times with a different single exchange selected each time, letting you compare individual exchange OI side by side on the same chart.
▶ Color Presets
Five built-in color presets (Classic, Aqua, Cosmic, Cyber, Neon) allow you to match the indicator's appearance to your chart setup with a single click. A Custom preset exposes individual color pickers for bull, bear, and line colors, giving full control over every visual element including candle bodies, wicks, borders, histogram columns, and the line overlay.
▶ Unsupported Exchange Warning
When Single (Chart) mode is active and the current exchange does not provide open interest data on PulseWire, the indicator displays a warning label on the chart identifying the unsupported exchange and listing supported alternatives.
🟢 Price + OI Interpretation
Reading OI in isolation is only part of the picture. More meaningful analysis tends to come from combining OI direction with price action and, where available, volume data, along with other trend-following or mean-reversion indicators.
Examples:
1. Price Up + OI Up: New capital is likely entering on the long side. This could indicate bullish trend continuation, with fresh positioning supporting the move rather than just short covering. The stronger the OI growth relative to price movement, the higher the probability that the trend has genuine participation behind it.
2. Price Down + OI Up: New shorts are probably being added aggressively. Bearish momentum may be building through fresh positioning, which tends to be a more sustained signal than a move driven purely by long liquidations.
3. Price Down + OI Down: Longs are likely closing or being liquidated. The selling pressure in this scenario is coming from position unwinds rather than new short entries, which could sometimes suggest exhaustion near a local low rather than fresh trend initiation.
4. Price Up + OI Down: Shorts are probably closing or being squeezed out. This is the likely mechanics of a short squeeze: buyers overwhelm sellers, underwater shorts cover, and the resulting buy pressure may accelerate the move higher. This pattern tends to produce some of the fastest and sharpest price moves seen in crypto perpetual markets.
It is worth noting that for every short there is a long. When OI increases during a downtrend, it does not necessarily mean only shorts are entering. Longs are participating too, often more passively through limit orders. Cumulative Volume Delta (CVD) can help distinguish which side is more likely driving the flow, since it measures aggressive buying versus aggressive selling pressure within each bar.
🟢 Important Notes
1. This indicator is designed exclusively for crypto perpetual futures and will not produce output on spot tickers, equity symbols, or any instrument without a corresponding OI feed on PulseWire. In Single (Chart) mode, if the exchange you are viewing is not among the currently supported venues (Binance, Bybit, Bitget, Coinbase, Kraken, HTX, BitMEX, and OKX), the indicator will display a warning and produce no data. Switching to a supported exchange will restore functionality. More exchanges will be added as their data becomes available on PulseWire.
2. OI is most useful as a context layer rather than a standalone signal. Using it alongside price structure, volume, and order flow analysis may help you assess whether a move is likely backed by new positioning or driven by position unwinds. That distinction could have meaningful implications for how far a move extends and how quickly it might reverse. Indicator

Indicator

Carry Cost MonitorThe bill you did not expect
You run a Swiss franc account. You trade Micro E-mini S&P 500 futures because the US equity market is where the liquidity is. One quarter later your broker sends a statement and there it is: CHF 1,600 in debit interest . Nobody warned you. The contract you traded settles in US dollars. Your account holds Swiss francs. Interactive Brokers lent you the dollars, charged you the USD overnight rate plus 1.5% markup on every dollar for every day you held the position. Meanwhile your Swiss franc cash earned close to nothing because the SNB policy rate sits well below the Fed Funds rate. The gap between those two rates, accumulated silently over months, is the carry cost that drained your account.
This is not a rare edge case. Any trader whose account currency differs from the instrument currency faces the same mechanic. A European trading US equities, a Japanese investor buying Australian bonds, a Canadian holding FTSE futures. The cost is real, it compounds daily, and most platforms do not surface it until the quarterly statement arrives.
The Carry Cost Monitor exists to make this cost visible before it accumulates . It shows the yield differential between your account currency and the instrument currency in real time, estimates the financing cost or income over any horizon you choose, and lets you compare all major currencies side by side so you can make informed decisions about where and what you trade.
The indicator applied to a US dollar denominated chart with a CHF base account. The dashboard in the top right shows the carry spread, percentile rank, estimated annual cost, and break-even return. Below, the comparison table lists all available currencies sorted by carry cost.
What carry costs actually are
When you hold an instrument denominated in a foreign currency, your broker creates a loan in that currency to settle the trade. You owe interest on the borrowed amount and may earn interest on your deposited base currency. The net cost is the difference between those two rates plus whatever the broker charges on top.
The indicator formalizes this as:
Carry Spread (%) = Y_instrument - Y_account
where Y is the sovereign yield for the selected maturity. A positive spread means you borrow a currency that yields more than yours. You pay. A negative spread means the borrowed currency yields less than your base. You earn.
The gross carry rate adds the broker fee:
Gross Carry (%) = Carry Spread + Broker Markup
Interactive Brokers structures this markup in tiers (Interactive Brokers, 2024):
Balance 0 to 100,000: benchmark + 1.50%
Balance 100,000 to 1M: benchmark + 0.50%
Balance above 1M: benchmark + 0.30%
The estimated cost over a chosen horizon follows standard money market convention, adjusted for each currency's day count basis (Stigum and Crescenzi, 2007):
Cost = Nominal * (Gross Carry / 100) * (Days / Day Count Basis)
Day Count Basis is 360 for USD, EUR, CHF, JPY, and SEK (ACT/360), and 365 for GBP, CAD, AUD, and NZD (ACT/365). These match the interbank settlement rules in the ISDA day count fraction definitions (ISDA, 2006).
Finally, the break-even tells you how much your instrument must move to cover the carry drag:
Break-Even (%) = |Gross Carry| * (Days / 365)
This is the minimum performance needed to not lose money purely from financing.
Where the data comes from
The indicator pulls sovereign bond yields for 9 currencies across two maturities (2-year and 10-year), totaling 18 external data requests. The symbols follow PulseWire's TVC convention:
USD: US02Y / US10Y EUR: DE02Y / DE10Y (Germany as eurozone proxy)
CHF: CH02Y / CH10Y GBP: GB02Y / GB10Y
JPY: JP02Y / JP10Y CAD: CA02Y / CA10Y
AUD: AU02Y / AU10Y NZD: NZ02Y / NZ10Y
SEK: SE02Y / SE10Y
The 2-year yield is the default because it sits closest to actual overnight funding rates. The correlation between 2-year sovereign yields and their respective benchmarks (SOFR for USD, SARON for CHF, ESTR for EUR) typically exceeds 0.85 over rolling 1-year windows, with average deviations of 20 to 50 basis points (Ilmanen, 2011). That deviation is smaller than the broker markup itself, making sovereign yields a practical proxy.
Why not use the overnight rates directly? Most are only available at monthly frequency through FRED on PulseWire, with shorter history. Sovereign yields update daily with 10+ years of data. The trade-off is slight imprecision for much better coverage and responsiveness.
The instrument currency is detected automatically through the built-in syminfo.currency variable. When it matches your account currency, the indicator reports zero cost because no foreign exchange borrowing occurs. Currencies whose yield data returns nothing on PulseWire are hidden from the chart and dashboard automatically.
The settings panel showing the Carry Model inputs. Account Currency is set to CHF, Yield Maturity to 2Y, Position Size to 100,000, and the broker tier to 0-100k. These four settings control the entire cost calculation.
Reading the carry lines
The main panel draws up to 8 spread lines, one per foreign currency relative to your account currency.
The zero line is the boundary. Everything above it costs you money. Everything below it earns you money. The further a line sits from zero, the larger the financing effect.
For the active instrument pair, a 1-sigma band (252-day rolling mean plus/minus one standard deviation) wraps around the spread. When the current value breaks outside this band, the carry environment is statistically unusual compared to its own recent history. That might mean a central bank shifted rates, or term spreads moved.
Each currency has its own color, chosen to stay distinguishable even under the most common forms of colorblindness:
USD: blue EUR: amber CHF: red GBP: purple
JPY: emerald CAD: orange AUD: cyan NZD: lime
SEK: fuchsia
The historical view with all currency lines visible. Each colored line represents one currency's carry spread against the selected base. Crossing the zero line marks a shift from paying carry to earning it.
The dashboard
The dashboard sits in the corner of the chart (position adjustable) and answers two questions without requiring you to read the lines themselves.
The top section shows the active pair in detail: the raw carry spread in percent, its percentile rank over 2 years (504 trading days), the estimated absolute cost or income for your chosen time horizon and position size, and the break-even return. This is the quick answer to "what is this position costing me right now?"
The bottom section is a comparison table listing every currency with valid data. Each row shows the currency name, its carry spread, its current yield, and the projected cost over your horizon. The instrument currency is marked with a triangle. Rows are color-coded: green for pairs that produce income, red for pairs that cost you money. This answers the follow-up question: "would my carry situation improve if I traded a similar instrument denominated in a different currency?"
The dashboard detail showing the active pair section. CHF to USD carry spread is positive, placing it in the 72nd percentile of its 2-year range. The estimated annual cost for a 100,000 position at the 0-100k broker tier is displayed alongside the break-even return.
The comparison table below the active pair section. All currencies are listed with their individual spreads and estimated costs. JPY shows the largest negative spread (income), while USD shows the highest positive spread (cost) from a CHF base perspective.
Setting it up
The Carry Model group contains the five settings that determine everything:
Account Currency : your brokerage base currency. This is the single most important input. Get this wrong and every number on the screen is meaningless.
Yield Maturity : 2Y sits closer to actual funding costs. 10Y captures term premium effects and is useful for longer-horizon strategic planning.
Position Size : the notional value of your position in the instrument currency. Drives the absolute cost estimate.
Cost Horizon : 1 month, 3 months, 6 months, or 1 year. Controls how far out the projection reaches.
Broker Balance Tier : matches the IB tiered structure. Set to "None" to strip out the broker markup entirely and see the pure yield differential.
The Display group controls background shading (green when earning, red when paying) and whether all currency lines appear or only the detected one.
Eight color themes are available (EdgeTools, Gold, Behavioral, Quant, Ocean, Fire, Matrix, Arctic) with dark and light mode support. Line width and glow effects are adjustable.
Three alert conditions can fire:
Carry spread enters the 90th percentile (historically expensive environment)
Carry spread enters the 10th percentile (historically cheap environment)
Carry spread crosses zero (direction flipped)
Practical examples
Example 1 : CHF account trading MES (Micro E-mini S&P 500)
Account currency: CHF. Instrument currency: USD. Assume CH02Y = 0.60%, US02Y = 3.85%.
Carry spread = 3.85 - 0.60 = +3.25% .
Broker markup (0-100k tier) = 1.50%.
Gross carry = 3.25 + 1.50 = 4.75% .
Annual cost on 100,000 USD nominal = 100,000 * 0.0475 * (365/360) = 4,819 USD .
Break-even = 4.75% per year. The S&P 500 must return more than 4.75% annually just to cover carry.
Example 2 : USD account buying CSPX (iShares S&P 500 UCITS, EUR-listed)
Account currency: USD. Instrument currency: EUR. Assume US02Y = 3.85%, DE02Y = 2.05%.
Carry spread = 2.05 - 3.85 = -1.80% .
Broker markup = 1.50%.
Gross carry = -1.80 + 1.50 = -0.30% .
Annual income on 100,000 EUR nominal = 100,000 * 0.003 * (365/360) = 304 EUR .
You earn a small amount because USD yields exceed EUR yields by more than the broker markup.
Example 3 : EUR account trading Nikkei 225 futures (JPY-denominated)
Account currency: EUR. Instrument currency: JPY. Assume DE02Y = 2.05%, JP02Y = 0.15%.
Carry spread = 0.15 - 2.05 = -1.90% .
Broker markup = 1.50%.
Gross carry = -1.90 + 1.50 = -0.40% .
You earn a small net income because borrowing JPY is cheaper than what your EUR balance yields.
These examples show that the carry direction depends entirely on which currency has the higher rate and how large the broker fee is. Pairs close to zero can flip between cost and income whenever a central bank moves.
Limitations
Sovereign yields are not overnight rates. The 2-year bond yield is a proxy, not the exact benchmark brokers use. Interactive Brokers references SOFR for USD, SARON for CHF, ESTR for EUR, SONIA for GBP. The gap between sovereign 2Y yields and these overnight rates typically sits at 20 to 50 basis points (Ilmanen, 2011, p. 364), occasionally more during yield curve inversions.
The broker cost model is simplified. Real IB interest calculations depend on multi-currency balances across the account, unrealized PnL, margin usage, and the interaction between positive and negative currency positions. The indicator applies a single-tier markup, which captures the dominant cost component but may overstate the net cost for larger accounts earning credit interest on their base currency.
Currency detection relies on syminfo.currency . For most futures, ETFs, and equities on major exchanges, this returns the correct settlement currency. Some synthetic instruments, CFDs, or crypto pairs may return unexpected values. Always verify the detected currency in the dashboard header.
Currencies that consistently lacked yield data on PulseWire (such as NOK) have been excluded. Missing data for remaining currencies is handled gracefully and does not produce errors.
The indicator works best on the daily timeframe . Intraday charts display yield data that updates once per day, creating flat segments within the session. This does not affect the accuracy of cost estimates.
References
Ilmanen, A. (2011) Expected returns: an investor's guide to harvesting market rewards . Chichester: John Wiley and Sons.
Interactive Brokers (2024) Interest rates on credit and debit balances. (Web Accessed: May 2026).
ISDA (2006) 2006 ISDA definitions . New York: International Swaps and Derivatives Association.
Koijen, R.S.J., Moskowitz, T.J., Pedersen, L.H. and Vrugt, E.B. (2018) 'Carry', Journal of Financial Economics , 127(2), pp. 197-225.
Stigum, M. and Crescenzi, A. (2007) Stigum's money market . 4th edn. New York: McGraw-Hill.
Indicator

Leveraged ETF Volatility Decay Indicator# 杠杆ETF波动率损耗指标 / Leveraged ETF Volatility Decay Indicator
## 它是什么 / What is it
杠杆ETF(如TQQQ、SOXL、UPRO)承诺每日N倍于标的指数的收益率。但由于**每日再平衡**机制,长期持有会产生**波动率损耗(Volatility Decay)**——即使标的指数回到原点,杠杆ETF也会亏损。
本指标直观展示这种损耗的大小,帮助你理解持有杠杆ETF的真实成本。
Leveraged ETFs (e.g. TQQQ, SOXL, UPRO) promise N× the daily return of an underlying index. However, due to **daily rebalancing**, long-term holding incurs **volatility decay** — even if the index returns to breakeven, the leveraged ETF will show a loss.
This indicator visualizes the magnitude of this decay, helping you understand the true cost of holding leveraged ETFs.
---
## 三条线的含义 / What the three lines mean
| 颜色 Color | 名称 Name | 含义 Meaning |
|-----------|-----------|-------------|
| 灰色 Gray | 标的资产 (1x) / Underlying | 标的指数的累计涨跌幅 / Cumulative return of the underlying index |
| 蓝色 Blue | 理论值 (静态杠杆) / Theoretical (static leverage) | N × 标的涨幅,即"借钱买入不调仓"的理想收益 / N × underlying return, the ideal return from static leverage (borrow and hold) |
| 橙色 Orange | 实际杠杆ETF / Actual Leveraged ETF | 模拟每日再平衡后的实际累计收益 / Simulated cumulative return with daily rebalancing |
| 红色填充 Red fill | 损耗区域 / Decay zone | 蓝线与橙线之间的差值 = 被波动率吞掉的收益 / Gap between blue and orange = return eaten by volatility |
**核心公式 / Core formula:**
```
实际杠杆ETF = ∏(1 + N × rₜ) 每日复利
理论静态杠杆 = 1 + N × (标的总涨幅) 简单倍数
损耗 = 理论 - 实际
```
---
## 两种计算模式 / Two calculation modes
### 模式一:固定起始日 / Fixed Start Date
从你指定的日期开始,计算到当前K线的累计损耗。
Calculates cumulative decay from a specified date to the current bar.
**适用场景 / Use case:**
- 分析"如果在某天买入并持有到现在,损耗有多少"
- Analyze "if I bought on date X and held until now, how much decay would I suffer"
### 模式二:滚动窗口 / Rolling Window
每根K线独立计算"最近N个交易日"内的损耗,形成连续曲线。
Each bar independently calculates decay over the last N trading days, forming a continuous curve.
**适用场景 / Use case:**
- 不依赖特定入场日期,适合反复交易的人
- 观察损耗随市场环境(趋势 vs 震荡)的变化
- Not dependent on a specific entry date, suitable for active traders
- Observe how decay changes with market conditions (trending vs choppy)
---
## 参数说明 / Parameters
| 参数 Parameter | 默认值 Default | 说明 Description |
|---------------|---------------|-----------------|
| 杠杆倍数 (N) / Leverage | 2.0 | 模拟的杠杆倍数。2=双倍(如QLD/SSO),3=三倍(如TQQQ/SOXL) / Leverage multiplier |
| 计算模式 / Mode | 固定起始日 | 选择固定起始日或滚动窗口 / Choose fixed start date or rolling window |
| 起始日期 / Start Date | 2024-01-01 | 固定模式下的计算起点,添加指标时可直接在图表上点选 / Start point for fixed mode |
| 滚动天数 / Rolling Days | 60 | 滚动模式下回看的交易日数量 / Lookback period for rolling mode |
---
## 信息表格说明 / Info Table
右上角表格显示以下数据 / The top-right table shows:
| 行 Row | 含义 Meaning |
|--------|-------------|
| 基准价 / Base Price | 起始价 → 当前价 / Start price → current price |
| 标的 (1x) | 标的指数累计涨跌幅 / Underlying cumulative return |
| 理论 (静态Nx) | N倍标的涨幅 = 不调仓的理想收益 / N× underlying return |
| 实际杠杆ETF | 每日再平衡后的真实收益 / Actual return after daily rebalancing |
| 波动率损耗 | 理论 - 实际,单位为百分点(ppts) / Theoretical − actual, in percentage points |
| 年化损耗 | 基于近252日波动率估算,公式 N(N-1)/2 × σ² × 252 / Annualized estimate |
---
## 使用建议 / Usage Tips
1. **推荐加载到标的指数上**(如QQQ、SPY、SOX),而非杠杆ETF本身,因为本指标是用标的的日收益率来模拟杠杆ETF的表现。
**Load on the underlying index** (e.g. QQQ, SPY, SOX), not on the leveraged ETF itself, because this indicator simulates leveraged ETF performance from the underlying's daily returns.
2. **使用日线**。杠杆ETF按日再平衡,日线是最准确的时间尺度。
**Use daily timeframe.** Leveraged ETFs rebalance daily, so the daily chart is the most accurate scale.
3. **观察红色填充区域的厚度变化**:
- 震荡行情 → 红色越来越厚(损耗加速)
- 单边趋势 → 红色很薄甚至变绿(ETF跑赢静态杠杆)
**Watch how the red fill area changes:**
- Choppy market → red grows thicker (decay accelerates)
- Strong trend → red stays thin or turns green (ETF outperforms static leverage)
4. **滚动模式下调整天数**来匹配你的持有周期。持有2个月就设60天,持有半年就设120天。
**In rolling mode, adjust the window** to match your holding period.
---
## 损耗的数学原理 / Math Behind the Decay
标的日收益率为 rₜ,N倍杠杆ETF每日收益为 N×rₜ。
对两者取对数展开到二阶项:
```
ln(1 + N×r) ≈ N×r − N²r²/2
N × ln(1+r) ≈ N×r − N×r²/2
```
差值 = −N(N−1)/2 × r²,累计 T 天后:
```
损耗 ≈ N(N-1)/2 × σ² × T
```
| 杠杆倍数 N | 系数 N(N-1)/2 | 标的日波动率1%时年化损耗 |
|-----------|--------------|----------------------|
| 2x | 1 | ≈ 2.52% |
| 3x | 3 | ≈ 7.56% |
**关键结论 / Key takeaway:** 损耗与波动率的**平方**成正比,与杠杆倍数**非线性**增长。3倍杠杆的损耗是2倍的3倍,而非1.5倍。
Decay grows with the **square** of volatility and **non-linearly** with leverage. 3x leverage has 3× the decay of 2x, not 1.5×.
Indicator

Indicator

Indicator

Indicator

Indicator

Gann Levels v6 - Signals Dashboard FullThis script gives you a daily trade map from yesterday’s price data, then projects today’s support and resistance on the chart, shows the prices on the right, and can print simple B/S/SL/TP labels. It is not a guaranteed entry system by itself; it is a level-based framework that helps you decide bias, entry zone, stop placement, and target ladder before taking a trade.
What the script shows
The script has two level engines. The first is Square Root, which starts from yesterday’s close and projects levels outward using square-root progression, a common Gann-style way to locate possible reaction zones from one anchor price. The second is Pivot Style, which uses yesterday’s high, low, and close to compute a central pivot plus R1-R3 and S1-S3 for the current session.
It also lets you:
Show one method only, or both together.
See price tags on the right side of the chart for each level.
Use a light dashboard with adjustable font size.
Change line thickness for R1/S1, R2/S2, and R3/S3.
Show simple B, S, SL, and TP labels.
How to read levels
In Square Root mode, the previous day close is the main anchor. If price stays above that base, the upper square-root levels R1, R2, and R3 become upside targets; if price stays below it, S1, S2, and S3 become downside targets.
In Pivot mode, the pivot base is the center line for the day. If price is above the pivot, the day is often treated as bullish-biased; if price is below it, bearish-biased, with R1-R3 and S1-S3 acting as likely reaction or target zones.
When both modes are close to each other, that is called confluence. Confluence matters because when a square-root level and a pivot level sit near the same price, traders often expect a stronger reaction there than from a single level alone.
How to take trades
The best way to use this script is to first decide the day bias, then use the nearest levels to plan a low-risk trade. A simple approach is to wait for price to come to the base or to a level, then watch whether price holds, rejects, or breaks and retests it before entering.
For a buy setup:
Prefer price above Pivot Base or above Square Root Base.
Wait for a pullback to base, S1, or a confluence zone.
Enter only after price holds that zone and closes back upward.
Keep SL below the support that justified the entry.
Take TP at the next resistance level, then the next one after that.For a sell setup:
Prefer price below Pivot Base or below Square Root Base.
Wait for a bounce into base, R1, or a confluence zone.
Enter only after price rejects that zone and closes back downward.
Keep SL above the resistance that justified the short.
Take TP at the next support level, then the next one after that.
Entry, SL, TP logic
A clean rule is: entry at reaction, SL beyond invalidation, TP at next level. This works because pivot and Gann-style levels are most useful as structured support/resistance ladders, so the next ladder step naturally becomes the next target while the opposite side of the setup becomes the invalidation area.
Example long trade:
Price opens above Pivot Base.
It pulls back to Pivot Base or Square Root Base.
A bullish candle closes back above the level.
Entry = above that candle high.
SL = below the level or below the candle low.
TP1 = nearest R1.
TP2 = R2.
TP3 = R3 if trend stays strong.
Example short trade:
Price is trading below the base.
It retraces into R1 or into a base-confluence zone.
A bearish candle rejects the level.
Entry = below that candle low.
SL = above the rejection high.
TP1 = nearest S1.
TP2 = S2.
TP3 = S3 if momentum continues.
What B and S mean
In your script, B and S are currently simple trigger markers, not a full institutional strategy. They are based on price crossing the active base line, so you should treat them as a first alert and then confirm with candle behavior, trend, and nearby levels before entering a real trade.
That means:
B is stronger when it appears above the base and near support or confluence.
S is stronger when it appears below the base and near resistance or confluence.
Ignore B/S signals that appear in the middle of a noisy range with no level context.
Best practical workflow
A practical daily routine with this script is:
Check whether price is above or below the Pivot Base at market open.
Mark where Square Root Base sits relative to Pivot Base.
Look for overlap between SQ and PV levels.
Trade only at or near those key zones.
Take partial profit at the next level, and trail the rest.
A simple rule to keep you safe is:
Trend day: use base pullbacks and aim for R1 to R2 to R3, or S1 to S2 to S3.
Range day: use outer levels like R2/R3 or S2/S3 for reversal attempts, but only with clear rejection candles. Pivot strategies commonly distinguish between breakout continuation and reversal behavior around outer levels, which is why the same script can help in both conditions.What not to do
Do not buy just because price touches S1, and do not short just because price touches R1. These levels are decision zones, not automatic entries, so you still need price confirmation such as rejection, break-retest, or momentum continuation.
Also, do not take every B/S signal blindly. The script maps structure well, but the signal logic is still simple and works best when combined with trend direction, candle confirmation, and confluence between the two methods.
Best settings
For cleaner use:
Keep showBoth = true to see confluence.
Use larger thickness for R3/S3 because outer levels are often more important reaction zones.
Keep dashboard small or normal so the chart remains readable.
Use right-side price tags on, especially for intraday work.
If you want, I can now make the next version smarter, with:
buy only on bullish candle confirmation,
sell only on bearish candle confirmation,
automatic SL below swing low / above swing high,
TP1, TP2, TP3 ladder in the dashboard. Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

iFCPO Holiday SkipiFCPO Holiday Skip — Bursa Malaysia public-holiday calendar overlay for FCPO traders.
Grey-washes holiday bars + prints holiday name label. Covers all Bursa public holidays for 2024-2026: New Year, Thaipusam, CNY, Hari Raya Aidilfitri/Haji, Wesak, Labour Day, Agong Birthday, Awal Muharram, National Day, Malaysia Day, Maulidur Rasul, Deepavali, Christmas + Federal Territory Day.
Outputs in_Holiday boolean (chainable from other indicators).
FREE indicator from iFCPO — Malaysia palm-oil futures trading platform. Indicator

Indicator

Watermark Pro _ AAK_═══════════════════════════════════════════════════════════════════════════════
// Hey everyone — I built this tool for myself and decided to share it
// because I think a lot of you will find it useful too.
// I wanted something that kept my charts looking clean and professional
// while also keeping my head in the right place during live trading.
// That's basically what this is — a watermark and a mindset tool combined.
// You can put your name, brand, or social handle directly on your chart
// with full control over the text, colors, and sizing. Great for sharing
// setups, recording analysis, or just making your charts feel like yours.
// It also shows the symbol, timeframe automatically so everything is always clear .
// My favourite feature is the reminder panel. Three short messages stay
// on your chart the whole time you're trading — I use mine to stay
disciplined and keep emotions out of my decisions.
// You can write whatever speaks to you personally.
// There's also an optional bias panel where you lock in your directional
read before the session starts. It keeps you accountable to your
pre-session analysis instead of reacting to every candle.
// Everything is fully customizable — panels can be repositioned, toggled
on or off, styled with custom colors and borders, and there's an
auto-hide option for lower timeframes so your view stays clean.
// Hope this adds value to your trading. Use it, make it yours.
// @AAK_
═══════════════════════════════════════════════════════════════════════════════ Indicator

Indicator

Indicator
