4 SMA's and Volume signsthis script aims to show the main candles which cross the SMA with it is Volume. this is for advanced analysis. you can use it to enhance the strategies
Candlestick analysis
Gong's_indicatorIt is a frame less than 15 minutes, which is an advantageous indicator for use in horizontal sections.
It is recommended to buy and sell in hedging mode because other position orders may be created while the entered position is not organized.
Since the buying/selling position winning rate is similar for a long time, it is also a good idea to proceed with the sale only in one direction while checking the big trend.
Signal labels may appear as candle finish criteria.
Even if the label does not appear, you can open the position in the green section and the red section with the purple line as a stoploss.
It is good for picking up inflection points immediately after a short period of large rise and fall.
The size of the channel gap drawn varies with the intensity of the short-term motion.
In the green area, the long position's profit-loss ratio is advantageous, and in the red area, the short position's profit-loss ratio is advantageous.
If a buy signal occurs, if the location is a green box, you can add a little more seeds or leverage.
If the three diamonds are attached together, it means that they have fallen/increased significantly in a short period of time, and the position you hold at this time will have a lower winning rate, but you can open a position with a high profit/loss ratio.
Since the stopros and target price on the label are not absolute, it is better to set them up by referring to your own trading basis.
One of the two targets is a 1:1 or higher profit or loss ratio calculated based on the distance from the stoploss.
The one thing that remains is based on a technical basis for when you reach a section where the reverse trend can come out.
Stoploss is a value that takes into account the range of stop hunting that slightly breaks the top and bottom of the box.
This indicator has a high win rate for sideways area, but if a trend occurs, the reverse trend position can remain open, which increases the likelihood of losing back-to-back.
Therefore, it is recommended that you stop entering the same position for 240 times the time of the frame you are using once the stop is signed.
When the stoploss are signed, switching in the opposite direction when touching the gray area is also a good response.
After the stoploss, if a big reverse occurred and broke right through the gray area, the additional position entry in the green/red area will mostly protect your money.
15분봉 이하의 프레임으로 횡보구간에서 사용하기 유리한 지표입니다.
진입된 포지션이 정리되지 않은 상태에서 다른 포지션 오더가 추가 생성될 수 있기 때문에 헷지모드로 매매하시는 것을 권장합니다.
긴 시간동안 매수/매도 포지션 승률이 비슷하기 때문에 큰 추세를 확인하면서 한 쪽 방향으로만 매매를 진행하시는 것도 좋은 방법입니다.
캔들 마감 기준으로 시그널 라벨이 등장할 수 있습니다.
라벨이 뜨지 않아도 보라색 선을 스탑로스로 하여 녹색 구간, 적색 구간에서 포지션 오픈이 가능합니다.
단기간 큰 상승,하락 직후 변곡지점을 잡아낼 때 쓰기 좋습니다.
단기 움직임의 강도에 따라 그려져 있는 채널 갭의 크기가 변합니다.
녹색 구간에서는 매수 손익비가 유리하고 적색 구간에서는 매도 손익비가 유리합니다.
만약, 매수 시그널이 발생한 경우 그 위치가 녹색 박스권이라면 시드나 레버리지를 조금 더 추가할 수 있습니다.
위 아래 다이아몬드 3개가 같이 붙어있는 경우에는 단기간 크게 하락/상승했다는 의미이고 이 때 잡는 포지션은 승률이 낮아지지만 높은 손익비의 포지션을 오픈할 수 있습니다.
라벨에 적혀있는 스탑로스와 목표가는 절대적이지 않기 때문에 각자의 매매근거를 참고하셔서 설정하시는 것이 더 좋은 결과를 도출할 수 있습니다.
목표가 두 가지 중 한 가지는 스탑로스와의 거리를 근거로 1:1이상의 손익비를 계산한 값입니다.
남은 한 가지는 역추세가 나올 수 있는 구간에 도달하는 경우에 대한 기술적 근거를 바탕으로 합니다.
스탑로스는 박스권 상단과 하단을 살짝 깨는 스탑헌팅 범위를 고려한 값입니다.
이 지표는 횡보 구간 승률이 높지만 추세가 발생하면 역추세 포지션이 계속 오픈될 수 있기 때문에 연달아 손실을 입을 가능성이 높아집니다.
따라서, 스탑로스가 체결되면 사용중인 프레임의 240배의 시간동안 같은 포지션 진입을 멈추시는 것이 좋습니다.
스탑로스가 체결되면 회색 영역에 닿을 때 반대 방향으로 스위칭을 하시는 것도 좋은 대응이 됩니다.
스탑로스 체결 후 되돌림이 크게 나와서 회색 영역을 바로 돌파하는 경우 라벨이 생성되지 않더라고 녹색/적색 영역에서 추가 포지션 진입을 하면 대부분 본전 이상으로 포지션을 정리할 수 있습니다.
Buy sell signals by Mahesh KolipakulaBased on the Exponential Moving Averages (EMA) with periods 5, 13, and 26: a buy signal will be generated when the 5-period EMA crosses above the 13-period and 26-period EMAs in upwards. Conversely, a sell signal will be triggered when the 5-period EMA crosses below the 13-period and 26-period EMAs in downwards.
PVSRA Trailing Strategy with Angle ConditionThis is a strategy developed based on PVSRA, more specifically on the Dragon's moving averages and angle. According to my tests, it works well on timeframes above H1 and also shows good results on m1. However, surprisingly, the results were not as good on m15, which is the standard timeframe for most people who use PVSRA. Enjoy, and good profits!
Essa é uma estratégia desenvolvida com base no PVSRA mais especificamente nas médias e no ângulo da Dragon. Pelos meus testes funciona bem em TF acima de h1 tendo também um bom resultado no m1 mas por incrível que parece o resultado não foi bom no m15 que é o TF padrão para a maioria das pessoas que usa o PVSRA. Aproveite e bons lucros.
Advanced Trend and Volatility Indicator with Alerts by ZaimonThis script presents a comprehensive analytical tool that integrates multiple technical indicators to provide a holistic view of market trends and volatility. By uniquely combining Moving Averages (MA), Relative Strength Index (RSI), Stochastic Oscillator, Bollinger Bands, and Average True Range (ATR), it offers nuanced insights into price movements and helps identify potential trading opportunities.
---
### **Key Features and Integration:**
1. **Moving Averages (MA20 & MA50):**
- **Trend Identification:**
- **Methodology:** Calculates two Simple Moving Averages—MA20 (short-term) and MA50 (long-term).
- **Bullish Trend:** When MA20 crosses above MA50, indicating upward momentum.
- **Bearish Trend:** When MA20 crosses below MA50, signaling downward momentum.
- **Golden Cross & Death Cross Alerts:**
- **Golden Cross:** MA20 crossing above MA50 generates a bullish alert and visual symbol.
- **Death Cross:** MA20 crossing below MA50 triggers a bearish alert and visual symbol.
- **Integration:**
- Serves as the foundational trend indicator, influencing interpretations of other indicators within the script.
2. **Relative Strength Index (RSI):**
- **Momentum Measurement:**
- **Methodology:** Calculates RSI to assess the speed and change of price movements over a 14-period length.
- **Overbought/Oversold Conditions:** Customizable thresholds set at 70 (overbought) and 30 (oversold).
- **Alerts:**
- Generates alerts when RSI crosses above or below the specified thresholds.
- **Integration:**
- Confirms trend strength identified by MAs.
- Overbought/Oversold signals can precede potential trend reversals, especially when aligned with MA crossovers.
3. **Stochastic Oscillator:**
- **Momentum and Reversal Signals:**
- **Methodology:** Uses %K and %D lines to evaluate price momentum relative to high-low range over recent periods.
- **Bullish Signal:** %K crossing above %D in oversold territory (below 20).
- **Bearish Signal:** %K crossing below %D in overbought territory (above 80).
- **Alerts:**
- Provides alerts on bullish and bearish crossovers in extreme regions.
- **Integration:**
- Enhances RSI signals by providing additional momentum confirmation.
- When both RSI and Stochastic indicate overbought/oversold conditions, it strengthens the likelihood of a reversal.
4. **Bollinger Bands:**
- **Volatility Visualization:**
- **Methodology:** Plots upper and lower bands based on standard deviations from a moving average (BB Basis).
- **Dynamic Support/Resistance:** Prices touching or exceeding the bands may indicate potential reversals.
- **Integration:**
- Works with RSI and Stochastic to identify overextended price movements.
- Helps in assessing volatility alongside trend and momentum indicators.
5. **Average True Range (ATR):**
- **Volatility Assessment:**
- **Methodology:** Calculates ATR over a 14-period length to measure market volatility.
- **ATR Bands:** Plots upper and lower bands relative to the current price using an ATR multiplier.
- **Integration:**
- Assists in setting stop-loss and take-profit levels based on current volatility.
- Complements Bollinger Bands for a comprehensive volatility analysis.
6. **Information Table:**
- **Real-Time Data Display:**
- Shows current values of MA20, MA50, RSI, Stochastic %K and %D, BB Basis, ATR, and Trend Status.
- **Trend Status Indicator:**
- Displays "Bullish," "Bearish," or "Sideways" based on MA conditions.
- **Integration:**
- Provides a consolidated view for quick decision-making without analyzing individual indicators separately.
7. **Periodic Labels:**
- **Enhanced Visibility:**
- Adds labels every 50 bars showing RSI and Stochastic values.
- **Integration:**
- Helps track momentum changes over time and spot longer-term patterns.
---
### **How the Components Work Together:**
- **Synergistic Analysis:**
- **Trend Confirmation:** MA crossovers establish the primary trend, while RSI and Stochastic confirm momentum within that trend.
- **Volatility Context:** Bollinger Bands and ATR provide context on market volatility, refining entry and exit points suggested by trend and momentum indicators.
- **Signal Strength:** Concurrent signals from multiple indicators increase confidence in trading decisions.
---
### **Usage Guidelines:**
1. **Trend Analysis:**
- **Identify Trend Direction:**
- Observe MA20 and MA50 crossovers.
- Refer to the Trend Status in the information table.
- **Confirm with Momentum Indicators:**
- Ensure RSI and Stochastic support the identified trend.
2. **Entry and Exit Points:**
- **Overbought/Oversold Conditions:**
- Look for RSI and Stochastic reaching extreme levels.
- Consider entering positions when oversold in a bullish trend or overbought in a bearish trend.
- **Bollinger Band Interactions:**
- Use price interactions with Bollinger Bands to identify potential reversal zones.
3. **Risk Management:**
- **ATR-Based Levels:**
- Set stop-loss and take-profit levels using ATR bands to account for current volatility.
- **Adjusting to Volatility:**
- Modify position sizes and targets based on Bollinger Band width and ATR values.
4. **Alerts Setup:**
- **Customize Alert Thresholds:**
- Configure alerts for MA crossovers, RSI levels, and Stochastic crossovers according to your trading strategy.
- **Stay Informed:**
- Use alerts to monitor key events without constant chart observation.
---
### **Customization:**
- **Flexible Parameters:**
- All indicator lengths, thresholds, and settings are adjustable to suit different trading styles and timeframes.
- **Adjustable Visuals:**
- Modify plot colors, line styles, and label positions to enhance chart readability.
---
### **Originality and Value Addition:**
This script differentiates itself by:
- **Integrated Approach:**
- Seamlessly combining multiple indicators to provide a more comprehensive analysis than using each indicator separately.
- **Enhanced Visualization:**
- Utilizing plots, fills, labels, and an information table to present data intuitively.
- **User-Friendly Features:**
- Pre-configured alerts and real-time data displays reduce the need for manual monitoring.
By explaining how each component interacts and contributes to the overall analysis, the script adds substantial value to traders seeking a multi-faceted tool for market analysis.
---
### **Additional Notes:**
- **Learning Resource:**
- The script is well-commented, serving as an educational tool for those learning Pine Script and technical analysis integration.
- **Further Enhancements:**
- Opportunities exist to incorporate additional indicators like MACD or ADX, and to develop advanced alert logic, such as RSI or Stochastic divergences.
---
### **Disclaimer:**
- **Educational Purpose Only:**
- This script is provided for informational purposes and should not be construed as financial advice.
- **Risk Acknowledgment:**
- Trading involves significant risk; past performance is not indicative of future results.
- **Due Diligence:**
- Users should conduct their own analysis and consider consulting a financial professional before making trading decisions.
---
By providing detailed explanations of the methodologies and the synergistic use of multiple indicators, this script aligns with TradingView's guidelines for originality and usefulness. It offers traders a unique tool that enhances market analysis through the thoughtful integration of technical indicators.
BORSI StrategyEMA: The strategy uses a 50-period EMA to determine the trend direction.
Buy Condition: The price must be above the EMA (indicating an uptrend).
Sell Condition: The price must be below the EMA (indicating a downtrend).
RSI: The RSI is used to identify overbought and oversold conditions:
Buy Condition: The RSI crosses above the oversold level (30) when the price is above the EMA.
Sell Condition: The RSI crosses below the overbought level (70) when the price is below the EMA.
9 EMA vs VWAP Crossover auto buy and sell strategyPurpose: The script is designed to provide trade signals based on the relationship between a short-term 9-period EMA and the VWAP.
How It Works:
Calculate the 9 EMA: Provides a short-term trend indicator.
Calculate the VWAP: Reflects the average price weighted by volume during the session.
Generate Signals:
A buy signal is generated when the 9 EMA crosses above the VWAP.
A sell (or short) signal is generated when the 9 EMA crosses below the VWAP.
Visual Feedback: The script plots the indicators and places labels on the chart to mark these crossovers.
MA 50/200 with Support/Resistance (Custom Candle Input)The MA 50/200 with Support/Resistance (Custom Candle Input) is a versatile trading indicator that combines two popular moving averages (MA 50 and MA 200) with customizable support and resistance levels.
Moving Averages (MA 50 and MA 200): These two moving averages help smooth out price action and identify the overall trend of the market. The MA 50 is commonly used to identify short-term trends, while the MA 200 is typically used to spot long-term trends. You can choose between SMA (Simple Moving Average) or EMA (Exponential Moving Average) based on your preference.
Support and Resistance: The indicator also highlights critical support and resistance levels based on a user-defined number of previous candles. This feature allows you to adjust how many bars back you want to analyze for these levels. For example, if you set it to 50, it will look at the highest and lowest prices of the last 50 bars to plot these key levels. The support is shown as a green line, and the resistance is shown as a red line. These levels often act as price barriers where the market tends to reverse or stall.
Customizable Candle Range: You can easily adjust the number of candles used to calculate the support and resistance levels, making it adaptable to different market conditions and trading styles. Whether you want to focus on a short-term or longer-term view, this flexibility gives you control over how you visualize price action.
In short, this indicator helps you track market trends with moving averages and provides clear visual markers for support and resistance based on your chosen timeframe, making it an effective tool for identifying potential price reversals or breakouts.
MA 50/200 with FibonacciThis indicator combines two classic tools for market analysis: the 50-period and 200-period Moving Averages (MA) and Fibonacci retracement levels.
The MA 50 (blue line) and MA 200 (red line) give you a quick view of the trend direction—whether the market is in an uptrend or downtrend based on the position of the price relative to these moving averages.
The Fibonacci retracement levels (green, blue, orange, purple, red, yellow, and black lines) are drawn based on the highest and lowest prices in the last 200 bars. These levels show key areas where the price might pull back or find support/resistance, helping you identify potential entry and exit points.
Whether you’re a trend follower or a retracement trader, this indicator offers a powerful combination to help spot trends and reversal zones in the market.
BBMA ZoneZeroLoss (ZZL) Oma AllyOma Ally is a Malaysian trader who developed the BBMA strategy, a method that combines Bollinger Bands and moving averages to identify potential market movements.
This strategy has gained popularity in Malaysia, Indonesia and Brunei and is used by many traders in the forex community.
The BBMA strategy includes several setups, including the "Reentry" setup, which aims to re-enter the market after a price correction in the direction of the main trend.
This setup is used by traders to determine precise entry and exit points.
The "Zero Loss Zone" is a concept within the BBMA strategy that aims to identify trading areas, e.g. for "re-entry" setups, where risk is minimised.
By applying specific criteria, such as the presence of strong trend candles and the positioning of certain moving averages, traders try to take positions with minimal risk of loss.
[COG] WeatherForecaster🌤️ Just like a weather forecast that adjusts as new data emerges, this TMA Pivot Points Forecaster adapts to evolving market conditions!
Description:
This indicator combines the power of a Triple Moving Average (TMA) with pivot point analysis to identify potential market turning points and trend directions. Like a meteorologist using various atmospheric data to predict weather patterns, this tool analyzes price action through multiple lenses to forecast potential market movements.
Key Features:
- Dynamic TMA Line: Acts as our "atmospheric pressure system," showing the underlying market direction
- Adaptive Pivot Points: Like weather stations, these pivots identify key market levels where the "climate" might change
- Smart Entry Signals: ☀️ and 🌧️ icons appear when conditions align for potential trades
- Timeframe-Adaptive: Automatically adjusts sensitivity across different timeframes
- Customizable Visuals: Adjust colors and styles to match your trading environment
Settings Include:
✓ TMA Length and Slope Sensitivity
✓ Pivot Point Parameters
✓ Visual Customization Options
✓ Toggle Entry Signals
✓ Toggle Pivot Lines
Note: Like weather forecasts that update with new data, this indicator recalculates as market conditions evolve. Past signals may adjust as more price action develops. Always use proper risk management and combine with other analysis tools.
Usage Guide:
The indicator works best when used as part of a complete trading system. Here's how to interpret the signals:
📈 Bullish Conditions:
- TMA Line turns green: Indicates upward momentum
- "Buy above 🌋" level appears: Potential resistance turned support level
- ☀️ Signal: Indicates favorable buying conditions
📉 Bearish Conditions:
- TMA Line turns red: Indicates downward momentum
- "Sell below 🌋" level appears: Potential support turned resistance level
- 🌧️ Signal: Indicates favorable selling conditions
⏺️ Ranging Conditions:
- TMA Line turns yellow: Market in consolidation
- 💤 Signal: Suggests waiting for clearer direction
Best Practices:
1. Higher timeframes (4H, Daily) tend to produce more reliable signals
2. Use the pivot lines as potential entry/exit reference points
3. Adjust the TMA length based on your trading style:
• Shorter lengths (20-30) for more active trading
• Longer lengths (50-60) for trend following
Settings Explained:
TMA Settings:
- TMA Length: Determines the smoothing period (default: 30)
- Slope Threshold: Controls trend sensitivity (default: 0.015)
Pivot Settings:
- Left/Right Bars: Controls pivot point calculation
- Line Length: Adjusts the visual length of pivot lines
- Line Style & Colors: Customize the visual appearance
Disclaimer:
Past performance does not guarantee future results. This indicator, like any technical tool, provides possibilities rather than certainties. Please test thoroughly on your preferred timeframes and markets before using with real capital.
Rejet_Chandeliers [SOC]This script automatically detects Rejection Candlesticks (such as Pin Bars and Dojis) and highlights key support and resistance levels on the chart.
Features:
Automatic identification of rejection candles
Dynamic display of support and resistance zones
Helps visualize potential reversal areas
This tool is designed for traders who use price action to analyze market structure and key levels.
#TradingView #PriceAction #Forex #Crypto #Stocks #RejectionCandles #SupportResistance
First 5 Candles RangeI'll explain this indicator which marks the high and low range of the first 5 minutes of the Indian market trading session:
Purpose:
This indicator identifies and marks the highest and lowest prices during the first 5 minutes (9:15 AM - 9:20 AM) of the Indian trading session
It draws two horizontal lines: red for the high and green for the low
These levels are often used by traders to identify potential support/resistance for the day
Bull vs Bear CandlesThe Bull vs Bear Candles indicator helps you analyze market sentiment by counting and comparing bullish and bearish candles. It tracks the number of bullish candles and calculates their percentage, then does the same for bearish candles. Based on this data, the indicator determines whether bulls or bears are in control. Additionally, it counts the total number of candles within the selected range, giving you a clearer picture of price action. Use this tool to quickly assess market trends and make more informed trading decisions. 🚀
SMT Divergence [TakingProphets]The SMT (Smart Money Technique) Divergence indicator identifies potential market manipulation and smart money footprints by comparing price action between correlated instruments. It uses a dual-detection system to catch both frequent local SMTs and larger structural SMTs:
• Primary detection uses a shorter lookback period (default 5) to identify common SMT patterns
• Secondary detection uses a longer lookback period (default 8) to catch larger structural SMTs
• Automatically filters significant moves to prevent noise
• Labels are placed clearly outside of price action for better visibility
• Toggle between showing all SMTs or only significant liquidity sweeps
Compare any two instruments to spot divergences in their price action. Particularly useful for:
- Futures vs Spot markets
- Related currency pairs
- Index vs its components
- Any correlated instruments
Default settings are optimized for intraday trading but can be adjusted for different timeframes.
Note: This indicator works best when comparing closely correlated instruments and should be used alongside other technical analysis tools.
RoGr75 Adaptive EMA CrossDescription:
The RoGr75 Adaptive EMA Cross indicator dynamically combines exponential moving averages (EMAs) with ATR-based volatility buffers to generate buy and sell signals across multiple timeframes. This script uses customizable settings for short and long EMAs, ATR, and volume filters, ensuring that signals are both volatility-adjusted and timeframe-aware. It includes features such as adaptive buffers, distinct price level filters for buying and selling, and a reset mechanism to prevent redundant signals. Additionally, the indicator manages signal labels efficiently to keep your chart uncluttered.
Warning:
This script is provided for testing and educational purposes only. It is not intended as financial advice, and past performance does not guarantee future results. Use at your own risk. Always conduct your own research before making any trading decisions.
Higher Timeframe Input: Choose a specific timeframe for the indicator’s calculations; leave blank to use the chart’s current timeframe.
Signal Distance: Sets the distance of signal labels from the candles as a multiple of the ATR.
Exact Value Offset: Adjusts the secondary marker’s position for precision on the chart.
ATR Length: Defines the period used to calculate the Average True Range for volatility measurement.
EMA Lengths: Specify the periods for the short and long exponential moving averages.
Buy/Sell Buffer ATR Multipliers: Dynamically adjust the trigger distance beyond the EMA crossovers based on volatility.
Price Level Filter: Activates a filter so that buy signals only occur above a set price and sell signals only occur below that price (0 disables the filter).
Volume Filter: Optionally requires current volume to exceed a set multiple of a 20-period average for signal confirmation.
Reset Period: Resets the last signal memory after a specified number of bars to avoid suppressing valid repeat signals.
EMA Colors & Line Width: Customize the appearance of the short and long EMAs.
Label Colors & Styles: Choose colors, text colors, and styles for the buy and sell signal labels.
Background Highlighting: Optionally colors the background when a buy or sell signal occurs.
Label Management: Automatically removes the oldest labels when a set maximum is reached to keep the chart clean.
Alerts: Predefined conditions allow you to set TradingView alerts when buy or sell signals are generated.
Warning: This indicator is for testing purposes only and is not financial advice. Use it at your own risk.
Reversal rehersal v1This indicator was designed to identify potential market reversal zones using a combination of RSI thresholds (shooting range/falling range), candlestick patterns, and Fair Value Gaps (FVGs). By combining all these elements into one indicator, it allow for outputting high probability buy/sell signals for use by scalpers on low timeframes like 1-15 mins, for quick but small profits.
Note: that this has been mainly tested on DE40 index on the 1 min timeframe, and need to be adjusted to whichever timeframe and symbol you intend to use. Refer to the backtester feature for checking if this indicator may work for you.
The indicator use RSI ranges from two timeframes to highlight where momentum is building up. During these areas, it will look for certain candlestick patterns (Sweeps as the primary one) and check for existance of fair value gaps to further enhance the hitrate of the signal.
The logic for FVG detection was based on ©pmk07's work with MTF FVG tiny indicator. Several major changes was implemented though and incorporated into this indicator. Among these are:
Automatically adjustments of FVG boxes when mitigated partially and options to extend/cull boxes for performance and clarity.
Backtesting Table (Experimental):
This indicator also features an optional simplified table to review historical theoretical performance of signals, including win rate, profit/loss, and trade statistics. This does not take commision or slippage into consideration.
Usage Notes:
Setup:
1. Add the indicator to your chart.
2. Decide if you want to use Long or Short (or both).
3. If you're scalping on ie. 1 min time frame, make sure to set FVG's to higher timeframes (ie. 5, 15, 60).
4. Enable the 'Show backtest results' and adjust the 'Signals' og 'Take profit' and 'Stop loss' values until you are satisfied with the results.
Use:
1. Setup an alert based on either of the 'BullishShooting range' or 'BearishFalling range' alerts. This will draw your attention to watch for the possible setups.
2. Verify if there's a significant imbalance prior to the signal before taking the trade. Otherwise this may invalidate the setup.
3. Once a signal is shown on the graph (either Green arrow up for buys/Red arrow down for sells) - you should enter a trade with the given 'Take profit' and 'Stop loss' values.
4. (optional) Setup an alert for either the Strong/Weak signals. Which corresponds to when one of the arrows are printed.
Important: This is the way I use it myself, but use at own risk and remember to combine with other indicators for further confluence. Remember this is no crystal ball and I do not guarantee profitable results. The indicator merely show signals with high probability setups for scalping.
Fibonacci Retracement/ExtensionThis Pine Script code implements Fibonacci retracement and extension levels based on a ZigZag pattern. Below is a breakdown of its functionality:
Overview
The script calculates Fibonacci retracement and extension levels by identifying swing highs and swing lows using the ZigZag algorithm. It then plots these levels on the chart for trend analysis.
1. ZigZag Length Input
Defines the ZigZag length, which determines the sensitivity of peak and trough identification.
2. Fibonacci Retracement Calculation
Computes Fibonacci retracement levels using swing highs and lows.
Uses pre-defined Fibonacci ratios (0.236, 0.382, 0.5, 0.618, 0.786, 1.0).
Adjusts line positions dynamically as the trend evolves.
3. Fibonacci Extension Calculation
Identifies Fibonacci extension levels for future price targets.
Uses previous ZigZag patterns to estimate potential price movements.
4. Trend and Fibonacci Configuration
Allows the user to configure Fibonacci trend analysis.
TrendSw: Sets the trend direction (1 = Bullish, -1 = Bearish, 0 = None).
ZigZagleg: Determines the countback value for retracement calculations.
Daily COC Strategy with SHERLOCK WAVESThis indicator implements a unique trading strategy known as the "Daily COC (Candle Over Candle) Strategy" enhanced with "SHERLOCK WAVES" for pattern recognition. It's designed for traders looking to capitalize on specific candlestick formations with a negative risk-reward ratio, with the aim of achieving a high win rate (over 70%) through numerous trading opportunities, despite each trade having a higher risk relative to the reward.
Key Features:
Pattern Recognition: Identifies a setup based on three consecutive candles - a red candle followed by a shooting star, then an entry candle that does not break below the shooting star's low.
Negative Risk/Reward Trade Selection: Focuses on entries where the potential stop loss is greater than the take profit, banking on a high win rate to offset the individual trade's negative risk-reward ratio.
Visual Signals:
Green Label: Marks potential entry points at the high of the candle before the entry.
Green Dot: Indicates a winning trade closure.
Red Dot: Signals a losing trade closure.
Blue Circle: Warns when the current candle is within 2% of breaking above the previous candle's high, suggesting a potential setup is developing.
Green Circle: Plots the take profit level.
Red Circle: Plots the stop loss level.
Dynamic Statistics: A live updating label showing the number of trades, wins, losses, open trades, current account balance, and win percentage.
Customizable Parameters:
Risk % per Trade: Adjust the percentage of your account balance you're willing to risk on each trade.
Initial Account Balance: Set your starting balance for tracking performance.
Start Date for Strategy: Define when the strategy should start calculating from, allowing for backtesting.
Alerts:
An alert condition is set for when a potential trade setup is developing, helping traders prepare for entries.
Usage Tips:
This strategy is predicated on the idea that a high win rate can compensate for the negative risk-reward ratio of individual trades. It might not suit all market conditions or traders' risk profiles.
Use this strategy in conjunction with other analysis methods to validate trade setups.
Note: Always backtest thoroughly before applying to live markets. Consider this tool as part of a broader trading strategy, not a standalone solution. Monitor your win rate and adjust your risk management accordingly to ensure the strategy remains profitable over time.
This description now correctly explains the purpose behind the negative risk-reward ratio in the context of your trading strategy.
RoGr75 - EMA Cross Signal with Buffer and Variable Distance**Overview**:
This script is designed to identify potential buy and sell signals based on the crossover of two Exponential Moving Averages (EMAs) – a short-term EMA (default: 8 periods) and a long-term EMA (default: 50 periods). To reduce noise and false signals, the script incorporates a customizable buffer percentage, ensuring that signals are only generated when the short-term EMA moves significantly above or below the long-term EMA. Additionally, the script allows users to adjust the distance of the signals from the candles using the Average True Range (ATR) for better visualization.
---
Improvements: Added Buffer Percentage for reduced noise in Signals
### **Key Features**:
1. **EMA Crossover Signals**:
Buy Signal: Generated when the short-term EMA crosses above the long-term EMA.
Sell Signal: Generated when the short-term EMA crosses below the long-term EMA.
2. **Buffer Percentage**:
A user-defined buffer percentage ensures that signals are only triggered when the short-term EMA moves a specified percentage above or below the long-term EMA, reducing false signals.
3. **Customizable Signal Distance**:
Signals are plotted at a user-defined distance from the candles, calculated using the ATR (Average True Range) for dynamic positioning.
4. **Visual Enhancements**:
Buy and sell signals are displayed as labels above or below the candles, with optional background highlighting for better visibility.
5. **Flexible Inputs**:
Users can customize the lengths of the short-term and long-term EMAs, the ATR period, the signal distance multiplier, and the buffer percentage.
6. **Alerts**:
Built-in alert conditions allow users to receive real-time notifications for buy and sell signals.
### **Input Parameters**:
**Short EMA Length**: Period for the short-term EMA (default: 8).
**Long EMA Length**: Period for the long-term EMA (default: 50).
**Signal Distance**: Multiplier for ATR to determine the distance of signals from the candles (default: 2.0).
**ATR Length**: Period for the ATR calculation (default: 14).
**Buffer Percentage**: Percentage buffer for reversal signals to reduce noise (default: 1.0%).
### **Ideal For**:
Traders who use EMA crossovers as part of their strategy.
Those looking to reduce false signals with a buffer mechanism.
Users who prefer dynamic signal positioning based on market volatility (ATR).
### **Notes**:
The buffer percentage ensures that signals are only generated when the price moves significantly, making it suitable for trend-following strategies.
The script is highly customizable, allowing traders to adapt it to different timeframes and instruments.
Micha Stocks Custom WatermarkThis Pine Script v5 indicator adds a customizable watermark to TradingView charts, displaying key stock information while allowing for flexible positioning and formatting.
📌 Features & Functionality:
✅ Custom Positioning:
• Fixed to the top-left corner.
• Adjustable spacing ensures the text is properly aligned.
✅ Displayed Information (Configurable):
• Company Name & Market Cap (Optional: Shows dynamically calculated market cap)
• Stock Ticker & Timeframe
• Industry & Sector
✅ Customization Options:
• Font Size: Huge, Large, Normal, Small
• Text Color & Transparency: Adjustable
• Proper Left Alignment for a clean, structured display
• Vertical Offset Tweaks to move text down for better visibility
✅ Optimized Table Layout:
• Uses table.new() for persistent placement.
• Added an empty row to fine-tune positioning, ensuring the watermark doesn’t overlap key chart areas.
🔧 Use Case:
Designed for traders who want a clear, customizable stock watermark to enhance their charting experience without obstructing price action.
Support and Resistancelookback: This input allows you to specify the number of bars to look back to calculate the support and resistance levels.
support: This is calculated as the lowest low over the specified lookback period.
resistance: This is calculated as the highest high over the specified lookback period.
plot: The support and resistance levels are plotted on the chart with different colors.
bgcolor: This optional feature highlights the support and resistance zones with a semi-transparent background color.
RoGr75 - EMA 50/8 Cross With Buy/Sell Signals RoGr75 - EMA 50/8 Cross With Buy/Sell Signals
---
**Overview:**
This script is designed to generate **Buy** and **Sell** signals based on the crossover and crossunder of two Exponential Moving Averages (EMAs): **EMA 8** (green line) and **EMA 50** (blue line). The signals are plotted at a user-defined distance from the candles, ensuring clear visibility and adaptability to market volatility.
---
**Key Features:**
1. **EMA Cross Signals**:
- A **Buy Signal** is generated when the **EMA 8** crosses above the **EMA 50**.
- A **Sell Signal** is generated when the **EMA 8** crosses below the **EMA 50**.
2. **Variable Signal Distance**:
- The distance of the Buy and Sell signals from the candles is controlled by a **user-defined input** (`signal_distance`).
- The distance is calculated using the **Average True Range (ATR)** to adapt to market volatility.
3. **Customizable Parameters**:
- `signal_distance`: Adjust the distance of the signals from the candles (default: 2.0).
- ATR period: Fixed at 14 but can be modified in the script.
4. **Visual Enhancements**:
- Buy signals are displayed as green labels below the candles.
- Sell signals are displayed as red labels above the candles.
- Optional background highlighting for Buy and Sell signals.
---
**How It Works:**
- The script calculates the **EMA 8** and **EMA 50** and plots them on the chart.
- When a crossover or crossunder occurs, a label is placed at a distance determined by the formula:
- **Buy Signal Position**: `low - (signal_distance * ATR(14))`
- **Sell Signal Position**: `high + (signal_distance * ATR(14))`
- The signals are clearly visible and adapt to the volatility of the asset.
---
**Input Parameters:**
- `signal_distance` (type: input float): Controls the distance of the Buy and Sell signals from the candles. Default value is `2.0`.
---
**Usage:**
1. Add the script to your chart in TradingView.
2. Adjust the `signal_distance` input to set the desired distance of the signals from the candles.
3. Monitor the Buy and Sell signals generated by the script for potential trading opportunities.
---
**Example:**
- If `signal_distance` is set to `2.0`, the Buy signal will appear **2x ATR** below the candle's low, and the Sell signal will appear **2x ATR** above the candle's high.
---
**Customization:**
- Modify the ATR period or replace it with a fixed value for static distance.
- Adjust the colors, styles, and sizes of the labels and EMAs to suit your preferences.
---
**Ideal For:**
- Traders looking for a simple and effective EMA crossover strategy.
- Users who want customizable signal placement for better visibility.
- Those who prefer volatility-adjusted signal distances.
---
**Note:**
This script is for educational and informational purposes only. Always backtest and validate strategies before using them in live trading.