RejectionLibrary "Rejection"
method mergeCandle(h1, l1, c1, h2, l2, o2)
Namespace types: series float, simple float, input float, const float
Parameters:
h1 (float)
l1 (float)
c1 (float)
h2 (float)
l2 (float)
o2 (float)
method isRejectionCandle(candleHigh, candleLow, candleOpen, candleClose)
Namespace types: series float, simple float, input float, const float
Parameters:
candleHigh (float)
candleLow (float)
candleOpen (float)
candleClose (float)
method mergeCandlesForRejection(_numCandles, direction)
Namespace types: series int, simple int, input int, const int
Parameters:
_numCandles (int)
direction (int)
method hasRejection(direction)
Namespace types: series int, simple int, input int, const int
Parameters:
direction (int)
Indicators and strategies
PineTraderOT_V6Library "PineTraderOT_V6"
TODO: Simplify the order ticket generation for Pinetrader.io
GenerateOT(license_id, symbol, action, order_type, trade_type, size, price, tp, sl, risk, trailPrice, trailOffset)
CreateOrderTicket: Establishes a order ticket following appropriate guidelines.
Parameters:
license_id (string) : Provide your license index
symbol (string) : Symbol on which to execute the trade
action (string) : Execution method of the trade : "MRKT" or "PENDING"
order_type (string) : Direction type of the order: "BUY" or "SELL"
trade_type (string) : Is it a "SPREAD" trade or a "SINGLE" symbol execution?
size (float) : Size of the trade, in units
price (float) : If the order is pending you must specify the execution price
tp (float) : (Optional) Take profit of the order
sl (float) : (Optional) Stop loss of the order
risk (float) : Percent to risk for the trade, if size not specified
trailPrice (float) : (Optional) Price at which trailing stop is starting
trailOffset (float) : (Optional) Amount to trail by
Returns: Return Order string
내 스크립트//@version=5
indicator("Support/Resistance Scalping Strategy", overlay=true)
// === 사용자 설정 ===
support_level = input.float(101000, title="지지선", step=10)
resistance_level = input.float(104000, title="저항선", step=10)
rsi = ta.rsi(close, 14)
bb_upper = ta.bb(close, 20, 2).upper
bb_lower = ta.bb(close, 20, 2).lower
// === 조건 ===
// 롱 조건: 지지선 근처 도달 + RSI < 40 + 볼린저 하단 근접
long_condition = (low <= support_level * 1.002) and (rsi < 40) and (close <= bb_lower)
plotshape(long_condition, title="Long Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="LONG")
// 숏 조건: 저항선 근처 도달 + RSI > 60 + 볼린저 상단 근접
short_condition = (high >= resistance_level * 0.998) and (rsi > 60) and (close >= bb_upper)
plotshape(short_condition, title="Short Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SHORT")
// 시각적 지지/저항선 표시
hline(support_level, "지지선", color=color.green, linestyle=hline.style_dashed)
hline(resistance_level, "저항선", color=color.red, linestyle=hline.style_dashed)
내 스크립트//@version=5
indicator("Support/Resistance Scalping Strategy", overlay=true)
// === 사용자 설정 ===
support_level = input.float(101000, title="지지선", step=10)
resistance_level = input.float(104000, title="저항선", step=10)
rsi = ta.rsi(close, 14)
bb_upper = ta.bb(close, 20, 2).upper
bb_lower = ta.bb(close, 20, 2).lower
// === 조건 ===
// 롱 조건: 지지선 근처 도달 + RSI < 40 + 볼린저 하단 근접
long_condition = (low <= support_level * 1.002) and (rsi < 40) and (close <= bb_lower)
plotshape(long_condition, title="Long Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="LONG")
// 숏 조건: 저항선 근처 도달 + RSI > 60 + 볼린저 상단 근접
short_condition = (high >= resistance_level * 0.998) and (rsi > 60) and (close >= bb_upper)
plotshape(short_condition, title="Short Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SHORT")
// 시각적 지지/저항선 표시
hline(support_level, "지지선", color=color.green, linestyle=hline.style_dashed)
hline(resistance_level, "저항선", color=color.red, linestyle=hline.style_dashed)
10 EMA -3*ATRThis custom indicator plots the line calculated as 10-period Exponential Moving Average (EMA) minus 3 times the 14-period Average True Range (ATR). It helps traders identify dynamic support levels or pullback zones during strong trends by adjusting for market volatility. A falling line may signal increasing volatility or weakening momentum, while a rising line may indicate strengthening trend stability. Suitable for trend-following strategies and volatility-aware entries.
Forex Session Levels + Dashboard (AEST)This is a script showing all the key levels you will ever need for the breakout and retest strategy.
Follow my IG:
@liviupircalabu10
Forex Session Levels + Dashboard (AEST)Forex Session Indicators for Breakout and Retest Strategy (AEST)
Position Size CalculatorIt is a position size calculation with 0.05% buffer to take swift entry on either sides with 0.5% risk on your overall capital
Moving Average Convergence DivergenceMACD Update with Histogram off and MACD and signal crossing with a dot signal 1 offset bar ahead of time.
Session HighlightsCrypto relevant global equity market open/close indicator, high opacity background highlights follow the following color scheme & daily time ranges (times in EST):
Orange: 8:00 PM to 9:30 PM (Sunday - Thursday): Japan/South Korea
Yellow: 9:30 PM to +1D 4:00 AM (Sunday - Thursday): Hong Kong
Aqua: 8:00 AM to 9:30 AM (Monday - Friday): US Premarket / Macro Data Release
Blue: 9:30 AM to 4:00 PM (Monday - Friday): US
White: 4:00 PM to +2D 6:00 PM (Friday - Sunday): Weekend
*Market Holidays not accounted for
PeekLevelLibrary "PeekLevel"
init()
run(state, zigZagPeriod, rsi, rsiMA)
Parameters:
state (ZigZagState)
zigZagPeriod (int)
rsi (float)
rsiMA (float)
method stableLevel(state, direction)
Namespace types: ZigZagState
Parameters:
state (ZigZagState)
direction (int)
method secondStableLevel(state, direction)
Namespace types: ZigZagState
Parameters:
state (ZigZagState)
direction (int)
method stableLevelTarget(state, direction)
Namespace types: ZigZagState
Parameters:
state (ZigZagState)
direction (int)
method secondStableLevelTarget(state, direction)
Namespace types: ZigZagState
Parameters:
state (ZigZagState)
direction (int)
method stableLevelRSI(state, direction)
Namespace types: ZigZagState
Parameters:
state (ZigZagState)
direction (int)
method secondStableLevelRSI(state, direction)
Namespace types: ZigZagState
Parameters:
state (ZigZagState)
direction (int)
method lastLevelRSI(state, direction)
Namespace types: ZigZagState
Parameters:
state (ZigZagState)
direction (int)
method lastLevel(state, direction)
Namespace types: ZigZagState
Parameters:
state (ZigZagState)
direction (int)
method lastLevelIndex(state, direction)
Namespace types: ZigZagState
Parameters:
state (ZigZagState)
direction (int)
method lastLevelTarget(state, direction)
Namespace types: ZigZagState
Parameters:
state (ZigZagState)
direction (int)
method lastLevelRSISignal(state, direction)
Namespace types: ZigZagState
Parameters:
state (ZigZagState)
direction (int)
method lastPriceJump(state, direction)
Namespace types: ZigZagState
Parameters:
state (ZigZagState)
direction (int)
ZigZagState
Fields:
levelPrices (array)
levelRSI (array)
levelTarget (array)
levelTypes (array)
levelIndices (array)
levelRSISignal (array)
levelPriceJumps (array)
lastLevelPrice (series float)
lastLevelType (series int)
lastLevelIndex (series int)
lastLevelRSI (series float)
numUndirectedLevels (series int)
zigZagDirection (series int)
Advanced MACD Pro (WhiteStone_Ibrahim) - T3 Themed✨ Advanced MACD Pro (WhiteStone_Ibrahim) - T3 Themed ✨
Take your MACD analysis to the next level with the Advanced MACD Pro - T3 Themed indicator by WhiteStone_Ibrahim! This isn't just another MACD; it's a comprehensive toolkit packed with advanced features, unique T3 integration, and extensive customization options to provide deeper market insights.
Whether you're a seasoned trader or just starting, this indicator offers a versatile and powerful way to analyze momentum, identify trends, and spot potential reversals.
Key Features:
Core MACD Functionality:
Classic MACD Line: Calculated from customizable Fast and Slow EMAs using your chosen source (Close, Open, HLC3, etc.).
Standard Signal Line: EMA of the MACD line, with adjustable length.
Dynamic MACD Line Coloring: Automatically changes color based on whether it's above or below the zero line (positive/negative).
Zero Line: Clearly plotted for reference.
Enhanced MACD Histogram:
Sophisticated Color Coding: The histogram isn't just positive or negative. It intelligently colors based on momentum strength and direction:
Strong Bullish: MACD above signal, histogram increasing.
Weakening Bullish: MACD above signal, histogram decreasing.
Strong Bearish: MACD below signal, histogram decreasing.
Weakening Bearish: MACD below signal, histogram increasing.
Neutral: Default color for other conditions.
Optional Histogram Smoothing: Smooth out the histogram noise using one of five different moving average types: SMA, EMA, WMA, RMA, or the advanced T3 (Tilson T3). Customize smoothing length and T3 vFactor.
🌟 Unique T3 Integration (T3 Themed):
Extra T3 Signal Line (on MACD): An additional, fast-reacting T3 moving average calculated directly from the MACD line. This provides an alternative and often quicker signal.
Customizable T3 length and vFactor.
Dynamic Coloring: The T3 Signal Line changes color (bullish/bearish) based on its crossover with the MACD line, offering clear visual cues.
T3 is also available as a smoothing option for the main histogram (see above).
🔍 Disagreement & Divergence Detection:
Bar/Price Disagreement Markers:
Highlights instances where the price bar's direction (e.g., a bullish candle) contradicts the current MACD momentum (e.g., MACD below its signal line).
Visual markers (circles) appear above/below bars to draw attention to these potential early warnings or confirmations.
Histogram Color Change on Disagreement: Optionally, the histogram can adopt distinct alternative colors during these bar/price disagreements for even clearer visual alerts.
Classic Bullish & Bearish Divergence Detection:
Automatically identifies regular divergences between price action (Higher Highs/Lower Lows) and the MACD line (Lower Highs/Higher Lows).
Customizable pivot lookback periods (left and right bars) for divergence sensitivity.
Plots clear "Bull" and "Bear" labels on the price chart where divergences occur.
🎨 Extensive Customization & Visuals:
Multiple Color Themes: Choose from pre-set themes like 'Dark Mode', 'Light Mode', 'Neon Night', or use 'Default (Current Settings)' to fine-tune every color yourself.
Granular Control (Default Theme): Individually customize colors and thickness for:
MACD Line (positive/negative)
Standard Signal Line
Extra T3 Signal Line (bullish/bearish)
Histogram (all four momentum states + neutral)
Disagreement Markers & Histogram Alt Colors
Divergence Lines/Labels
Zero Line
Toggle Visibility: Easily show or hide the Standard Signal Line and the Extra T3 Signal Line as needed.
🔔 Comprehensive Alert System:
Stay informed of key market events with a wide array of configurable alerts:
MACD Line / Standard Signal Line Crossover
Histogram / Zero Line Crossover
MACD Line / Zero Line Crossover
Bullish Divergence Detected
Bearish Divergence Detected
Bar/Price Disagreement (Bullish & Bearish)
MACD Line / Extra T3 Signal Line Crossover
Each alert can be individually enabled or disabled.
The Advanced MACD Pro - T3 Themed indicator is designed to be your go-to tool for momentum analysis. Its rich feature set empowers you to tailor it to your specific trading style and gain a more nuanced understanding of market dynamics.
Add it to your charts today and experience the difference!
(Developed by WhiteStone_Ibrahim)
DCA Investment Tracker Pro [tradeviZion]DCA Investment Tracker Pro: Educational DCA Analysis Tool
An educational indicator that helps analyze Dollar-Cost Averaging strategies by comparing actual performance with historical data calculations.
---
💡 Why I Created This Indicator
As someone who practices Dollar-Cost Averaging, I was frustrated with constantly switching between spreadsheets, calculators, and charts just to understand how my investments were really performing. I wanted to see everything in one place - my actual performance, what I should expect based on historical data, and most importantly, visualize where my strategy could take me over the long term .
What really motivated me was watching friends and family underestimate the incredible power of consistent investing. When Napoleon Bonaparte first learned about compound interest, he reportedly exclaimed "I wonder it has not swallowed the world" - and he was right! Yet most people can't visualize how their $500 monthly contributions today could become substantial wealth decades later.
Traditional DCA tracking tools exist, but they share similar limitations:
Require manual data entry and complex spreadsheets
Use fixed assumptions that don't reflect real market behavior
Can't show future projections overlaid on actual price charts
Lose the visual context of what's happening in the market
Make compound growth feel abstract rather than tangible
I wanted to create something different - a tool that automatically analyzes real market history, detects volatility periods, and shows you both current performance AND educational projections based on historical patterns right on your TradingView charts. As Warren Buffett said: "Someone's sitting in the shade today because someone planted a tree a long time ago." This tool helps you visualize your financial tree growing over time.
This isn't just another calculator - it's a visualization tool that makes the magic of compound growth impossible to ignore.
---
🎯 What This Indicator Does
This educational indicator provides DCA analysis tools. Users can input investment scenarios to study:
Theoretical Performance: Educational calculations based on historical return data
Comparative Analysis: Study differences between actual and theoretical scenarios
Historical Projections: Theoretical projections for educational analysis (not predictions)
Performance Metrics: CAGR, ROI, and other analytical metrics for study
Historical Analysis: Calculates historical return data for reference purposes
---
🚀 Key Features
Volatility-Adjusted Historical Return Calculation
Analyzes 3-20 years of actual price data for any symbol
Automatically detects high-volatility stocks (meme stocks, growth stocks)
Uses median returns for volatile stocks, standard CAGR for stable stocks
Provides conservative estimates when extreme outlier years are detected
Smart fallback to manual percentages when data insufficient
Customizable Performance Dashboard
Educational DCA performance analysis with compound growth calculations
Customizable table sizing (Tiny to Huge text options)
9 positioning options (Top/Middle/Bottom + Left/Center/Right)
Theme-adaptive colors (automatically adjusts to dark/light mode)
Multiple display layout options
Future Projection System
Visual future growth projections
Timeframe-aware calculations (Daily/Weekly/Monthly charts)
1-30 year projection options
Shows projected portfolio value and total investment amounts
Investment Insights
Performance vs benchmark comparison
ROI from initial investment tracking
Monthly average return analysis
Investment milestone alerts (25%, 50%, 100% gains)
Contribution tracking and next milestone indicators
---
📊 Step-by-Step Setup Guide
1. Investment Settings 💰
Initial Investment: Enter your starting lump sum (e.g., $60,000)
Monthly Contribution: Set your regular DCA amount (e.g., $500/month)
Return Calculation: Choose "Auto (Stock History)" for real data or "Manual" for fixed %
Historical Period: Select 3-20 years for auto calculations (default: 10 years)
Start Year: When you began investing (e.g., 2020)
Current Portfolio Value: Your actual portfolio worth today (e.g., $150,000)
2. Display Settings 📊
Table Sizes: Choose from Tiny, Small, Normal, Large, or Huge
Table Positions: 9 options - Top/Middle/Bottom + Left/Center/Right
Visibility Toggles: Show/hide Main Table and Stats Table independently
3. Future Projection 🔮
Enable Projections: Toggle on to see future growth visualization
Projection Years: Set 1-30 years ahead for analysis
Live Example - NASDAQ:META Analysis:
Settings shown: $60K initial + $500/month + Auto calculation + 10-year history + 2020 start + $150K current value
---
🔬 Pine Script Code Examples
Core DCA Calculations:
// Calculate total invested over time
months_elapsed = (year - start_year) * 12 + month - 1
total_invested = initial_investment + (monthly_contribution * months_elapsed)
// Compound growth formula for initial investment
theoretical_initial_growth = initial_investment * math.pow(1 + annual_return, years_elapsed)
// Future Value of Annuity for monthly contributions
monthly_rate = annual_return / 12
fv_contributions = monthly_contribution * ((math.pow(1 + monthly_rate, months_elapsed) - 1) / monthly_rate)
// Total expected value
theoretical_total = theoretical_initial_growth + fv_contributions
Volatility Detection Logic:
// Detect extreme years for volatility adjustment
extreme_years = 0
for i = 1 to historical_years
yearly_return = ((price_current / price_i_years_ago) - 1) * 100
if yearly_return > 100 or yearly_return < -50
extreme_years += 1
// Use median approach for high volatility stocks
high_volatility = (extreme_years / historical_years) > 0.2
calculated_return = high_volatility ? median_of_returns : standard_cagr
Performance Metrics:
// Calculate key performance indicators
absolute_gain = actual_value - total_invested
total_return_pct = (absolute_gain / total_invested) * 100
roi_initial = ((actual_value - initial_investment) / initial_investment) * 100
cagr = (math.pow(actual_value / initial_investment, 1 / years_elapsed) - 1) * 100
---
📊 Real-World Examples
See the indicator in action across different investment types:
Stable Index Investments:
AMEX:SPY (SPDR S&P 500) - Shows steady compound growth with standard CAGR calculations
Classic DCA success story: $60K initial + $500/month starting 2020. The indicator shows SPY's historical 10%+ returns, demonstrating how consistent broad market investing builds wealth over time. Notice the smooth theoretical growth line vs actual performance tracking.
MIL:VUAA (Vanguard S&P 500 UCITS) - Shows both data limitation and solution approaches
Data limitation example: VUAA shows "Manual (Auto Failed)" and "No Data" when default 10-year historical setting exceeds available data. The indicator gracefully falls back to manual percentage input while maintaining all DCA calculations and projections.
MIL:VUAA (Vanguard S&P 500 UCITS) - European ETF with successful 5-year auto calculation
Solution demonstration: By adjusting historical period to 5 years (matching available data), VUAA auto calculation works perfectly. Shows how users can optimize settings for newer assets. European market exposure with EUR denomination, demonstrating DCA effectiveness across different markets and currencies.
NYSE:BRK.B (Berkshire Hathaway) - Quality value investment with Warren Buffett's proven track record
Value investing approach: Berkshire Hathaway's legendary performance through DCA lens. The indicator demonstrates how quality companies compound wealth over decades. Lower volatility than tech stocks = standard CAGR calculations used.
High-Volatility Growth Stocks:
NASDAQ:NVDA (NVIDIA Corporation) - Demonstrates volatility-adjusted calculations for extreme price swings
High-volatility example: NVIDIA's explosive AI boom creates extreme years that trigger volatility detection. The indicator automatically switches to "Median (High Vol): 50%" calculations for conservative projections, protecting against unrealistic future estimates based on outlier performance periods.
NASDAQ:TSLA (Tesla) - Shows how 10-year analysis can stabilize volatile tech stocks
Stable long-term growth: Despite Tesla's reputation for volatility, the 10-year historical analysis (34.8% CAGR) shows consistent enough performance that volatility detection doesn't trigger. Demonstrates how longer timeframes can smooth out extreme periods for more reliable projections.
NASDAQ:META (Meta Platforms) - Shows stable tech stock analysis using standard CAGR calculations
Tech stock with stable growth: Despite being a tech stock and experiencing the 2022 crash, META's 10-year history shows consistent enough performance (23.98% CAGR) that volatility detection doesn't trigger. The indicator uses standard CAGR calculations, demonstrating how not all tech stocks require conservative median adjustments.
Notice how the indicator automatically detects high-volatility periods and switches to median-based calculations for more conservative projections, while stable investments use standard CAGR methods.
---
📈 Performance Metrics Explained
Current Portfolio Value: Your actual investment worth today
Expected Value: What you should have based on historical returns (Auto) or your target return (Manual)
Total Invested: Your actual money invested (initial + all monthly contributions)
Total Gains/Loss: Absolute dollar difference between current value and total invested
Total Return %: Percentage gain/loss on your total invested amount
ROI from Initial Investment: How your starting lump sum has performed
CAGR: Compound Annual Growth Rate of your initial investment (Note: This shows initial investment performance, not full DCA strategy)
vs Benchmark: How you're performing compared to the expected returns
---
⚠️ Important Notes & Limitations
Data Requirements: Auto mode requires sufficient historical data (minimum 3 years recommended)
CAGR Limitation: CAGR calculation is based on initial investment growth only, not the complete DCA strategy
Projection Accuracy: Future projections are theoretical and based on historical returns - actual results may vary
Timeframe Support: Works ONLY on Daily (1D), Weekly (1W), and Monthly (1M) charts - no other timeframes supported
Update Frequency: Update "Current Portfolio Value" regularly for accurate tracking
---
📚 Educational Use & Disclaimer
This analysis tool can be applied to various stock and ETF charts for educational study of DCA mathematical concepts and historical performance patterns.
Study Examples: Can be used with symbols like AMEX:SPY , NASDAQ:QQQ , AMEX:VTI , NASDAQ:AAPL , NASDAQ:MSFT , NASDAQ:GOOGL , NASDAQ:AMZN , NASDAQ:TSLA , NASDAQ:NVDA for learning purposes.
EDUCATIONAL DISCLAIMER: This indicator is a study tool for analyzing Dollar-Cost Averaging strategies. It does not provide investment advice, trading signals, or guarantees. All calculations are theoretical examples for educational purposes only. Past performance does not predict future results. Users should conduct their own research and consult qualified financial professionals before making any investment decisions.
---
© 2025 TradeVizion. All rights reserved.
3-SMA/EMA Ribbon### 3-MA Ribbon (EMA / SMA Switchable)
**What it is**
The 3-MA Ribbon overlays three configurable moving averages (Fast, Mid, Slow) and colours the space between them to show both *trend strength* and *trend clarity* at a glance. A single dropdown lets you choose whether those MAs are **EMAs** (react faster) or **SMAs** (smoother).
---
#### How the colour logic works
| MA order (Fast > Mid > Slow) | Ribbon | Meaning |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
| **Fast > Mid > Slow** | **Vivid Green** | Strong bullish stack |
| **Fast < Mid < Slow** | **Vivid Red** | Strong bearish stack |
| Any other order | Upper gap is soft green/red if the *upper* MA is above/below the *lower* one; lower gap is evaluated separately. Mixed colours = indecision / transition phase. | |
Opacity is lower (more solid) when the stack is perfect, higher (more transparent) when it’s mixed, so you instantly see how clean the trend structure is.
---
#### Visual cues
* **Fast MA** – dotted line (circles)
* **Mid MA** – dashed-look (crosses)
* **Slow MA** – solid line
All three line colours are separately customisable and are chosen to stay readable over both red and green fills.
Tiny ▲/▼ markers optionally call out the exact bar where a full bullish or bearish stack first appears.
---
#### Inputs
* **Moving-average type** – *EMA* or *SMA*
* **Fast / Mid / Slow lengths** – default 21 / 50 / 200
* **Ribbon colours** – bullish, bearish, neutral
* **Opacity (stacked / mixed)** – adjust how strong the fills appear
* **Line colours** – fast, mid, slow
---
#### Typical uses
1. **Trend confirmation** – Trade only when the ribbon is vivid green (long) or red (short) to filter whipsaws.
2. **Early warning** – Mixed fills flag potential transitions before a full MA cross completes.
3. **Dynamic S/R** – Each MA can act as a moving support or resistance level.
4. **Multi-time-frame stacking** – Apply the ribbon to higher TFs (e.g., 4 h) while trading lower ones for structural bias.
---
#### Tips
* Short-term traders might prefer 9-21-55 lengths; long-term swing traders often use 20-50-200.
* If price chops sideways, the gaps will flip soft green/red frequently—treat this as a signal to stay patient.
* Combine with volume or momentum oscillators for added confirmation.
---
> **Disclaimer:** This script is for educational purposes only and should not be taken as financial advice. Always test thoroughly in a demo environment and use proper risk management.
Multi time frame combination signal1. Concept and originality
This indicator was developed with the aim of displaying signals of multiple time frames and moving averages of the fixed time frame different from the current chart. When buying and selling, if you use basic signals such as MACD, RSI, TSI, etc. on a certain time frame, you may miss shorter or longer-term trends. In addition, if a long-term upswing sign occurs and you want to search for a short-term pullback, you may want to use multiple signals of different time frames in combination. Therefore, I aimed to display signals of shorter and longer time frames simultaneously on one chart in addition to the current time frame. Furthermore, I considered a comosite signal that combines each basic signal and moving average line, and combines arbitrary signals of multiple arbitrary time frames in a single indicator.
2. Function
This indicator provides a composite signal that combines multiple basic indicators (MACD, RSI, TSI) and moving average lines on three arbitrary time frames. Other auxiliary functions include Bollinger bands, Ichimoku cloud, Fair Value Gap (FVG), and Order Block (OB). The three time frames can be set independently for each signal.
2.1 Combination signal
When you check "Show combination signal", the signals that combine each checked basic indicator with "and" will be displayed. If you want to combine each basic indicator with "or", uncheck "Combination signal" and check all the indicators you want to use. Each indicator can also be combined with a moving average. The indicators that can be combined with "Combination signal" are MACD, RSI, TSI and moving average. Bollinger bands, Ichimoku Kinko Hyo, Fair Value Gap (FVG) and Order Block (OB) are displayed alone and cannot be incorporated into "Combination signal".
When you check "Show short/middle/long term signal", the checked signals will be displayed on the chart with ▲ or ▼. ▲ indicates crossover and ▼ indicates crossunder. Short is displayed small and long is displayed large. The short/middle/long time frames can be set separately. It is not necessary that the short is shorter than the middle or long.
2.2 MACD signal
Check "Show MACD signal" to display the MACD (Moving Average Convergence Divergence) signal. Check "Show short/middle/long term signal" to display the signal of the checked time frame with ▲ or ▼ on the chart. Short is displayed small, and long is displayed large. The short/middle/long time frames can be set separately. Short does not necessarily have to be shorter than middle or long. EMA is usually used for the moving average of MACD, but this indicator allows you to select the type of moving average from SMA, EMA, SMMA (RMA), WMA, and VWMA. You can enter the base period for Long, Short, and Signal. This period is the period for the selected time frame. Check "Use impulse MACD" to suppress signals in range markets. In this case, "Long length", "Short length", and "Signal length" are ignored and the value of "Impulse MACD length" is applied. Please note that some functions do not work properly on charts that do not provide volume.
2.3 RSI signal
Check "Show RSI signal" to display the RSI (Relative Strength Index) signal. Check "Show short/middle/long term signal" to display the signal of the checked time frame on the chart with ▲ or ▼. Short is displayed small, and long is displayed large. Short/middle/long time frames can be set separately. Short does not necessarily have to be shorter than middle and long. You can enter the overbought and oversold thresholds in the range of 0 to 100. You can enter the base period of the signal. Check "Use VRSI" to add volume to the RSI. Check "Use Stochastic RSI" to display the Stochastic RSI signal. In this case, the base period of the RSI signal is ignored. For Stochastic RSI, you can enter the type of moving average, the period for smoothing, and the base period. These values are ignored by the normal RSI and VRSI. Please note that some functions do not work properly on charts for which volume is not provided.
2.4 TSI signal
Checking "Show TSI signal" displays the TSI (True Strength Index) signal. Checking "Show short/middle/long term signal" displays the signals of the checked time frame as ▲ or ▼ on the chart. Short is displayed small, and long is displayed large. The short/middle/long time frames can be set separately. Short does not necessarily have to be shorter than the middle and long. You can enter the overbought and oversold thresholds in the range of -100 to 100. You can enter the base period for Long, Short, and Signal. You can select the type of moving average from SMA, EMA, SMMA (RMA), WMA, and VWMA. Please note that some functions do not work properly on charts for which volume is not provided.
2.5 Moving average
Check "Show moving average" to display the moving average for the specified time frame. The time frame can be set to match the chart time frame or fixed. The type of moving average can be selected from SMA, EMA, SMMA (RMA), WMA, and VWMA. Check each "Show MA" to display the moving average on the chart. Up to five moving averages can be displayed. Check each "Above MA" or "Below MA" to add the "and" condition in "Combination signal" whether the price is above or below the moving average.
2.6 Bollinger band
Check "Show bollinger band" to display the Bollinger band. You can enter the time frame, type of moving average, base period, and standard deviation. The type of moving average can be selected from SMA, EMA, SMMA (RMA), WMA, and VWMA. This auxiliary function is independent and is not taken into account in "Combination signal".
2.7 Ichimoku cloud
Check "Show Ichimoku cloud" to display the Ichimoku cloud. You can enter the time frame, base period, leading line and lagging line periods. This auxiliary function is independent and is not taken into account in "Combination signal".
2.8 Fair Value Gap
Check "Show fair value gap" to display the Fair Value Gap. Check "Show short/middle/long term signal" to display the Fair Value Gap zone of the checked time frame as a gray square on the chart. You can set the threshold value to suppress the display and whether or not to display the label. This auxiliary function is independent and is not taken into account in "Combination signal".
2.9 Order Block
Check "Show order block" to display the Order Block. Check "Show short/middle/long term signal" to display the Order Block zone of the checked time frame as a green or red square on the chart. You can set the threshold value to suppress the display and whether or not to display the label. This auxiliary function is independent and does not contribute to the "Combination signal".
VWAP&5EMA📘 VWAP + 5 EMA Combo
This indicator provides a clean and modular framework for tracking key moving averages and VWAP levels. Ideal for intraday and swing traders, it allows full control over which components to display.
✅ Features:
Rolling VWAP – volume-weighted moving average over a custom period
Session VWAP – standard intraday VWAP
Daily EMA (D1) – from higher timeframe
Intraday EMA – based on current chart
5 Custom EMAs – fully adjustable and individually toggleable (default: 9, 21, 50, 100, 200)
🎯 Use Case:
Quickly assess dynamic support/resistance, confluence zones, and trend alignment across timeframes – without clutter. All lines are optional and independently configurable.
Spring Bar DetectorA Spring is a false breakdown below a well-defined support level, followed by a sharp rebound. It's a form of bear trap, where price dips below support just enough to trigger stop-loss orders and attract short sellers—only to reverse strongly, indicating that smart money is absorbing supply.
Footprint Stacked Imbalance + Absorption Detectorthis indicator looks for stacked imbalance on footprint charts or candle stick when price returns it a good chance for a balance from the level and i also added an absorpsion indicator this will look for agressive buyer or sellers buy passive limit orders , so if buyer agressive buys are not moving the price up they are getting absorped and soon will die out and fade the other direction.
HoLo (Highest Open Lowest Open)HoLo (Highest Open Lowest Open) Method
Overview
HoLo stands for "Highest Open Lowest Open" – a forex trading strategy.
Core Concept
Definition of HoLo:
Highest Open (HO): The highest opening price among all H1 candles of the current trading day
Lowest Open (LO): The lowest opening price among all H1 candles of the current trading day
Trading Day: Starts at Asia Open Session
Strategy Setup
Step 1: Mark Key Levels
Current day's High/Low
Highest Open and Lowest Open (from H1 candles)
Step 2: Define the Area of Interest
Sell Zone: Between the Highest Open and the current day's High
Buy Zone: Between the Lowest Open and the current day's Low
Trade Entry Rules
Sell Trade:
Price goes above the Highest Open
Trigger candle (M5, M15, or M30) closes above the Highest Open
Enter a sell when price revisits the Highest Open level (Sell Stop Order)
Buy Trade:
Price drops below the Lowest Open
Trigger candle closes below the Lowest Open
Enter a buy when price revisits the Lowest Open level (Buy Stop Order)
Trigger Timeframe:
Choose M1, M5, or M15 based on:
Your screen time availability
Personal trading style
Risk and Profit Management
Stop Loss:
For sell: Set SL at the day’s High + spread
For buy: Set SL at the day’s Low + spread
Take Profit (TP) Basic Rule:
You should open 2 positions:
When profit reaches 1R: Take partial profit + move SL to BE (Break Even)
Let the remaining position run using partial TP or trailing stop
Money Management:
Never risk more than 1% per trade
Recommended: 0.5% risk due to multiple opportunities daily
Prioritize major pairs.
The Indicator
How to read data
For Day Traders
Monitor the sell zone (red area) for potential short entries near resistance
Watch the buy zone (blue area) for potential long entries near support
Use cross signals for entry/exit points
Pay attention to timing markers for key market hours
Alert
HO (Highest Open) level changes
LO (Lowest Close) level changes
Price crossing key levels
Timing notifications
ATHLibrary "ATH"
TODO: add library description here
getMonthlyATH(symbol, lookbackBars)
TODO: add function description here
Parameters:
symbol (string)
lookbackBars (int)
Returns: TODO: add what function returns
回傳指定 symbol 的月線 ATH