指標和策略
TJR Session High/LowsThis indicator plots the session Highs and Lows for Tokyo (20:00–03:00), London (03:00–08:00), and New York (08:00–17:00).
Each session can be toggled on or off, and you can choose whether to display only the High, only the Low, or both.
Customization options include:
Colors and line styles (Solid, Dashed, Dotted) for each session
Line width
Optional vertical markers at the session boundaries (20:00, 03:00, 08:00, 17:00) – dashed blue lines by default
The indicator updates dynamically: session High/Low levels are recalculated in real time as new bars come in, and only the most recent session lines are shown (no clutter from past sessions).
Default session times are set for Tokyo, London, and New York, but you can adjust them if needed.
DMI Toolbox StrategyThe Directional Movement Index (DMI) was originally developed by J. Welles Wilder Jr. in 1978. Wilder introduced the DMI along with the Average Directional Index (ADX) in his book, “New Concepts in Technical Trading Systems,” which became a foundational reference for technical analysis.
The indicator can offer a myriad of signals for building a trading strategy. In an effort to provide the user with a meaningful way to evaluate these signals, this DMI Toolbox Strategy offers the chance to back-test various combinations and permutations of DMI signals on long trades. By default it will open a long position on the +DI (upward movement) crossing above the -DI (downward movement). By default, It exits long positions when the ADX (trend strength) reverses.
Suggested Use
Try a wide variety of long entry and exit signals across many different timeframes to see what is most effective for the item you wish to trade. There is a table in the upper right corner that will give a quick view of which signal is dominant across 5 timeframes, based on your current settings. Adjust the pyramidding, slippage, and commission values to more closely match your situation.
Visual Helpers
The DMI indicator has been altered to include a smoothed version of the ADX, as well as a colored background to show which signal is dominant (+DI or -DI). Small up arrows call your attention to ADX crossovers that may indicate a significant threshold in trend strength.
Weekly MAA combination of 3 weekly simple moving averages.
These moving averages are also displayed on the daily chart.
Daily Quarters (6 hour cycles)Plots the daily quarters using central time. Asia, London, NYAM, NYPM.
Stochastic Arrows Crossover [TED]This indicator plots the classic Stochastic Oscillator with customizable parameters (K, D, Smooth). It highlights bullish and bearish crossovers between %K and %D lines with small, subtle triangle arrows on the momentum panel. The arrows are color-coded with muted green (bullish) and muted red (bearish) for better visibility in dark mode. A middle band at 50 helps identify neutral momentum levels, alongside the standard overbought (80) and oversold (20) zones.
Ted
ml_toolkitLibrary "ml_toolkit"
normalize(src, lookback)
Parameters:
src (float)
lookback (int)
standardize(src, lookback)
Parameters:
src (float)
lookback (int)
sigmoid(x)
Parameters:
x (float)
relu(x)
Parameters:
x (float)
tanh(x)
Parameters:
x (float)
logistic_regression(features, weights, bias)
Parameters:
features (array)
weights (array)
bias (float)
linear_regression(features, weights, bias)
Parameters:
features (array)
weights (array)
bias (float)
ensemble_vote(predictions, weights)
Parameters:
predictions (array)
weights (array)
Dual Best MA Strategy AnalyzerDual Best MA Strategy Analyzer (Lookback Window)
What it does
This indicator scans a range of moving-average lengths and finds the single best MA for long crossovers and the single best MA for short crossunders over a fixed lookback window. It then plots those two “winner” MAs on your chart:
Best Long MA (green): The MA length that would have made the highest total profit using a simple “price crosses above MA → long; exit on cross back below” logic.
Best Short MA (red): The MA length that would have made the highest total profit using “price crosses below MA → short; exit on cross back above.”
You can switch between SMA and EMA, set the min/max length, choose a step size, and define the lookback window used for evaluation.
How it works (brief)
For each candidate MA length between Min MA Length and Max MA Length (stepping by Step Size), the script:
Builds the MA (SMA or EMA).
Simulates a naïve crossover strategy over the last Lookback Window candles:
Long model: enter on crossover, exit on crossunder.
Short model: enter on crossunder, exit on crossover.
Sums simple P&L in price units (no compounding, no fees/slippage).
Picks the best long and best short lengths by total P&L and plots those two MAs.
Note: Long and short are evaluated independently. The script plots MAs only; it doesn’t open positions.
Inputs
Min MA Length / Max MA Length – Bounds for MA search.
Step Size – Spacing between tested lengths (e.g., 10 tests 10, 20, 30…).
Use EMA instead of SMA – Toggle average type.
Lookback Window (candles) – Number of bars used to score each MA. Needs enough history to be meaningful.
What the plots mean
Best Long MA (green): If price crosses above this line (historically), that MA length produced the best long-side results over the lookback.
Best Short MA (red): If price crosses below this line (historically), that MA length produced the best short-side results.
These lines can change over time as new bars enter the lookback window. Think of them as adaptive “what worked best recently” guides, not fixed signals.
Practical tips
Timeframe matters: Run it on the timeframe you trade; the “best” length on 1h won’t match 1m or 1D.
Step size trade-off: Smaller steps = more precision but heavier compute. Larger steps = faster scans, coarser choices.
Use with confirmation: Combine with structure, volume, or volatility filters. This is a single-factor tester.
Normalization: P&L is in raw price units. For cross-symbol comparison, consider using one symbol at a time (or adapt the script to percent P&L).
Limitations & assumptions
No fees, funding, slippage, or position sizing.
Simple “in/out” on the next crossover; no stops/targets/filters.
Results rely on lookback choice and will repaint historically as the “best” length is re-selected with new data (the plot is adaptive, not forward-fixed).
The script tests up to ~101 candidates internally (bounded by your min/max/step).
Good uses
Quickly discover a recently effective MA length for trend following.
Compare SMA vs EMA performance on your market/timeframe.
Build a playbook: note which lengths tend to win in certain regimes (trending vs choppy).
Not included (by design)
Alerts, entries/exits, or a full strategy report. It’s an analyzer/overlay.
If you want alerts, you can add simple conditions like:
ta.crossover(close, plotLongMA) for potential long interest
ta.crossunder(close, plotShortMA) for potential short interest
Changelog / Notes
v1: Initial release. Array-based scanner, SMA/EMA toggle, adaptive long/short best MA plots, user-set lookback.
Disclaimer
This is educational tooling, not financial advice. Test thoroughly and use proper risk management.
Crypto zonniemarket direction indicator. it uses mathmetical calculations based on real time sell and buy paid prices put in a trent line that is forward looking by calculated past paid prices of any stock or crypto or etf or commoditie.
LINK/USDT - 9/15 EMA Crossover with SL & TP himanshuThis strategy is designed for the LINK/USDT pair using a simple yet effective Exponential Moving Average (EMA) crossover system.
🔹 How It Works
When the 9 EMA (fast) crosses above the 15 EMA (slow) → it signals bullish momentum → the strategy opens a Long trade.
When the 9 EMA crosses below the 15 EMA → it signals bearish momentum → the strategy opens a Short trade.
🔹 Risk Management
To keep trades disciplined and emotions out of decision-making, built-in exits are applied:
Stop Loss (SL): Automatically closes the trade if price moves 1% against the position.
Take Profit (TP): Locks in profits when price moves 2% in favor of the trade.
🔹 Why Use This Strategy?
✅ Simple and easy-to-follow EMA crossover logic
✅ Automated Stop Loss & Take Profit for risk control
✅ Trades both Long and Short to capture every trend
✅ Can be easily backtested on TradingView for performance validation
Fixed Asset TurnoverFixed Asset Turnover (FAT) measures how efficiently a company uses its fixed assets (Property, Plant & Equipment – PPE) to generate revenue. It shows how many times the company “turns over” its fixed assets in a period relative to revenue.
High FAT: Assets are used efficiently; the company generates more revenue per unit of fixed assets.
Low FAT: Fixed assets are underutilized; the company may have invested too much in assets that don’t produce sufficient revenue.
Formula:
Fixed Asset Turnover=Total Revenue/Average Net Fixed Assets
What it tells you:
Indicates asset efficiency in generating sales.
Useful to compare companies within the same industry (because asset intensity varies by sector).
Helps identify whether a company is over-invested in fixed assets or underutilizing them.
How to use it:
Trend Analysis:
Track FAT over time for the same company to see if asset utilization is improving.
Benchmarking:
Compare FAT against competitors or industry averages.
Investment Decisions:
Higher FAT usually suggests more efficient operations, but context matters (e.g., heavy-capital industries naturally have lower FAT).
VB Bots Watchlist 2025 — RangesOf course. Here is a complete Pine Script v6 indicator for TradingView that displays the On-Balance Volume (OBV) for a selectable list of the top 50 Binance coins by market capitalization.
You can copy and paste this code directly into your Pine Editor in TradingView.
Key Features:
Pine Script Version 6: Written in the latest version of Pine Script.
Dropdown Menu: Easily select which of the top 50 coins you want to see the OBV for from the indicator's settings.
Independent Data: The OBV is calculated for the selected coin, regardless of the chart you are currently viewing.
Clear Plot: Displays the OBV in a separate pane for easy analysis.
MACD Split (Top/Bottom)MACD Split Indicator Explanation
This script separates the MACD into two clean panels:
Top Panel (Mode = Top)
Plots the MACD line and the Signal line.
Used to analyze crossovers and trend direction.
Bottom Panel (Mode = Bottom)
Plots the Histogram (MACD – Signal) and its EMA smoothing.
Used to analyze momentum strength and early shifts.
You can load the same indicator twice:
Set one to Top mode → shows only MACD & Signal lines.
Set the other to Bottom mode → shows only Histogram & EMA.
This way, you get a clear split view without overlapping everything in one chart.
MMAMMA (Midpoint Moving Average)
Similar to SMA but calculated using (High + Low) / 2 instead of Close.
Helps reduce noise by smoothing out candlestick wicks.
Useful for identifying trend direction, support/resistance, and combining with other indicators.
Moving averages applied: 5, 10, 20, 50, 100, 200
Short-term: 5, 10, 20 → captures quick price action
Mid-term: 50, 100 → identifies medium trend
Long-term: 200 → widely used global trend benchmark
Color Scheme (Red → Orange → Yellow → Green → Blue → Navy)
Red: 5 / Orange: 10 / Yellow: 20 / Green: 50 / Blue: 100 / Navy: 200
Transparency: 50% → keeps chart clean when lines overlap
Line Thickness: 1 → minimal, non-intrusive visual
Relative Volume Table with PressureDisplay relative Volume as a table in the top right corner. Turns green when volume is high and price is increasing and red when volume is high and price is decreasing. I use this on D timeframe at the open to screen for stocks breaking out.
Highest High, Lowest Low + LH→HH AlertAdded a persistent variable lastWasLowerHigh that remembers if the last window was a LH.
When a Higher High comes after that, it fires the alert and resets.
No more direct lookback → instead it uses logic across bars.
Turtle strategyhighestNow = the highest high in the most recent 30 bars.
highestPrev = the highest high in the previous 30 bars (bars 31–60).
If highestPrev > highestNow → we had a Lower High.
If highestNow > highestPrev → we now have a Higher High.
Alert fires only when the sequence is LH → HH.
All in 1 by trading spell_kkall in one indicator sharing a mix of ema, quarterly earnings, adr, and market cap
DCA Cost Basis (with Lump Sum)DCA Cost Basis (with Lump Sum) — Pine Script v6
This indicator simulates a Dollar Cost Averaging (DCA) plan directly on your chart. Pick a start date, choose how often to buy (daily/weekly/monthly), set the per-buy amount, optionally add a one-time lump sum on the first date, and visualize your evolving average cost as a VWAP-style line.
Features
Customizable DCA Plan — Set Start Date , buy Frequency (Daily / Weekly / Monthly), and Recurring Amount (in quote currency, e.g., USD).
Lump Sum Option — Add a one-time lump sum on the very first eligible date; recurring DCA continues automatically after that.
Cost Basis Line — Plots the live average price (Total Cost / Total Units) as a smooth, VWAP-style line for instant breakeven awareness.
Buy Markers — Optional triangles below bars to show when simulated buys occur.
Performance Metrics — Tracks:
Total Invested (quote)
Total Units (base)
Cost Basis (avg entry)
Current Value (mark-to-market)
CAGR (Annualized) from first buy to current bar
On-Chart Summary Table — Displays Start Date, Plan Type (Lump + DCA or DCA only), Total Invested, and CAGR (Annualized).
Data Window Integration — All key values also appear in the Data Window for deeper inspection.
Why use it?
Visualize long-term strategies for Bitcoin, crypto, or stocks.
See how a lump sum affects your average entry over time.
Gauge breakeven at a glance and evaluate historical performance.
Note: This tool is for educational/simulation purposes. Results are based on bar closes and do not represent live orders or fees.
parademi super📌 Indicator Information: EMA 5-8-13 with Noise Reduction
This Pine Script indicator is designed to highlight EMA crossovers and filter out weak or noisy signals by combining multiple confirmation tools.
🔹 Core Logic
Plots three EMAs: 5, 8, and 13.
Colors bars:
Green when price is above all EMAs.
Red when price is below all EMAs.
Orange when price crosses EMA 8.
Displays arrows for 5/8 and 8/13 EMA crossovers (up = bullish, down = bearish).
🔹 Noise Reduction Filters
The script integrates several optional filters to reduce false signals:
Trend alignment: Only signals when EMAs are properly aligned (5>8>13 for bullish, 5<8<13 for bearish).
Close confirmation: Requires bar close beyond EMA 8 by a margin.
ADX filter: Ensures sufficient trend strength (custom ADX calculation).
MFI filter: Confirms with Money Flow Index thresholds.
Volatility filter: Blocks signals when EMAs are too close or ATR is too low.
Higher timeframe (HTF) filter: Confirms direction with EMA 8/13 crossover on a higher timeframe.
Debounce: Minimum bar distance between signals to avoid repetition.
🔹 Customization
All filters and thresholds are adjustable in the input menu:
Enable/disable specific filters.
Change EMA lengths, ADX/MFI parameters, ATR threshold, or HTF resolution.
Adjust the minimum bars between signals for cleaner charts.
🔹 Alerts
Built-in alerts are included for each crossover type (Bull/Bear for 5/8 and 8/13).
⚠️ Note: This is an educational tool for technical analysis. Always backtest and confirm with your own strategy before making trading decisions.
Deviation Rate Crash SignalDescription
This indicator provides entry signals for contrarian trades that aim to capture rebounds after sharp declines, such as during market crashes.
A signal is triggered when the deviation rate from the 25-day moving average falls below -25% (default setting). On the chart, a red circle is displayed below the candlestick to indicate the signal.
Backtest (2000–2024, Nikkei 225 stocks):
Win rate: 64.73%
Payoff ratio: 1.141
Probability of ruin: 0.0% (with proper risk control)
Trading Rules (Long only):
Entry: Market buy at next day’s open when the closing price is 25% or more below the 25-day MA.
Exit: Market sell at next day’s open when:
The closing price is 10% above the entry price (take profit), or
The closing price is 10% below the entry price (stop loss), or
40 days have passed since entry.
Notes:
This indicator is tuned for crisis periods (e.g., 2008 Lehman Shock, 2011 Great East Japan Earthquake, 2020 COVID-19 crash, 2024 Yen carry trade reversal).
In normal market conditions, signals will be rare.
Pine Screener BETA Support:
Add this indicator to your favorites and scan with long condition = true.
Screener results display both the MA deviation rate and current price.
When multiple signals occur, use the deviation rate as a reference to prioritize setups.
説明
このインジケーターは、暴落時など短期間で急落した銘柄のリバウンドを狙う逆張りトレードのエントリーシグナルを提供します。
25日移動平均線からの乖離率が -25% を下回ったときにシグナルが点灯します(初期設定)。シグナルはメインチャートのローソク足の下に赤い丸印で表示されます。
バックテスト結果(2000~2024年、日経225銘柄):
勝率: 64.73%
ペイオフレシオ: 1.141
破産確率: 0.0%(適切なリスク管理を行った場合)
トレードルール(買いのみ):
エントリー: 終値が25日移動平均線から25%以上下方乖離した場合、翌日の寄り付きで成行買い。
手仕舞い: 翌日の寄り付きで成行売り(以下のいずれかの条件を満たした場合)
終値が買値より10%以上上昇(利確)
終値が買値より10%以上下落(損切り)
エントリーから40日経過
注意点:
このインジケーターは、2008年リーマンショック、2011年東日本大震災、2020年コロナショック、2024年円キャリートレード巻き戻しショックなど、危機的局面で効果を発揮するように調整されています。
通常の相場ではシグナルはほとんど出現しません。
Pine Screener BETA 対応:
このインジケーターをお気に入り登録し、long condition = true をフィルター条件にしてスキャンしてください。
スクリーナー結果には移動平均乖離率と現在値が表示されます。
シグナルが同時に多数出現した場合は、移動平均乖離率を参考に優先順位をつけてください。