JCM_MadridThis indicator provides dynamic bar coloring and buy/sell signals based on EMA relationships and price momentum. It allows traders to visually identify trend changes and potential trade opportunities directly on the chart.
Indicator Basics:
Name: The script is titled "JCM_Madrid".
Overlay: It overlays its calculations and outputs directly on the price chart.
User Inputs:
-Range: Defines the length of the EMA (Exponential Moving Average).
-Ref-1 and Ref-2: Set reference lengths for secondary EMAs used in the calculations.
-Source: The price data source for EMA calculations (e.g., close, open, high, low).
-Enable Buy/Sell: Boolean toggles to activate or deactivate buy and sell signals.
Calculations:
EMA Value: Computes the main EMA based on the source and Range.
CloseMA: The difference between the close price and the EMA.
SqzMA: The difference between a secondary EMA (Ref-1) and the main EMA.
RefMA: The difference between another secondary EMA (Ref-2) and the main EMA.
Bar Coloring:
Bars are colored based on the relationship between SqzMA and CloseMA:
Purple: When SqzMA > CloseMA.
Blue: When SqzMA < CloseMA.
Buy/Sell Signals:
A Buy Signal is generated when:
CloseMA crosses from below to above 0.
The close price is higher than the previous close.
Buy signals are enabled.
A Sell Signal is generated when:
CloseMA crosses from above to below 0.
The close price is lower than the previous close.
Sell signals are enabled.
Signals are displayed as labels on the chart:
"Buy": Green label below the candle.
"Sell": Yellow label below the candle
Multitimeframe
BK Multiple MAIndicator Description:
I am incredibly proud and excited to share my third indicator with the TradingView community! This tool has been instrumental in helping me optimize my positioning and maximize my trades.
Moving Averages (MAs) are among the top three most crucial indicators for trading, and this fully customizable Multi-MA script takes them to the next level. This indicator allows you to fine-tune and personalize every aspect to suit your trading style and strategy. Here's what makes it special:
Full Customization: Adjust the period for each MA independently. Choose the type of MA you want to use for each (EMA, SMA, or RMA).
Color & Line Width: Customize the line color and thickness for clarity on your chart.
Flexibility: Use up to 4 Moving Averages, or choose how many you want to display based on your preference.
Streamlined Interface: Simple and intuitive inputs make it easy to tweak settings on the go.
This tool was designed with precision and adaptability in mind, ensuring it works across all timeframes and trading styles.
A Personal Message:
If you find success with this indicator, I kindly ask that you give back in some way through acts of philanthropy—helping others in the best way you see fit.
Good luck to everyone, and always remember: God gives us everything. May all the glory go to the Almighty!
RSI Status v2 Multi-TFThe RSI provides two values, the RSI and the RSI-EMA. This simple indicator simply displays the status of the RSI (Green/Red) and the associated values for the Weekly, Daily and 4-hour time-frames, regardless of what time-frame you are viewing. The exception is the 4-hour value, that will have a minor difference when viewed from the Daily or Weekly due to the code picking up the first 4-hour reading of the day rather than the final 4-hour (end-of-day). It will read correctly when viewing the 4-hour chart.
BK BB Horizontal LinesIndicator Description:
I am incredibly proud and excited to share my second indicator with the TradingView community! This tool has been instrumental in helping me optimize my positioning and maximize my trades.
Bollinger Bands are a critical component of my trading strategy. I designed this indicator to work seamlessly alongside my previously introduced tool, "BK MA Horizontal Lines." This indicator focuses specifically on the Daily Bollinger Bands, applying horizontal lines to the bands for clarity and ease of use. The settings are fully adjustable to suit your preferences and trading style.
If you find success with this indicator, I kindly ask that you give back in some way through acts of philanthropy, helping others in the best way you see fit.
Good luck to everyone, and always remember: God gives us everything. May all the glory go to the Almighty!
BK MA Horizontal Lines
Indicator Description:
I am incredibly proud and excited to share my first indicator with the TradingView community! This tool has been instrumental in helping me optimize my positioning and maximize my trades.
Moving Averages (MAs) are among the top three most crucial indicators for trading, and I believe that the Daily, Weekly, and Monthly MAs are especially critical. The way I’ve designed this indicator allows you to combine MAs from your Daily timeframe with one or two from the Weekly or Monthly timeframes, depending on what is most relevant for the specific product or timeframe you’re analyzing.
For optimal use, I recommend:
Spacing your chart about 11 spaces from the right side.
Setting the Labels at 10 in the indicator configuration.
Keeping the line thickness at size 1, while using size 2 for my other indicator, "BK BB Horizontal Lines", which follows a similar concept but applies to Bollinger Bands.
If you find success with this indicator, I kindly ask that you give back in some way through acts of philanthropy, helping others in the best way you see fit.
Good luck to everyone, and always remember: God gives us everything. May all the glory go to the Almighty!
GROK - 40 Day High BreakoutTitle: GROK - Customizable High Breakout Detector
To scan base breakout with Pine Screener
Description:
This Pine Script indicator identifies high breakout patterns based on a user-defined lookback period. By default, it checks for a breakout of the 40-day high, but the period can be adjusted to suit your trading strategy. Key features include:
Custom Lookback Period: Easily modify the number of days for high breakout detection. Lookback period is length of base you want to scan using pine screener.
Visual Alerts: Displays a green triangle above the price bar when a breakout is detected.
Alert Conditions: Built-in alert notifications for automated breakout detection.
Screener Compatibility: Plots breakout signals as a histogram for screener use.
This script is ideal for traders looking to identify strong breakout patterns and incorporate them into their strategies.
How to Use:
Adjust the lookback period in the settings to match your desired breakout criteria.
Add alerts for automated notifications when a breakout is detected.
Use the visual markers and histogram to analyze breakout patterns on your chart.
The Final CountdownDescription:
The Final Countdown is a multi-timeframe candle countdown tool with the following features:
Dynamic Color-Coded Countdowns: Easily track candle closings with green, yellow, and red colors based on remaining time. Fully customizable thresholds.
Customizable Timeframes: Monitor up to 8 timeframes simultaneously, from 1-minute to weekly candles.
Alerts for Candle Closures: Get notified when a candle is about to close (red zone).
Flexible Display Options: Choose between vertical or horizontal layouts, adjust table size, and enable/disable individual timeframes.
Real-Time Updates: Seamlessly integrates with live charts to ensure accurate countdowns.
User-Friendly Settings: Modify colors, alert thresholds, and other parameters directly from the settings menu.
---------------------------------------------------------------
Dynamic Color-Coded Countdowns (In-Depth)
The countdown changes color based on how much time remains before a candle closes:
Green: Ample time remains.
Yellow: A warning that the candle is nearing its close.
Red: The candle is about to close imminently, requiring immediate attention.
Default Settings:
Green to Yellow: When 50% of the time has elapsed.
Yellow to Red: When only 10% of the time remains.
These percentages can be easily adjusted in the indicator settings to fit your trading needs. For example, you can set the transition to yellow at 70% elapsed time or adjust the red zone to begin with 5% time remaining for more urgency.
Stay prepared, stay informed, and never miss an important candle close with The Final Countdown!
Inside Bar Multi-Currency ScannerDescription:
This script is an Inside Bar Scanner that allows you to monitor multiple currency pairs across different timeframes (15 minutes, 1 hour, and 4 hours). Its main features include:
Inside Bar Detection:
An Inside Bar is a candlestick where both the High and Low are within the range of the previous candle.
The script automatically identifies Inside Bars and displays the results in a table.
Customizable Timeframes:
Supports scanning in 15-minute, 1-hour, and 4-hour timeframes.
Results are displayed for each timeframe separately.
Multi-Currency Support:
Scan up to 10 currency pairs simultaneously.
Currency pairs are customizable and selected by the user.
Candle Coloring:
Inside Bars are highlighted with colors:
Semi-transparent green for bullish Inside Bars.
Semi-transparent red for bearish Inside Bars.
Colors are customizable and selected by the user.
Alerts:
Custom alerts for detecting Inside Bars in selected timeframes.
Receive notifications when an Inside Bar is detected in any of the selected currency pairs.
How to Use:
Select your desired currency pairs from the Scanner Currencies section.
Enable your preferred timeframes in the Scanner Timeframe section.
The script will display a table of results with Inside Bar information for each currency pair and timeframe.
Optionally, customize the candle colors in the Scanner InsideBar Color section.
Additional Explanation for Timeframe Status:
In each selected timeframe, there are three possible states for the candles:
Previous Candle is an Inside Bar:
Displayed with a green background and the symbol ✔.
Previous Candle is NOT an Inside Bar:
Displayed with a red background and the symbol ✘.
Current Candle is an Inside Bar:
Displayed with an orange background and the symbol ⌕.
These visual indicators provide a clear and quick overview of the Inside Bar status for each selected currency pair and timeframe.
Real-Time HTF Volume Footprint [BigBeluga]Real-time HTF Volume Footprint Profile is designed to provide a comprehensive view of higher timeframe volume profiles on your current chart. It overlays critical volume information from larger timeframes (like daily, weekly, or monthly) onto lower timeframe charts, helping you spot significant levels where volume is concentrated, acting as potential support or resistance.
🔵 Key Features:
HTF High and Low Zones: The indicator highlights the high and low of the chosen higher timeframe with clear zones, marking them with boxes. These zones help you see the broader market structure at a glance.
Volume Profile within HTF Range: Each higher timeframe range displays a volume profile, showing the distribution of volume at each price level. The most-traded price is highlighted in blue, known as the Point of Control (POC), indicating the price level with the highest activity.
Dynamic POC Option: Activate Dynamic POC to observe how the Point of Control shifts over time, giving insight into changing market interests and potential price direction.
Timeframe Flexibility: Select from daily, weekly, and monthly ranges (and more) to overlay their footprint profiles on your lower timeframe chart. This helps you tailor the indicator to the trading horizon that suits your strategy.
Info Table: Table shows a traders which timeframe is selected with last high and low of the selected timeframe
Visual Clarity with Custom Colors: The indicator uses subtle fills and distinct colors to ensure volume profile data integrates seamlessly into your chart without overwhelming other indicators or price data.
🔵 When to Use:
The HTF Volume Footprint Profile is essential for traders who want to bridge the gap between high-timeframe and intraday analysis. By visualizing HTF volume distribution on lower timeframes, this tool helps you:
Spot potential liquidity zones where price might react.
Identify support and resistance levels within HTF ranges.
Monitor PoC shifts that indicate changes in market behavior.
Track how current price aligns with significant volume clusters, providing a clear edge for volume-based strategies.
This indicator empowers traders to analyze lower timeframes with the context of higher timeframe volume profiles, providing a solid basis for identifying critical support and resistance levels shaped by large volume clusters. Whether you’re looking to spot liquidity zones or align your trades with broader market trends, HTF Volume Footprint Profile equips you with a strategic view.
Intrabar BoxPlotThe Intrabar BoxPlot publication highlights an uncommon technique by displaying statistical intrabar Lower Timeframe (LTF) values on the chart.
🔶 USAGE
🔹 Middle 50% Boxes
By showing the middle 50% intrabar values through a box, we can more easily see where the intrabar activity is mainly situated.
The middle 50% intrabar values are referred to from here on as Interquartile range (IQR).
In this example, the successive IQRs form a channel where the price eventually breaks out.
Disproportionately distributed values can give insights which can be used to find potential support/resistance areas.
IQR gaps can give valuable information as well. Potentially, the price can return to these gaps.
Seeing the IQR areas against regular candles gives an alternative image of the underlying price movements.
🔹 Highest volume Price level
The script displays the price level with the highest volume situated, dependable on the user's source setting. Setting the source at 'close' will only display intrabar close values; the same goes for high, low, ...
As seen in the above example, the volume levels can aid in finding support/resistance.
🔹 Median
The location of the median off all intrabar values is displayed as a coloured dot: green when the close price is higher than the opening price and red if otherwise. The median can give valuable insights into price movements.
🔹 Outliers
Medium (white dots) and extreme (white X) outliers, in combination with the IQR box, can help identify potential areas of interest.
🔹 Volume Delta
When there is a discrepancy between the delta volume and direction of the candle, this will be displayed as follows:
Green candle: when the sum of the volume of red intrabars is higher than the sum of the volume of green intrabars, the candle will be coloured orange.
Red candle: when the sum of the volume of green intrabars is higher than the sum of the volume of red intrabars, the candle will be coloured blue.
🔹 Highlight Boxplot only
Probably the easiest way to display boxplot only is by changing the Bar's style to Bars .
🔶 DETAILS
All intrabar values (Lower TimeFrame - LTF) are sorted and evaluated. Values can be close , high , low , ... by selecting this in Settings ( source ).
The middle 50% of all values are displayed as a box; this contains the values between percentile 25 (p25) and percentile 75 (p75). The value of percentile rank 75 means 75% of all values are lower. The value of percentile rank 25 means 25% of all values are lower, or 75% is higher.
The difference between p75 and p25 is also known as Interquartile range (IQR)
IQR is used to check for outliers.
Wiki: Boxplot , Interquartile range
Extreme high: maximum value, higher than p75 + IQR*3
Max outlier high: maximum value, higher than p75 + IQR*1.5 but lower than p75 + IQR*3
Max: maximum value, lower than p75 + IQR*1.5
Min: minimum value, higher than p25 - IQR*1.5
Min outlier low: minimum value, lower than p25 - IQR*1.5 but higher than p25 - IQR*3
Extreme low: minimum value, lower than p25 - IQR*3
Max and min must not be interpreted with the current candle high/low.
🔹 Example: Length of chart-puppets
The following example can make it easier to digest. Forty "chart-puppets" are sorted by their length.
The p25 value is 97
The p50 value is 120
The p75 value is 149
75% of all "chart-puppets" are smaller than p75, and 25% is larger than p75.
50% of all "chart-puppets" are smaller than p50, and 50% is larger than p50 (= median).
25% of all "chart-puppets" are smaller than p25, and 75% is larger than p25.
IQR = 149 - 97 = 52
Extreme outlier limit max: p75 + IQR*3 = 149 + 52*3 = 305
Mild outlier limit max: p75 + IQR*1.5 = 149 + 52*1.5 = 227
Mild outlier limit min: p25 - IQR*1.5 = 97 - 52*1.5 = 19
Extreme outlier limit min: p25 - IQR*3 = 97 - 52*3 = -59
In this example there are no outliers to be found, all values are located between p25 - IQR*1.5 (19) and p75 + IQR*1.5. (227)
🔹 Source settings
Note that results are dependable on the chosen source (settings). When, for example, close is chosen as the source, only intrabar close prices are included. This means a low or high can stretch further then the min or max.
Here we can see different results with different source settings
🔹 LTF settings
When 'Auto' is enabled (Settings, LTF), the LTF will be the nearest possible x times smaller TF than the current TF. When 'Premium' is disabled, the minimum TF will always be 1 minute to ensure TradingView plans lower than Premium don't get an error.
Examples with current Daily TF (when Premium is enabled):
500 : 3 minute LTF
1500 (default): 1 minute LTF
5000: 30 seconds LTF (1 minute if Premium is disabled)
🔶 SETTINGS
Source: Set source at close, high, low,...
🔹 LTF
LTF: LTF setting
Auto + multiple: Adjusts the initial set LTF
Premium: Enable when your TradingView plan is Premium or higher
🔹 Intrabar Delta : Colors, dependable on different circumstances.
Up: Price goes up, with more bullish than bearish intrabar volume.
Up-: Price goes up, with more bearish than bullish intrabar volume.
Down: Price goes down, with more bearish than bullish intrabar volume.
Down+: Price goes down, with more bullish than bearish intrabar volume.
🔹 Table
Show table: Show details at the top right corner
Show TF: Show LTF at the bottom right corner
Text color/table size
See DETAILS for more information
Austin MTF EMA Entry PointsAustin MTF EMA Entry Points
Overview
The Austin MTF EMA Entry Points is a custom TradingView indicator designed to assist traders in identifying high-probability entry points by combining multiple time frame (MTF) analysis. It leverages exponential moving averages (EMAs) from the daily, 1-hour, and 15-minute charts to generate buy and sell signals that align with the overall trend.
This indicator is ideal for traders who:
Want to trade in the direction of the broader daily trend.
Seek precise entry points on lower time frames (1H and 15M).
Prefer using EMAs as their main trend-following tool.
How It Works
Daily Trend Filter:
The indicator calculates the 50 EMA on the daily chart.
The daily EMA acts as the primary trend filter:
If the current price is above the daily 50 EMA, the trend is bullish.
If the current price is below the daily 50 EMA, the trend is bearish.
Lower Time Frame Entry Points:
The indicator calculates the 20 EMA on both the 1-hour (1H) and 15-minute (15M) time frames.
Buy and sell signals are generated when the price aligns with the trend on all three time frames:
Buy Signal: Price is above the daily 50 EMA and also above the 20 EMA on both the 1H and 15M charts.
Sell Signal: Price is below the daily 50 EMA and also below the 20 EMA on both the 1H and 15M charts.
Visual and Alert Features:
Plot Lines:
The daily 50 EMA is plotted in yellow for easy identification of the main trend.
The 20 EMA from the 1H chart is plotted in blue, and the 15M chart's EMA is in purple for comparison.
Buy/Sell Markers:
Green "Up" arrows appear for buy signals.
Red "Down" arrows appear for sell signals.
Alerts:
Alerts notify users when a buy or sell signal is triggered, making it easier to act on trading opportunities in real-time.
How to Use the Indicator
Identify the Main Trend:
Check the relationship between the price and the daily 50 EMA (yellow line):
Only look for buy signals if the price is above the daily 50 EMA.
Only look for sell signals if the price is below the daily 50 EMA.
Wait for Lower Time Frame Alignment:
For a valid signal, ensure that the price is also above or below the 20 EMA (blue and purple lines) on both the 1H and 15M time frames:
This alignment confirms short-term momentum in the same direction as the daily trend.
Act on Signals:
Use the arrows as visual cues for entry points:
Enter long trades on green "Up" arrows.
Enter short trades on red "Down" arrows.
The alerts will notify you of these signals, so you don’t have to monitor the chart constantly.
Exit Strategy:
Use your preferred stop-loss, take-profit, or trailing stop strategy.
You can also exit trades if the price crosses back below/above the daily 50 EMA, signaling a potential reversal.
Use Cases
Swing Traders: Use the daily trend filter to trade in the direction of the dominant trend, while using 1H and 15M signals to fine-tune entries.
Day Traders: Leverage the 1H and 15M time frames to capitalize on short-term momentum while respecting the broader daily trend.
Position Traders: Monitor the indicator to determine potential reversals or significant alignment across time frames.
Customizable Inputs
The indicator includes the following inputs:
Daily EMA Length: Default is 50. Adjust this to change the length of the trend filter EMA.
Lower Time Frame EMA Length: Default is 20. Adjust this to change the short-term EMA for the 1H and 15M charts.
Time Frames: Hardcoded to "D", "60", and "15", but you can modify the script for different time frames if needed.
Example Scenarios
Buy Signal:
Price is above the daily 50 EMA.
Price crosses above the 20 EMA on both the 1H and 15M time frames.
A green "Up" arrow is displayed, and an alert is triggered.
Sell Signal:
Price is below the daily 50 EMA.
Price crosses below the 20 EMA on both the 1H and 15M time frames.
A red "Down" arrow is displayed, and an alert is triggered.
Strengths and Limitations
Strengths:
Aligns trades with the higher time frame trend for increased probability.
Uses multiple time frame analysis to identify precise entry points.
Visual signals and alerts make it easy to use in real-time.
Limitations:
May produce fewer signals in choppy or ranging markets.
Requires discipline to avoid overtrading when conditions are unclear.
Lag in EMAs could result in late entries in fast-moving markets.
Final Notes
The Austin MTF EMA Entry Points indicator is a powerful tool for traders who value multiple time frame alignment and trend-following strategies. While it simplifies decision-making, it is always recommended to backtest and practice proper risk management before using it in live markets.
Try it out and make smarter, trend-aligned trades today! 🚀
Tomas Ratio Strategy with Multi-Timeframe AnalysisHello,
I would like to present my new indicator I have compiled together inspired by Calmar Ratio which is a ratio that measures gains vs losers but with a little twist.
Basically the idea is that if HLC3 is above HLC3 (or previous one) it will count as a gain and it will calculate the percentage of winners in last 720 hourly bars and then apply 168 hour standard deviation to the weekly average daily gains.
The idea is that you're supposed to buy if the thick blue line goes up and not buy if it goes down (signalized by the signal line). I liked that idea a lot, but I wanted to add an option to fire open and close signals. I have also added a logic that it not open more trades in relation the purple line which shows confidence in buying.
As input I recommend only adjusting the amount of points required to fire a signal. Note that the lower amount you put, the more open trades it will allow (and vice versa)
Feel free to remove that limiter if you want to. It works without it as well, this script is meant for inexperienced eye.
I will also publish a indicator script with this limiter removed and alerts added for you to test this strategy if you so choose to.
Also, I have added that the trades will enter only if price is above 720 period EMA
Disclaimer
This strategy is for educational purposes only and should not be considered financial advice. Always backtest thoroughly and adjust parameters based on your trading style and market conditions.
Made in collaboration with ChatGPT.
Previous Key Levels (fadi)Previous Key Levels indicator is a highly configurable OHLC levels tool designed to provide traders with the ability to plot multiple levels while minimizing screen clutter. This indicator is perfect for those who want to monitor various timeframes simultaneously without overloading their charts with unnecessary information.
How to Use It
This indicator offers traders the flexibility to track up to 6 higher timeframes (HTFs) and multiple candles for each timeframe. For example, a trader can choose to monitor the OHLC of the last four 4-hour candles, providing a comprehensive view of significant price levels over different periods.
Key Features
Highly Configurable: Customize the number of timeframes and candles to suit your trading strategy.
Minimal Screen Clutter: Efficiently plot multiple levels without overwhelming your chart.
Flexible Application: Ideal for identifying support and resistance levels, liquidity sweeps, target levels, and more, adapting to various trading styles.
Traders have diverse trading styles and preferences. Some may use these levels to identify support and resistance zones, while others might look for liquidity sweeps or set target levels. By offering a high degree of customization, the Previous Key Levels indicator caters to the unique needs of individual traders, helping them make informed decisions based on historical price action across multiple timeframes.
Timeframe Settings
Toggle to track 6 HTF settings and the number of candles to track for each.
Limit to next HTFs only can be used to limit the HTF levels displayed based on the current timeframe.
Hide Above will disable the indicator above the specified interval.
Offset to Left and Right are used to specify where the level line starts and ends based on the current candle.
Offset between HTFs extends HTF levels to become more readable.
HTF Settings
Choice of the OHLC levels to track.
Specify the color, line style, and line width for each level.
Mark the start of that level, for example, draw a vertical line where the 4H candle has started.
Trace back to draw optional lines to track back to the origin of the level.
Label Settings
Highly configurable labels that allow traders to customize the labels to their liking.
Label color, background, and size.
Customize using up to 9 configurable parts.
Fading Levels
To prevent clutter, the indicator offers the option to change the transparency of the levels based on their distance from the current price. The distance is calculated based on a configurable Average True Range (ATR).
Change Transparency to a percentage of its current color.
Range should be within X candles will fade any level that is X candles length away from the current price.
ATR length used in calculation will calculate the average size of candles in the calculation.
Spread Analysis (COIN/BTC)The Spread Analysis (COIN/BTC) indicator calculates the Z-score of the price ratio between Coinbase stock ( NASDAQ:COIN ) and Bitcoin ( CRYPTOCAP:BTC ). It helps identify overbought or oversold conditions based on deviations from the historical mean of their price relationship.
Key Features:
Z-Score Calculation:
• Tracks the relative price ratio of NASDAQ:COIN to $BTC.
• Compares the current ratio to its historical average, highlighting extreme overvaluation or undervaluation.
• Buy and Sell Signals:
• Buy Signal: Triggered when the Z-score is less than -2, indicating NASDAQ:COIN may be undervalued relative to $BTC.
• Sell Signal: Triggered when the Z-score exceeds 2, suggesting NASDAQ:COIN may be overvalued relative to $BTC.
• Dynamic Z-Score Visualization:
• Blue line plots the Z-score over time.
• Dashed lines at +2 and -2 mark overbought and oversold thresholds.
• Green and red triangles highlight actionable buy and sell signals.
Use Case:
This indicator is ideal for identifying relative valuation opportunities between NASDAQ:COIN and $BTC. Use it to exploit divergences in their historical relationship and anticipate potential reversions to the mean.
Limitations:
• Best suited for range-bound markets; may produce false signals in strongly trending conditions.
• Assumes a consistent correlation between NASDAQ:COIN and CRYPTOCAP:BTC , which may break during independent price drivers like news or earnings.
Market MonitorOverview
The Market Monitor Indicator provides a customisable view of dynamic percentage changes across selected indices or sectors, calculated by comparing current and previous closing prices over the chosen timeframe.
Key Features
Choose up to 20 predefined indices or your own selected indices/stocks.
Use checkboxes to show or hide individual entries.
Monitor returns over daily, weekly, monthly, quarterly, half-yearly, or yearly timeframes
Sort by returns (descending) to quickly identify top-performing indices or alphabetically for an organised and systematic review.
Customisation
Switch between Light Mode (Blue or Green themes) and Dark Mode for visual clarity.
Adjust the table’s size, position, and location.
Customise the table title to your own choice e.g. Sectoral, Broad, Portfolio etc.
Use Cases
Use multiple instances of the script with varying timeframes to study sectoral rotation and trends.
Customise the stocks to see your portfolio returns for the day or over the past week, or longer.
Polyphase MACD (PMACD)The Polyphase MACD (PMACD) uses polyphase decimation to create a continuous estimate of higher timeframe MACD behavior. The number of phases represents the timeframe multiplier - for example, 3 phases approximates a 3x higher timeframe.
Traditional higher timeframe MACD indicators update only when each higher timeframe bar completes, creating stepped signals that can miss intermediate price action. The PMACD addresses this by maintaining multiple phase-shifted MACD calculations and combining them with appropriate anti-aliasing filters. This approach eliminates the discrete jumps typically seen in higher timeframe indicators, though the resulting signal may sometimes deviate from the true higher timeframe values due to its estimative nature.
The indicator processes price data through parallel phase calculations, each analyzing a different time-offset subset of the data. These phases are filtered and combined to prevent aliasing artifacts that occur in simple timeframe conversions. The result is a smooth, continuous signal that begins providing meaningful values immediately, without requiring a warm-up period of higher timeframe bars.
The PMACD maintains the standard MACD components - the MACD line (fast MA - slow MA), signal line, and histogram - while providing a more continuous view of higher timeframe momentum. Users can select between EMA and SMA calculations for both the oscillator and signal components, with all calculations benefiting from the same polyphase processing technique.
Polyphase Stochastic RSI (PSRSI)The Polyphase Stochastic RSI (PSRSI) provides a continuous estimate of higher timeframe Stochastic RSI behavior by using polyphase decimation. The number of phases represents the timeframe multiplier - for example, 3 phases approximates a 3x higher timeframe.
While traditional higher timeframe indicators only update at the completion of each higher timeframe bar, the PSRSI creates a continuous signal by maintaining multiple phase-shifted calculations and combining them with appropriate anti-aliasing filters. This approach eliminates the gaps and discontinuities typically seen in higher timeframe indicators, though the resulting signal may sometimes deviate from the true higher timeframe values due to its estimative nature.
The indicator processes data through parallel phase calculations, each handling a different subset of price data offset in time. These phases are then filtered and combined to prevent aliasing artifacts that occur in simple timeframe conversions. The result is a smooth, continuous signal that starts providing meaningful values immediately, without requiring a warm-up period of higher timeframe bars.
Users can choose between RSI and Stochastic RSI modes, with both benefiting from the same polyphase processing technique. The indicator maintains the standard interpretation of overbought and oversold conditions while providing a more continuous view of higher timeframe momentum.
Moving Average Cross; Linear RegressionThis Pine Script is designed to display smoothed linear regression lines on a chart, with an option to adjust the regression period lengths and smoothing factor. The script calculates short-term and long-term linear regression lines based on the selected timeframe. These regression lines act as a regressed moving average cross , visually representing the interaction between the two smoothed linear regressions.
Short Regression Line: A linear regression line based on a short lookback period, colored blue for an uptrend and orange for a downtrend .
Long Regression Line: A linear regression line based on a longer lookback period, similarly colored blue for an uptrend and orange for a downtrend .
The script provides input options to adjust:
The length of short and long regression periods.
The smoothing length for the regression lines.
The timeframe for the linear regression calculations.
This tool can help traders observe the crossovers between the two smoothed linear regression lines, which are similar to moving average crossovers, but with the added benefit of regression-based smoothing to reduce noise. The color-coding allows for easy trend identification, with blue indicating an uptrend and orange indicating a downtrend.
Multi TimeFrame OHLC Overlay @MaxMaseratiMulti TimeFrame OHLC Overlay @MaxMaserati
A powerful and versatile indicator that displays OHLC (Open, High, Low, Close) data across multiple timeframes with enhanced visualization features. Perfect for traders who need to analyze price action across different time periods simultaneously.
Key Features:
Customizable multi-timeframe OHLC visualization with box and line overlays
Extended OHLC lines from higher timeframes with clear labeling
Distinct bullish and bearish candle representations
Fully configurable color schemes and display options
Real-time timeframe information display
Main Components:
Multi-Timeframe Display
Primary timeframe OHLC visualization with boxes and lines
Extended timeframe overlay for broader market context
Clear visual distinction between timeframes
Customizable Visuals
Separate color settings for bullish and bearish patterns
Adjustable transparency for both body and wick components
Configurable OHLC line colors and visibility
Extended Lines Features
Higher timeframe OHLC level overlay
Custom labels with timeframe identification
Adjustable line properties and visibility
Information Display
Current timeframe indicator
Extended timeframe reference
Clean and unobtrusive interface
Settings Groups:
Extended OHLC Lines
Labels Options
Display Options
Bullish/Bearish Candle Settings
OHLC Lines Configuration
Usage Tips:
Start with the default 240-minute timeframe or adjust to your preferred interval
Use the extended lines feature to view higher timeframe levels
Customize colors and transparency to match your chart theme
Enable/disable specific components based on your analysis needs
Perfect For:
Multi-timeframe analysis
Support/Resistance identification
Price action trading
Trend following strategies
Market structure analysis
This indicator combines powerful multi-timeframe analysis capabilities with clean visualization, making it an essential tool for traders who need to maintain awareness of price action across different time periods.
Note:
For optimal performance, adjust the visual settings according to your chart's timeframe and color scheme. The indicator is designed to work seamlessly across all trading instruments and timeframes.
Multi Timeframe Candle/Retracement (MTCR)This script provides a visual representation of candlestick and pivot point information from higher timeframes within a lower timeframe chart. It is ideal for traders looking to analyze price movements and identify potential support and resistance zones in the context of a broader timeframe.
Key Features :
Multi-Timeframe Candlestick Visualization:
Displays candlesticks of the selected higher timeframe.
Highlights bullish and bearish candles with distinct colors to identify trends.
Pivot Point Analysis:
Calculates and visualizes pivot points based on the standard or Fibonacci model.
Supports customizable step sizes (rounding pivot values).
Highlights resistance levels (R1, R2, R3), support zones (S1, S2, S3), and a central base line.
Medians and High/Low Zones:
Visualizes median lines between pivot levels.
Optionally displays high and low zones.
Dynamic Updates:
Automatically updates lines and boxes with new candles or pivot calculations.
Visually marks when the current price touches key levels.
Settings :
Timeframe Selection:
Choose a higher timeframe for candlestick and pivot point visualization.
Customizable Colors:
Adjust colors for bullish and bearish candles, as well as for pivot point zones.
Flexible Display Options:
Display only the desired elements, such as pivot lines, median lines, high/low zones, or the base line.
Use Cases :
Identify key support and resistance zones using pivot points.
Analyze price movements on higher timeframes while trading on lower ones.
Utilize median lines to find potential reversal zones or areas for risk/reward analysis.
Notes :
This script is designed for advanced users with a solid understanding of multi-timeframe analysis and pivot points.
It uses multiple drawing objects (lines, boxes), so ensure your chart does not hit its drawing object limit.
Good luck with your trading! 🚀
Trend Strength/DirectionThis is a really good, though complex indicator, so I will add two different explanations so to appease both the laymen and those who take the time to read thoroughly.
Simple Explanation
This indicator utilizes 6HMA's to display their angles
The greater the angle ---> the stronger the trend
If more angles are positive, then trend is very strong
If more are negative, then very negative
Comprehensive Explanation
6 angles, each of a different time frame are used to represent direction and trend strength. Angles are used because they intrinsically represent momentum and speed. An angle of 45 represents a perfect balance between something that can cover the furthest distance without compensating for speed. 1 of the 6 angles is intended(though customizable) to represent the 5 hma's angle. This is because the 5hma is very good at representing very near term price action.
Angle Levels
Its important to understand what the angle levels mean for the underlying hma's. The 0 level represents a hma that is horizontal. This is important because this is the point at which it decides to be bullish or bearish. +/- 45, as noted before, represent bullishness/bearishness that represent strong trends without compensating for speed. A continuous increase/decrease and or a cross of these levels generally indicate significant change in sentiment, of which trades may be taken.
Strategy
You should weigh your decision by those angles that represent the longer time frame. If more angles represent a certain sentiment, it is obviously unwise to fight against that long term sentiment. The purpose of this indicator was to provide a proper representation of trend direction and strength, but also solve the problem of when you should 'dip' buy.
For an example: if all angles are increase or decreasing, then you may use the 5hma's angle to find the proper points at which you will enter a position.
***NOTE: I dont think the +/- 45 bands should indicate 'overbought' or 'oversold' zones that some might assume. Instead you should wait for a crossing of this zone.
InspireHER Dynamic EMA RR Positioning IndicatorDynamic EMA and RR Positioning Indicator
This indicator is designed to provide traders with highly customizable buy and sell signals based on EMA (Exponential Moving Average) crossovers and Risk-to-Reward (RR) ratios. It works on any timeframe and allows users to toggle price data and additional position boxes for visualizing trade setups. Additionally, traders can choose between displaying dots or labeled signals for buy/sell indicators, making this tool versatile and user-friendly for different preferences and strategies.
What Makes This Indicator Unique
Customizable Parameters: The script offers extensive options for tailoring the indicator to your preferred trading style and strategy:
EMA: Configurable through settings (default is a 21-period EMA).
Risk-to-Reward Ratio (RR): Adjustable to meet your desired RR levels (default is 1:2.5).
Lookback Period: Visualizes buy/sell signals over the last six months.
Position Boxes for Trade Visualization: The indicator can "draw" position boxes on the chart, showing potential entry points, stop-loss (SL), and take-profit (TP) levels based on the selected RR. These visual aids simplify decision-making and help evaluate trade opportunities directly on the chart.
Price Data Toggle: Traders can choose to view or hide price data related to trade signals, including TP, SL, and RR values. By default, this is turned off to maintain a clean chart but can be activated when needed.
Flexible Signal Display Options:
Dots Mode: Displays buy signals as green dots and sell signals as red dots on the chart.
Label Mode: Displays buy signals as labels with the word "Buy" in green and sell signals as labels with the word "Sell" in red.
This toggle allows traders to customize how signals are displayed for a more personalized trading experience.
Simple Signal View: A toggle option provides a cleaner chart by enabling or disabling additional visual elements like circles or labels.
How It Works
Buy Signal: Triggered when the price crosses the EMA and closes above it.
Entry: Top of the candle.
Stop-Loss: Bottom of the candle.
Take-Profit: Calculated based on the selected RR.
Sell Signal: Triggered when the price crosses the EMA and closes below it.
Entry: Bottom of the candle.
Stop-Loss: Top of the candle.
Take-Profit: Calculated based on the selected RR.
Default Settings
EMA: 21-period.
Risk-to-Reward Ratio: 1:2.5.
Price Data: Off (can be toggled on in settings).
Position Boxes: Off (can be toggled on in settings).
Signal Display: Labels mode with "Buy" (green) and "Sell" (red) enabled by default; can be toggled to Dots mode.
Timeframe: Any timeframe supported.
How to Use
Add the Indicator to Your Chart: Once applied, the EMA line and buy/sell signals will appear by default.
Customize Settings: Navigate to the indicator's settings to adjust EMA, RR, or enable/disable Price Data, Position Boxes, or switch between Dots and Label modes.
Trade with Confidence: Use the visual aids and signals to assess trade opportunities based on your strategy and timeframe.
This indicator combines the reliability of EMA-based signals with the flexibility of configurable RR, visual trade setups, and multiple signal display options, making it a powerful tool for all types of traders. Happy Trading!!
Supertrend with Correct Y-axis Scaling OLEG_SLSThe functionality of the script:
1. Supertrend Calculation:
-The trend (Supertrend line) is updated dynamically:
-If the price is above the previous trend, the line follows the upper limit.
-If the price is lower, the line follows the lower boundary.
2. Calculation of the Supertrend for the higher timeframe:
-The function is used to calculate the Supertrend for the hourly, regardless of the current timeframe on the chart.
3. Buy and Sell Signals:
-Buy signal: When the price crosses the Supertrend line up and is above the Supertrend line.
-A sales signal: When the price crosses the Supertrend line down and is below the Supertrend line.
4. Display on the chart
-The Supertrend line is displayed:
-Green if the price is above the Supertrend line.
-Red if the price is below the Supertrend line.
-The Supertrend line for the hourly timeframe is displayed in blue.
5. Alerts
Two types of alerts are created:
-Buy Alert: When there is a buy signal.
-Sell Alert: When there is a sell signal.
Features and recommendations:
-Supertrend works best in trending markets. In a sideways movement, it can give false signals.
-Check the signals on multiple timeframes for confirmation.
-Add additional indicators (for example, RSI or MACD) to filter the signals.
-Test the strategy on historical data before using it in real trading.
_________________________________________________________________________________
Функционал скрипта:
1. Расчет Supertrend:
-Тренд (линия Supertrend) обновляется динамически:
-Если цена выше предыдущего тренда, линия следует за верхней границей.
-Если цена ниже, линия следует за нижней границей.
2. Расчет Supertrend для старшего таймфрейма:
-Используется функция чтобы рассчитать Supertrend для часового,независимо от текущего таймфрейма на графике.
3. Сигналы покупки и продажи:
-Сигнал покупки: Когда цена пересекает линию Supertrend вверх и находится выше линии Supertrend.
-Сигнал продажи: Когда цена пересекает линию Supertrend вниз и находится ниже линии Supertrend.
4. Отображение на графике
-Линия Supertrend отображается:
-Зеленым, если цена выше линии Supertrend.
-Красным, если цена ниже линии Supertrend.
-Линия Supertrend для часового таймфрейма отображается синим цветом.
5. Оповещения
Создаются два типа оповещений:
-Buy Alert: Когда возникает сигнал на покупку.
-Sell Alert: Когда возникает сигнал на продажу.
Особенности и рекомендации:
-Supertrend лучше всего работает в трендовых рынках. В боковом движении может давать ложные сигналы.
-Проверяйте сигналы на нескольких таймфреймах для подтверждения.
-Добавьте дополнительные индикаторы (например, RSI или MACD) для фильтрации сигналов.
-Тестируйте стратегию на исторических данных перед использованием в реальной торговле.