SIRILAK BOT RSI with SMA Cross Signals + Heikin Ashi//@version=5
indicator("SIRILAK BOT RSI with SMA Cross Signals + Heikin Ashi", overlay=true)
// RSI and SMA settings
rsiLength = 5
smaLength = 21
// Heikin Ashi calculations
var float heikinOpen = na
heikinClose = (open + high + low + close) / 4
heikinOpen := na(heikinOpen ) ? (open + close) / 2 : (heikinOpen + heikinClose ) / 2
heikinHigh = math.max(high, math.max(heikinOpen, heikinClose))
heikinLow = math.min(low, math.min(heikinOpen, heikinClose))
// Plot Heikin Ashi candles on the price chart
plotcandle(open=heikinOpen, high=heikinHigh, low=heikinLow, close=heikinClose, color=heikinClose >= heikinOpen ? color.green : color.red, wickcolor=color.black, title="Heikin Ashi Candles")
// Calculate RSI and SMA
rsi = ta.rsi(close, rsiLength)
sma = ta.sma(rsi, smaLength)
// Conditions for buy and sell signals
sellSignal = ta.crossover(sma, rsi) // RSI crosses below SMA
buySignal = ta.crossunder(sma, rsi) // RSI crosses above SMA
// Track the last signal
var string lastSignal = ""
// Ensure signal is only given after the candle closes
sellSignalClose = barstate.isconfirmed and sellSignal and (lastSignal != "SELL") // Confirm signal only on completed bar, and must be different from previous signal
buySignalClose = barstate.isconfirmed and buySignal and (lastSignal != "BUY") // Confirm signal only on completed bar, and must be different from previous signal
// Update the last signal
if (buySignalClose)
lastSignal := "BUY"
if (sellSignalClose)
lastSignal := "SELL"
// Plot RSI and SMA on RSI pane
plot(rsi, color=color.blue, linewidth=2, title="RSI")
plot(sma, color=color.orange, linewidth=2, title="SMA")
// Plot buy and sell signals only when the candle closes
plotshape(series=sellSignalClose, location=location.abovebar, color=color.red, style=shape.labeldown, title="Sell Signal", text="SELL")
plotshape(series=buySignalClose, location=location.belowbar, color=color.green, style=shape.labelup, title="Buy Signal", text="BUY")
אינדיקטורים ואסטרטגיות
Послідовність + RSI2 сигнали:
1. Послідовні три свічки одного кольору + вихід RSI за певні межі.
2. Вихід RSI за певні межі (75 та 25)
Combined HTF Candle Projections and Automatic Period Separator
This **Pine Script** indicator combines two powerful features:
1. **HTF (Higher Timeframe) Candle Projections**:
- Projects candles from a higher timeframe (e.g., daily, weekly) onto the current chart.
- Allows customization of candle types (regular or Heikin Ashi), colors, sizes, and labels (OHLC prices).
- Helps traders visualize higher timeframe trends and key levels without switching charts.
2. **Automatic Period Separator**:
- Draws vertical separator lines at the start of each new period (e.g., new day, week, or month).
- Customizable color, style, and width of the separators.
- Helps traders quickly identify the beginning of new trading sessions or timeframes.
### **Why It’s Useful**:
- **Multi-Timeframe Analysis**: Enables traders to analyze higher timeframe trends while staying on their preferred chart.
- **Visual Clarity**: Separators make it easy to distinguish between different trading periods.
- **Customizable**: Fully adjustable to suit individual trading styles and preferences.
This indicator is ideal for traders who want to **simplify multi-timeframe analysis** and **enhance chart readability**! 🚀
TrendPredator FOTrendPredator Fakeout Highlighter (FO)
The TrendPredator Fakeout Highlighter is designed to enhance multi-timeframe trend analysis by identifying key market behaviors that indicate trend strength, weakness, and potential reversals. Inspired by Stacey Burke’s trading approach, this tool focuses on trend-following, momentum shifts, and trader traps, helping traders capitalize on high-probability setups.
At its core, this indicator highlights peak formations—anchor points where price often locks in trapped traders before making decisive moves. These principles align with George Douglas Taylor’s 3-day cycle and Steve Mauro’s BTMM method, making the FO Highlighter a powerful tool for reading market structure. As markets are fractal, this analysis works on any timeframe.
How It Works
The TrendPredator FO highlights key price action signals by coloring candles based on their bias state on the current timeframe.
It tracks four major elements:
Breakout/Breakdown Bars – Did the candle close in a breakout or breakdown relative to the last candle?
Fakeout Bars (Trend Close) – Did the candle break a prior high/low and close back inside, but still in line with the trend?
Fakeout Bars (Counter-Trend Close) – Did the candle break a prior high/low, close back inside, and against the trend?
Switch Bars – Did the candle lose/ reclaim the breakout/down level of the last bar that closed in breakout/down, signalling a possible trend shift?
Reading the Trend with TrendPredator FO
The annotations in this example are added manually for illustration.
- Breakouts → Strong Trend
Multiple candles closing in breakout signal a healthy and strong trend.
- Fakeouts (Trend Close) → First Signs of Weakness
Candles that break out but close back inside suggest a potential slowdown—especially near key levels.
- Fakeouts (Counter-Trend Close) → Stronger Reversal Signal
Closing against the trend strengthens the reversal signal.
- Switch Bars → Momentum Shift
A shift in trend is confirmed when price crosses back through the last closed breakout candles breakout level, trapping traders and fuelling a move in the opposite direction.
- Breakdowns → Trend Reversal Confirmed
Once price breaks away from the peak formation, closing in breakdown, the trend shift is validated.
Customization & Settings
- Toggle individual candle types on/off
- Customize colors for each signal
- Set the number of historical candles displayed
Example Use Cases
1. Weekly Template Analysis
The weekly template is a core concept in Stacey Burke’s trading style. FO highlights individual candle states. With this the state of the trend and the developing weekly template can be evaluated precisely. The analysis is done on the daily timeframe and we are looking especially for overextended situations within a week, after multiple breakouts and for peak formations signalling potential reversals. This is helpful for thesis generation before a session and also for backtesting. The annotations in this example are added manually for illustration.
📈 Example: Weekly Template Analysis snapshot on daily timeframe
2. High Timeframe 5-Star Setup Analysis (Stacey Burke "ain't coming back" ACB Template)
This analysis identifies high-probability trade opportunities when daily breakout or down closes occur near key monthly levels mid-week, signalling overextensions and potentially large parabolic moves. Key signals for this are breakout or down closes occurring on a Wednesday. This is helpful for thesis generation before a session and also for backtesting. The annotations in this example are added manually for illustration. Also an indicator can bee seen on this chart shading every Wednesday to identify the signal.
📉 Example: High Timeframe Setup snapshot
3. Low Timeframe Entry Confirmation
FO helps confirm entry signals after a setup is identified, allowing traders to time their entries and exits more precisely. For this the highlighted Switch and/ or Fakeout bars can be highly valuable.
📊 Example (M15 Entry & Exit): Entry and Exit Confirmation snapshot
📊 Example (M5 Scale-In Strategy): Scaling Entries snapshot
The annotations in this examples are added manually for illustration.
Disclaimer
This indicator is for educational purposes only and does not guarantee profits.
None of the information provided shall be considered financial advice.
Users are fully responsible for their trading decisions and outcomes.
Auto Fib Retracement with Buy/SellKey Features of the Advanced Script:
Multi-Timeframe (MTF) Analysis:
We added an input for the higher timeframe (higher_tf), where the trend is checked on a higher timeframe to confirm the primary trend direction.
Complex Trend Detection:
The trend is determined not only by the current timeframe but also by the trend on the higher timeframe, giving a more comprehensive and reliable signal.
Dynamic Fibonacci Levels:
Fibonacci lines are plotted dynamically, extending them based on price movement, with the Fibonacci retracement drawn only when a trend is identified.
Background Color & Labels:
A background color is added to give a clear indication of the trend direction. Green for uptrend, red for downtrend. It makes it visually easier to understand the current market structure.
"Buy" or "Sell" labels are shown directly on the chart to mark possible entry points.
Strategy and Backtesting:
The script includes strategy commands (strategy.entry and strategy.exit), which allow for backtesting the strategy in TradingView.
Stop loss and take profit conditions are added (loss=100, profit=200), which can be adjusted according to your preferences.
Next Steps:
Test with different timeframes: Try changing the higher_tf to different timeframes (like "60" or "240") and see how it affects the trend detection.
Adjust Fibonacci settings: Modify how the Fibonacci levels are calculated or add more Fibonacci levels like 38.2%, 61.8%, etc.
Optimize Strategy Parameters: Fine-tune the entry/exit logic by adjusting stop loss, take profit, and other strategy parameters.
This should give you a robust foundation for creating advanced trend detection strategies
20 EMA Touch Alert [v5]The Focuz 20 EMA Touch Alert is a simple yet powerful tool developed by Focuz to help traders stay alert when the market price touches the 20-period Exponential Moving Average (EMA).
Stable Coin Dominance RSI with Proportional + InvertStable Coin Dominance RSI with addition of an Invert checkbox to align direction with pricing.
Current Average Gain and LossThe Momentum-Based Non-Lagging Indicator for Swift Trade Decisions is a unique, non-lagging technical analysis tool designed for high-frequency scalping trades with timeframes ranging from 1 minute to 2 hours. This indicator calculates and plots the moving averages of gains and losses over a 14-day period, providing instantaneous buy and sell signals based on real-time market condition
My Strategy//@version=5
strategy("My Strategy", overlay = true)
// Create Indicator's
ema1 = ta.ema(close, 8)
ema2 = ta.ema(close, 18)
ema3 = ta.ema(close, 44)
//plot the Indicators
plot(ema1, title = "EMA1", color = color.blue, linewidth = 2)
plot(ema2, title = "EMA2", color = color.red, linewidth = 2)
plot(ema3, title = "EMA3", color = color.black, linewidth = 2)
// Specify crossover conditions
Enterlong = ta.crossover(ema2, ema3)
Exitlong = ta.crossunder(ema1,ema2)
Entershort = ta.crossunder(ema2, ema3)
Exitshort = ta.crossover(ema1,ema2)
//Execution Logic - Placing Orders
strategy.entry("Long", strategy.long, 1, when = Enterlong)
strategy.close("Long", when = Exitlong)
strategy.entry("Short", strategy.short, 1, when = Entershort)
strategy.close("Short", when = Exitshort)
My CustomThis indicator combines the Session VWAP, EMA 13 by 21 crossover,Support and resistances and Previous day High/Low with 38.2% and 61.8% retracements.
So, one can confirm these for trading intraday as well as swing trade.
Çoklu Zaman Aralıklı Smoothed Heiken Ashi Al-Sat SinyalleriMulti-Timeframe Smoothed Heiken Ashi Buy-Sell Signals
The Multi-Timeframe Smoothed Heiken Ashi Buy-Sell Signals indicator is a powerful tool designed for traders who seek to enhance their decision-making process by combining the clarity of Heiken Ashi candles with the precision of multi-timeframe analysis. This innovative indicator provides smoothed Heiken Ashi signals across multiple timeframes, allowing traders to identify trends, reversals, and potential entry/exit points with greater confidence.
Key Features:
Smoothed Heiken Ashi Calculation:
The indicator uses a smoothed version of Heiken Ashi candles, which reduces market noise and provides a clearer representation of price trends.
Heiken Ashi candles are recalculated to highlight the underlying momentum, making it easier to spot trend continuations and reversals.
Multi-Timeframe Analysis:
Traders can analyze Heiken Ashi signals across three customizable timeframes simultaneously (e.g., 1-minute, 5-minute, and 15-minute).
This multi-timeframe approach helps confirm trends and signals by aligning short-term and long-term perspectives.
Buy-Sell Signals:
The indicator generates buy signals when the smoothed Heiken Ashi candles indicate a strong uptrend across all selected timeframes.
Sell signals are triggered when the candles show a strong downtrend, helping traders exit positions or consider short-selling opportunities.
Trend Confirmation:
By combining signals from multiple timeframes, the indicator ensures higher accuracy and reduces false signals.
Traders can use this feature to confirm the strength of a trend before entering a trade.
Customizable Settings:
Users can customize the timeframes, smoothing parameters, and signal thresholds to suit their trading style and preferences.
The indicator also allows for adjustable stop-loss and take-profit levels, enabling better risk management.
Visual Clarity:
The indicator plots buy and sell signals directly on the chart, making it easy to interpret.
Color-coded signals and trend zones (e.g., overbought, oversold) provide a clear visual representation of market conditions.
How It Works:
The indicator calculates smoothed Heiken Ashi values for each selected timeframe.
It then compares the trends across these timeframes to identify high-probability buy and sell opportunities.
When all timeframes align (e.g., uptrend on 1-minute, 5-minute, and 15-minute charts), a strong buy signal is generated. Conversely, a sell signal is triggered when downtrends align across timeframes.
Benefits:
Improved Trend Identification: Smoothed Heiken Ashi candles make it easier to identify and follow trends.
Enhanced Signal Accuracy: Multi-timeframe analysis reduces false signals and increases confidence in trade setups.
Flexible and Adaptable: Customizable settings allow traders to tailor the indicator to their specific needs.
Risk Management: Built-in stop-loss and take-profit features help traders manage risk effectively.
Ideal For:
Swing Traders: Identify and capitalize on medium-term trends.
Day Traders: Use multi-timeframe signals to make quick, informed decisions.
Scalpers: Benefit from the smoothed Heiken Ashi calculations for short-term trades.
Conclusion:
The Multi-Timeframe Smoothed Heiken Ashi Buy-Sell Signals indicator is a versatile and reliable tool for traders of all experience levels. By combining the simplicity of Heiken Ashi candles with the power of multi-timeframe analysis, it provides a clear and actionable roadmap for navigating the markets. Whether you're a day trader, swing trader, or scalper, this indicator can help you make smarter, more confident trading decisions.
Exponential MAThis script is a Pine Script indicator that plots multiple exponential moving averages (EMAs) or simple moving averages (SMAs) on a TradingView chart. It provides a visual representation of market trends and momentum by calculating moving averages for different periods.
The script allows users to toggle between EMAs and SMAs using a boolean flag (exponential). Each moving average is assigned a color based on its trend direction and relationship to a reference moving average (MMA100). The primary moving average (MMA05) is highlighted with dynamic color changes, while the others follow a similar trend-based color scheme.
By displaying multiple moving averages, this indicator helps traders identify trend strength, potential reversals, and overall market direction.
RSI Divergence Indicator - EnhancedOverview: A Pine Script v6 indicator that detects Regular Bullish ("Bull") and Regular Bearish ("Bear") RSI divergences to predict price reversals with enhanced accuracy. Excludes Hidden Bullish and Hidden Bearish signals from plotting but includes them in alerts
Historical Monthly Returns TrackerThe Historical Monthly Returns Tracker is a powerful Pine Script v5 indicator designed to provide a detailed performance analysis of an asset’s monthly returns over time. It calculates and displays the percentage change for each month, aggregated into a structured table. The indicator helps traders and investors identify seasonal trends, recurring patterns, and historical profitability for a selected asset.
Key Features
✅ Historical Performance Analysis – Tracks monthly percentage changes for any asset.
✅ Customizable Start Year – Users can define the beginning year for data analysis.
✅ Comprehensive Data Table – Displays a structured table with yearly returns per month.
✅ Aggregated Statistics – Shows average return, total sum, number of positive months, and win rate (WR) for each month.
✅ Clear Color Coding – Highlights positive returns in green, negative in red, and neutral in gray.
✅ Works on Daily & Monthly Timeframes – Ensures accurate calculations based on higher timeframes.
How It Works
Data Collection:
The script fetches monthly closing prices.
It calculates month-over-month percentage change.
The values are stored in a matrix for further processing.
Table Generation:
Displays a structured table where each row represents a year, and each column represents a month (Jan–Dec).
Monthly returns are color-coded for easy interpretation.
Aggregated Statistics:
AVG: The average return per month across all available years.
SUM: The total cumulative return for each month.
+ive: The number of times a month had positive performance vs. total occurrences.
WR (Win Rate): The percentage of times a month had a positive return.
Use Cases
📈 Seasonality Analysis: Identify which months historically perform better or worse.
📊 Risk Management: Plan trading strategies based on historical trends.
🔍 Backtesting Aid: Support algorithmic and discretionary traders with real data insights.
🔄 Asset Comparison: Compare different stocks, forex pairs, or cryptocurrencies for their seasonal behavior.
How to Use
Apply the Indicator to a chart in TradingView.
Ensure your timeframe is Daily or Monthly (lower timeframes are not supported).
The table will automatically populate based on available historical data.
Analyze the patterns, trends, and win rates to optimize trading decisions.
Limitations
⚠️ Requires a sufficient amount of historical data to provide accurate analysis.
⚠️ Works best on high-liquidity assets (stocks, indices, forex, crypto).
⚠️ Not a predictive tool but rather a historical performance tracker.
Final Thoughts
The Historical Monthly Returns Tracker is an excellent tool for traders seeking to leverage seasonal trends in their strategies. Whether you're a stock, forex, or crypto trader, this indicator provides clear, data-driven insights to help refine entry and exit points based on historical patterns.
🚀 Use this tool to make smarter, more informed trading decisions!
EMA Ribbon with 100 MA BY TIJUThe EMA Ribbon with 100 MA is a powerful and visually intuitive indicator designed to help traders identify trends, momentum, and potential support/resistance levels using multiple Exponential Moving Averages (EMAs). By plotting a series of EMAs with varying periods, the script creates a "ribbon" effect on the chart, making it easier to spot trend direction and strength at a glance.
Key Features:
Multiple EMAs for Trend Analysis:
The script plots 8 EMAs with periods ranging from 20 to 55, creating a gradient ribbon effect.
The 100-period EMA is added as a thick blue line, acting as a key level for long-term trend analysis.
Customizable Periods:
Each EMA period is fully customizable, allowing traders to tailor the indicator to their preferred trading style and timeframe.
Visual Clarity:
The EMAs are color-coded, making it easy to distinguish between different periods and identify the overall trend direction.
Dynamic Support/Resistance:
The EMAs act as dynamic support and resistance levels, helping traders identify potential entry and exit points.
Drop Candles Feature:
The script includes an option to drop the first N candles, ensuring cleaner calculations and avoiding false signals during the initial periods.
How to Use:
Trend Identification:
Uptrend: When the shorter-period EMAs are stacked above the longer-period EMAs, it indicates a strong uptrend.
Downtrend: When the longer-period EMAs are stacked above the shorter-period EMAs, it indicates a strong downtrend.
Consolidation: When the EMAs are intertwined, it suggests a sideways or weak trend.
Support/Resistance Levels:
Use the EMAs as dynamic support/resistance levels. For example, in an uptrend, the price may bounce off the lower EMAs.
100-Period EMA:
The 100-period EMA (thick blue line) acts as a key level for long-term trend analysis. A price above this line suggests a bullish bias, while a price below suggests a bearish bias.
Customization:
Adjust the EMA periods and colors to suit your trading strategy.
Use the Drop first N candles option to avoid false signals during the initial periods.
Example Use Cases:
Trend Following:
Enter long positions when the price is above the EMA ribbon and the EMAs are stacked in an uptrend.
Enter short positions when the price is below the EMA ribbon and the EMAs are stacked in a downtrend.
Dynamic Support/Resistance:
Use the EMAs as dynamic support/resistance levels for setting stop-loss or take-profit targets.
Confirmation Tool:
Combine the EMA Ribbon with other indicators (e.g., RSI, MACD) to confirm trade signals.
Settings:
MA-1 to MA-8 Periods: Adjust the periods for the 8 EMAs (default: 20, 25, 30, 35, 40, 45, 50, 55).
MA-100 Period: Adjust the period for the 100 EMA (default: 100).
Source: Choose the price source for the EMAs (default: Close).
Drop First N Candles: Drop the first N candles to avoid false signals (default: 1).
Why Use EMA Ribbon ?
Versatility: Suitable for all trading styles (scalping, day trading, swing trading) and timeframes.
Visual Appeal: The color-coded ribbon makes it easy to interpret the trend at a glance.
Customizable: Tailor the indicator to your specific trading strategy.
Dynamic Levels: Use the EMAs as dynamic support/resistance levels for better risk management.
Upward Divergence with RSI ConfirmationUpward divergence detection. A quick brown fox jumps over the lazy dog.
Global M2 Money Supply // Days Offset =Global M2 vs BTC / Days Offset
Chart Explained
This chart illustrates the year-over-year growth in the global money supply (M2) from the top 21 central banks, compared to the price of Bitcoin. The M2 Global measure includes cash, checking and savings deposits, money market accounts, and smaller deposits under $100,000.
An increase in global liquidity indicates that major central banks are making more money available to their economies. They typically achieve this by lowering interest rates or purchasing government bonds and other securities to expand the money supply.
When comparing Bitcoin’s price to the M2 growth rates of central banks like the FED, ECB, PBoC, BoJ, and others, there is a clear correlation—Bitcoin tends to rise in tandem with the growth of the M2 supply. Historically, Bitcoin bull markets have aligned with periods of increased global liquidity.
Indicator Explained
Press settings and add a 72 day offset (or whatever works best for you)
Data for the global money supply has been sourced from the following 21 central banks:
North America: USM, CAM
Eurozone: EUM
Non-Eurozone Europe: CHM, GBM, FIPOP, RUM
Pacific: NZM
Asia: CNM, TWM, HKM, INM, JPM, PHM, SGM
Latin America: BRM, COM, MXM
Middle East: AEM, TRM
Africa: ZAM
This comprehensive data set offers insights into how global liquidity impacts the price of Bitcoin, reinforcing the historical connection between monetary expansion and Bitcoin’s bull markets.
Naveen %R (140) ScreenerNaveen %R (140) Screener
Description: The "Naveen %R (140) Screener" is a custom-built Pine Script indicator designed to identify oversold and overbought conditions in the cryptocurrency market. Tailored for traders who focus on altcoins, this indicator provides a sophisticated approach to market analysis using the Williams %R formula, adapted with a longer period of 140 to capture more extensive market cycles.
Features:
Longer Lookback Period: Utilizes a 140-period high and low to calculate the Williams %R, providing a broader view of market sentiment and potential reversals.
Oversold and Overbought Signals: Clearly marks oversold conditions when the indicator value falls below -95, and overbought conditions when it rises above -5.
Customizable Alerts: Traders can set alerts for oversold and overbought signals, enabling timely decisions based on specific trading strategies.
Visual Tools: Includes blue lines to display the Williams %R values, with red and green horizontal lines marking overbought and oversold thresholds, respectively.
Screener Compatibility: Optimized for use in TradingView’s cryptocurrency screener, allowing traders to filter and identify potential trading opportunities across multiple altcoins based on the indicator’s signals.
Use Case: Ideal for traders looking for a reliable technical tool to gauge extreme conditions in the altcoin markets. Whether you are a day trader aiming for quick turnovers or a long-term investor looking for entry and exit points, the Naveen %R (140) Screener helps you navigate the volatility with more confidence.
How to Use:
Apply the indicator to any cryptocurrency chart within TradingView.
Configure alerts to be notified when oversold or overbought conditions are met.
Use the output of this script to filter altcoins in the TradingView screener, helping you focus your analysis on coins that meet specific criteria set by the indicator.
Perfect for both new and experienced traders, the "Naveen %R (140) Screener" is a must-have tool in your trading arsenal to enhance your decision-making process and refine your trading strategies.