SCE ReversalsThis tool uses past market data to attempt to identify where changes in “memory” may occur to spot reversals. The Hurst Exponent was a big inspiration for this code. The main driver is identifying when past ranges expand and contract, leading to a change in direction. With the use of Sum of Squared Errors, users do not need to input anything.
Getting optimized parameters
// Define ranges for N and lkb
N_range = array.from(15, 20, 25, 30, 35, 40, 45, 50, 55, 60)
// Function to calculate SSE
sse_calc(_N) =>
x = math.pow(close - close , 2)
y = math.pow(close - close , 2) + math.pow(close, 2)
z = x / y
scaled_z = z * math.log(_N)
min_r = ta.lowest(scaled_z, _N)
max_r = ta.highest(scaled_z, _N)
norm_r = (scaled_z - min_r) / (max_r - min_r)
SMA = ta.sma(close, _N)
reversal_bullish = norm_r == 1.000 and norm_r < 0.90 and close < SMA and session.ismarket and barstate.isconfirmed
reversal_bearish = norm_r == 1.000 and norm_r < 0.90 and close > SMA and session.ismarket and barstate.isconfirmed
var float error = na
if reversal_bullish or reversal_bearish
error := math.pow(close - SMA, 2)
error
else
error := 999999999999999999999999999999999999999
error
error
var int N_opt = na
var float min_SSE = na
// Loop through ranges and calculate SSE
for N in N_range
sse = sse_calc(N)
if na(min_SSE) or sse < min_SSE
min_SSE := sse
N_opt := N
The N_range list encompasses every lookback value to check with. The sse_calc function accepts an individual element to then perform the calculation for Reversals. If there is a reversal, the error becomes how far away the close is from a moving average with that look back. Lowest error wins. That would be the look back used for the Reversals calculation.
Reversals calculation
// Calculating with optimized parameters
x_opt = math.pow(close - close , 2)
y_opt = math.pow(close - close , 2) + math.pow(close, 2)
z_opt = x_opt / y_opt
scaled_z_opt = z_opt * math.log(N_opt)
min_r_opt = ta.lowest(scaled_z_opt, N_opt)
max_r_opt = ta.highest(scaled_z_opt, N_opt)
norm_r_opt = (scaled_z_opt - min_r_opt) / (max_r_opt - min_r_opt)
SMA_opt = ta.sma(close, N_opt)
reversal_bullish_opt = norm_r_opt == 1.000 and norm_r_opt < 0.90 and close < SMA_opt and close > high and close > open and session.ismarket and barstate.isconfirmed
reversal_bearish_opt = norm_r_opt == 1.000 and norm_r_opt < 0.90 and close > SMA_opt and close < low and close < open and session.ismarket and barstate.isconfirmed
X_opt and y_opt are the compared values to develop the system. Everything done afterwards is scaling and using it to spot the Reversals. X_opt is the current close, minus the close with the optimal N bars back, squared. Then y_opt is also that but plus the current close squared. Z_opt is then x_opt / y_opt. This gives us a pretty small number that will go up when we approach tops or bottoms. To make life a little easier I normalize the value between 0 and 1.
After I find the moving average with the optimal N, I can check if there is a Reversal. Reversals are there when the last value is at 1 and the current value drops below 0.90. This would tell us that “memory” was strong and is now changing. To determine direction and help with accuracy, if the close is above the moving average it is a bearish alert, and vice versa. As well as the close must be below the last low for a bearish Reversal, above the last high for a bullish Reversal. Also the close must be above the open for a bullish Reversal, and below for a bearish one.
Visual examples
This NASDAQ:TSLA chart shows how alerts may come around. The bullish and bearish labels are plotted on the chart along with a reference line to see price interact with.
The indicator has the potential to be inactive, like we see here on $OKLO. There is only one alert, and it marks the bottom nicely.
Stocks with strong trends like NYSE:NOW may be more susceptible to false alerts. Assets that are volatile and bounce around a lot may be better.
It works on intra day charts the same as on Daily or longer charts. We see here on NASDAQ:QQQ it spotted the bottom on this particular trading day.
This tool is meant to aid traders in making decisions, not to be followed blindly. No trading tool is 100% accurate and Sum of Squared Errors does not guarantee the most optimal value. I encourage feedback and constructive criticism.
Formacje wykresów
Smart Money Breakouts [iskess 01-02 11:05]This is an big update to the excellent Smart Money Breakout Script published in Oct 2023 by ChartPrime who, to my knowledge, was the original author.
FULL CREDIT GOES TO CHARTPRIME FOR THIS ORIGINAL WORK.
Per the moderator's rules, you will find below a meaningful, detailed self-contained description that does not rely on delegation to the open source code or links to other content. You will find in the description details on what the script does, how it does that, how to use it, and how it is original.
The "Smart Money Breakouts" indicator is designed to identify breakouts based on changes in character (CHOCH) or breaks of structure (BOS) patterns, facilitating automated trading with user-defined Take Profit (TP) level.
The indicator incorporates essential elements such as volume analysis and a data table to assist traders in optimizing their strategies.
🔸Breakout Detection:
The indicator scans price movements for "Change in Character" (CHOCH) and "Break of Structure" (BOS) patterns, signaling potential breakout opportunities in the market.
🔸User-Defined TP/SL :
Traders can customize the Take Profit (TP) and Stop Loss (SL) through the indicator settings, with these levels dynamically calculated based on the Average True Range (ATR). This allows for precise risk management and profit targets that adapt to market volatility. Traders can also select the lookback period for the TP/SL calculations.
🔸Volume Analysis and Trade Direction Specific Analysis:
The indicator includes a volume checker that provides valuable insights into the strength of the breakout, taking into account trade direction.
🔸If the volume label is red and the trade is long, it suggests a higher likelihood of hitting the Stop Loss (SL).
🔸If the volume label is green and the trade is long, it indicates a higher probability of hitting the Take Profit (TP).
🔸For short trades, a red volume label suggests a higher likelihood of hitting TP, while a green label suggests a higher likelihood of hitting SL.
🔸A yellow volume label suggests that the volume is inconclusive, neither favoring bullish nor bearish movements.
🔸Data Table:
The indicator features a data table that keeps track of the number of winning and losing trades for specific timeframes or configurations. It also shows the percentage of profits vs losses, and the overall profit/loss for the selected lookback period.
This table serves as a valuable tool for traders to analyze performance and discover optimal settings and timeframes.
The "Smart Money Breakouts" indicator provides traders with a comprehensive solution for breakout trading, combining technical analysis of changes in character and breaks of structure, volume insights, and performance tracking while dynamically adjusting TP and SL levels based on market volatility through the ATR.
This version of the script is a "significant improvement" from Chart Prime's original work in the following ways:
- A selectable range of candles for the profit/loss calculations to look back on.
- An updated table that includes the percentage of wins/losses, and and overall P&L during the selected lookback range.
- The user can now select only Long trades, Short trades, or both.
- The percentage gain/loss is now indicated for every trade on the chart.
- The user can now select a different multiplier for Stop Loss or Take Profit thresholds.
Custom Percent Pullback LevelThis script takes a stock's current day low and current day high and lets you set a custom pullback level (line and label on the chart) that you can then set an alert for or use as an indicator if the stock is still bullish or bearish.
Pullbacks can be useful for momentum runners to identify potential continuation. As a rule of thumb many people want to see that stock hold onto at least 33% of it's daily gain to continue a bullish look. Some people may want it to hold 50%, and others may want to see a certain amount of gains held through new highs.
This tool allows you to set a custom pullback level for that day so you can easily spot on the chart if the stock is nearing or falling below those levels. You can also set an alert for that level in order to get your attention.
Candle % Close with Bullish/Bearish EvaluationI created the indicator to more quickly define the polarity of candles. For a large number of candles, it is straightforward to determine whether a candle is bullish or bearish. However, candles with long wicks often appear, making it uncertain whether the candle is bullish or bearish from a price action perspective. It is not a rule that a red candle is bearish and a green candle is bullish.
From a more advanced price action standpoint, how these candles close is important. Therefore, I created the 'Percent range' input. By default, it is set to 50% (high-low)/2. This way, the indicator precisely determines 50% of the candle's entire range. This allows us to determine whether a bearish candle truly closed below 50% of its range. If not, such a candle is considered bullish, even if it is a negative candle. The same applies to bullish candles, but conversely. If a positive candle closes below 50% of its range, from a price action perspective, it is considered a bearish candle.
Since in price action it is common for the price to return to 50% of the previous candle and, after filling, to continue in the established trend, I added the line extension option. Whatever high value you enter, the line extension follows the current candle. This option works only when the stop line checkbox is enabled. This way, you can plot 50% of the candle's range that the market has historically not returned to due to a strong trend. Often, this line is plotted on a candle where there is also an FVG, which can help you more easily find a point of interest.
Stop line extension : Ensures the interruption of line plotting when the candle is touched by the body or wick.
Advanced Divergence IndicatorAdvanced Divergence Indicator
Unlock the full potential of your trading strategy with the Advanced Divergence Indicator, a powerful tool designed to identify and analyze bullish and bearish divergences using multiple technical indicators. Whether you're a seasoned trader or just starting out, this indicator provides clear, actionable signals to help you make informed trading decisions.
What It Does
The Advanced Divergence Indicator detects divergences between price movements and key technical indicators, specifically the Relative Strength Index (RSI) and On-Balance Volume (OBV). Divergence occurs when the price trends in one direction while the indicator trends in the opposite direction, signaling potential reversals or continuations in the market.
Key Features
Multi-Indicator Analysis
RSI Divergence: Identifies bullish and bearish divergences using the RSI, helping you spot potential reversals based on momentum.
OBV Divergence: Utilizes OBV to detect divergences related to volume flow, providing insights into the strength behind price movements.
Bullish and Bearish Signals
Bullish Divergence: Signals when indicators show higher lows while the price forms lower lows, suggesting a potential upward reversal.
Bearish Divergence: Alerts when indicators display lower highs while the price creates higher highs, indicating a possible downward reversal.
Signal Strength Classification
Standard Signals: Represent typical divergence occurrences, marked with green (bullish) and red (bearish) labels.
Strong Signals: Highlighted with yellow (strong bullish) and blue (strong bearish) labels when divergences coincide with overbought or oversold conditions, enhancing signal reliability.
Customizable Settings
Indicator Selection: Choose to enable RSI, OBV, or both based on your trading preferences.
Pivot Points: Adjust the number of bars left and right to fine-tune pivot detection for more accurate divergence identification.
Range Configuration: Set minimum and maximum bar ranges to control the sensitivity of divergence detection, suitable for different timeframes and trading styles.
Noise Cancellation: Reduce false signals by enabling noise filtering, ensuring that only significant divergences are highlighted.
Visual Clarity
Color-Coded Labels: Easily distinguish between different types of divergences with intuitive color codes—green for bullish, red for bearish, yellow for strong bullish, and blue for strong bearish signals.
Clean Chart Display: The indicator overlays seamlessly on your chart without clutter, ensuring that signals are easily identifiable without distracting from price action.
Real-Time Alerts
Custom Alert Conditions: Receive instant notifications for bullish and bearish divergences, enabling you to act promptly on potential trading opportunities.
Combined Alerts: Get alerts for either bullish or bearish signals, or both, based on your selected criteria.
How to Use
Add the Indicator to Your Chart
Apply the Advanced Divergence Indicator to your desired chart and timeframe.
Configure Settings
Select Indicators: Choose to enable RSI, OBV, or both under the "Indicator Settings" group.
Adjust Parameters: Customize RSI length, pivot points, and divergence ranges to match your trading strategy and the specific asset you are analyzing.
Enable Noise Cancellation: Activate this feature to filter out minor divergences and focus on more significant signals.
Interpret the Signals
Bullish Signals: Look for green or yellow labels below the price bars indicating potential upward reversals.
Bearish Signals: Identify red or blue labels above the price bars signaling possible downward reversals.
Strong Signals: Pay special attention to yellow and blue labels as they denote stronger divergences with higher reliability.
Set Up Alerts
Configure alert conditions within the indicator to receive real-time notifications when bullish or bearish divergences are detected, ensuring you never miss a trading opportunity.
Why Choose Advanced Divergence Indicator
Comprehensive Analysis : By combining RSI and OBV, the indicator provides a more robust analysis compared to single-indicator tools, enhancing the accuracy of divergence detection.
Flexibility : Highly customizable settings allow traders to tailor the indicator to their unique strategies and market conditions.
User-Friendly : Clear labels and color codes make it easy for traders of all levels to understand and act on the signals.
Reliability : Strong signal classification and noise cancellation features help reduce false positives, providing more trustworthy trading signals.
SufinBDThis TradingView script combines RSI, Stochastic RSI, MACD, and Bollinger Bands to generate Buy and Sell signals on two different timeframes: 4-hour (4H) and Daily (1D). The strategy aims to provide entry and exit points based on a multi-indicator confirmation approach, helping traders make more informed decisions.
Features:
RSI (Relative Strength Index):
Measures the speed and change of price movements.
The script looks for oversold conditions (RSI below 30) for buy signals and overbought conditions (RSI above 70) for sell signals.
Stochastic RSI:
Measures the level of RSI relative to its high-low range over a given period.
A Stochastic RSI below 0.2 indicates oversold conditions, and a value above 0.8 indicates overbought conditions.
It helps identify overbought and oversold conditions in a more precise manner than regular RSI.
MACD (Moving Average Convergence Divergence):
A trend-following momentum indicator that shows the relationship between two moving averages of a security's price.
The MACD line crossing above the Signal line generates bullish signals, and vice versa for bearish signals.
Bollinger Bands:
A volatility indicator that consists of a middle band (SMA of price), an upper band, and a lower band.
When the price is below the lower band, it signals potential buy opportunities, while prices above the upper band signal potential sell opportunities.
Timeframe Usage:
The script calculates indicators for both the 4-hour (4H) and Daily (1D) timeframes.
The combined signals from these two timeframes are used to generate Buy and Sell alerts.
Buy Signal:
A Buy signal is generated when all of the following conditions are met:
RSI on both 4H and 1D is below 30 (oversold conditions).
Stochastic RSI on both timeframes is below 0.2.
The MACD line is above the Signal line on both timeframes.
The price is below the lower Bollinger Band on both the 4H and 1D charts.
Sell Signal:
A Sell signal is generated when all of the following conditions are met:
RSI on both 4H and 1D is above 70 (overbought conditions).
Stochastic RSI on both timeframes is above 0.8.
The MACD line is below the Signal line on both timeframes.
The price is above the upper Bollinger Band on both the 4H and 1D charts.
Visuals:
Buy signals are marked with green labels below the bars.
Sell signals are marked with red labels above the bars.
Bollinger Bands are displayed on the chart with the upper and lower bands marked in blue (for 4H) and orange (for 1D).
Purpose:
This script aims to provide more reliable buy/sell signals by combining indicators across multiple timeframes. It is ideal for traders who want to use multiple confirmation points before entering or exiting a trade.
How to Use:
Apply the script to any chart on TradingView.
Look for Buy and Sell signals that meet the conditions above.
You can adjust the timeframe (e.g., 4H or 1D) based on your trading strategy.
This script can be used for intraday trading, swing trading, or position trading depending on your preferred timeframes.
Example of Signal Interpretation:
Buy Signal:
If all conditions are met (e.g., RSI is under 30, Stochastic RSI is under 0.2, MACD is bullish, and price is below the lower Bollinger Band on both the 4-hour and daily charts), the script will show a green "BUY" label below the price bar.
Sell Signal:
If all conditions are met (e.g., RSI is over 70, Stochastic RSI is over 0.8, MACD is bearish, and price is above the upper Bollinger Band on both timeframes), the script will show a red "SELL" label above the price bar.
This combination of indicators offers a multi-layered confirmation approach, which aims to reduce the risk of false signals and increase the reliability of your trading decisions.
ZelosKapital Weekly/Monthly HLThe ZelosKapital Weekly/Monthly high low indicator is designed to display the weekly and monthly high and low levels directly on the price chart. It helps traders easily identify key support and resistance zones by marking the highest and lowest points of the current week and month. The indicator automatically updates these levels as the price moves, providing a clear visual reference for intraday trading strategies.
Ideal for both Day Trading and Swing Trading, this tool offers valuable insights into potential reversal points, breakout areas, and zones of consolidation. By monitoring these significant price levels, traders can make more informed decisions, timing their entries and exits with greater precision. Whether you're looking for short-term price action or longer-term trends, the weekly and monthly highs and lows serve as critical levels to guide your trades.
ANIL's OHCL, VWAP and EMA CrossPrevious Week High and Low:
This part calculates the previous week's high and low values and plots them as continuous blue lines. The plot.style_line ensures the lines are drawn continuously.
Previous Day Open, High, Low, Close:
The script uses request.security to get the previous day's open, high, low, and close values. These are plotted as continuous lines in different colors:
Open: Green
High: Red
Low: Orange
Close: Purple
VWAP (Volume Weighted Average Price):
The VWAP is calculated using ta.vwap(close) and plotted with a thick black line.
Exponential Moving Averages (EMAs):
The script calculates two EMAs: one with a 9-period (fast) and one with a 21-period (slow).
The EMAs are plotted as continuous lines:
Fast EMA: Blue
Slow EMA: Red
EMA Cross:
The script checks for EMA crossovers and crossunders:
A crossover (fast EMA crossing above slow EMA) triggers a buy signal (green label below the bar).
A crossunder (fast EMA crossing below slow EMA) triggers a sell signal (red label above the bar).
Customization:
You can adjust the fastLength and slowLength variables to change the period of the EMAs.
You can modify the line colors and line thickness to match your preferred style.
The buy and sell signals can be customized further with different shapes or additional conditions for signal generation.
This script provides a comprehensive and visually distinct indicator with the previous week's and day's levels, VWAP, and EMA crossover signals.
Dual Spectrum RSI [CHE]Dual Spectrum RSI Indicator
Introduction
The Dual Spectrum RSI Indicator is an innovative and robust tool designed for traders aiming to enhance their market analysis and trading precision. This script leverages multi-timeframe analysis, advanced RSI configurations, and customizable visualization options to provide actionable insights for both trend-following and contrarian strategies.
Key Features
1. Dynamic Timeframe Selection
- Automatically adapts the resolution based on the current chart's timeframe.
- Options to switch between Auto Timeframe, Multiplier-based Timeframe, or Manual Resolution for complete control.
2. Advanced RSI Calculations
- Dual RSI setup for multi-layered analysis:
- Primary RSI for trend identification on the higher timeframe (HTF).
- Secondary RSI for entry signals with oversold/overbought crossovers on the current chart timeframe.
3. EMA Integration on Higher Timeframe (HTF)
- The Exponential Moving Average (EMA) acts as a robust trend filter, calculated on the Higher Timeframe (HTF).
- This ensures that trade signals align with the broader market trend, providing a strategic edge and reducing noise from lower timeframes.
4. Signal Clarity
- Visual labels for Buy and Sell signals directly on the chart.
- Dynamic stop-loss suggestions that adjust based on EMA crossovers and trend changes.
5. Customizable Visualization
- Gradient fills for overbought/oversold zones provide intuitive visual cues.
- User-friendly inputs for adjusting separator lines, color schemes, and label styles.
6. Comprehensive Data Display
- Real-time updates in an Info Box, showing active timeframe settings and resolution.
- Easy-to-understand trend conditions, making it accessible for both novice and professional traders.
Benefits for Traders
1. Precision in Decision-Making
The multi-timeframe capability ensures that traders always have the broader market context, minimizing false signals and enhancing trade accuracy.
2. Flexibility and Customization
Fully adjustable parameters allow traders to tailor the indicator to their unique trading style, whether scalping, day trading, or swing trading.
3. Enhanced Market Insights
By combining HTF trend filters, RSI dynamics, and EMA thresholds, this indicator provides a holistic view of market conditions.
4. User-Friendly Interface
The clean layout and intuitive options make it easy to integrate this tool into any TradingView setup.
5. Increased Confidence in Trades
With visual aids such as labels, gradients, and a trend-detection mechanism, traders can make decisions with greater confidence and less emotional bias.
Example Use Cases
1. Trend-Following Strategy
- Utilize the HTF EMA filter to confirm bullish or bearish trends.
- Enter trades when the secondary RSI crosses oversold/overbought levels in the direction of the trend.
2. Reversal Strategy
- Identify overextended trends using RSI crossovers.
- Look for counter-trend opportunities with precise stop-loss placements.
3. Scalping Setup
- Switch to intraday timeframes and use the multiplier-based resolution to capture short-term market movements.
How to Use
1. Add the script to your TradingView chart by pasting the provided Pine Script code into the Pine Editor.
2. Adjust the Timeframe Type, RSI parameters, and EMA length to align with your trading goals.
3. Monitor the generated signals and use them in conjunction with your broader trading strategy.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Conclusion
The Dual Spectrum RSI Indicator is not just another technical tool—it's a comprehensive trading companion that adapts to your needs, simplifies market analysis, and boosts your trading performance. Whether you're a beginner or a seasoned trader, this indicator provides the edge you need to succeed in today's dynamic markets.
Try It Today!
Experience the power of multi-timeframe analysis and take your trading to the next level. Add the Dual Spectrum RSI Indicator to your TradingView arsenal now!
Best regards
Chervolino
ORB opening range breakoutThis indicator plots the opening range high and low for a selected period of time in minutes after the market opens on an intraday chart to allow the user to visualize the high and low of the opening range for use in the Opening Range Breakout (ORB) strategy.
The Opening Range Breakout (ORB) strategy is a trading approach that involves identifying the price range within the first few minutes of a market session and then waiting for the price to break out of that range. This indicator facilitates this strategy through the use of shaded regions and/or price levels.
Features
Able to plot the high and low for any opening range above 1 min on any intraday timeframe
Fully customizable ORB region, price level, price axis, label
The inclusion of the Bollinger band along with it's Moving Average serves multiple purposes to assist the user in the opening range breakout strategy
Highlights to the user the deviation from the Moving Average due to an opening range breakout so that the user is better informed on whether to avoid entering a position, exit a position, or monitor the situation more closely
Highlights area of support or resistance formed by the Moving Average of Bollinger Band
Inform the user of the current trend direction to serve as confluence during an opening range breakout
What sets this indicator apart from others
In other ORB indicators, the opening range must be a multiple of the current chart's timeframe, restricting users on the intraday timeframes that can be used. E.g. if the user is using the 15 minutes opening range, they are restricted to use the 1, 3, 5, 15 minute(s) chart.
This indicator gives the user the flexibility to set any opening range above 1 min on any intraday timeframe. E.g. if the user is using the 15 minutes opening range, they are free to use any intraday timeframe on their chart, such as 1 hour or 2 hours chart.
How to use
Input the opening time range of interest in minutes
Check the "ORB region" checkbox to shade the ORB region
Check the "PRICE LEVEL" checkbox to draw a horizontal line of the high and low
Check the "PRICE AXIS" checkbox to plot the values on the price axis
Check the "LABEL" checkbox to draw a label of the high and low
PreannFXExplanation of the PreannFX indicator:
Candle Body Size:
The body of the current candle is larger than the previous candle.
Bullish Engulfing:
The current candle closes higher than the previous candle's high.
The body size is larger than the previous candle.
Bearish Engulfing:
The current candle closes lower than the previous candle's low.
The body size is larger than the previous candle.
Entry and Exit:
Bullish: Enter at the previous candle's open or high, stop loss at the previous low, and take profit is 1:1 with the stop loss.
Bearish: Enter at the previous candle's open or low, stop loss at the previous high, and take profit is 1:1 with the stop loss.
Visualization:
Green upward arrows for bullish engulfing patterns.
Red downward arrows for bearish engulfing patterns.
BOS with Order Flow, EMA Trend Filter, and High Win Ratecreated hans hoolash to improve on HTF used chat gpt
Ahtep 11
Here’s a brief description for your indicator:
Custom FCPO Indicator with Buy/Sell Signals
This custom indicator combines multiple technical analysis tools to generate buy and sell signals for FCPO trading. It uses two exponential moving averages (EMA) to identify market trends, Stochastic RSI for momentum analysis, and volume thresholds to filter signals. When the short EMA crosses above the long EMA with oversold conditions on the Stochastic RSI and high volume, a buy signal is triggered. Conversely, a sell signal is generated when the short EMA crosses below the long EMA with overbought conditions on the Stochastic RSI and high volume. The indicator also provides entry, stop loss, and target levels based on the market conditions.
Feel free to modify or expand this description based on your needs! Let me know if you'd like to make any adjustments.
Supertrend with EMA - AjaySupertrend with EMA shows strength in Trend.
50 EMA is good for trend. and Supertrend with ATR give better stoploss.
Triple Confluence Strategy-nishant200 EMA: A yellow line showing the 200-period Exponential Moving Average.
VWAP: A blue line showing the Volume Weighted Average Price.
Pivot Points: A purple line for the pivot point, red lines for support levels, and green lines for resistance levels.
Buy/Sell Markers: Green labels below the bars for Buy signals and Red labels above the bars for Sell signals.
Confluence Zone Highlights: Background color changes to green for Buy and red for Sell signals.
WPR45789This indicator helps in identifying trend to catch moves in intraday and gains decent moves in stocks and index as well as futures and options
This indicator helps in identifying trend to catch moves in intraday and gains decent moves in stocks and index as well as futures and options
ZelosKapital Market BehaviourThe ZelosKapital Market Behaviour Indicator is a powerful tool designed to visually highlight market structure periods directly on your trading chart. This indicator identifies and labels the four key price action phases: Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL). Understanding these phases is critical for traders aiming to follow the trend or anticipate potential reversals.
Wick sizeShow the average wick size of the last 10 bar for analysis purposes.
Makes it easier to recognise possible turning points.
Monthly EMA 5 Buy Signal Swing Medium Term Investment StrategyTrading Strategy Description
This strategy is designed to generate buy signals based on the behavior of monthly candles in relation to the 5-period Exponential Moving Average (EMA). The conditions for generating a buy signal are as follows:
Monthly Candle Below 5 EMA: The previous monthly candle must not touch the 5 EMA and must be entirely below it. This means the highest point of the candle (the high) is below the 5 EMA.
Next Monthly Candle Closes Above Previous Candle’s High: The current monthly candle must close above the high of the previous monthly candle.
How to Use the Strategy
Add the Script to TradingView: Copy the provided Pine Script code and add it to a new indicator in TradingView.
Understand the Plot:
The 5 EMA is plotted on the chart in blue.
Buy signals are indicated by green labels below the bars with the text “BUY”.
Identify Buy Signals:
Look for green “BUY” labels on the chart. These labels indicate that the conditions for a buy signal have been met.
When you see a “BUY” label, it means the previous monthly candle was below the 5 EMA and the current monthly candle has closed above the previous candle’s high.
Example Scenario
Month 1: The monthly candle does not touch the 5 EMA and is entirely below it.
Month 2: The monthly candle closes above the high of Month 1’s candle.
Buy Signal: A green “BUY” label will appear below the Month 2 candle, indicating a buy signal.
Taking the Trade
When a buy signal is generated:
Enter the Trade: Consider entering a long position at the close of the monthly candle that generated the buy signal.
Risk Management: Set your stop-loss and take-profit levels according to your risk management strategy. You might place a stop-loss below the low of the signal candle or use other technical analysis tools to determine your exit points.
This strategy helps you identify potential bullish reversals or continuation patterns based on the relationship between the monthly candles and the 5 EMA. Always backtest and paper trade any strategy before using it with real money to ensure it fits your trading style and risk tolerance.
MW:TA Days of the WeekENG: Vertical separators to easily detect days of the week and see which past liquidity was taken down. Screenshot example contains days of the week indicator and manually drawn lines of grabbed liquidity. Useful for trades based on liquidity grab and reaction.
Tested on Forex, Crypto, Indexes, Stocks, Commodities markets.
-
РУС: Вертикальные разделители для визуального определения дней недели и просмотра снятой ликвидности на графике. На скриншоте отмечен индикатор разделительных периодов (дней) и вручную нарисованные линии, которые отмечают снятую ликвидность и реакцию цены на снятие. Полезно для тех трейдеров, которые торгуют по реакции на снятую ликвидность.
Протестировано на рынках Форекс, Крипто, ИНдексов, Акций и Сырья.
Gold Analysis and Scalping TradesIn this section, we opened three trades by analyzing waves and structures on the chart.
Gold could repeat this type of movement tomorrow as well, so be prepared.
Stochastic and RSI Vini//@version=6
indicator(title="Stochastic and RSI", shorttitle="Stoch RSI", format=format.price, precision=2, timeframe="", timeframe_gaps=true)
// --- Estocástico ---
periodK = input.int(14, title="%K Length", minval=1)
smoothK = input.int(1, title="%K Smoothing", minval=1)
periodD = input.int(3, title="%D Smoothing", minval=1)
k = ta.sma(ta.stoch(close, high, low, periodK), smoothK)
d = ta.sma(k, periodD)
plot(k, title="%K", color=#2962FF)
plot(d, title="%D", color=#FF6D00)
h0 = hline(80, "Upper Band", color=#787B86)
hline(50, "Middle Band", color=color.new(#787B86, 50))
h1 = hline(20, "Lower Band", color=#787B86)
fill(h0, h1, color=color.rgb(33, 150, 243, 90), title="Background")
// --- RSI ---
rsiLengthInput = input.int(14, minval=1, title="RSI Length", group="RSI Settings")
rsiSourceInput = input.source(close, "Source", group="RSI Settings")
calculateDivergence = input.bool(false, title="Calculate Divergence", group="RSI Settings", display = display.data_window, tooltip = "Calculating divergences is needed in order for divergence alerts to fire.")
change = ta.change(rsiSourceInput)
up = ta.rma(math.max(change, 0), rsiLengthInput)
down = ta.rma(-math.min(change, 0), rsiLengthInput)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
rsiPlot = plot(rsi, "RSI", color=#7E57C2)
rsiUpperBand = hline(70, "RSI Upper Band", color=#787B86)
midline = hline(50, "RSI Middle Band", color=color.new(#787B86, 50))
rsiLowerBand = hline(30, "RSI Lower Band", color=#787B86)
fill(rsiUpperBand, rsiLowerBand, color=color.rgb(126, 87, 194, 90), title="RSI Background Fill")
midLinePlot = plot(50, color = na, editable = false, display = display.none)
fill(rsiPlot, midLinePlot, 100, 70, top_color = color.new(color.green, 0), bottom_color = color.new(color.green, 100), title = "Overbought Gradient Fill")
fill(rsiPlot, midLinePlot, 30, 0, top_color = color.new(color.red, 100), bottom_color = color.new(color.red, 0), title = "Oversold Gradient Fill")
// --- Divergencia RSI ---
lookbackRight = 5
lookbackLeft = 5
rangeUpper = 60
rangeLower = 5
bearColor = color.red
bullColor = color.green
textColor = color.white
noneColor = color.new(color.white, 100)
_inRange(bool cond) =>
bars = ta.barssince(cond)
rangeLower <= bars and bars <= rangeUpper
plFound = false
phFound = false
bullCond = false
bearCond = false
rsiLBR = rsi
if calculateDivergence
// Regular Bullish
plFound := not na(ta.pivotlow(rsi, lookbackLeft, lookbackRight))
rsiHL = rsiLBR > ta.valuewhen(plFound, rsiLBR, 1) and _inRange(plFound )
lowLBR = low
priceLL = lowLBR < ta.valuewhen(plFound, lowLBR, 1)
bullCond := priceLL and rsiHL and plFound
// Regular Bearish
phFound := not na(ta.pivothigh(rsi, lookbackLeft, lookbackRight))
rsiLH = rsiLBR < ta.valuewhen(phFound, rsiLBR, 1) and _inRange(phFound )
highLBR = high
priceHH = highLBR > ta.valuewhen(phFound, highLBR, 1)
bearCond := priceHH and rsiLH and phFound
plot(
plFound ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bullish",
linewidth=2,
color=(bullCond ? bullColor : noneColor),
display = display.pane
)
plotshape(
bullCond ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bullish Label",
text=" Bull ",
style=shape.labelup,
location=location.absolute,
color=bullColor,
textcolor=textColor
)
plot(
phFound ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bearish",
linewidth=2,
color=(bearCond ? bearColor : noneColor),
display = display.pane
)
plotshape(
bearCond ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bearish Label",
text=" Bear ",
style=shape.labeldown,
location=location.absolute,
color=bearColor,
textcolor=textColor
)
alertcondition(bullCond, title='Regular Bullish Divergence', message="Found a new Regular Bullish Divergence, `Pivot Lookback Right` number of bars to the left of the current bar.")
alertcondition(bearCond, title='Regular Bearish Divergence', message='Found a new Regular Bearish Divergence, `Pivot Lookback Right` number of bars to the left of the current bar.')