DetradesThis TradingView indicator, created by Detrades, serves multiple functions to assist traders in making informed decisions. It displays the projection of HTF (Higher Time Frame) candles, allowing users to choose the timeframe that best suits their needs. The indicator also highlights sweep liquidity high/low candles on HTF candles, providing a clearer view of market behavior. Additionally, it includes a CISD (Change In Structure Detection) feature to confirm trend reversals on LTF (Lower Time Frame) candles, which is often used for entry signals. The indicator also offers a customizable watermark for personalization, ensuring a tailored trading experience.
Indicators and strategies
Stocks Dashboard @ Sumith.KVStocks Dashboard helps to Monitor Multiple Stocks with all Technicals Indicators at a Single Screen...
Strategies Available ...
1. Change & Change%
2. RSI (Relative Strength Index)
3. VWAP
4. Volume
5. 200SMA
6. Super Trend
7. ADX
8. Alligator
9. MACD
10. OHLC
11. EMA Trends
12. ATR Bot Alerts
The Table Values will update based on the timeframe chosen. Also the list can be customized based on the Stocks Preferences.
inside forex vip📌 SuperTrend
Based on:
ATR Period (default 10).
Multiplier ATR (default 3).
Calculates the trend direction (upward/downward).
Generates buy/sell signals:
Buy: Positive crossover with EMA color matching (bullish).
Sell: Negative crossover with EMA color matching (bearish).
Smart Money Concepts with RSI/MA Signalit gives an alert when price is in bullish ob and rsi crossover SMA
Daily + 4H MACD & RSI Screeneri used this script for my swing trading entry.
//@version=5
indicator("Daily + 4H MACD & RSI Screener", overlay=false)
// settings
rsiLength = input.int(14, "RSI Length")
rsiLevel = input.int(50, "RSI Threshold")
macdFast = input.int(12, "MACD Fast")
macdSlow = input.int(26, "MACD Slow")
macdSignal = input.int(9, "MACD Signal")
// ---- daily timeframe ----
dailyRsi = request.security(syminfo.tickerid, "D", ta.rsi(close, rsiLength))
= request.security(syminfo.tickerid, "D", ta.macd(close, macdFast, macdSlow, macdSignal))
dailyRsiPass = dailyRsi < rsiLevel
dailyMacdPass = dailyMacd < 0
dailyCondition = dailyRsiPass and dailyMacdPass
// ---- 4H timeframe ----
h4Rsi = request.security(syminfo.tickerid, "240", ta.rsi(close, rsiLength))
= request.security(syminfo.tickerid, "240", ta.macd(close, macdFast, macdSlow, macdSignal))
h4RsiPass = h4Rsi < rsiLevel
h4MacdPass = h4Macd < 0
h4Condition = h4RsiPass and h4MacdPass
// ---- combined condition ----
finalCondition = dailyCondition and h4Condition
// plot signals
plotshape(finalCondition, style=shape.triangledown, location=location.top, color=color.red, size=size.large, title="Signal")
bgcolor(finalCondition ? color.new(color.red, 85) : na)
// ---- table (3 columns x 4 rows) ----
var table statusTable = table.new(position=position.top_right, columns=3, rows=4, border_width=1)
// headers
table.cell(statusTable, 0, 0, "Timeframe", text_color=color.white, bgcolor=color.new(color.black, 0))
table.cell(statusTable, 1, 0, "RSI", text_color=color.white, bgcolor=color.new(color.black, 0))
table.cell(statusTable, 2, 0, "MACD", text_color=color.white, bgcolor=color.new(color.black, 0))
// daily row
table.cell(statusTable, 0, 1, "Daily", text_color=color.white, bgcolor=color.new(color.black, 0))
table.cell(statusTable, 1, 1, str.tostring(dailyRsi, "#.##"),
text_color=color.white, bgcolor=dailyRsiPass ? color.new(color.green, 60) : color.new(color.red, 60))
table.cell(statusTable, 2, 1, str.tostring(dailyMacd, "#.##"),
text_color=color.white, bgcolor=dailyMacdPass ? color.new(color.green, 60) : color.new(color.red, 60))
// 4H row
table.cell(statusTable, 0, 2, "4H", text_color=color.white, bgcolor=color.new(color.black, 0))
table.cell(statusTable, 1, 2, str.tostring(h4Rsi, "#.##"),
text_color=color.white, bgcolor=h4RsiPass ? color.new(color.green, 60) : color.new(color.red, 60))
table.cell(statusTable, 2, 2, str.tostring(h4Macd, "#.##"),
text_color=color.white, bgcolor=h4MacdPass ? color.new(color.green, 60) : color.new(color.red, 60))
// status row (simulate colspan by using two adjacent cells with the same bgcolor)
table.cell(statusTable, 0, 3, "Status", text_color=color.white, bgcolor=color.new(color.black, 0))
statusText = finalCondition ? "match" : "no match"
statusBg = finalCondition ? color.new(color.green, 0) : color.new(color.red, 0)
table.cell(statusTable, 1, 3, statusText, text_color=color.white, bgcolor=statusBg, text_size=size.large)
table.cell(statusTable, 2, 3, "", text_color=color.white, bgcolor=statusBg)
Ratios -> PROFABIGHI_CAPITAL🌟 Overview
This Ratios → PROFABIGHI_CAPITAL implements a comprehensive risk-adjusted performance analysis framework combining Sharpe, Sortino, and Omega ratios for superior portfolio evaluation and trading signal generation.
It provides Triple-ratio calculation engine with Sharpe volatility analysis, Sortino downside deviation measurement, and Omega probability-weighted performance assessment , Advanced smoothing system using EMA filtering for noise reduction and signal clarity , Dynamic threshold-based color coding with configurable strong and weak performance levels , and Configurable annualization framework supporting different market types and trading frequencies for institutional-grade risk management.
🔧 Advanced Risk-Adjusted Analysis Framework
Professional triple-ratio system integrating three distinct risk-adjusted performance methodologies for comprehensive portfolio evaluation
Source Selection Architecture enabling close, high, low, or other price inputs for flexible ratio calculation adaptation
Calculation Period Management with adjustable lookback periods balancing statistical significance versus market responsiveness
EMA Smoothing Integration reducing market noise while preserving important performance trends for enhanced decision-making accuracy
Grouped Parameter Organization separating general settings, Sharpe parameters, Sortino configuration, and Omega controls for streamlined optimization
Configurable Annualization Factor supporting different market types with customizable days-per-year calculation for accurate performance scaling
📊 Sharpe Ratio Implementation Engine
Risk-Free Rate Configuration providing adjustable annual risk-free rate for excess return calculation over benchmark performance
Volatility-Adjusted Performance measuring excess return per unit of total risk using standard deviation methodology
Strong/Weak Threshold Management offering configurable performance levels for signal generation and visual classification
Mathematical Precision Framework implementing proper annualization scaling with square root adjustment for volatility normalization
Zero-Division Protection ensuring continuous calculation through proper handling of zero volatility conditions
Periodic Return Calculation using bar-to-bar percentage changes for accurate return measurement across different timeframes
📈 Sortino Ratio Advanced Framework
Downside Deviation Focus measuring risk-adjusted performance using only negative deviations below risk-free threshold
Sophisticated Downside Calculation implementing loop-based accumulation of squared negative deviations for precise downside risk measurement
Risk-Free Rate Integration supporting independent risk-free rate configuration for Sortino-specific benchmark setting
Downside Risk Isolation excluding upward volatility from risk calculation for more accurate downside risk assessment
Mean Downside Deviation calculating average squared downside deviations with proper mathematical normalization
Square Root Scaling applying proper mathematical transformation for downside deviation with annualization adjustment
⚙️ Omega Ratio Probability Framework
Target Return Configuration enabling customizable annual target return threshold for gain-loss probability analysis
Cumulative Gain Calculation measuring total returns above target threshold through iterative accumulation methodology
Cumulative Loss Measurement calculating total shortfalls below target threshold for comprehensive downside assessment
Probability-Weighted Analysis implementing gains-to-losses ratio for probability-based performance evaluation
Target Return Conversion transforming annual target returns to periodic equivalents for accurate threshold comparison
Null Value Handling managing mathematical edge cases when no losses occur through proper validation logic
🔄 Advanced Smoothing Implementation
Triple-Ratio EMA Smoothing applying Exponential Moving Average filtering to all three ratios for enhanced signal clarity
Configurable Smoothing Period balancing signal responsiveness versus noise reduction through adjustable EMA length
Null Value Protection ensuring continuous smoothing through proper handling of undefined raw ratio values
Omega Ratio Special Handling using zero fallback for undefined Omega values to maintain continuous EMA calculation
Signal Persistence Enhancement reducing false signals while preserving important trend changes through mathematical smoothing
Real-Time Smoothing Updates providing current smoothed values for immediate performance assessment and signal generation
🎨 Dynamic Visualization Framework
Threshold-Based Color Coding using green for strong performance above threshold, red for weak performance below threshold, and gray for neutral zones
Sharpe Ratio Visualization displaying green/red/gray coloring based on smoothed values relative to strong and weak threshold lines
Sortino Ratio Display implementing blue for strong performance, yellow for weak performance, and gray for neutral conditions
Omega Ratio Presentation using orange for strong performance, purple for weak performance, and gray for intermediate levels
Multi-Line Plot System presenting all three smoothed ratios simultaneously with distinct colors and line weights
Reference Line Framework displaying horizontal dashed lines for strong and weak thresholds with color-coded identification
🔍 Mathematical Precision Implementation
Accurate Return Calculation using proper percentage change methodology for consistent return measurement
Annualization Scaling implementing correct mathematical formulations for time-period adjustment with square root factors
Statistical Validation ensuring mathematical accuracy through proper mean and standard deviation calculations
Loop-Based Calculations using efficient iteration for downside deviation and Omega ratio cumulative calculations
Error Prevention Framework incorporating comprehensive validation for zero division and undefined value conditions
Precision Maintenance preserving calculation accuracy across different smoothing periods and market conditions
📋 Performance Analysis Applications
Risk-Adjusted Signal Generation using threshold crossovers for entry and exit signal identification across all three ratios
Portfolio Performance Ranking comparing multiple assets or strategies using standardized risk-adjusted performance metrics
Market Regime Detection identifying favorable and unfavorable market conditions through ratio trend analysis
Strategy Optimization evaluating trading strategy performance using multiple risk-adjusted methodologies simultaneously
Drawdown Analysis Enhancement utilizing Sortino ratio focus on downside risk for better drawdown assessment
Probability-Based Decision Making leveraging Omega ratio gain-loss probability analysis for position sizing and risk management
✅ Key Takeaways
Comprehensive triple-ratio framework combining Sharpe volatility analysis, Sortino downside focus, and Omega probability-weighted assessment for complete risk-adjusted evaluation
Advanced smoothing implementation using EMA filtering for noise reduction while preserving important performance trends and signal clarity
Dynamic threshold-based visualization with color-coded performance states enabling immediate identification of strong, weak, and neutral conditions
Mathematical precision implementation using proper statistical formulations with comprehensive error handling and edge case management
Configurable parameter framework supporting different market types through adjustable annualization factors and independent threshold settings
Professional visualization system with multi-colored ratio lines and reference threshold displays for institutional-grade performance analysis
Flexible calculation periods enabling adaptation to different trading styles and market analysis requirements for versatile risk management applications
ASPO - Adaptive Statistical Position OscillatorASPO - Advanced Statistical Price Position Oscillator - Time-Weighted
Based on a time-weighted statistical model, this indicator quantifies price deviation from its recent mean. It uses a Z-Score to normalize price position and calculates the statistical probability of its occurrence, helping traders identify over-extended market conditions and mean-reversion opportunities with greater sensitivity.
- Time-Weighted Model: Reacts more quickly to recent price changes by using a Weighted Moving Average (WMA) and a weighted standard deviation.
- Statistical Foundation: Utilizes Z-Score standardization and a probability calculation to provide an objective measure of risk and price extremity.
- Dynamic Adaptation: Automatically adjusts its calculation period and sensitivity based on market volatility, making it versatile across different market conditions.
- Intelligent Visuals: Dynamic line thickness and gradient color-coding intuitively display the intensity of price deviations.
- Multi-Dimensional Analysis: Combines the main line's position (Z-Score), a momentum histogram, and real-time probability for a comprehensive view.
1. Time-Weighted Statistical Model (Z-Score Calculation)
- Weighted Mean (μ_w): Instead of a simple average, the indicator uses a Weighted Moving Average (ta.wma) to calculate the price mean, giving more weight to recent data points.
- Weighted Standard Deviation (σ_w): A custom weighted_std function calculates the standard deviation, also prioritizing recent prices. This ensures that the measure of dispersion is more responsive to the latest market behavior.
- Z-Score: The core of the indicator is the Z-Score, calculated as Z = (Price - μ_w) / σ_w. This value represents how many weighted standard deviations the current price is from its weighted mean. A higher absolute Z-Score indicates a more statistically significant price deviation.
2. Probability Calculation
- The indicator uses an approximation of the Normal Cumulative Distribution Function (normal_cdf_approx) to calculate the probability of a Z-Score occurring.
- The final price_probability is a two-tailed probability, calculated as 2 * (1 - CDF(|Z-Score|)). This value quantifies the statistical rarity of the current price deviation. For example, a probability of 0.05 (or 5%) means that a deviation of this magnitude or greater is expected to occur only 5% of the time, signaling a potential market extreme.
3. Dynamic Parameter Adjustment
- Volatility Measurement: The system measures market volatility using the standard deviation of price changes (ta.stdev(ta.change(src))) over a specific lookback period.
- Volatility Percentile: It then calculates the percentile rank (ta.percentrank) of the current volatility relative to its history. This contextualizes whether the market is in a high-volatility or low-volatility state.
- Adaptive Adjustment:
- If volatility is high (e.g., >75th percentile), the indicator can shorten its distribution_period and increase its position_sensitivity. This makes it more responsive to fast-moving markets.
- If volatility is low (e.g., <25th percentile), it can lengthen the period and decrease sensitivity, making it more stable in calmer markets. This adaptive mechanism helps maintain the indicator's relevance across different market regimes.
4. Momentum and Cycle Analysis (Histogram)
- The indicator does not use a Hilbert Transform. Instead, it analyzes momentum cycles by calculating a histogram: Histogram = (Z-Score - EMA(Z-Score)) * Sensitivity.
- This histogram represents the rate of change of the Z-Score. A positive and rising histogram indicates accelerating upward deviation, while a negative and falling histogram indicates accelerating downward deviation. Divergences between the price and the histogram can signal a potential exhaustion of the current deviation trend, often preceding a reversal.
- Reversal Signals: Look for the main line in extreme zones (e.g., Z-Score > 2 or < -2), probability below a threshold (e.g., 5%), and divergence or contraction in the momentum histogram.
- Trend Filtering: The main line's direction indicates the trend of price deviation, while the histogram confirms its momentum.
- Risk Management: Enter a high-alert state when probability drops below 5%; consider risk control when |Z-Score| > 2.
- Gray, thin line: Price is within a normal statistical range (~1 sigma, ~68% probability).
- Orange/Yellow, thick line: Price is moderately deviated (1 to 2 sigma).
- Cyan/Purple, thick line: Price is extremely deviated (>2 sigma, typically <5% probability).
- Distribution Period: 50 (for weighted calculation)
- Position Sensitivity: 2.5
- Volatility Lookback: 10
- Probability Threshold: 0.03
Suitable for all financial markets and timeframes, especially in markets that exhibit mean-reverting tendencies.
This indicator is a technical analysis tool and does not constitute investment advice. Always use in conjunction with other analysis methods and a strict risk management strategy.
Copyright (c) 2025 | Pine Script v6 Compatible
---
高级统计价格位置振荡器 (ASPO) - 时间加权版
基于时间加权统计学模型,该指标量化了当前价格与其近期均值的偏离程度。它使用Z分数对价格位置进行标准化,并计算其出现的统计概率,帮助交易者更灵敏地识别市场过度延伸和均值回归的机会。
- 时间加权模型:通过使用加权移动平均(WMA)和加权标准差,对近期价格变化反应更迅速。
- 统计学基础:利用Z分数标准化和概率计算,为风险和价格极端性提供了客观的衡量标准。
- 动态自适应:根据市场波动率自动调整其计算周期和敏感度,使其在不同市场条件下都具有通用性。
- 智能视觉:动态线条粗细和渐变颜色编码,直观地展示价格偏离的强度。
- 多维分析:结合了主线位置(Z分数)、动能柱和实时概率,提供了全面的市场视角。
1. 时间加权统计模型 (Z分数计算)
- 加权均值 (μ_w):指标使用加权移动平均 (ta.wma) 而非简单平均来计算价格均值,赋予近期数据点更高的权重。
- 加权标准差 (σ_w):通过一个自定义的 weighted_std 函数计算标准差,同样优先考虑近期价格。这确保了离散度的衡量对最新的市场行为更敏感。
- Z分数:指标的核心是Z分数,计算公式为 Z = (价格 - μ_w) / σ_w。该值表示当前价格偏离其加权均值的加权标准差倍数。Z分数的绝对值越高,表示价格偏离在统计上越显著。
2. 概率计算
- 指标使用正态累积分布函数 (normal_cdf_approx) 的近似值来计算特定Z分数出现的概率。
- 最终的 price_probability 是一个双尾概率,计算公式为 2 * (1 - CDF(|Z分数|))。该值量化了当前价格偏离的统计稀有性。例如,0.05(或5%)的概率意味着这种幅度或更大的偏离预计只在5%的时间内发生,这预示着一个潜在的市场极端。
3. 动态参数调整
- 波动率测量:系统通过计算特定回溯期内价格变化的标准差 (ta.stdev(ta.change(src))) 来测量市场波动率。
- 波动率百分位:然后,它计算当前波动率相对于其历史的百分位排名 (ta.percentrank)。这将当前市场背景定义为高波动率或低波动率状态。
- 自适应调整:
- 如果波动率高(例如,>75百分位),指标可以缩短其 distribution_period(分布周期)并增加其 position_sensitivity(位置敏感度),使其对快速变化的市场反应更灵敏。
- 如果波动率低(例如,<25百分位),它可以延长周期并降低敏感度,使其在较平静的市场中更稳定。这种自适应机制有助于保持指标在不同市场制度下的有效性。
4. 动能与周期分析 (动能柱)
- 该指标不使用希尔伯特变换。相反,它通过计算一个动能柱来分析动量周期:动能柱 = (Z分数 - Z分数的EMA) * 敏感度。
- 该动能柱代表Z分数的变化率。一个正向且不断增长的动能柱表示向上的偏离正在加速,而一个负向且不断下降的动能柱表示向下的偏离正在加速。价格与动能柱之间的背离可以预示当前偏离趋势的衰竭,通常发生在反转之前。
- 反转信号:寻找主线进入极端区域(如Z分数 > 2 或 < -2)、概率低于阈值(如5%)以及动能柱出现背离或收缩。
- 趋势过滤:主线的方向指示价格偏离的趋势,而动能柱确认其动量。
- 风险管理:当概率降至5%以下时进入高度警惕状态;当|Z分数| > 2时考虑风险控制。
- 灰色细线:价格处于正常统计范围内(约1个标准差,约68%概率)。
- 橙色/黄色粗线:价格中度偏离(1到2个标准差)。
- 青色/紫色粗线:价格极端偏离(>2个标准差,通常概率<5%)。
- 分布周期:50(用于加权计算)
- 位置敏感度:2.5
- 波动率回溯期:10
- 概率阈值:0.03
适用于所有金融市场和时间框架,尤其是在表现出均值回归特性的市场中。
本指标为技术分析辅助工具,不构成任何投资建议。请务必结合其他分析方法和严格的风险管理策略使用。
版权所有 (c) 2025 | Pine Script v6 兼容
Free Indicator No 1 By JJLabzThis indicator is provided solely for educational purposes.
It is not for sale, and users are strictly prohibited from copying, reproducing, or redistributing this code without permission.
Developed by Engr. JJLabor
For any qeries, follow my social media accounts.
My Youtube Channel : www.youtube.com
My Facebook : www.facebook.com
TQQQ – 200 SMA ±5% Entry / –3% Exit (since 2010) • Metrics by DE✅ In plain words:
You only buy TQQQ when it’s trading 5% above its 200-day SMA (a sign of strong uptrend momentum).
You stay long as long as the price holds above 3% below the 200-day SMA.
If price falls below that lower threshold, you exit to limit drawdown.
The strategy is designed to catch strong uptrends while cutting losses early.
Chandelier Exit_MA RibbonCombine Indicator for easy use of Chandelier Exit Indicator and MA Ribbon Indicator for educational purpose
TPO Levels [VAH/POC/VAL] with Poor H/L, Single Prints & NPOCs### 🎯 Advanced Market Profile & Key Level Analysis
This script is a unique and comprehensive technical analysis tool designed to help traders understand market structure, value, and key liquidity levels using the principles of **Auction Market Theory** and **Market Profile**.
This script is unique (and shouldn't be censored) because :
It allows large history of levels to be displayed
Accurate as possible tick size
Doesn't draw a profile but only the actual levels
Supports multi-timeframe levels even on the daily mode giving macro context
There is no indicator out there that does it
While these concepts are universal, this indicator was built primarily for the dynamic, 24/7 nature of the **cryptocurrency market**. It helps you move beyond simple price action to understand *why* the market is moving, which is especially crucial in the volatile crypto space.
### ## 📊 The Concepts Behind the Calculations
To use this script effectively, it's important to understand the core concepts it is built upon. The entire script is self-contained and does not require other indicators.
* **What is Market Profile?**
Market Profile is a unique charting technique that organizes price and time data to reveal market structure. It's built from **Time Price Opportunities (TPOs)**, which are 30-minute periods of market activity. By stacking these TPOs, the script builds a distribution, showing which price levels were most accepted (heavily traded) and which were rejected (lightly traded) during a session.
* **What is the Value Area (VA)?**
The Value Area is the heart of the profile. It represents the price range where **70%** of the session's trading volume occurred. This is considered the "fair value" zone where both buyers and sellers were in general agreement.
* **Point of Control (POC):** The single price level with the most TPOs. This was the most accepted or "fairest" price of the session and acts as a gravitational line for price.
* **Value Area High (VAH):** The upper boundary of the 70% value zone.
* **Value Area Low (VAL):** The lower boundary of the 70% value zone.
VAH and VAL are dynamic support and resistance levels. Trading outside the previous session's value area can signal the start of a new trend.
***
### ## 📈 Key Features Explained
This script automatically calculates and displays the following critical market-generated information:
* **Multi-Timeframe Market Profile**
Automatically draws Daily, Weekly, and Monthly profiles, allowing you to analyze market structure across different time horizons. The script preserves up to 20 historical sessions to provide deep market context.
* **Naked Point of Control (nPOC)**
A "Naked" POC is a Point of Control from a previous session that has **not** been revisited by price. These levels often act as powerful magnets for price, representing areas of unfinished business that the market may seek to retest. The script tracks and displays Daily, Weekly, and Monthly nPOCs until they are touched.
* **Single Prints (Imbalance Zones)**
A Single Print is a price level where only one TPO traded during the session's development. This signifies a rapid, aggressive price move and an imbalanced market. These areas, like gaps in a traditional chart, are frequently revisited as the market seeks to "fill in" these thin parts of the profile.
* **Poor Structure (Unfinished Auctions)**
A **Poor High** or **Poor Low** occurs when the top or bottom of a profile is flat, with two or more TPOs at the extreme price. This suggests that the auction in that direction was weak and inconclusive. These weak structures often signal a high probability that price will eventually break that high or low.
***
### ## 💡 How to Use This Indicator
This tool is not a signal generator but an analytical framework to improve your trading decisions.
1. **Determine Market Context:** Start by asking: Is the current price trading *inside* or *outside* the previous session's Value Area?
* **Inside VA:** The market is in a state of balance or range-bound. Look for trades between the VAH and VAL.
* **Outside VA:** The market is in a state of imbalance and may be starting a trend. Look for continuation or acceptance of prices outside the prior value.
2. **Identify Key Levels:**
* Use historical **nPOCs** as potential profit targets or areas to watch for a price reaction.
* Treat historical **VAH** and **VAL** levels as significant support and resistance zones.
* Note where **Single Prints** are. These are often price magnets that may get "filled" in the future.
3. **Spot Weakness:**
* A **Poor High** suggests weak resistance that may be easily broken.
* A **Poor Low** suggests weak support, signaling a potential for a continued move lower if broken.
***
### ## ⚙️ Customization & Crypto Presets
The indicator is highly customizable, allowing you to change colors, transparency, the number of historical sessions, and more.
To help traders get started quickly, the indicator includes **built-in layout presets** specifically calibrated for major cryptocurrencies: ** BINANCE:BTCUSDT.P , BINANCE:ETHUSDT.P , and BINANCE:SOLUSDT.P **. These presets automatically adjust key visual parameters to better suit the unique price characteristics and volatility of each asset, providing an optimized view right out of the box.
***
### ## ⚠️ Disclaimer
This indicator is a tool for market analysis and should not be interpreted as direct buy or sell signals. It provides information based on historical price action, which does not guarantee future results. Trading involves significant risk, and you should always use proper risk management. This script is designed for use on standard chart types (e.g., Candlesticks, Bar) and may produce misleading information on non-standard charts.
Super AI SignalThis indicator helps cryptocurrency investors make informed decisions when placing bets such as long or short positions.
It incorporates various indicators to achieve a higher accuracy rate, and after extensive backtesting, it demonstrates a significant success rate.
I hope this indicator proves beneficial for your cryptocurrency investments!
Trend strategy by anant_alwaysThis indicator studies RSI, moving averages, volume profile, and OI data, which help determine the market's direction. Based on the study, it generates multiple triangles to indicate the potential direction continuation of the script being used upon. The indicator simply studies other parameters to generate a signal and does not create a mashup of these indicators.
RSI Divergence — BibhutiRSI Divergence with 30/70 filter. No repainting , but many false signals also. Still can be used in conjuction with other momentum indicators
Elite Entries Heikin Doji Sensei Elite Entries — Heikin Doji Sensei (HDS)
What it does:
HDS spots Harami-style Doji and stand-alone Doji inflection bars (optionally on Heikin Ashi data for cleaner structure), then lets you ride the move with a built-in ATR Trailing Stop (TSL). You get clean risk labels at entry, PnL labels on exits (currency), session gating for New York hours, and ready-to-use alerts.
How to use (quick start)
Apply the script to your chart. Works on any symbol/timeframe.
Choose your detection source:
Turn “Use Heikin Ashi Candles for Calculations” ON for smoother doji/harami detection (recommended).
Turn it OFF to detect directly from standard candles.
Turn on the TSL (default ON): HDS will start a trailing stop on the next valid Doji or Harami signal (per your toggles).
Read the labels:
At trail start, a Risk label is printed right at the stop price (no “+” sign).
On trail break, a PnL label prints in green (profit) or red (loss). You control position (above/below), style (label up/down), and offset separately for Long and Short.
Optionally restrict to NY session: enable “NY Session Filter (ET)” for 09:30–16:00 ET (configurable). Signals, trail starts, and TSL break labels will only occur during this session (with optional chart highlight).
Set alerts (see “Alerts” below).
Signals it plots
Bullish Harami / Bearish Harami (Doji inside previous bar with directional context)
Bullish Doji / Bearish Doji (stand-alone dojis with wick symmetry)
You can show text arrows, color “circle” markers, or both.
Gating: once a TSL is active, new signals are suppressed until the trail exits (prevents stacking entries). The only exception is the bar that actually starts the trail.
Trailing Stop (ATR)
Start conditions:
tslOnDojis: start on doji signals
tslOnHarami: start on harami signals
Formula: TSL = close ± ATR(atrLen) * atrMult
Long trail ratchets up but never down; Short trail ratchets down but never up.
Labels & colors:
Risk at start: prints at the stop price (fixed position).
PnL at exit: currency PnL from entry close → exit close.
Color: green if ≥ 0, red if < 0.
Placement (exit labels only): separate controls for Long and Short:
Above/Below candle
Label Up/Down
Offset in multiples of max(ATR, bar range)
Lines: TSL plotted with plot.style_steplinebr (supported).
⚠️ Note: PnL uses the chart’s actual closes (not Heikin “true” prices). If you want fills closer to exchange prices, keep your chart on standard candles while still using HA for detection via the script input.
Price Action (PA) settings
Doji wick % (Doji: Min % of Range for Wicks): increases wick symmetry requirement.
Previous body min size: ensures the lookback bars have meaningful bodies.
Lookback bars (1–3): direction filter—e.g., for a bullish doji, recent bars should be bearish (and sized if you set pipMin).
Show Only Harami-Style Doji’s: hides stand-alone dojis and focuses on inside-bar dojis.
Session filter (New York)
Toggle Enable NY Session Filter (ET)
Hours (default 09:30–16:00 ET) are editable. Handles DST via "America/New_York".
Weekdays only option and background highlight are included.
When enabled, signals, trail starts, and exit labels only print inside session.
Currency & sizing
$ per point:
Default is syminfo.pointvalue (toggle Use syminfo.pointvalue).
If that doesn’t match your instrument, set a Custom $ per 1.00 point and Contracts / Qty.
Currency symbol: customize (e.g., $, €, £).
Label size: Tiny → Huge.
Alerts (ready to add)
Create alerts in TradingView → Alerts → Condition = this indicator, then pick:
HDS: Bullish Doji — Doji buy signal (gated by TSL and session if enabled)
HDS: Bearish Doji — Doji sell signal (gated by TSL and session if enabled)
TSL Break Long — Long trail exit (session-filtered if enabled)
TSL Break Short — Short trail exit (session-filtered if enabled)
Tip: Add a second alert on TSL breaks to automate exits.
Workflow example
Turn HA detection ON, TSL ON, atrLen = 14, atrMult = 1.5–3.0 (volatility dependent).
Enable NY Filter for intraday equities or indices; keep disabled for crypto/FX 24/5.
Wait for a Bullish Doji in a short pullback (per lookback). Trail starts automatically.
Manage from the TSL—no new entries until the trail exits.
Read exit PnL label (green/red) at trail break. Adjust label placement if overlapping bars.
Best practices
Use on liquid markets; raise the doji wick % and min body size to cut noise on lower TFs.
For range days, reduce atrMult or skip trades via NY filter.
Align with HTF trend or a session bias (e.g., only take longs above VWAP).
This is an indicator, not a strategy: forward-test & manage risk.
Inputs cheat sheet
Detection: HA on/off, Doji wick %, Lookback bars, Min body size, Harami-only toggle.
TSL: Enable, Start on Doji/Harami, ATR Len/Mult, Show lines, Show labels.
Labels: Currency symbol, $/point source or custom, Qty, Label size.
PnL exit labels: Independent Long/Short controls for position, style, offset.
NY Session: Enable, hours, weekdays, background highlight.
Trend Indicator by anant_alwaysThis indicator analyses various market parameters, including RSI, moving averages, volume profile, and OI data, which help determine the market's direction. Based on the study of these parameters, it generates a signal in the form of a triangle to indicate the potential direction of the script being used upon. The indicator simply studies other parameters to generate a signal and does not create a mashup of these indicators. It also generates a table at the bottom, which shows basic information such as MA value, RSI value and positioning of MACD volume trend for easier information availability.
Measured Move Volume XIndicator Description
The "Measured Move Volume X" indicator, developed for TradingView using Pine Script version 6, projects potential price targets based on the measured move concept, where the magnitude of a prior price leg (Leg A) is used to forecast a subsequent move. It overlays translucent boxes on the chart to visualize bullish (green) or bearish (red) price projections, extending them to the right for a user-specified number of bars. The indicator integrates volume analysis (relative to a simple moving average), RSI for momentum, and VWAP for price-volume weighting, combining these into a confidence score to filter entry signals, displayed as triangles on breakouts. Horizontal key level lines (large, medium, small) are drawn at significant price points derived from the measured moves, with customizable thresholds, colors, and styles. Exhaustion hints, shown as orange labels near box extremes, indicate potential reversal points. Anomalous candles, marked with diamond shapes, are identified based on volume spikes and body-to-range ratios. Optional higher timeframe candle coloring enhances context. The indicator is fully customizable through input groups for lookback periods, transparency, and signal weights, making it adaptable to various assets and timeframes.
Adjustment Tips for Optimization
To optimize the "Measured Move Volume X" indicator for specific assets or timeframes, adjust the following input parameters:
Leg A Lookback (default: 14 bars): Increase to 20-30 for volatile markets (e.g., cryptocurrencies) to capture larger price swings; decrease to 5-10 for intraday charts (e.g., stocks) for faster signals.
Extend Box to the Right (default: 30 bars): Extend to 50+ for daily or weekly charts to project further targets; shorten to 10-20 for lower timeframes to reduce clutter.
Volume SMA Length (default: 20) and Relative Volume Threshold (default: 1.5): Lower the threshold to 1.2-1.3 for low-volume assets (e.g., commodities) to detect subtler spikes; raise to 2.0+ for high-volume equities to filter noise. Match SMA length to RSI length for consistency.
RSI Parameters (default: length 14, overbought 70, oversold 30): Set overbought to 80 and oversold to 20 in trending markets to reduce premature exit signals; shorten length to 7-10 for scalping.
Key Level Thresholds (default: large 10%, medium 5%, small 5%): Increase thresholds (e.g., large to 15%) for volatile assets to focus on significant moves; disable medium or small lines to declutter charts.
Confidence Score Weights (default: volume 0.5, VWAP 0.3, RSI 0.2): Increase volume weight (e.g., 0.7) for volume-driven markets like futures; emphasize RSI (e.g., 0.4) for momentum-focused strategies.
Anomaly Detection (default: volume multiplier 1.5, small body ratio 0.2, large body ratio 0.75): Adjust the volume multiplier higher for stricter anomaly detection in noisy markets; fine-tune body-to-range ratios based on asset-specific candle patterns.
Use TradingView’s replay feature to test adjustments on historical data, ensuring settings suit the chosen market and timeframe.
Tips for Using the Indicator
Interpreting Signals: Green upward triangles indicate bullish breakout entries when price exceeds the prior high with a confidence score ≥40; red downward triangles signal bearish breakouts. Use these to identify potential entry points aligned with the projected box targets.
Box Projections: Bullish boxes project upward targets (top of box) equal to the prior leg’s height added to the breakout price; bearish boxes project downward. Monitor price action near box edges for target completion or reversal.
Exhaustion Hints: Orange labels near box tops (bullish) or bottoms (bearish) suggest potential exhaustion when price deviates within the set percentage (default: 5%) and RSI or volume conditions are met. Use these as cues to watch for reversals.
Key Level Lines: Large, medium, and small lines mark significant price levels from box tops/bottoms. Use these as potential support/resistance zones, especially when drawn with high volume (colored differently).
Anomaly Candles: Orange diamonds highlight candles with unusual volume/body characteristics, indicating potential reversals or pauses. Combine with box levels for context.
Higher Timeframe Coloring: Enable to color bars based on higher timeframe candle closures (e.g., 1, 2, 5, or 15 minutes) for added trend context.
Customization: Toggle "Only Show Bullish Moves" to focus on bullish setups. Adjust transparency and line styles for visual clarity. Test settings to balance signal frequency and chart readability.
Inputs: Organized into groups (e.g., "Measured Move Settings") using input.int, input.float, input.color, and input.bool for user customization, with tooltips for clarity.
Calculations: Computes relative volume (ta.sma(volume, volLookback)), VWAP (ta.vwap(hlc3)), RSI (ta.rsi(close, rsiLength)), and prior leg extremes (ta.highest/lowest) using prior bar data ( ) to prevent repainting.
Boxes and Lines: Creates boxes (box.new) for bullish/bearish projections and lines (line.new) for key levels. The f_addLine function manages line arrays (array.new_line), capping at maxLinesCount to avoid clutter.
Confidence Score: Combines volume, VWAP distance, and RSI into a weighted score (confScore), filtering entries (≥40). Rounded for display.
Exhaustion Hints: Functions like f_plotBullExitHint assess price deviation, RSI, and volume decrease, using label.new for dynamic orange labels.
Entry Signals and Plots: plotshape displays triangles for breakouts; plot and hline show VWAP and RSI levels; request.security handles higher timeframe coloring.
Anomaly Detection: Identifies candles with small-body high-volume or large-body average-volume patterns via ratios, plotted as diamonds.
KA DO % Levels v6 - Fixed ListShort (recommended)
KA DO % Levels v6 – Fixed List (Invite-only)
Plots symmetric percentage levels around the Daily Open (DO). The DO is computed so it stays identical across 4H, 1H, and 5m.
Levels: ±0.236%, ±0.382%, ±0.50%, ±0.812%, ±1.00%, ±1.382%, ±1.500%, ±1.618%, ±2.00
Inputs: show DO, show labels, line width, per-level toggles.
Alert: Cross DO % triggers when price crosses any level.
For educational use only. Not financial advice.
Extended (if you have more space)
KA DO % Levels v6 – Fixed List (Invite-only)
This indicator draws the Daily Open (DO) and symmetric percentage levels around it. The DO is calculated to remain consistent across timeframes (4H/1H/5m), avoiding the usual discrepancies from timeframe or candle type.
What it does
• Plots DO + levels: ±0.236%, ±0.382%, ±0.50%, ±0.812%, ±1.00%, ±1.382%, ±1.500%, ±1.618%, ±2.00
• Optional labels showing % and price
• One alert condition: “Cross DO %” (fires when price crosses any plotted level)
Market Regime Change Rate Indicator (Simple)Overview
Plots the change rate of a baseline index as a histogram in a separate pane (overlay=false).
Green bars = positive change, red bars = negative change.
Designed to make the market’s upward/downward momentum easy to read at a glance.
Highlights
Flexible baseline
Default: TVC:NI225 (Nikkei 225). You can also use any symbol or the current chart symbol as the baseline.
Selectable change definition
Log Return (default)
ROC % (percent change)
Price Diff (absolute price difference)
Light smoothing
EMA-based smoothing to reduce noise.
Optional z-score normalization
Standardizes scale to aid comparison across periods/symbols.
How to Use
Open the chart (e.g., Daily).
Add the indicator.
In Settings (⚙), adjust as needed:
Baseline
Use chart symbol as baseline: ON to use the current chart symbol; OFF to use Baseline symbol.
Baseline symbol: e.g., TVC:NI225 (or your TOPIX code, etc.).
Index timeframe: leave blank to follow the chart; set D to always use daily data.
Change
Mode: Log Return / ROC % / Price Diff
Lookback: 1 = day-over-day. Use 5 for weekly flavor, 20–25 for monthly.
Smooth: 2 (1–2 recommended)
Normalize
Z-Score normalize: ON recommended
zLen: 252 (≈ 1 trading year on Daily)
Recommended Presets
Day-over-day, clean view
Mode=Log Return, Lookback=1, Smooth=2, Z=ON, zLen=252
Weekly flavor on Daily
Lookback=5, Smooth=3–5, Z=ON, zLen=252
Reading Tips
Zero-line crossings
Many crossings = indecisive conditions; long stays on one side = directional pressure.
Bar height & continuity
Higher/longer runs suggest stronger momentum in that direction.
With Z-score ON, height approximates strength relative to the period’s standard deviation.
Input Parameters
Use chart symbol as baseline (bool) – ON uses current chart symbol; OFF uses Baseline symbol.
Baseline symbol (symbol) – e.g., TVC:NI225, your TOPIX code, etc.
Index timeframe (timeframe) – blank = same as chart; or specify (e.g., D).
Mode (string) – Log Return / ROC % / Price Diff.
Lookback (int) – bars back for comparison.
Smooth (int) – EMA smoothing length.
Z-Score normalize (bool) – ON to standardize.
zLen (int) – length for z-score (e.g., 252).
Disclaimer
For informational/educational purposes only. Not financial advice.
Behavior can vary by data vendor, symbol, and timeframe.
概要(What it does)
基準インデックスの変化率をヒストグラムで可視化します。
緑=正の変化率、赤=負の変化率。
価格チャートとは別パネル(overlay=false)で、上昇/下落の勢いを視覚的に把握できます。
特長
基準の切替:デフォルトは TVC:NI225(日経225)。任意のシンボルや現在のチャート銘柄を基準に選択可能。
変化率の定義:Log Return(デフォルト)/ROC %/Price Diff を選択。
軽い平滑化:EMAでノイズを抑え、視認性を向上。
任意の標準化(Zスコア):スケールを整え、期間や銘柄を跨いだ比較がしやすくなります。
使い方(Step by step)
目的のチャートを開く(例:日足)。
本インジケーターを追加。
設定(⚙)で必要に応じて調整:
Baseline
Use chart symbol as baseline:ONで現在のチャート銘柄を基準に。OFFで Baseline symbol を使用。
Baseline symbol:例)TVC:NI225、TOPIX のコードなど。
Index timeframe:空欄=チャートと同じ。固定したい場合は D などを指定。
Change
Mode:Log Return/ROC %/Price Diff
Lookback:1(前日比)。5で週、20〜25で月の勢い。
Smooth:2(1〜2が目安)
Normalize
Z-Score normalize:ON 推奨
zLen:252(日足で約1年)
推奨プリセット
前日比の方向を素直に観察
Mode=Log Return / Lookback=1 / Smooth=2 / Z=ON / zLen=252
“週の勢い”を日足で眺める
Lookback=5 / Smooth=3〜5 / Z=ON / zLen=252
読み方のヒント
ゼロラインの跨ぎ:跨ぎが多い=方向が定まりにくい。片側滞在が続く=一方向の圧力が強い。
棒の高さ・連続性:高く長く続くほど、その方向の勢いが強いことを示唆。
ZスコアON:高さは期間内の標準偏差に対する強さの目安になります。
入力パラメーター一覧
Use chart symbol as baseline(bool)
ON:現在のチャート銘柄を基準に。OFF:Baseline symbol を使用。
Baseline symbol(symbol)
例:TVC:NI225、TOPIXのコード 等。
Index timeframe(timeframe)
空欄=チャートと同じ。固定表示したいTFを指定可能(例:D)。
Mode(string)
Log Return / ROC % / Price Diff。
Lookback(int)
何本前と比較するか。
Smooth(int)
EMA平滑の長さ。
Z-Score normalize(bool)
ONで標準化。
zLen(int)
標準化に使う期間(例:252)。
免責事項
本インジケーターは情報提供・教育目的です。投資判断はご自身の責任で行ってください。
データ仕様や銘柄特性により挙動が異なる場合があります。
RenKagi Fusion: Aura & SMA Clash IndicatorRenKagi Fusion: Aura & SMA Clash Indicator
Welcome to the RenKagi Fusion Indicator – a powerful, customizable tool that blends the strengths of Renko and Kagi charts to provide noise-filtered trend insights, enhanced with visual Aura effects and SMA (Simple Moving Average) crossover signals. Designed for traders seeking a unique edge in trend detection and reversal identification, this indicator combines traditional charting techniques with modern visualizations to help you navigate markets more effectively. Whether you're trading stocks, forex, or crypto, RenKagi Fusion offers a clean, actionable overview of market dynamics.
Key Features
RenKagi Line (Weighted Fusion of Renko and Kagi): The core of the indicator is the RenKagi line, a weighted average of Renko (brick-based trend filtering) and Kagi (reversal-focused line charts). Users can adjust the weight (default: 60% Renko, 40% Kagi) to prioritize stability or sensitivity. This fusion reduces market noise while highlighting key price movements.
Trend Scoring System: Calculates strength scores for Renko, Kagi, and RenKagi (capped at 20 points, converted to percentages). Scores increase with trend continuation and reset on reversals, giving a quantitative measure of momentum.
Aura Effects (Optional): Visual "glow" around lines based on score percentage – higher scores mean more opaque and thicker auras, adding a dynamic layer to trend visualization.
SMA Clash (Crossover Detection): Monitors daily SMA50, SMA100, and SMA200 for golden/death crosses (SMA50 crossing above/below longer SMAs) and RenKagi-SMA crossovers. These are displayed in a persistent info table for quick reference.
Customizable Visuals: Toggle lines, boxes, shapes, auras, and labels. Background coloring based on selected source (Renko, Kagi, or RenKagi) for intuitive trend bias.
Info Table: A configurable table (position and colors adjustable) summarizing scores, directions, cross states, brick size (with type), Kagi reversal (with type), and weights. No clutter – all in one place.
Alert Conditions: Built-in alerts for direction changes (Renko, Kagi, RenKagi), SMA crossovers, and golden/death crosses – perfect for real-time notifications.
How It Works
Renko Logic: Builds bricks based on user-selected type (Traditional fixed size, ATR dynamic, or Percentage). Scores build as trends persist, resetting on reversals.
Kagi Logic: Line reverses on thresholds (Traditional, ATR, or Percentage), scoring continuous moves.
RenKagi Calculation: Weighted average: (renkoPrice * renkoWeight + kagiLine * (100 - renkoWeight)) / 100. Score is a blend of individual scores.
SMA Integration: Daily timeframe SMAs for reliable long-term signals. Crossovers trigger alerts and update table states persistently until reversed.
Advantages for Traders
Noise Reduction: By fusing Renko's block structure with Kagi's reversal focus, it filters out minor fluctuations, helping identify strong trends early.
Versatility: Fully customizable – adjust weights, types, and visuals to fit any market or timeframe. Ideal for swing trading, trend following, or scalping.
Visual Clarity: Aura and background coloring provide at-a-glance insights, while the table consolidates data without overwhelming the chart.
Actionable Signals: Golden/Death crosses and direction changes offer clear entry/exit points, backed by alerts for timely execution.
Performance Optimization: Limits on lines/labels/boxes (500 each) ensure smooth operation on large datasets.
Usage Tips
Start with default settings for balanced performance.
Use in higher timeframes for trend confirmation or lower for intraday signals.
Combine with your favorite strategies – e.g., buy on RenKagi upward cross with SMA50 and golden cross confirmation.
Test on historical data to optimize weights and thresholds.
Note: This indicator is for educational and informational purposes only. Past performance is not indicative of future results. Always conduct your own analysis and use risk management. No financial advice is provided.
If you find this useful, please like, comment, or share your feedback!
AI+ Scalper Strategy [BuBigMoneyMazz]Based on the AI+ Scalper Strategy
A trend-following swing strategy that uses multi-factor confirmation (trend, momentum, volatility) to capture sustained moves. Works best in trending markets and avoids choppy conditions using ADX filter.
🎯 5-Minute Chart Settings (Scalping)
pine
// RISK MANAGEMENT
ATR Multiplier SL: 1.2
ATR Multiplier TP: 2.4
// STRATEGY OPTIONS
Use HTF Filter: ON
HTF Timeframe: 15
Latching Mode: OFF
// INDICATOR SETTINGS
ADX Length: 10
ATR Length: 10
HMA Length: 14
Momentum Mode: Stochastic RSI
// STOCH RSI
Stoch RSI Length: 10
%K Smoothing: 2
%D Smoothing: 2
5-Minute Trading Style:
Quick scalps (15-45 minute holds)
Tight stops for fast markets
More frequent signals
Best during high volatility sessions (market open/close)
📈 15-Minute Chart Settings (Day Trading)
pine
// RISK MANAGEMENT
ATR Multiplier SL: 1.5
ATR Multiplier TP: 3.0
// STRATEGY OPTIONS
Use HTF Filter: ON
HTF Timeframe: 60
Latching Mode: ON
// INDICATOR SETTINGS
ADX Length: 14
ATR Length: 14
HMA Length: 21
Momentum Mode: Fisher RSI
// STOCH RSI
Stoch RSI Length: 12
%K Smoothing: 3
%D Smoothing: 3
15-Minute Trading Style:
Swing trades (1-4 hour holds)
Better risk-reward ratio
Fewer, higher quality signals
Works throughout trading day
⚡ Best Trading Times:
5-min: Market open (9:30-11:30 ET) & close (3:00-4:00 ET)
15-min: All day, but best 10:00-3:00 ET
✅ Filter for High-Probability Trades:
Only trade when ADX > 20 (strong trend)
Wait for HTF confirmation (prevents false signals)
Avoid low volume periods (lunch time)
⛔ When to Avoid Trading:
ADX < 15 (choppy market)
Major news events
First/last 15 minutes of session
Pro Tip: Start with 15-minute settings for better consistency, then move to 5-minute once you're comfortable with the strategy's behavior.
Position Sizing Calculator with ADR%, Account %, and RSILET ME KNOW IN COMMENTS IF YOU HAVE ANY ISSUES!
Overview
The Position Sizing Calculator with ADR% + RSI is a indicator that helps traders calculate position sizes based on risk management parameters (stop loss at low of day). It uses a fixed percentage of the account size, risk per trade, and stop loss distance (current price minus daily low) to determine the number of shares or contracts to trade. Additionally, it displays the Average Daily Range (ADR) as a percentage, the Relative Strength Index (RSI), and the price’s percentage distance from the daily low in a real-time table.
Features
Position Sizing: Calculates position size based on a fixed account percentage, risk per trade, and stop loss distance, ensuring the position value stays within the allocated capital.
ADR% Display: Shows the ADR as a percentage of the daily low, colored green if >5% or red if ≤5%.
RSI Display: Shows the RSI, colored green if oversold (<30), red if overbought (>70), or gray otherwise.
Distance from Low: Displays the current price’s percentage distance from the daily low for context.
Real-Time Table: Presents all metrics in a top-right table, updating in real-time.
Position Value Cap: Ensures the position value doesn’t exceed the allocated capital.
Minimum Stop Loss: Prevents oversized positions due to very small stop loss distances.
Customizable Parameters
Account Size ($): Set the total account balance (default: $1,000, min: $100, step: $100).
Risk Per Trade (%): The percentage of allocated capital to risk per trade (default: 1%, range: 0.1% to 10%, step: 0.1%).
Max % of Account: The fixed percentage of the account to allocate for the trade (default: 50%, range: 10% to 100%, step: 1%).
ADR Period: The number of days to calculate the ADR (default: 14, min: 1, step: 1).
RSI Length: The period for RSI calculation (default: 14, min: 1, step: 1).
Min Stop Loss Distance ($): The minimum stop loss distance to prevent oversized positions (default: $0.01, min: $0.001, step: $0.001).
Calculations
Stop Loss Distance: Current price minus daily low, with a minimum value set by the user.
Position Size: (Account Size * Max % of Account * Risk Per Trade %) / Stop Loss Distance, capped so the position value doesn’t exceed the allocated capital.
ADR%: 100 * (SMA(daily high / daily low, ADR Period) - 1), reflecting the average daily range relative to the low.
RSI: Calculated using the smoothed average of gains and losses over the RSI period, with special handling for zero gains or losses.
Distance from Low: (Current Price - Daily Low) / Daily Low * 100.
Table Display
Account Size: The input account balance.
Risk Per Trade: The risk percentage.
Stop Loss Distance: The price difference between the current price and daily low.
Distance from Low: The percentage distance from the daily low.
Account % Used: The fixed percentage of the account allocated.
Position Size: The calculated number of shares or contracts.
Position Value: The position size multiplied by the current price.
ADR %: The ADR percentage, colored green (>5%) or red (≤5%).
RSI: The RSI value, colored green (<30), red (>70), or gray (30–70).
Usage
Ideal for traders managing risk by allocating a fixed portion of their account and sizing positions based on stop loss distance.
The ADR% and RSI provide market context, with color coding to highlight high volatility or overbought/oversold conditions.
Adjust the customizable parameters to fit your trading style, such as increasing the risk percentage for aggressive trades or adjusting the ADR/RSI periods for different time horizons.