Bearish BreakerDescription:
The Bearish Breaker is designed to detect significant bearish candles that meet specific customizable conditions, allowing traders to easily identify potential sell signals or strong downtrends. This indicator highlights bearish candles based on size, close position within the candle's range, and other specific criteria, with options to plot Fibonacci levels, a stop loss line, and dollar loss estimation.
Key Features:
1. Customizable Candle Highlighting Conditions:
Highlights candles that are bearish and whose body is greater than a user-defined multiple of the average candle body size over a specified period.
2.Checks if the candle’s close is within a customizable percentage from the bottom of the candle’s range (default is 35%).
3. Ensures the close is lower than the lows of the previous two candles.
Visual Markings:
1. A plus sign appears below large bearish candles that meet the highlighting criteria.
2. Optionally plots a line at the low of the previous candle, labeled as "FVG" (Fair Value Gap).
3. Fibonacci Levels:
Plots 61.8% and 50% Fibonacci levels from the low to high of the highlighted candle.
4. Provides options to show/hide labels and adjust line colors.
5. Shaded Area:
Fills the area between the 50% and 61.8% levels with customizable color and transparency.
Stop Loss and Dollar Calculation:
1. Calculates a stop loss level, set a user-defined number of ticks above the high of the highlighted candle.
2. Displays a label with the potential dollar loss from the "FVG" to the stop loss line, using a specified dollar value per tick.
How To Use
1. Highlight Conditions: Adjust parameters like the average body length, threshold multiplier, and close percentage to fine-tune the bearish candle detection. typically I like to use the 4-6 body length with a 1.5 multiplier
2. Visual Elements: Toggle labels, colors, and transparency of Fibonacci and FVG lines, allowing you to customize the display for clarity.
3. Risk Management: Set the dollar value per tick and stop loss distance (in ticks) to display potential risk for your specific instrument , for example dollar per tick on NQ is $5 , ES is $12.50, CL is $10
4. Alerts:
An alert can be set to trigger each time a large bearish candle forms and meets all conditions, helping you stay notified of potential bearish momentum shifts.
5. Parameters:
Threshold Multiplier: Adjusts the size threshold for highlighting a bearish candle.
Close Percent in Range: Sets how close to the bottom of the candle’s range the close must be (0-100%). I like the candle to close in the lower 75 percent of the candle.
6. Stop Loss Ticks Above High: Controls how far above the high of the highlighted candle to place the stop loss.
7. Dollar Value per Tick: Calculates potential dollar loss between the FVG level and stop loss based on the asset’s tick value.
8. To trade this setup I like to wait for the first 1-2 candles after the highlighted breaker candle to pull back into the shaded area for a short position and target the low of the breaker candle or a 2-1 risk to reward.
Ideal For:
This indicator is ideal for traders looking to identify strong bearish momentum, manage risk visually, and use Fibonacci and fair value gaps on large bearish candles as potential areas for short entries with suggested stop loss areas and target profits.
Disclaimer: This indicator is for educational and informational purposes only and should not be used as a sole trading strategy. Always perform your own analysis before making trading decisions.
Candlestick analysis
Support, Resistance & OHLCUPDATE:
This Pine Script code is an indicator for TradingView that displays support, resistance, and OHLC (Open, High, Low, Close) data across various timeframes. The code is divided into two main sections: Support/Resistance and OHLC Data.
Support and Resistance:
Logic for Support and Resistance: The indicator draws support and resistance lines after 4 consecutive candles without forming new lows (for support) or new highs (for resistance). This means that a support or resistance level is created after 4 candles that don't set new extremes.
Support: When the last 3 candles have lower lows, and the current candle forms a higher low, the support level is set.
Resistance: When the last 3 candles have higher highs, and the current candle forms a lower high, the resistance level is set.
Drawing the Lines and Labels:
Once the support or resistance level is determined, a horizontal line is drawn that extends left and right from the candle.
Additionally, labels for support and resistance are shown if the corresponding settings are enabled. These labels appear at a distance from the line and display the current support or resistance value.
Deleting the Lines:
If the price falls below the support level or rises above the resistance level, the respective line is deleted. This means that the market has breached the support or resistance level, making the line invalid.
When the support or resistance line is breached, alerts can be triggered to notify the trader.
Alerts:
The script provides options to set alerts when a support or resistance line is created or broken. These alerts notify the trader when the price reaches an important level.
OHLC Data:
The code allows the display of the high, low, close, and open values of the last candles across different timeframes (hourly, daily, weekly, monthly).
Settings:
Options are available to show these values for the respective timeframes.
The user can also adjust the size of the labels.
Visualization: The indicator plots lines for the high, low, and close values for each timeframe and places labels showing the respective values.
In summary, the indicator provides a detailed view of support and resistance levels, which are based on a 4-candle logic, and displays important OHLC values across different timeframes. The indicator also allows setting alerts for specific price levels, so traders can quickly react to market movements.
[TheMandalor] Invert or Mirror Chart SUPPORT RESSISTANTThis is a new idea to find supports and resistant’s for any charts.
What is the concept of this indicator:
1. It is used close and inverted it on chart
2. When the real chart and the inverted chart is crossing together several times, this point will be important on this concept that means the price will care about this point again and again.
3. When you draw a horizontal line as support and resistance check it with this indicator too, if your support and resistance is touched with inverted chart, it will be more important than normal support/ resistance.
4. This indicator has plot candle too, it means you can compare regular chart with the inverted one at same time if you need.
Here is the steps:
1. When you add the indicator to your chart it will add your ticker as inverted.
2. Change your chart type to line chart.
3. Fix your scale in both sides left and right (the indicator's side is on the left).
4. Now you must have two type of line charts, one is yours (The blue one) and one is plotted with this indicator (The purple one).
5. Draw a horizontal line where these two lines have more crossing at the middle of chart, this line will be a powerful line later.
6. Find other more crossed points and draw horizontal line for them too.
7. Now you can see these indicator's support and resistant’s, now you can remove the indicator and watch how the price will touch, reverse, or stay on your new type of support and resistant’s lines.
PS: I have added candle plotting too if you need it.
Custom Zig Zag with Absolute Price DifferenceThis Zig-Zag indicator visualizes the price movements of a financial instrument and highlights the relevant turning points (pivots) where the price has undergone a significant change. It uses a deviation threshold to mark only substantial movements and ignore minor fluctuations.
The input parameters allow the user to customize the indicator:
Deviation (%): Defines the minimum percentage deviation required to mark a turning point.
Depth: Specifies how many periods before and after a pivot are considered to determine whether it is a real high or low.
Line Color: Allows the user to change the color of the lines that connect the pivots.
Extend to Last Bar: If enabled, extends the last lines to the current bar.
Display Absolute Price Difference: If enabled, the indicator shows the absolute price difference between the current pivot and the previous one.
Label Size: Allows adjusting the font size of the displayed labels.
The logic of the indicator is based on calculating pivots (highs and lows) using price movements. The indicator then tracks the changes between successive pivots and represents them as lines. When the price shows a significant difference from the last pivot (measured in percentage), a line is drawn, and a label displaying the price difference is shown.
Additionally, the indicator uses the calc_dev function to compute the price deviation between the last pivot and the current price. This provides users with a clear visualization of price changes, helping to identify larger price movements.
SPX Open vs SMA AlertThis indicator is specifically designed to identify the first market-relevant candle of the S&P 500 (SPX) after the market opens. The opening price of the trading day is compared to a customizable simple moving average (SMA) period. A visual marker and an alert are triggered when the opening price is above the SMA. Perfect for traders seeking early market trends or integrating automated trading strategies.
Features:
Market Open: The indicator uses the New York market open time (09:30 ET), accounting for time zones and daylight saving time changes.
Flexible Time Offset: Users can set a time offset to trigger alerts after the market opens.
Customizable SMA: The SMA period is adjustable, with a default value of 10.
Visual Representation: A step-line SMA is plotted directly on the chart with subtle transparency and clean markers.
Alert Functionality: Alerts are triggered when conditions are met (opening price > SMA).
Usage:
This indicator is ideal for identifying relevant trading signals early in the session.
Alerts can also serve as triggers for automated trading, e.g., in conjunction with the Trading Automation Toolbox.
Supports both intraday and daily charts.
Alarm Settings:
Select the appropriate symbol (e.g., SPX) and the alert condition "SPX Open > SMA10".
Trigger Settings:
Choose "Once Per Bar Close" to ensure the condition is evaluated at the end of each candle.
If you prefer to evaluate the condition immediately when it becomes true, choose "Once Per Minute".
Duration:
Set the alarm to "Open-ended" if you want it to remain active indefinitely.
Alternatively, set a specific expiration date for the alarm.
Day High/Low and Horizontal Lines with Custom Increments How It Works:
Day High and Day Low: The indicator tracks and displays the highest and lowest prices of the current trading day. These values are updated dynamically throughout the day.
Custom Horizontal Lines: The user specifies a starting price and an increment value. The indicator then plots multiple horizontal lines above and below the starting price, spaced at the given increment. Up to 15 lines can be drawn in both directions (above and below).
Alerts: Alerts are triggered when the price crosses any of the horizontal lines, helping traders monitor potential breakouts or reversals.
Use Case:
This indicator is useful for traders who want to:
Track the Day High/Low: Easily reference the high and low of the current day as key price levels.
Monitor Key Price Levels: Draw and observe custom horizontal levels above and below a specific price, such as support/resistance levels or price targets.
Set Alerts: Receive notifications when the price crosses these key levels, helping identify potential breakout or breakdown points in the market.
Why Use This Indicator:
Day Trading: Traders can monitor the high and low of the current trading day to see if the price breaks through key levels.
Breakout Strategy: The custom horizontal lines provide reference points for potential breakout levels, with alerts helping traders act in real-time.
Support and Resistance: The plotted lines can represent predefined support or resistance levels, allowing traders to plan their entries and exits effectively.
The indicator gives a structured way to visualize price movements, highlight important price levels, and react quickly with alerts when the price crosses those levels.
Previous High and Low Count with Probabilities + Risk On/Off1. Purpose of the Script:
This trading script combines two important concepts:
Previous High and Low Count: It tracks whether the current price exceeds the previous day’s high or low and calculates probabilities for the next price movement (up or down).
Risk On / Risk Off Indicator: It evaluates market sentiment through various indicators (such as the Fear & Greed Index, VIX, and others) and shows whether the market is in a risk-on or risk-off state. This information impacts the probabilities of price movement.
2. How it Works:
Previous High and Low:
The script tracks how often the price exceeds the previous day’s high or low and calculates the probability of an upward or downward movement based on that. This gives you an idea of how often the market reacts at the previous day's high or low.
Risk On / Risk Off:
Based on various market factors (Fear & Greed Index, VIX, Put-Call Ratio, etc.), the script calculates the Risk On or Risk Off state.
In Risk On, the probability of an upward movement increases, and the probability of a downward movement decreases. In Risk Off, it’s the opposite.
Adjusted Probabilities:
The probabilities for an Up or Down movement are adjusted based on the current Risk On / Risk Off state. In a Risk On environment, the probability for an upward move increases, while in a Risk Off environment, the probability for a downward move increases.
3. How to Use the Script:
Add the Script in TradingView:
TradingView:
Click on "Add to Chart" to apply the script to your chart.
Manual Input of Indicators:
For the Fear & Greed Index, VIX, and other indicators, you need to manually enter the current values. You can get these values from various publicly available sources:
Fear & Greed Index: CNN Fear & Greed Index
VIX (Volatility Index): VIX Index
Other indicators like Put-Call Ratio, Bitcoin Volatility, Oil Prices, and US Dollar Index can also be manually inputted, and they can be found on finance websites like Yahoo Finance, MarketWatch, and Bloomberg.
Observe the Colors and Symbols:
If the market is in a Risk On state, the background will turn green, and a green triangle will appear below the candle.
If the market is in a Risk Off state, the background will turn red, and a red triangle will appear above the candle.
Track the Probabilities:
A label will appear on the chart showing the calculated probabilities for Up and Down movements. These probabilities are adjusted based on the current market state (Risk On/Off).
4. Meaning of the Probabilities:
Up Probability: Indicates the probability that the price will rise.
Down Probability: Indicates the probability that the price will fall.
The probabilities are dynamic and adjust based on the Risk On / Risk Off state, helping you make better decisions based on the current market conditions.
Fibonacci Candlestick - AYNETHow It Works
Inputs:
ltf_timeframe: Specify the timeframe for candlestick data (e.g., 1H, 4H).
Fibonacci Levels:
Toggle Fibonacci level visibility (show_fib_levels).
Customize Fibonacci line color (fib_color) and width (fib_width).
Candlestick Data:
Fetches open, high, low, and close prices for the specified timeframe using request.security.
Fibonacci Levels:
Calculates standard Fibonacci retracement levels (0.0, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%) for each candle's high-low range.
Draws horizontal lines for each level using line.new.
Candlestick Visualization:
Plots lower timeframe candles with customizable bullish and bearish colors.
Key Features
Dynamic Fibonacci Levels:
Fibonacci levels are recalculated for each candlestick's high-low range.
Levels update dynamically with new candles.
Candlestick Overlay:
Visualizes candlestick data from the specified timeframe directly on the current chart.
Customizable Appearance:
Configure colors for Fibonacci levels, candlestick bodies, and wicks.
Use Cases
Microstructure Analysis:
Analyze individual candlesticks with their Fibonacci retracements for potential support/resistance zones.
Multi-Timeframe Trading:
Overlay candlestick and Fibonacci data from a lower timeframe onto a higher timeframe chart.
Let me know if you'd like further enhancements or explanations! 😊
Wick Detection (1 and 0) - AYNETDetailed Scientific Explanation
1. Wick Detection Logic
Definition of a Wick:
A wick, also known as a shadow, represents the price action outside the range of a candlestick's body (the region between open and close).
Upper Wick: Occurs when the high value exceeds the greater of open and close.
Lower Wick: Occurs when the low value is lower than the smaller of open and close.
Upper Wick Detection:
pinescript
Kodu kopyala
bool has_upper_wick = high > math.max(open, close)
This checks if the high price of the candle is greater than the maximum of the open and close prices. If true, an upper wick exists.
Lower Wick Detection:
pinescript
Kodu kopyala
bool has_lower_wick = low < math.min(open, close)
This checks if the low price of the candle is less than the minimum of the open and close prices. If true, a lower wick exists.
2. Binary Representation
The presence of a wick is encoded as a binary value for simplicity and computational analysis:
Upper Wick: Represented as 1 if present, otherwise 0.
pinescript
Kodu kopyala
float upper_wick_binary = has_upper_wick ? 1 : 0
Lower Wick: Represented as 1 if present, otherwise 0. This value is inverted (-1) for visualization purposes.
pinescript
Kodu kopyala
float lower_wick_binary = has_lower_wick ? 1 : 0
3. Visualization with Histograms
The plot function is used to create histograms for visualizing the binary wick data:
Upper Wicks: Plotted as positive values with green columns:
pinescript
Kodu kopyala
plot(upper_wick_binary, title="Upper Wick", color=color.new(color.green, 0), style=plot.style_columns, linewidth=2)
Lower Wicks: Plotted as negative values with red columns:
pinescript
Kodu kopyala
plot(lower_wick_binary * -1, title="Lower Wick", color=color.new(color.red, 0), style=plot.style_columns, linewidth=2)
Features and Applications
1. Wick Visualization:
Upper wicks are displayed as positive green columns.
Lower wicks are displayed as negative red columns.
This provides a clear visual representation of wick presence in historical data.
2. Technical Analysis:
Wick formations often indicate market sentiment:
Upper Wicks: Sellers pushed the price lower after buyers drove it higher, signaling rejection at the top.
Lower Wicks: Buyers pushed the price higher after sellers drove it lower, signaling rejection at the bottom.
3. Signal Generation:
Traders can use wick detection to build strategies, such as identifying key price levels or market reversals.
Enhancements and Future Improvements
1. Wick Length Measurement
Instead of binary detection, measure the actual length of the wick:
pinescript
Kodu kopyala
float upper_wick_length = high - math.max(open, close)
float lower_wick_length = math.min(open, close) - low
This approach allows for thresholds to identify significant wicks:
pinescript
Kodu kopyala
bool significant_upper_wick = upper_wick_length > 10 // For wicks longer than 10 units.
bool significant_lower_wick = lower_wick_length > 10
2. Alerts for Long Wicks
Trigger alerts when significant wicks are detected:
pinescript
Kodu kopyala
alertcondition(significant_upper_wick, title="Long Upper Wick", message="A significant upper wick has been detected.")
alertcondition(significant_lower_wick, title="Long Lower Wick", message="A significant lower wick has been detected.")
3. Combined Wick Analysis
Analyze both upper and lower wicks to assess volatility:
pinescript
Kodu kopyala
float total_wick_length = upper_wick_length + lower_wick_length
bool high_volatility = total_wick_length > 20 // Combined wick length exceeds 20 units.
Conclusion
This script provides a compact and computationally efficient way to detect candlestick wicks and represent them as binary data. By visualizing the data with histograms, traders can easily identify wick formations and use them for technical analysis, signal generation, and volatility assessment. The approach can be extended further to measure wick length, detect significant wicks, and integrate these insights into automated trading systems.
Support and Resistance Lines)Main Features:
Support and Resistance Lines: The indicator looks for a period of 4 candles where no new low (for support) or no new high (for resistance) is created. Once this is detected, the first low of the last 4 candles is used for the support level and the first high is used for the resistance level.
Line Extension: The support and resistance lines are extended both to the left and right of the chart as well as up and down (in points). The length of the lines is flexible and can be adjusted.
Labels: You can add text labels to the lines that display the exact value of the support or resistance. These labels can also be positioned flexibly.
Alert Function: Alerts can be set to notify you when a new support or resistance line is created or when the price crosses above or below these lines.
Thickness and Color: Both the lines and labels can be customized in terms of color and thickness.
Customizable Parameters:
Line Length: You can adjust the length of the lines to the right and left.
Line Color and Thickness: You can change the colors and thickness of the support and resistance lines.
Label Position and Color: The position and color of the support and resistance labels can also be adjusted.
Alert Options: Alerts can be enabled to notify you about specific events, such as the creation of a new line or the price breaking through a line.
Usage:
This indicator can be useful for identifying and monitoring key price levels (support and resistance). It can also serve as the foundation for other trading strategies, such as trend analysis or breakout strategies.
Renko Live Price Simulation-AYNETHow It Works:
Inputs:
Box Size (box_size): The size of a Renko brick (in price units).
Candle and Wick Colors: Users can customize colors for up and down candles and toggle wicks on or off.
Logic:
The script tracks the renko_open, renko_close, renko_high, and renko_low variables to simulate the formation of Renko bricks.
A new Renko brick is formed when the price moves up or down by the specified box size.
Candle Plotting:
The plotcandle function is used to draw the simulated Renko bricks on the chart.
Wicks are optional and controlled via the show_wicks input.
Visual Guides:
Two lines represent the thresholds for forming the next up or down Renko brick.
Features:
Real-Time Updates:
Bricks dynamically update as the live price moves.
Customizable Parameters:
Box size, candle colors, and wicks can be tailored to user preferences.
Overlay on Regular Chart:
The Renko simulation overlays the existing candlestick chart, providing context for real-time price action.
Threshold Levels:
Visual guides show how far the current price is from forming the next Renko brick.
Usage Instructions:
Copy and paste the script into the Pine Script editor in TradingView.
Customize the box size and colors to your preference.
Apply the indicator to your chart to visualize the Renko simulation in real time.
Applications:
Trend Analysis:
Renko bricks simplify price trends by filtering out minor fluctuations.
Entry/Exit Points:
Use Renko bricks as potential trade triggers when new bricks form.
Volatility Visualization:
The frequency of brick formation reflects the asset's volatility.
This code provides a live Renko simulation overlay that can be further customized based on user needs. Let me know if you'd like additional features, such as alerts or enhanced visualizations! 😊
Daily Divider 1.0.1Daily Divider with Custom Day Labels is a visual indicator that places vertical dividers on TradingView charts at the start of each day. This indicator helps improve clarity in technical analysis by visually separating each trading session. Additionally, it allows for customization of the day labels with abbreviations (such as “Mon” for Monday, “Tue” for Tuesday, etc.), which are displayed alongside the divider lines.
Features:
• Day Dividers: Draws vertical lines at the start of each trading day to clearly separate daily sessions.
• Custom Day Labels: You can change the day abbreviations (e.g., “Sun” for Sunday, “Mon” for Monday) directly in the indicator settings.
• Style Options: The divider line style (solid, dashed, dotted) and its color can be adjusted to fit your preferences.
• Text Settings: Customize the color and size of the day labels, with the option to show or hide the labels.
• Timeframe Optimization: The divider lines are only drawn on daily or lower timeframes, ensuring they don’t appear on higher timeframes (weekly, monthly, etc.).
This indicator is ideal for traders who perform daily analysis and want a clearer view of the different days of the week on their charts, without the need to manually mark the day divisions.
BoS yellow candleThe "BoS Yellow Candle" indicator identifies and highlights the first candle that breaks a Break of Structure (BoS) in a given look-back period. A BoS occurs when the price either breaks above the highest high or below the lowest low within a user-defined look-back range (default set between 7 and 12 candles).
Bullish Break of Structure: The first candle to break above the previous high is marked with a yellow body.
Bearish Break of Structure: The first candle to break below the previous low is also marked with a yellow body.
This visual aid helps traders quickly identify potential structural breakouts for further analysis or strategy development.
Wick Highlight IndicatorDescription:
This script is designed to help traders quickly spot significant wicks, which indicate areas of strong market rejection. By focusing on longer wicks, it identifies potential turning points where there was a strong buying or selling reaction.
Features:
Adjustable Minimum Wick Length: Users can set the minimum length of wicks to be highlighted, helping filter out less significant wicks. Default is set at 50 points.
Seller and Buyer Wick Analysis: Highlights both the top (seller pressure) and bottom (buyer pressure) wicks separately, giving a clearer view of market strength and rejection.
Non-Intrusive Display: Wicks are highlighted in black at 10% opacity, providing clear visual markers while keeping the chart clean and readable.
How to Use It: This indicator is open-source and free for all users. It aims to identify wicks that are larger than the average noise, which often indicates strong price rejections or future targets. You can adjust the minimum length to tailor the indicator to different market conditions and trading styles.
Why It Matters: Wicks often signify moments when price levels were rejected strongly, pointing to areas of potential support or resistance. By focusing only on significant wicks, this indicator helps you hone in on potential key levels of interest without overwhelming the chart with less important data. This can be particularly useful in spotting reversals or market exhaustion.
No other indicators are required, and the chart is kept clean for clarity and ease of understanding.
Notes:
This is an open-source script, and no solicitations or ads are included.
The indicator is intended to highlight significant wicks only and does not issue any buy/sell signals.
It is compliant with TradingView's publishing rules, focusing on transparency, clarity, and adding value to the community.
OPI by Mr_ Analyzer_kH (Optimized Performance Indicator)Features of This Indicator:
RSI: Highlights overbought/oversold conditions.
MACD: Identifies momentum and trend reversals.
SMA: Tracks the overall trend.
Signal Combination: Generates buy/sell signals when all conditions align.
Background Highlights: Visually represents buy/sell zones.
Key Point:
Buy Condition:
Keep Buying till the blue line moves below the candles.
Sell Condition:
Keep Selling till the blue line moves above the candles.
No Trade Condition:
Do not BUY/SELL once the blue line moves alongside within the candle-sticks.
You can use other indicators for confirmation purpose.
Make Sure to set your entry and exit point before you start your trading and do not be GREEDY.
Enhanced Trading Alerts# Enhanced Multi-Symbol EMA Trading System with Smart Alerts
## 📊 Overview
A powerful multi-symbol trading system that monitors up to 6 symbols simultaneously for high-probability trading setups using advanced EMA crossover strategies, enhanced with volume confirmation and RSI filters. Perfect for swing traders and position traders focusing on quality tech stocks.
## 🎯 Key Features
- **Multi-Symbol Monitoring**: Simultaneously tracks 6 different symbols
- **Advanced EMA Strategy**: Uses dual EMA system (320 & 820 periods) for trend confirmation
- **Volume Validation**: Confirms signals with volume surge analysis
- **RSI Filter**: Adds momentum confirmation to avoid false signals
- **Smart Risk Management**: Automatic stop-loss and take-profit calculations
- **Detailed Alerts**: Comprehensive alert messages with key price levels
## 📈 Trading Signals
### Buy Signals Generated When:
- Price crosses above the slow EMA (820)
- Fast EMA (320) confirms the trend
- RSI is in optimal range (not overbought)
- Volume surge confirms the movement
- Risk levels automatically calculated
### Sell Signals Generated When:
- Price crosses below the slow EMA (820)
- Fast EMA (320) confirms the downtrend
- RSI confirms momentum shift
- Volume surge validates the movement
## ⚙️ Customizable Parameters
- **EMA Lengths**: Adjust fast and slow EMA periods
- **Volume Threshold**: Set minimum volume surge multiplier
- **RSI Settings**: Customize overbought/oversold levels
- **Risk Management**: Adjustable stop-loss and take-profit percentages
- **Symbol Selection**: Choose any 6 symbols to monitor
## 🎨 Visual Elements
- Blue line: Fast EMA (320)
- Red line: Slow EMA (820)
- Purple line: RSI indicator
- Clear visual representation of trend changes
## 📱 Smart Alerts
Detailed alert messages include:
- Symbol name and signal type
- Current price level
- RSI value
- Stop-loss price
- Take-profit target
- Volume surge multiplier
## 💡 Best Practices
1. **Timeframe Selection**:
- Best suited for 1H, 4H, or Daily timeframes
- Can be adapted for swing or position trading
2. **Risk Management**:
- Use suggested stop-loss levels
- Follow take-profit targets
- Consider volume confirmation strength
3. **Multiple Chart Setup**:
- Create multiple instances for more symbols
- Group correlated assets together
- Use different alert sounds for different setups
## 🎓 Usage Tips
- Monitor strongest tech stocks for best results
- Combine with market sentiment analysis
- Use volume surge as quality filter
- Wait for all conditions to align before trading
- Consider overall market conditions
## ⚠️ Risk Warning
This indicator is for informational purposes only. Always conduct your own analysis and consider your risk tolerance before trading. Past performance does not guarantee future results.
## 📌 Version History
- v1.0: Initial release with multi-symbol support
- v1.1: Added volume surge confirmation
- v1.2: Enhanced alert system with risk levels
- v1.3: Added RSI filter and improved signal quality
## 🔄 Regular Updates
Subscribe to this script for regular updates and improvements. Feel free to suggest features in the comments section.
## 📗 Default Symbols
- TSLA (Tesla)
- NVDA (NVIDIA)
- AVGO (Broadcom)
- TSM (Taiwan Semiconductor)
- META (Meta Platforms)
- AMZN (Amazon)
You can customize these symbols to match your trading preferences.
Good luck trading! 🍀
Candlestick Pattern ScannerCandlestick Pattern Scanner
This indicator identifies popular candlestick patterns on the chart and provides visual and alert-based support for traders. Based on technical analysis, it provides insights into potential trend reversals or continuation signals in price action. The following patterns are detected and marked:
1. Bullish Engulfing
Definition: Considered a strong bullish signal. A small red candle is followed by a large green candle that completely engulfs the previous one.
Chart Display: Marked with a green arrow below the price bar.
Alert Message: "Bullish Engulfing Pattern Detected!"
2. Bearish Engulfing
Definition: Considered a strong bearish signal. A small green candle is followed by a large red candle that completely engulfs the previous one.
Chart Display: Marked with a red arrow above the price bar.
Alert Message: "Bearish Engulfing Pattern Detected!"
3. Doji
Definition: Indicates indecision in the market. The candlestick has an opening and closing price that are almost the same, forming a very small body.
Chart Display: Marked with a blue triangle below the price bar.
Alert Message: "Doji Pattern Detected!"
4. Hammer
Definition: Can signal a strong bullish reversal. It has a long lower shadow and a small body, often appearing at the end of a downtrend.
Chart Display: Marked with an orange triangle below the price bar.
Alert Message: "Hammer Pattern Detected!"
5. Shooting Star
Definition: Can signal a strong bearish reversal. It has a long upper shadow and a small body, often appearing at the end of an uptrend.
Chart Display: Marked with a purple triangle above the price bar.
Alert Message: "Shooting Star Pattern Detected!"
Features:
Visual Support: Patterns are clearly marked on the chart using distinct shapes (arrows and triangles).
Alerts: Receive real-time notifications through TradingView’s alert system when a pattern is detected.
Versatility: Useful for identifying both trend reversals and continuation signals.
User-Friendly: Patterns are easily distinguishable with unique color coding.
Purpose:
This indicator helps traders identify potential reversal points or strong trend beginnings in price action. It can be used as a supportive tool in scalping, swing trading, or long-term investment strategies.
Supertrend + EMA Crossover Alerts-Based StrategyST + ema crossover strategy to give buy and sell signals
Ichimoku Cloud with Buy/Sell Signalsbuy and sell signal with ichimoku cloud based on conversion line and base line crossover
Directional ADX with Dynamic ColorADX line change color based on its direction—green when increasing and red when decreasing.
Specific Time Candlesbelirli saat aralığında belirli saat aralığında belirli saat aralığında belirli saat aralığında belirli saat aralığında belirli saat aralığında belirli saat aralığında belirli saat aralığında belirli saat aralığında belirli saat aralığında belirli saat aralığında
Formation Analysis TableThis code creates a pattern analysis table written in TradingView's Pine Script v5 language. The code analyzes specific candlestick patterns and displays the presence or absence of these patterns in a table. It also provides a brief description of each pattern.
Sections of the Code and Explanations:
1. Defining the Indicator
pinescript
Copy Code
//@version=5
indicator("Formation Analysis Table", overlay=true)
@version=5: Specifies that the code will work in Pine Script v5.
indicator: Specifies that this code is an indicator. The overlay=true parameter allows the table to be displayed above the price chart.
2. User Settings
pinescript
Copy the code
font_size = input.int(12, title="Font Size", minval=8, maxval=24)
position_option = input.string("Top Right", title="Table Position", options= )
font_size: Allows the user to choose the font size.
position_option: Provides the option to position the table in one of the four corners of the screen.
The table position is determined as follows:
pinescript
Copy the code
var table_position = position.top_right
if (position_option == "Top Right")
table_position := position.top_right
else if (position_option == "Top Left")
table_position := position.top_left
else if (position_option == "Bottom Right")
table_position := position.bottom_right
else if (position_option == "Bottom Left")
table_position := position.bottom_left
3. Creating the Table
pinescript
Copy the code
var table t1 = table.new(table_position, 3, 21, frame_color=color.white, border_width=1, border_color=color.white)
table.new: Creates a new table.
3: Specifies the number of columns (Formation, Status, Description).
21: Specifies the number of rows (20 patterns + title).
frame_color and border_color: Color of the chart frame.
4. Pattern Detection Functions
A function is defined for each pattern. For example:
Bullish Engulfing:
pinescript
Copy the code
bullish_engulfing() =>
close < open and close > open and close > open and open < close
Conditions for this pattern:
Previous candle must be a bearish candle (close < open ).
Current candle must be a bullish candle (close > open).
Current candle must "engulf" the entire previous candle (close > open and open < close ).
Bearish Engulfing Candle:
pinescript
Copy the code
bearish_engulfing() =>
close > open and close < open and close < open and open > close
Similarly, the conditions for the bearish engulfing candle are defined.
Similar logical checks are made for other formations (Doji, Hammer, Morning Star, etc.).
5. Table Headers
A header is added to the first row of the table:
pinescript
Copy the code
if (bar_index == 0)
table.cell(t1, 0, 0, text="Formation", bgcolor=color.blue, text_color=color.white, text_size=size.normal)
table.cell(t1, 1, 0, text="Status", bgcolor=color.blue, text_color=color.white, text_size=size.normal)
table.cell(t1, 2, 0, text="Description", bgcolor=color.blue, text_color=color.white, text_size=size.normal)
The "Formation", "Status", and "Description" headers are added to the table.
6. Formations, Statuses, and Descriptions
Formations, statuses, and descriptions are stored in separate arrays.
pinescript
Copy the code
formations = array.new_string(20)
array.set(formations, 0, "Bullish Engulfing")
Statuses are determined by whether each formation is detected:
pinescript
Copy the code
statuses = array.new_string(20)
array.set(statuses, 0, bullish_engulfing() ? "Detected" : "Not Detected")
If the formation is detected, "Detected" is written; otherwise, "Not Detected".
The descriptions tell what each pattern means:
pinescript
Copy the code
descriptions = array.new_string(20)
array.set(descriptions, 0, "Potential bullish trend.")
7. Filling the Table Cells
The table is filled for each pattern:
pinescript
Copy the code
for i = 0 to array.size(formations) - 1
table.cell(t1, 0, i + 1, text=array.get(formations, i), bgcolor=color.blue, text_color=color.white, text_size=text_size)
table.cell(t1, 1, i + 1, text=array.get(statuses, i), bgcolor=color.gray, text_color=color.white, text_size=text_size)
table.cell(t1, 2, i + 1, text=array.get(descriptions, i), bgcolor=color.white, text_color=color.black, text_size=text_size)
The name, status and description of each formation are written in the table with the appropriate color.
Output:
When this code is run, a table is displayed above the price chart:
Formation: Which formations are being analyzed.
Status: Which formations have been detected.
Description: What the formation means.
The table visualizes formation analysis in a user-friendly and dynamic way.