Period Separator + Future LinesDescription
This indicator draws vertical separator lines for each selected timeframe (e.g., daily or hourly) and also projects additional separator lines into the future.
It helps traders visually divide the chart into consistent time periods and see upcoming period boundaries in advance.
Features
- Draws vertical lines at the start of each chosen period (daily by default).
- Extends several separator lines into the future so you can anticipate upcoming sessions.
- Fully customizable: color, style (solid/dashed/dotted), line width, and timeframe can be adjusted from the settings.
- Lines are plotted without distorting auto-scaling, so the chart view remains clean.
Use Case
Ideal for intraday and swing traders who want clear visual time markers and the ability to prepare for upcoming trading sessions.
指標和策略
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 をフィルター条件にしてスキャンしてください。
スクリーナー結果には移動平均乖離率と現在値が表示されます。
シグナルが同時に多数出現した場合は、移動平均乖離率を参考に優先順位をつけてください。
Price Between Tenkan & KijunThis is to find stocks that either breaking up or down from a large screener list
Price Between Tenkan & KijunThis is developed to find stocks on a weekly basis that are potentially breaking out or breaking down
TOTALES_LIBRARY_MAINLibrary "TOTALES_LIBRARY_MAIN"
sigmoid_strategy(source_sigmoid, lookback, volatility_period, base_steepness, base_midpoint, z_period, ma_type, ma_lookback, upper_threshold, lower_threshold)
Parameters:
source_sigmoid (float)
lookback (simple int)
volatility_period (simple int)
base_steepness (simple float)
base_midpoint (simple float)
z_period (simple int)
ma_type (simple string)
ma_lookback (simple int)
upper_threshold (simple float)
lower_threshold (simple float)
fdi_supertrend_strategy(src, per, speed, fdi_mult_upper, fdi_mult_lower, adapt)
Parameters:
src (float)
per (simple int)
speed (simple int)
fdi_mult_upper (simple float)
fdi_mult_lower (simple float)
adapt (simple bool)
volume_trend_strategy(volume_trend_x, volume_trend_y)
Parameters:
volume_trend_x (simple int)
volume_trend_y (simple int)
rti_strategy(rtiTrendDataCount, rtiTrendSensitivityPercentage, rtiSignalLength, upper_threshold_rti, lower_threshold_rti, useSignalLength_rti)
Parameters:
rtiTrendDataCount (simple int)
rtiTrendSensitivityPercentage (simple int)
rtiSignalLength (simple int)
upper_threshold_rti (simple float)
lower_threshold_rti (simple float)
useSignalLength_rti (simple bool)
zscore_heikin_strategy(len_zscore, upper_threshold_zscore, lower_threshold_zscore)
Parameters:
len_zscore (simple int)
upper_threshold_zscore (simple float)
lower_threshold_zscore (simple float)
emd_strategy(input_src_emd, avg_type_emd, length_emd, mult_upper_emd, mult_lower_emd)
Parameters:
input_src_emd (simple string)
avg_type_emd (simple string)
length_emd (simple int)
mult_upper_emd (simple float)
mult_lower_emd (simple float)
bbpct_strategy(length_bbpct, src_bbpct, mult_bbpct, upper_threshold_bbpct, lower_threshold_bbpct)
Parameters:
length_bbpct (simple int)
src_bbpct (float)
mult_bbpct (simple float)
upper_threshold_bbpct (simple float)
lower_threshold_bbpct (simple float)
dega_rma_strategy(src_dema, len_dema, len_FG, sigma_FG, len_rma, len_ATR, mult_ATRup, mult_ATRdn)
Parameters:
src_dema (float)
len_dema (simple int)
len_FG (simple int)
sigma_FG (simple float)
len_rma (simple int)
len_ATR (simple int)
mult_ATRup (simple float)
mult_ATRdn (simple float)
dssd_strategy(DemaLen_dssd, DemaSrc_dssd, PerLen_dssd, pertype_dssd, SDlen_dssd, EmaLen_dssd, IncluedeEma_dssd)
Parameters:
DemaLen_dssd (simple int)
DemaSrc_dssd (float)
PerLen_dssd (simple int)
pertype_dssd (simple string)
SDlen_dssd (simple int)
EmaLen_dssd (simple int)
IncluedeEma_dssd (simple bool)
impulsive_momentum_strategy(Lu_imp, Su_imp, yes_imp, lenEMA, mult, atr_length, lenEMA2, atr_momentum_length, mult2, lenMED, mult3, rsi_length, sma_rsi_length)
Parameters:
Lu_imp (simple float)
Su_imp (simple float)
yes_imp (simple bool)
lenEMA (simple int)
mult (simple float)
atr_length (simple int)
lenEMA2 (simple int)
atr_momentum_length (simple int)
mult2 (simple float)
lenMED (simple int)
mult3 (simple float)
rsi_length (simple int)
sma_rsi_length (simple int)
get_sigmoid_score(source_sigmoid, lookback, volatility_period, base_steepness, base_midpoint, z_period, ma_type, ma_lookback, upper_threshold, lower_threshold)
Parameters:
source_sigmoid (float)
lookback (simple int)
volatility_period (simple int)
base_steepness (simple float)
base_midpoint (simple float)
z_period (simple int)
ma_type (simple string)
ma_lookback (simple int)
upper_threshold (simple float)
lower_threshold (simple float)
get_fdi_supertrend_score(src, per, speed, fdi_mult_upper, fdi_mult_lower, adapt)
Parameters:
src (float)
per (simple int)
speed (simple int)
fdi_mult_upper (simple float)
fdi_mult_lower (simple float)
adapt (simple bool)
get_volume_trend_score(volume_trend_x, volume_trend_y)
Parameters:
volume_trend_x (simple int)
volume_trend_y (simple int)
get_rti_score(rtiTrendDataCount, rtiTrendSensitivityPercentage, rtiSignalLength, upper_threshold_rti, lower_threshold_rti, useSignalLength_rti)
Parameters:
rtiTrendDataCount (simple int)
rtiTrendSensitivityPercentage (simple int)
rtiSignalLength (simple int)
upper_threshold_rti (simple float)
lower_threshold_rti (simple float)
useSignalLength_rti (simple bool)
get_zscore_heikin_score(len_zscore, upper_threshold_zscore, lower_threshold_zscore)
Parameters:
len_zscore (simple int)
upper_threshold_zscore (simple float)
lower_threshold_zscore (simple float)
get_emd_score(input_src_emd, avg_type_emd, length_emd, mult_upper_emd, mult_lower_emd)
Parameters:
input_src_emd (simple string)
avg_type_emd (simple string)
length_emd (simple int)
mult_upper_emd (simple float)
mult_lower_emd (simple float)
get_bbpct_score(length_bbpct, src_bbpct, mult_bbpct, upper_threshold_bbpct, lower_threshold_bbpct)
Parameters:
length_bbpct (simple int)
src_bbpct (float)
mult_bbpct (simple float)
upper_threshold_bbpct (simple float)
lower_threshold_bbpct (simple float)
get_dega_rma_score(src_dema, len_dema, len_FG, sigma_FG, len_rma, len_ATR, mult_ATRup, mult_ATRdn)
Parameters:
src_dema (float)
len_dema (simple int)
len_FG (simple int)
sigma_FG (simple float)
len_rma (simple int)
len_ATR (simple int)
mult_ATRup (simple float)
mult_ATRdn (simple float)
get_dssd_score(DemaLen_dssd, DemaSrc_dssd, PerLen_dssd, pertype_dssd, SDlen_dssd, EmaLen_dssd, IncluedeEma_dssd)
Parameters:
DemaLen_dssd (simple int)
DemaSrc_dssd (float)
PerLen_dssd (simple int)
pertype_dssd (simple string)
SDlen_dssd (simple int)
EmaLen_dssd (simple int)
IncluedeEma_dssd (simple bool)
get_impulsive_momentum_score(Lu_imp, Su_imp, yes_imp, lenEMA, mult, atr_length, lenEMA2, atr_momentum_length, mult2, lenMED, mult3, rsi_length, sma_rsi_length)
Parameters:
Lu_imp (simple float)
Su_imp (simple float)
yes_imp (simple bool)
lenEMA (simple int)
mult (simple float)
atr_length (simple int)
lenEMA2 (simple int)
atr_momentum_length (simple int)
mult2 (simple float)
lenMED (simple int)
mult3 (simple float)
rsi_length (simple int)
sma_rsi_length (simple int)
get_tpi_score(use_sigmoid, use_fdi_supertrend, use_volume_trend, use_rti, use_zscore_heikin, use_emd, use_bbpct, use_dega_rma, use_dssd, use_impulsive_momentum, source_sigmoid, lookback, volatility_period, base_steepness, base_midpoint, z_period, ma_type, ma_lookback, upper_threshold, lower_threshold, src, per, speed, fdi_mult_upper, fdi_mult_lower, adapt, volume_trend_x, volume_trend_y, rtiTrendDataCount, rtiTrendSensitivityPercentage, rtiSignalLength, upper_threshold_rti, lower_threshold_rti, useSignalLength_rti, len_zscore, upper_threshold_zscore, lower_threshold_zscore, input_src_emd, avg_type_emd, length_emd, mult_upper_emd, mult_lower_emd, length_bbpct, src_bbpct, mult_bbpct, upper_threshold_bbpct, lower_threshold_bbpct, src_dema, len_dema, len_FG, sigma_FG, len_rma, len_ATR, mult_ATRup, mult_ATRdn, DemaLen_dssd, DemaSrc_dssd, PerLen_dssd, pertype_dssd, SDlen_dssd, EmaLen_dssd, IncluedeEma_dssd, Lu_imp, Su_imp, yes_imp, lenEMA, mult, atr_length, lenEMA2, atr_momentum_length, mult2, lenMED, mult3, rsi_length, sma_rsi_length)
Parameters:
use_sigmoid (simple bool)
use_fdi_supertrend (simple bool)
use_volume_trend (simple bool)
use_rti (simple bool)
use_zscore_heikin (simple bool)
use_emd (simple bool)
use_bbpct (simple bool)
use_dega_rma (simple bool)
use_dssd (simple bool)
use_impulsive_momentum (simple bool)
source_sigmoid (float)
lookback (simple int)
volatility_period (simple int)
base_steepness (simple float)
base_midpoint (simple float)
z_period (simple int)
ma_type (simple string)
ma_lookback (simple int)
upper_threshold (simple float)
lower_threshold (simple float)
src (float)
per (simple int)
speed (simple int)
fdi_mult_upper (simple float)
fdi_mult_lower (simple float)
adapt (simple bool)
volume_trend_x (simple int)
volume_trend_y (simple int)
rtiTrendDataCount (simple int)
rtiTrendSensitivityPercentage (simple int)
rtiSignalLength (simple int)
upper_threshold_rti (simple float)
lower_threshold_rti (simple float)
useSignalLength_rti (simple bool)
len_zscore (simple int)
upper_threshold_zscore (simple float)
lower_threshold_zscore (simple float)
input_src_emd (simple string)
avg_type_emd (simple string)
length_emd (simple int)
mult_upper_emd (simple float)
mult_lower_emd (simple float)
length_bbpct (simple int)
src_bbpct (float)
mult_bbpct (simple float)
upper_threshold_bbpct (simple float)
lower_threshold_bbpct (simple float)
src_dema (float)
len_dema (simple int)
len_FG (simple int)
sigma_FG (simple float)
len_rma (simple int)
len_ATR (simple int)
mult_ATRup (simple float)
mult_ATRdn (simple float)
DemaLen_dssd (simple int)
DemaSrc_dssd (float)
PerLen_dssd (simple int)
pertype_dssd (simple string)
SDlen_dssd (simple int)
EmaLen_dssd (simple int)
IncluedeEma_dssd (simple bool)
Lu_imp (simple float)
Su_imp (simple float)
yes_imp (simple bool)
lenEMA (simple int)
mult (simple float)
atr_length (simple int)
lenEMA2 (simple int)
atr_momentum_length (simple int)
mult2 (simple float)
lenMED (simple int)
mult3 (simple float)
rsi_length (simple int)
sma_rsi_length (simple int)
get_all_strategy_scores(source_sigmoid, lookback, volatility_period, base_steepness, base_midpoint, z_period, ma_type, ma_lookback, upper_threshold, lower_threshold, src, per, speed, fdi_mult_upper, fdi_mult_lower, adapt, volume_trend_x, volume_trend_y, rtiTrendDataCount, rtiTrendSensitivityPercentage, rtiSignalLength, upper_threshold_rti, lower_threshold_rti, useSignalLength_rti, len_zscore, upper_threshold_zscore, lower_threshold_zscore, input_src_emd, avg_type_emd, length_emd, mult_upper_emd, mult_lower_emd, length_bbpct, src_bbpct, mult_bbpct, upper_threshold_bbpct, lower_threshold_bbpct, src_dema, len_dema, len_FG, sigma_FG, len_rma, len_ATR, mult_ATRup, mult_ATRdn, DemaLen_dssd, DemaSrc_dssd, PerLen_dssd, pertype_dssd, SDlen_dssd, EmaLen_dssd, IncluedeEma_dssd, Lu_imp, Su_imp, yes_imp, lenEMA, mult, atr_length, lenEMA2, atr_momentum_length, mult2, lenMED, mult3, rsi_length, sma_rsi_length)
Parameters:
source_sigmoid (float)
lookback (simple int)
volatility_period (simple int)
base_steepness (simple float)
base_midpoint (simple float)
z_period (simple int)
ma_type (simple string)
ma_lookback (simple int)
upper_threshold (simple float)
lower_threshold (simple float)
src (float)
per (simple int)
speed (simple int)
fdi_mult_upper (simple float)
fdi_mult_lower (simple float)
adapt (simple bool)
volume_trend_x (simple int)
volume_trend_y (simple int)
rtiTrendDataCount (simple int)
rtiTrendSensitivityPercentage (simple int)
rtiSignalLength (simple int)
upper_threshold_rti (simple float)
lower_threshold_rti (simple float)
useSignalLength_rti (simple bool)
len_zscore (simple int)
upper_threshold_zscore (simple float)
lower_threshold_zscore (simple float)
input_src_emd (simple string)
avg_type_emd (simple string)
length_emd (simple int)
mult_upper_emd (simple float)
mult_lower_emd (simple float)
length_bbpct (simple int)
src_bbpct (float)
mult_bbpct (simple float)
upper_threshold_bbpct (simple float)
lower_threshold_bbpct (simple float)
src_dema (float)
len_dema (simple int)
len_FG (simple int)
sigma_FG (simple float)
len_rma (simple int)
len_ATR (simple int)
mult_ATRup (simple float)
mult_ATRdn (simple float)
DemaLen_dssd (simple int)
DemaSrc_dssd (float)
PerLen_dssd (simple int)
pertype_dssd (simple string)
SDlen_dssd (simple int)
EmaLen_dssd (simple int)
IncluedeEma_dssd (simple bool)
Lu_imp (simple float)
Su_imp (simple float)
yes_imp (simple bool)
lenEMA (simple int)
mult (simple float)
atr_length (simple int)
lenEMA2 (simple int)
atr_momentum_length (simple int)
mult2 (simple float)
lenMED (simple int)
mult3 (simple float)
rsi_length (simple int)
sma_rsi_length (simple int)
get_tpi_color(tpi_score)
Parameters:
tpi_score (float)
get_strategy_color(score)
Parameters:
score (float)
format_strategy_score(is_enabled, score)
Parameters:
is_enabled (bool)
score (float)
Alto/Bajo Día y Semana Anterior + Interno y semanal📊 High/Low Daily & Weekly + Internal
Instantly visualize key support and resistance levels:
🔹 Previous day’s highs/lows (red/green)
🔹 Current day’s internal highs/lows (orange/yellow)
🔹 Previous week’s highs/lows (blue/aqua) – visible on all timeframes
✨ Optional labels with exact values
✨ Fully customizable lines
Perfect for spotting liquidity zones and key levels in your trading.
📊 Alto/Bajo Día & Semana + Interno
Visualiza soportes y resistencias clave al instante:
🔹 Altos/bajos del día anterior (rojo/verde)
🔹 Altos/bajos internos del día (naranja/amarillo)
🔹 Altos/bajos de la semana anterior (azul/aqua) – visibles en todas las temporalidades
✨ Labels opcionales con valores exactos
✨ Líneas personalizables
Ideal para detectar zonas de liquidez y niveles clave en tu trading.
Aggregated OI (Binance + Bybit + OKX)RU
Агрегатор Open Interest для крипты по трём биржам: Binance, Bybit, OKX/OKEX.
Показывает OI-свечи или дельту OI, есть мини-легенда (Open Interest, Rekt Longs/Shorts, Aggressive Longs/Shorts). Можно переключать биржи и единицы отображения (USD / COIN).
Данные зависят от доступности OI-тикеров в TradingView (…USDT.P_OI). Если по паре нет фида на бирже — она игнорируется. Основано на скрипте LeviathanCapital (MPL-2.0), модификация — SaneQ. Не является финсоветом.
EN
Aggregated Open Interest for crypto across Binance, Bybit, OKX/OKEX.
Plots OI candles or OI delta, plus a compact legend (Open Interest, Rekt Longs/Shorts, Aggressive Longs/Shorts). You can toggle exchanges and display units (USD / COIN).
Data depends on TV OI feeds (…USDT.P_OI). If a pair lacks a feed on an exchange, that source is skipped. Based on LeviathanCapital’s script (MPL-2.0), modified by SaneQ. Not financial advice.
Grand Slam Risk ManagementGrand Slam Risk Management (GSRM) Indicator
OVERVIEW
The Grand Slam Risk Management Indicator transforms complex position sizing calculations into real-time, visual risk metrics—enabling disciplined trading decisions without the emotional guesswork that destroys accounts. This comprehensive tool is designed for active day traders and swing traders who want to automate critical risk management calculations directly on their TradingView charts. 🚀
THE GRAND SLAM RISK MANAGEMENT STRATEGY
Core Philosophy
The Grand Slam Risk Management Strategy (GSRM) gets its name from baseball's ultimate scoring play: a grand slam can only be hit when three runners are already on base, requiring at least three prior successful at-bats (hits or walks) to create the opportunity. This perfectly embodies the GSRM philosophy—consistent "base hits" in trading create the foundation for larger wins while protecting your account from devastating losses. Just as baseball teams win championships through disciplined, consistent play rather than swinging for the fences every at-bat, successful traders build wealth through reliable, repeatable profits rather than chasing home runs that often result in strikeouts. ⚾
Strategy Framework
Capital Allocation : 💰
• Working Balance: Account balance minus PDT requirement ($25,000 minimum for margin accounts)
• Allocated Buying Power: Working balance × leverage (4:1 for day trading, 2:1 for swing, 1:1 for cash)
• Daily Profit Target: 5% of allocated buying power (default)
The Base Hit System : 🎯
• Daily profit target divided into 4 "base hits"
• Each base hit represents 25% of daily goal
• Max risk per trade: 50% of base hit target (maintains 2:1 reward/risk minimum)
• Daily max loss: 2 base hits (recoverable with 2 winning trades)
Three-Tier Profit Structure : 🚀
• Tier 1 (5%): Minimum acceptable profit - "Why else take the trade?"
• Tier 2 (10%): Solid win - the target "base hit"
• Tier 3 (20%): Home run - when momentum is strongly in your favor 🏠🏃
Position Sizing Levels : 📊
• Quarter Position (25% of max): Testing the waters, lower conviction setups
• Half Position (50% of max): Standard confidence trades
• Max Position (100%): High conviction, ideal setup conditions
INDICATOR FEATURES
Real-Time Calculations ⚡
• Dynamic Position Sizing: Automatically calculates share quantities based on account balance and current price
• Profit & Loss Targets: Displays dollar amounts for profit targets and stop-losses across all position sizes
• Risk Metrics: Shows daily profit goals, max loss thresholds, and P&L ratios
Advanced Stop-Loss Methods 🛡️
1. Percentage-Based Stops : Fixed 50% of profit target (maintains 2:1 reward/risk)
2. ATR-Based Stops : Dynamic stops that adapt to market volatility using Average True Range (ATR)
• Tier 1: 0.5× ATR (tight/scalping)
• Tier 2: 1.0× ATR (standard)
• Tier 3: 1.5× ATR (wide/trending)
Cost Basis Options 📈
• Last Close: Uses previous bar's closing price for stable calculations
• VWMA: Volume-Weighted Moving Average (default: 9) estimate cost-basis from recent volume-weighted price action
• SMA/EMA: Use Simple or Exponential Moving Average (default: 9) useful for planning entries at SMA/EMA cross-overs and bounces.
• VWAP: Volume-Weighted Average Price (default: daily) for entry point planning at bounce or break of VWAP.
* Ask/Bid: Entry point calculations based on current Ask or Bid price (only available on 1T charts)
Visual Risk Management 🔑
• Color-Coded P&L Ratio :
- Green (≤0.5): Conservative, favorable risk ✅
- Yellow (0.5-1.0): Balanced risk ⚠️
- Red (>1.0): Aggressive, requires higher win rate 🛑
• Position Size Color Coding : Green (quarter) → Yellow (half) → Red (max) for quick risk assessment
HOW TO USE THE GSRM INDICATOR
Initial Setup (One-Time Configuration) ⚙️
1. Set Account Balance: Enter your total trading account value
2. Configure PDT Protection: Enable for margin accounts ≥$25,000 to protect required funds
3. Select Leverage: 4:1 (day trading), 2:1 (swing), or 1:1 (cash account)
4. Adjust Risk Percentage: Default 5% of allocated buying power; reduce for conservative approach
Trading Workflow
Pre-Market Preparation: 🌅
1. Review daily profit target and max loss displayed in green/red
2. Note your base hit target - this is your standard trade goal
3. Check P&L ratio - ensure it's sustainable for your win rate
Trade Execution: 🚀
1. Assess Setup Quality :
• Strong setup → Consider half or max position 💪
• Decent setup → Quarter or half position 👍
• Testing idea → Quarter position only 🧪
2. Select Profit Tier Based on Market Conditions :
• Choppy market → Target Tier 1 (5%) 🌊
• Normal conditions → Target Tier 2 (10%) ➡️
• Strong momentum → Target Tier 3 (20%) 🚀
3. Choose Stop Method :
• Percentage stops: Best for stocks with clear support/resistance
• ATR stops: Better for volatile stocks or news-driven trades. WARNING: this may result in tighter stops, negatively affecting your P&L. To offset this effect, try increasing the number of base hits to achieve your daily profit target and recover from a daily max loss. Be sure the resultant P&L ratio is in the conservative range ≤0.5. This will allow you to adjust your per-trade P&L targets without reducing your daily profit target or increasing your max risk.
4. Execute Using Table Values :
• 🔎 Find your position size group (🟢quarter/🟡half/🔴max)
• 🔎 Find your profit target row (5%/10%/20%) for your position size group
• ⚠️ Do not exceed the share count and stop-loss values displayed ⚠️
Risk Management Rules 🛡️
Daily Limits : 🚨
• Stop trading after hitting daily max loss (prevent tilt/revenge trading)
• Stop trading when a low-risk, minimum-loss trade would exceed your daily max loss (prevent exceeding max)
• Stop trading if you fall below the Daily Profit Target after having achieved it (prevent tilt/revenge trading)
• Cold Market: Stop trading after reaching daily profit target (preserve gains) ❄️
• Hot Market: Three Strikes - stop trading after 3 total max loss trades in a day (prevent tilt/revenge trading) 🔥
Position Management : 📏
• Never exceed max position size shown (protects from overleverage)
• Use quarter positions when daily P&L is negative or below first profit goal (40% of target)
• Use half positions only while daily P&L is above first profit goal (40% of target)
• Use full positions only while daily P&L is above profit goal (100% of target)
A/B Testing Features 🧪
Stop-Loss Methods :
• Week 1: Use percentage-based stops
• Week 2: Use ATR-based stops
• Compare win rates and average losses to optimize
Cost Basis Models :
Pick the highest probable cost-basis and keep your entry position below the share count shown to protect from overleveraging your buying power.
⚠️ IMPORTANT: COST BASIS ESTIMATIONS ARE FOR RISK MANAGEMENT CALCULATIONS ONLY - DO NOT USE THIS INFORMATION TO EXECUTE BUY OR SELL ORDERS.
• Fast movers: Use Last Close for stability 🏃or Bid/Ask for real-time price updates (Bid/Ask is only available on 1T charts).
• Liquid stocks: Try VWMA for better entry estimation 💧
• Reversals/Break of VWAP: Use VWAP when anticipating an entry at the Volume-Weighted Average Price 🔄
• Reversals/Break SMA 200: Use SMA when anticipating an entry at the SMA 📉
• Momentum/Trending: Use EMA when anticipating an entry at the EMA bounce 📈
• Price Offset: Plus/Minus $1.00 in $0.10 increments to compensate for slippage, market orders, etc.
Track which method provides better fill estimates. There is no right or wrong choice here because it depends on your style of trading. You can also use the Price Offset option if you find it helps with consistency.
BEST PRACTICES ⭐
1. Start Conservative : Use quarter positions and default settings until familiar with the system 🐣
2. Track Results : Document whether you hit Tier 1, 2, or 3 targets 📝
3. Respect the Math : The calculations assume a 50%+ win rate - if yours is lower, reduce position sizes 🧮
4. Daily Review : Compare actual P&L to base hit targets to calibrate expectations 🔍
5. Adapt to Conditions : Use ATR stops in volatile markets, percentage stops in stable conditions 🌡️
GLOSSARY 📚
• ATR (Average True Range) : A volatility indicator measuring the average range of price movement
• PDT (Pattern Day Trader) : SEC rule requiring $25,000 minimum for accounts making 4+ day trades in 5 business days
• VWAP (Volume-Weighted Average Price) : Average price weighted by volume for the trading session
• VWMA (Volume-Weighted Moving Average) : Moving average that gives more weight to periods with higher volume
• SMA (Simple Moving Average) : Unweighted moving average where each data point is of equal importance
• EMA (Exponential Moving Average) : Moving average that emphasizes the most recent data and information from the market
• P&L : Profit & Loss
IMPORTANT DISCLAIMERS ⚠️
• This indicator and any information provided is for educational and informational purposes only and should not be construed as investment advice, financial advice, trading advice, or any other type of advice. You should not make any investment decision based solely on this indicator.
• All investments and trading involve substantial risk of loss and are not suitable for every investor. You should carefully consider whether trading is suitable for you in light of your experience, objectives, financial resources, and other relevant circumstances. 📉
• Actual trade results may vary from calculated targets due to slippage, market gaps, and execution delays
• The creator of this indicator is not a registered investment advisor, broker-dealer, or financial advisor. Nothing contained herein constitutes a recommendation or solicitation to buy or sell any financial instrument.
• In no event shall the creator be liable for any direct, indirect, incidental, special, or consequential damages arising out of the use of this indicator.
• This indicator DOES NOT calculate support/resistance levels
• This indicator DOES NOT provide buy/sell signals
• This indicator DOES NOT calculate entry prices
• It is the trader's responsibility to determine an appropriate entry price for their chosen strategy
• This indicator provides calculations only - execution discipline remains the trader's responsibility
• Default settings assume PDT margin account rules; adjust for cash accounts
• P&L ratio colors are guidelines - your actual win rate determines sustainable ratios
• Always verify position sizes don't exceed account buying power before executing
SUPPORT AND FEEDBACK 💬
This indicator represents years of trading experience condensed into automated calculations. It's designed to remove emotional decision-making from position sizing while maintaining flexibility for different market conditions and trading styles.
For questions, suggestions, or to share your results using the GSRM strategy, please comment on the TradingView publication page. 🚀
---
Remember: The goal isn't to hit home runs - it's to get on base consistently while avoiding strikeouts. Small wins compound into large gains over time. ⚾💰
Version: 1.0
License: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
- creativecommons.org
Compatibility: TradingView Pine Script v6
ATM & ITM Strike Table (NIFTY & BANKNIFTY)This script is like a cheat sheet for option traders.
When you put it on your chart, it shows you a small table with:
The current spot price (the real market price).
The futures price (another version of the same index that sometimes trades a bit higher or lower).
The ATM strike (the strike price closest to the market price).
Which call option and put option are “in the money” and most relevant right now.
A little note to remind you if you’re looking at the right chart.
In short:
It saves you from doing mental math every time by automatically pointing out the key option strike prices you should be aware of.
Peshraw strategy 1//@version=5
indicator("Peshraw strategy 1", overlay=false)
// --- Stochastic Settings
kPeriod = 100
dPeriod = 3
slowing = 3
k = ta.sma(ta.stoch(close, high, low, kPeriod), slowing)
d = ta.sma(k, dPeriod)
// --- Moving Average on Stochastic %K
maLength = 2
maOnK = ta.sma(k, maLength)
// --- Plot Stochastic
plot(k, color=color.blue, title="%K")
plot(d, color=color.orange, title="%D")
// --- Plot MA(2) on %K
plot(maOnK, color=color.red, title="MA(2) on %K")
// --- Levels (fix hline error)
hline(9, "Level 9", color=color.gray, linestyle=hline.style_dotted)
hline(18, "Level 18", color=color.gray, linestyle=hline.style_dotted)
hline(27, "Level 27", color=color.gray, linestyle=hline.style_dotted)
hline(36, "Level 36", color=color.gray, linestyle=hline.style_dotted)
hline(45, "Level 45", color=color.gray, linestyle=hline.style_dotted)
hline(54, "Level 54", color=color.gray, linestyle=hline.style_dotted)
hline(63, "Level 63", color=color.gray, linestyle=hline.style_dotted)
hline(72, "Level 72", color=color.gray, linestyle=hline.style_dotted)
hline(81, "Level 81", color=color.gray, linestyle=hline.style_dotted)
hline(91, "Level 91", color=color.gray, linestyle=hline.style_dotted)
BK AK-Flag Formations🏴☠️ Introducing BK AK-Flag Formations — Raise the standard. Drive the line. Continue the assault. 🏴☠️
Built for traders who exploit momentum with discipline: flagpoles, flags, and pennants detected, tagged, and briefed—so you can press advantage instead of hesitating.
🎖️ Full Credit
The pattern engine, detection logic, and architecture are Trendoscope—one of the absolute best coders on TradingView and the original creator of this indicator’s core. I asked for interface upgrades and knew he was deep in other builds, so I forged the add-ons and released them for the community that values them.
My enhancements (on top of Trendoscope):
Label transparency (text + background)
Short-form labels (BF/BeF/BP/BeP/…)
Transparency controls for short-form labels
Hover tooltips with full pattern name + bullish/bearish bias (toggle)
Everything else is Trendoscope. Respect where it’s due.
🧠 What It Does
Locks onto flags and pennants after strong impulses (flagpoles).
Prints clean battlefield tags (BF, BeF, BP, BeP…) so the setup is obvious without burying price.
Mouse-over for the brief: full pattern name + directional bias exactly when you need it.
Multi-zigzag sweep for micro→macro detection, overlap control, bar-ratio verification, max-pattern caps, dark/light aware palette + custom colors.
🧭 Read the Continuation
BF — Bull Flag: strong pole, orderly pullback; look for break and measured move continuity.
BP — Bull Pennant: tight triangle after thrust; expansion confirms carry.
BeF — Bear Flag: weak rallies in a downtrend; break = continuation lower.
BeP — Bear Pennant: compressed pause beneath resistance; release favors trend.
Standards are not decoration—they are orders.
🤝 Acknowledgments
Original engine & libraries: Trendoscope (legend).
Enhancement layer (UX): transparency, short codes, tooltip system — BK.
Mentor: A.K. — clarity, patience, judgment. His discipline guides every choice here.
🫡 Give Forward
Don’t be cheap with your knowledge. If my indicators sharpen your edge:
Teach someone to read structure with discipline.
Share your process, not just screenshots.
Contribute code, context, or courage to those behind you.
Tools are force multipliers. Character decides how they’re used.
🙏 Final Word
“Plans are established by counsel; by wise guidance wage war.” — Proverbs 20:18
Impulse → formation → continuation.
Raise the banner, hold formation, and execute with wisdom.
BK AK-Flag Formations — when the standard rises, the line advances.
Gd bless. 🙏
Penny Stock Short ScalpPenny Stock Short Scalp:
This Penny Stock Short Scalp Strategy is designed for traders aiming to capitalize on rapid, short-term price declines in penny stocks using TradingView. Focused on high-volatility periods, this strategy leverages quick entries and exits to capture small, consistent profits.
Strategy Overview
Timeframe: 1-minute or 2-minute charts for precise entries and exits.
Market: Penny stocks (low-priced, high-volatility stocks, typically under $5).
Trading Window: Best executed during the first 1-2 hours of market open (9:30 AM - 11:30 AM EST) when volatility is highest.
Position Type: Short positions only, targeting rapid price drops.
Key Indicators
Exponential Moving Average (EMA): 20-period EMA to identify short-term trends. A price below the EMA signals a potential short opportunity.
Relative Strength Index (RSI): 14-period RSI to detect overbought conditions (RSI > 70) for short entry signals.
Volume: High trading volume confirms momentum and liquidity for quick exits.
Bollinger Bands: Used to identify overextended price movements. A price touching or breaking above the upper band suggests a potential reversal for shorting.
Entry Rules
Price Action: Price breaks above the 20 EMA and touches or exceeds the upper Bollinger Band.
RSI Confirmation: RSI is above 70, indicating overbought conditions.
Volume Surge: A spike in volume supports the potential for a quick reversal.
Support/Resistance: Identify a nearby resistance level (intraday or daily) to confirm the short setup.
Exit Rules
Profit Target: Aim for a 2-5% price drop or a fixed profit target (e.g., $0.05-$0.10 per share, depending on stock price).
Stop Loss: Set a stop loss above the recent high or 2% above entry to limit risk.
Close Position: Exit if the price crosses back above the 20 EMA or RSI drops below 50, signaling a potential reversal.
Risk Management
Position Sizing: Risk no more than 1-2% of your account per trade.
Liquidity Check: Ensure the stock has sufficient volume to avoid slippage.
Time Limit: Exit trades within 5-10 minutes to avoid holding through unpredictable swings.
Notes
Market Conditions: Best suited for ranging or slightly bearish markets where pullbacks are frequent.
Caution: Penny stocks are highly volatile; use tight stops and avoid overleveraging.
Platform: Configure TradingView with the above indicators and use real-time data for accurate signals.
Disclaimer: This strategy involves significant risk due to the volatile nature of penny stocks. Always conduct your own research and consult a financial advisor before trading. Past performance is not indicative of future results.
Weekly Setup Scanner (Trend + Momentum + Squeeze)Trend → price above weekly 20 EMA.
Momentum → weekly MACD bullish (MACD > Signal).
Volatility → weekly squeeze (Bollinger Bands inside Keltner Channels).
If all 3 conditions align → it flags the setup
Dual-Frame Momentum OscillatorDual-Frame Momentum Oscillator (DFMO)
This is not just another oscillator. This is a confluence engine, built for the discerning trader who reads the story of price action and needs an objective tool to confirm the climax.
The Dual-Frame Momentum Oscillator was designed to solve a specific problem: how to differentiate a genuine, sustainable breakout from an exhaustive liquidity grab. It provides a visual confirmation for high-probability reversal and scalp setups by measuring momentum across two distinct time frames simultaneously.
This tool is for the trader who understands that indicators should not dictate trades, but rather confirm a well-defined thesis based on market structure, volume, and liquidity.
The Core Concept: Context Meets Trigger
The DFMO fuses a slow, methodical Stochastic with a hyper-sensitive RSI to give you a complete picture of momentum.
The Context (Slow Stochastic %K - default 40,4,4): This acts as your long-term momentum gauge. It tells you if the underlying trend is healthy or nearing exhaustion. A high reading suggests the market is overextended and vulnerable, while a low reading suggests the opposite.
The Trigger (Fast RSI - default 3): This is your immediate impulse reader. It measures the velocity and intensity of the current price thrust, making it incredibly sensitive to exhaustive moves, spikes, and bounces.
By themselves, they are useful. Together, they are formidable.
The Confluence Engine: Your Visual Edge
The true power of the DFMO lies in its "Confluence Engine." The indicator's background highlights in real-time when both oscillators are in agreement, visually flagging moments of maximum opportunity.
Bearish Confluence Zone (Red): The background turns red only when the Stochastic is overbought AND the RSI is overbought. This is your signal that the broader trend is exhausted and the current buying impulse has reached a climax. It is the ideal confirmation for a short entry following a liquidity sweep above a key high.
Bullish Confluence Zone (Green): The background turns green only when the Stochastic is oversold AND the RSI is oversold. This signals that the downtrend is tired and the immediate selling pressure is exhaustive, providing high-probability confirmation for a long entry at a key support level.
When these zones appear, the indicator is telling you that both the context and the trigger are aligned. This removes ambiguity and allows for decisive, confident execution.
Practical Application: The Liquidity Sweep
Imagine you're stalking a short on a futures contract like MCL or MES. You've marked the high of the day (HOD) as a key resistance level where liquidity is resting. You see a sharp, vertical impulse move that breaks the HOD, clearing out the stops.
Is this a real breakout, or is it a manipulation move—a classic liquidity grab?
You glance down at the DFMO. The moment price swept the high, the background flashed red. That's your objective confirmation. The slow Stoch was already overbought, and the fast RSI spiking confirmed the exhaustive, terminal nature of that price thrust. You now have the confidence to enter your short scalp, knowing you are aligned with the probable direction of the market's next move.
This is how you move from "feeling" the market to systematically executing a high-probability edge. This is how you aspire for greatness.
Add the Dual-Frame Momentum Oscillator to your toolkit and transform your ability to time entries with surgical precision.
BK AK-Warfare Formations👑 Introducing BK AK-Warfare Formations — Form the pride. Take the high ground. Strike with wisdom. 👑
This is my 9th release—built for traders who think like commanders: see the formation, decide the maneuver, deliver the strike.
🎖️ Full Credit
The pattern engine, detection logic, and architecture come from Trendoscope—one of the absolute best coders on TradingView and the original creator of this indicator’s core.
I asked for a few interface upgrades and knew he was driving bigger builds. So I forged the add-ons myself and am releasing them for those who value a cleaner, more tactical read.
My enhancements (on top of Trendoscope):
Label transparency (text + background)
Short-form pattern codes (AC/DC/RC/RWE/...)
Transparency controls for short-form labels
Hover tooltips with full pattern name + bullish/bearish/neutral bias (toggle)
Everything else is Trendoscope. Respect where it’s due.
🧠 What It Does
Auto-detects Channels, Wedges (expanding/contracting), and Triangles (ascending/descending/converging/diverging).
Prints clean battlefield tags (AC, DC, RWE, …) so structure is visible without drowning price.
Hover for the brief: long name + directional bias exactly when you need it.
Multi-zigzag sweep, overlap control, bar-ratio verification, max-pattern caps, dark/light aware palette + custom colors.
🧭 Read the Battlefield
AC — Ascending Channel: trend carry; respect higher-lows and ride the lane.
RWE — Rising Wedge: distribution bias; watch the fracture and the retest.
Converging/Diverging Triangles: compression → expansion; stage entries at the edges.
DC — Descending Channel: late down-leg + momentum shift = tactical long.
Structure is the map. Bias is the compass. Your risk plan is the sword.
🤝 Acknowledgments
Original engine & libraries: Trendoscope (legend).
Enhancement layer (UX): transparency, short codes, tooltip system — BK.
Mentor: A.K. — discipline, patience, and clarity. His standard lives in every decision here.
🫡 Give Forward
Don’t be cheap with your knowledge. If my indicators sharpen your edge:
Teach someone how to read formations with discipline.
Share your process, not just screenshots.
Contribute code, context, or courage to those behind you.
A king’s wisdom multiplies the camp. A lion’s courage protects the pride.
🙏 Final Word
“By wise guidance you will wage your war, and victory lies in many counselors.” — Proverbs 24:6
See the array. Choose the strike. Lead with wisdom.
BK AK-Warfare Formations — where formation meets judgment, and judgment meets execution.
Gd bless. 🙏
EMA Cross By Crypto collective Xეს ინდიკატორი გაძლევთ საშუალებას ნახოთ ყველაზე პოპულარული EMA წყვილები ერთ გრაფიკზე:
EMA 9/21
EMA 20/50
EMA 50/200
EMA 100/200
და საკუთარი, მომხმარებლის მიერ შერჩეული Custom წყვილი.
👉 თითოეულ წყვილს შეგიძლია ჩართო/გამორთო ინდიკატორის პარამეტრებიდან.
👉 შესაძლებელია ფერების შეცვლა, ასევე სურვილის შემთხვევაში EMA-ების higher timeframe-ზე გამოტანა (მაგ. 1D EMA 4H გრაფიკზე).
ეს ინსტრუმენტი განსაკუთრებით გამოსადეგია:
ტრენდების დადგენისთვის
გრძელვადიანი და მოკლევადიანი გადაკვეთების შესადარებლად
საკუთარი სტრატეგიის ტესტირებისთვის
This indicator lets you plot and compare the most commonly used EMA pairs on a single chart:
EMA 9/21
EMA 20/50
EMA 50/200
EMA 100/200
plus a fully customizable user-defined EMA pair.
👉 Each pair can be toggled on/off from the settings.
👉 Colors are customizable, and you can optionally display EMAs from a higher timeframe (e.g., show Daily EMAs on a 4H chart).
This tool is especially useful for:
Trend confirmation
Comparing short-term vs. long-term crosses
Backtesting your own strategies
Iani SMC Sniper XAU v2.2 (Long+Short + News Countdown, v6)Iani SMC Sniper v2.6 — Anytime • Auto Pip • FVG 50% • OB • News Panel
Smart-Money Concepts made simple for intraday XAU/USD (works on any symbol).
Finds BOS, 50% FVG “sniper” entries, optional Order Blocks, London H/L, news countdown, and a mini info panel.
What it does
BOS (Break of Structure): detects bullish/bearish BOS after London sweep logic.
FVG 50% entries: plots precise long/short entry dots at the midpoint of the gap.
Auto TP/SL: TP = RR × risk, SL below/above recent swing with a small buffer.
Order Blocks (optional): marks the last opposite candle after BOS and alerts on OB revisit.
London High/Low: tracks session range; session filter is optional.
News countdown: shows next event time and minutes left (user-selectable timezone).
Mini Panel: top-left table with Trend (last BOS), Next news, R:R, Pip size.
Inputs (key)
Auto pip size: uses syminfo.mintick. Manual override available.
Risk:Reward (RR): default 2.0.
Pivot length: swing sensitivity.
Sessions: enable if you want signals only 12:00–20:00 (symbol timezone). Off = anytime.
News timezone: pick your own (e.g., Europe/Brussels, America/New_York).
Absolute & daily times: add your events (strings like 2025-09-17 20:00 or 14:30,16:00…).
Show labels/levels/OBs: toggle on/off.
Alerts included
BOS Bullish / BOS Bearish
BUY Entry / SELL Entry (return to 50% FVG)
Bullish OB revisit / Bearish OB revisit
TP Long/Short reached, SL Long/Short hit
NEWS WARNING (warning window only; does not block signals)
To use: Add Alert → Condition: this indicator → choose any of the alertconditions.
Best use
Bias: H1 for structure.
Execution: M15 (standard) or M5 (aggressive).
Works great on XAUUSD, but is symbol-agnostic (auto pip adapts).
Notes
News times display in the timezone you pick in settings.
OBs are a simple implementation meant for quick visual guidance.
Labels: BUY/SELL near entries, TP/SL on set and when hit, BOS up/down.
Risk disclaimer
This tool is for education only. Not financial advice. Backtest and manage risk.
Bitcoin Cycles IndicatorTrack Bitcoin's cyclical price patterns across multiple timeframes with this cycle analysis tool. The indicator automatically identifies cycle lows and highs, marking them with clear visual labels that show cycle day counts and failed cycle detection.
Key Features:
Multi-Time frame Support - Optimized settings for Daily, Weekly, Monthly, and Custom time frames
Cycle Tracking - Identifies and labels cycle lows (green) and highs (red) with day counts
Failed Cycle Detection - Highlights when cycles break below previous lows
Customizable Settings - Adjust cycle lengths, colors, and display options for each timeframe
Info Box - Real-time cycle information display with current cycle day count
Projection Boxes - Visual cycle length projections for better analysis
Perfect for Bitcoin traders and analysts who want to understand market cycles and timing. Works best on Daily charts for short-term cycles and Weekly/Monthly charts for longer-term analysis.
Reference timesThe theory behind this indicator is that sometimes the graph reaches a certain price at at a certain time according to the price it had at the same time and day in any of the previous weeks. If you could easily see what happened a few weeks ago on this day's weekday and half an hour from now, you might theoretically gain more assurance as to where the graph might go in the next half an hour.
This of course relies of the premise that some traders choose to enter or exit positions according to historical times they are referencing. Hence the name - Reference times.
Example:
it is now 08:00 ET Wednesday. I want to guess what the graph will do in the next half hour. I enter in the indicator the weekday "Wednesday", the time "8:30", and go to 30 minute candles.
I will then see all the candles the graph has been on historical Wednesdays at 8:30. If the candles are below the 08:00 price, we might guess that the graph might want to descent. If they are above the graph, we might guess that the graph might ascend.
How it works:
The user defines a weekday and time he wants to inquire on.
The script searches for past weekdays and similar hours.
It marks these bars at their wicks.
The user can also inquire "opposite hours" - 12 hours ahead or earlier.
The user can also inquire "opposite days" - Monday<->Wednesday, Tuesday<->Thursday.
In addition, the User may inquire the previous day of his selected weekday, which will mark the most recent previous day existent.
Side note: The Time zone offset is set for Jerusalem time. and so it may need future adjustment.
send debugging instances if you find any
Thank you
Assaf Fogelman 2025
Weekly Close Positive After Breaking Prior LowClosing positive after breaking prior low on weekly basis
Reference TimesThe theory behind this indicator is that sometime the graph will change its direction at a point that is the point it reached at that weekday on that time in the previous weeks. If you can easily see what happened a few weeks ago on this day's weekday and a half an hour from now, you might theoretically gain more assurance as to where the graph might go in the next half an hour.
This of course relies of the premise that some traders choose to enter or exit positions according to historical times they are referencing. Hence the name - Reference times.
Example:
it is now 08:00 ET Wednesday. I want to guess what the graph will do in half an hour. I enter in the indicator the weekday "Wednesday", the time "8:30", and go to 30 minute candles.
I will then see all the candles the graph has been on historical Wednesdays at 8:30. If the candles are below the 08:00 price, we might guess that the graph might want to descent. If they are above the graph, we would guess the graph might want to ascend.
How it works:
The user defines a weekday and time he wants to inquire on.
The script searches for past weekdays and similar hours.
It marks these bars at their wicks.
The user can also inquire "opposite hours" - 12 hours ahead or earlier.
The user can also inquire "opposite days" - Monday<->Wednesday, Tuesday<->Thursday.
In addition, the User may inquire the previous day of his selected weekday, which will mark the most recent previous day existent.
Side note: The Time zone offset is set for Jerusalem time. and so it may need future adjustment.
send debugging instances if you find any
Thank you
Assaf Fogelman 2025