Indicadores e estratégias
Deshmukh DivergenceRSI Divergence with Moving Average Indicator
Description:
This indicator combines RSI divergence signals with a moving average (MA) on the RSI for enhanced trend analysis and signal confirmation. It identifies regular and hidden divergences between the price and RSI values, generating buy/sell signals based on these patterns. The added RSI moving average allows users to spot smoother trends and potential reversals.
How It Works:
RSI Calculation:
The Relative Strength Index (RSI) is calculated using the user-defined length.
Helps identify overbought and oversold conditions.
RSI Moving Average:
A simple moving average (SMA) is applied to the RSI to smooth its fluctuations.
Provides a clearer view of RSI trends.
Divergence Detection:
Regular Divergence:
Buy Signal: Price makes a lower low, but RSI makes a higher low.
Sell Signal: Price makes a higher high, but RSI makes a lower high.
Hidden Divergence:
Buy Signal: Price makes a higher low, but RSI makes a lower low.
Sell Signal: Price makes a lower high, but RSI makes a higher high.
Signal Visualization:
Signals are displayed as labeled shapes on the chart:
Green Up Arrow: Regular Buy.
Red Down Arrow: Regular Sell.
Blue Up Arrow: Hidden Buy.
Orange Down Arrow: Hidden Sell.
Overbought/Oversold Levels:
Horizontal lines mark overbought (70) and oversold (30) zones for quick reference.
This indicator is suitable for traders looking to identify potential trend reversals or continuations with the help of divergence patterns and RSI smoothing
London New York Sessions (simple)A simple TradingView indicator that visualizes London and New York trading sessions on your charts. It displays session boxes with custom colors and highlights the high/low range for each session. Features include:
- Customizable time ranges for both London (08:00-16:30 UTC) and New York (13:00-22:00 UTC) sessions
- Color-coded session boxes with labels
- Real-time session status indicator table
- Session overlap visualization
- High/low range tracking for each session period
Triple Supertrend by Mr. Debabrata SahaThis is a triple supertrend indicator, in which :- 01 current time frame and 02 multi timeframe supertrend are used
A. Supertrend of Current time frame
B. Supertrend of higher time frame 1
c. Supertrend of higher time frame 2
* it also has background colour, by seeing background colour it smoothen understanding of current trend.
[Sapphire] RSI Divergence Indicator + AlertsRSI Divergence Indicator
I added time filters so you can have up to 3 time windows you can filter signals with so you can utilize the signal at your discretion.
Each type of signal has an alert coded into it so you can get alerts when each signal occurs.
Trading Style:
Use the Bull as your entry and exit when a Bear signal occurs or when RSI reaches 80 (default).
RMB-Cycle Oscillator 3RSI and MACD are the base indicators. The background color represents the expansion and contraction of the Bollinger Bands.
IU Higher Timeframe MA Cross StrategyIU Higher Timeframe MA Cross Strategy
The IU Higher Timeframe MA Cross Strategy is a versatile trading tool designed to identify trend by utilizing two customizable moving averages (MAs) across different timeframes and types. This strategy includes detailed entry and exit rules with fully configurable inputs, offering flexibility to suit various trading styles.
Key Features:
- Two moving averages (MA1 and MA2) with customizable types, lengths, sources, and timeframes.
- Both long and short trade setups based on MA crossovers.
- Integrated risk management with adjustable stop-loss and take-profit levels based on a user-defined risk-to-reward (RTR) ratio.
- Clear visualization of MAs, entry points, stop-loss, and take-profit zones.
Inputs:
1. Risk-to-Reward Ratio (RTR):
- Defines the take-profit level in relation to the stop-loss distance. Default is 2.
2. MA1 Settings:
- Source: Select the data source for calculating MA1 (e.g., close, open, high, low). Default is close.
- Timeframe: Specify the timeframe for MA1 calculation. Default is 60 (60-minute chart).
- Length: Set the lookback period for MA1 calculation. Default is 20.
- Type: Choose the type of moving average (options: SMA, EMA, SMMA, WMA, VWMA). Default is EMA.
- Smooth: Option to enable or disable smoothing of MA1 to merge gaps. Default is true.
3. MA2 Settings:
- Source: Select the data source for calculating MA2 (e.g., close, open, high, low). Default is close.
- Timeframe: Specify the timeframe for MA2 calculation. Default is 60 (60-minute chart).
- Length: Set the lookback period for MA2 calculation. Default is 50.
- Type: Choose the type of moving average (options: SMA, EMA, SMMA, WMA, VWMA). Default is EMA.
- Smooth: Option to enable or disable smoothing of MA2 to merge gaps. Default is true.
Entry Rules:
- Long Entry:
- Triggered when MA1 crosses above MA2 (crossover).
- Entry is confirmed only when the bar is closed and no existing position is active.
- Short Entry:
- Triggered when MA1 crosses below MA2 (crossunder).
- Entry is confirmed only when the bar is closed and no existing position is active.
Exit Rules:
- Stop-Loss:
- For long positions: Set at the low of the bar preceding the entry.
- For short positions: Set at the high of the bar preceding the entry.
- Take-Profit:
- For long positions: Calculated as (Entry Price - Stop-Loss) * RTR + Entry Price.
- For short positions: Calculated as Entry Price - (Stop-Loss - Entry Price) * RTR.
Visualization:
- Plots MA1 and MA2 on the chart with distinct colors for easy identification.
- Highlights stop-loss and take-profit levels using shaded zones for clear visual representation.
- Displays the entry level for active positions.
This strategy provides a robust framework for traders to identify and act on trend reversals while maintaining strict risk management. The flexibility of its inputs allows for seamless customization to adapt to various market conditions and trading preferences.
Multi-Signal + ICT Concepts (HTF/FVG/Killzone/BOS)-CONSERVATIVEThis was made my chatgpt and my knowledgeable prompts
Custom Volatility StrategyThe TTM Squeeze Indicator is a popular technical analysis tool designed to identify periods of consolidation and potential breakout points in the market. It helps traders recognize when a market is "squeezing" into a narrow range and about to make a significant move, either up or down.
How the TTM Squeeze Works:
Volatility Component (Bollinger Bands and Keltner Channels):
The TTM Squeeze is based on the relationship between Bollinger Bands (BB) and Keltner Channels (KC).
A "squeeze" occurs when the Bollinger Bands contract and move inside the Keltner Channels, indicating low volatility.
When the Bollinger Bands expand beyond the Keltner Channels, it signals the end of the squeeze and a potential start of a trending move.
Momentum Component:
The indicator uses a histogram to show the direction and strength of momentum.
Positive bars on the histogram indicate bullish momentum, while negative bars indicate bearish momentum.
Dots on the Zero Line:
Red dots: The market is in a squeeze (low volatility).
Green dots: The squeeze is released (increased volatility).
Price Action Signal//@version=5
indicator("Price Action Signal", overlay=true)
// Input parameters
lookbackPeriod = input.int(7, title="Lookback Period")
timeframe = "15"
// Get high and low for the lookback period on the specified timeframe
highLookback = request.security(syminfo.tickerid, timeframe, ta.highest(high, lookbackPeriod))
lowLookback = request.security(syminfo.tickerid, timeframe, ta.lowest(low, lookbackPeriod))
close15 = request.security(syminfo.tickerid, timeframe, close)
// Conditions
buySignal = close15 > highLookback
sellSignal = close15 < lowLookback
// Plot signals on the chart
plotshape(buySignal, style=shape.labelup, location=location.belowbar, color=color.new(color.green, 0), size=size.small, title="Buy Signal")
plotshape(sellSignal, style=shape.labeldown, location=location.abovebar, color=color.new(color.red, 0), size=size.small, title="Sell Signal")
// Labels for debugging
label.new(bar_index, na, "High Lookback: " + str.tostring(highLookback), style=label.style_none, color=color.new(color.white, 90))
label.new(bar_index, na, "Low Lookback: " + str.tostring(lowLookback), style=label.style_none, color=color.new(color.white, 90))
Pattern Detector with AlertsPattern Detector with alert is a tool which detect the candle stick pattern from upward direction to down trend direction or down trend direction to upward direction by name of candles .
Advanced Trading StrategyThis is an advanced trading strategy to help you get better trading entries based on trend and swing points = this has not been tested yet
EMA (10/20/50/200) with table and zone by Mr. Debabrata Saha1. This indicator consists of 10/ 20/ 50/ 200 EMA.
2. It has also multi timeframe information.
3. It has a table which indicates in multi timeframe where the price is (above or below).
4. It has also EMA based bearish and bullish zone information in multi timeframe
My script1. Setup:
Bollinger Bands: Period = 20, Standard Deviation = 2 (default settings).
Timeframe: 15-minute, 30-minute, or 1-hour charts — aap yeh strategy intraday trading ke liye use kar sakte hain.
2. Identify the Squeeze (Consolidation Phase):
Look for periods when the Bollinger Bands squeeze together, indicating low volatility and a potential breakout in price.
The squeeze happens when the upper band comes very close to the lower band. This suggests that the price is consolidating and could soon make a sharp move.
3. Trigger the Breakout or Breakdown:
Bullish Breakout: Price breaks above the upper Bollinger Band.
Bearish Breakdown: Price breaks below the lower Bollinger Band.
Volume is an important confirmation. If the price breaks out with high volume, this signals a more reliable move.
4. Entry Point:
Bullish Entry: Enter a long position when the price breaks above the upper Bollinger Band with high volume.
Bearish Entry: Enter a short position when the price breaks below the lower Bollinger Band with high volume.
5. Target for Daily 2% to 5% Returns:
Set a daily return target of 2% to 5% based on your capital and the instrument you are trading (stocks, options, etc.).
For example, agar aap ek stock par kaam kar rahe hain, to aapko price move ko closely monitor karna hoga. Agar stock price breakout ke baad 2% se 5% ke beech move karta hai, toh aap apne profit target ko set kar sakte hain.
6. Stop-Loss:
Stop-Loss ko aap breakout ke opposite side ke paas set kar sakte hain. Example:
Agar aap long trade kar rahe hain (bullish breakout), toh aapka stop-loss lower Bollinger Band ke neeche set ho sakta hai.
Agar aap short trade kar rahe hain (bearish breakdown), toh aapka stop-loss upper Bollinger Band ke upar set ho sakta hai.
Stop-loss ko 1% to 2% risk ke andar rakhein (depending on your risk tolerance).
7. Trade Management (Exit Strategy):
Exit Point:
When your target is reached (2% to 5% profit), exit the trade.
If the price starts to reverse and moves against you, exit the trade early to protect your gains or cut losses.
Trailing Stop-Loss: As the price moves in your favor, you can use a trailing stop-loss to lock in profits. For example, if you are in a long position and the price moves up, you can raise your stop-loss to the entry point or above the previous swing high.
8. Risk Management:
Risk per trade should be limited to 1% to 2% of your capital. For example, if your account balance is $10,000, your stop-loss should be set to lose only $100 to $200 per trade. This prevents big losses in case the trade goes against you.
Use proper position sizing based on your risk tolerance and stop-loss distance.
Example of the Strategy:
Scenario 1: Bullish Breakout
Stock A is in a tight range for several hours, and the Bollinger Bands have squeezed significantly.
Price breaks above the upper Bollinger Band, indicating a bullish breakout.
Entry: You enter a long position when the price breaks the upper band.
Target: Set a target of 3% profit from the breakout point (based on your risk tolerance and stock's volatility).
Stop-Loss: Set the stop-loss just below the lower Bollinger Band or a recent swing low, ensuring that your loss is limited to 1% to 2% of your capital.
Exit: If the price hits your target of 3% profit, exit the position. If the price reverses, exit earlier to avoid larger losses.
Scenario 2: Bearish Breakdown
Stock B shows a squeeze, and the price breaks below the lower Bollinger Band, signaling a potential bearish trend.
Entry: You enter a short position when the price breaks the lower band.
Target: Set a target of 2% to 5% profit based on the average daily range of the stock.
Stop-Loss: Place the stop-loss just above the upper Bollinger Band or a recent swing high.
Exit: Exit the trade when the price moves 2% to 5% in your favor or if there is a reversal.
Key Points:
Volatility is key to achieving 2% to 5% returns. Higher volatility leads to bigger price moves, so make sure you are choosing assets that exhibit sufficient movement.
Risk Management: Ensure that your risk per trade is controlled and stop-losses are tight.
Consistency: This strategy requires patience. Not every squeeze will lead to a profitable breakout, and fakeouts (false breakouts) can happen.
Market Conditions: The strategy works best in trending markets or when volatility increases. Avoid using it during low volatility or sideways market conditions.
Conclusion:
To target 2% to 5% daily returns with the Bollinger Band Squeeze strategy, it's crucial to choose assets with sufficient volatility, use risk management techniques, and strictly adhere to your stop-losses. With discipline and proper execution, this strategy can generate solid returns in intraday or short-term trades. However, always backtest and paper trade this strategy before applying real money.
Heikin Ashi RSI Oscillator with Alertswhe the rsi cross the upper band while hekinashi cNDLE Change color then buy. viseversa for sell. 1m chart and 1:1 rr.
Tillson T3 Moving Average - Screener mehmet şahin beyler//@version=4
//Developed by Tim Tillson
//author: KIVANÇ @fr3762 on twitter
study("Tillson T3", overlay=true)
T3FiboLine = input(false, title="Show T3 Fibonacci Ratio Line?")
length1 = input(8, "T3 Length")
a1 = input(0.7, "Volume Factor")
e1 = ema((high + low + 2 * close) / 4, length1)
e2 = ema(e1, length1)
e3 = ema(e2, length1)
e4 = ema(e3, length1)
e5 = ema(e4, length1)
e6 = ema(e5, length1)
c1 = -a1 * a1 * a1
c2 = 3 * a1 * a1 + 3 * a1 * a1 * a1
c3 = -6 * a1 * a1 - 3 * a1 - 3 * a1 * a1 * a1
c4 = 1 + 3 * a1 + a1 * a1 * a1 + 3 * a1 * a1
T3 = c1 * e6 + c2 * e5 + c3 * e4 + c4 * e3
col1 = T3 > T3
col3 = T3 < T3
color_1 = col1 ? color.green : col3 ? color.red : color.yellow
plot(T3, color=color_1, linewidth=3, title="T3")
length12 = input(5, "T3 Length fibo")
a12 = input(0.618, "Volume Factor fibo")
e12 = ema((high + low + 2 * close) / 4, length12)
e22 = ema(e12, length12)
e32 = ema(e22, length12)
e42 = ema(e32, length12)
e52 = ema(e42, length12)
e62 = ema(e52, length12)
c12 = -a12 * a12 * a12
c22 = 3 * a12 * a12 + 3 * a12 * a12 * a12
c32 = -6 * a12 * a12 - 3 * a12 - 3 * a12 * a12 * a12
c42 = 1 + 3 * a12 + a12 * a12 * a12 + 3 * a12 * a12
T32 = c12 * e62 + c22 * e52 + c32 * e42 + c42 * e32
col12 = T32 > T32
col32 = T32 < T32
color2 = col12 ? color.blue : col32 ? color.purple : color.yellow
plot(T3FiboLine and T32 ? T32 : na, color=color2, linewidth=2, title="T3fibo")
alertcondition(crossover(T3, T3 ), title="T3 BUY", message="T3 BUY!")
alertcondition(crossunder(T3, T3 ), title="T3 SELL", message="T3 SELL!")
alertcondition(cross(T3, T3 ), title="Color ALARM", message="T3 has changed color!")
Advanced Trading Strategy//@version=5
indicator("Advanced Trading Strategy", overlay=true)
// === Input Parameters ===
input_length = input.int(14, title="Length for Highs/Lows")
input_risk_reward = input.float(2.0, title="Risk-Reward Ratio")
input_stop_offset = input.float(10, title="Stop Loss Offset (ticks)")
input_take_offset = input.float(20, title="Take Profit Offset (ticks)")
input_alerts = input.bool(true, title="Enable Alerts")
// === Functions for Swings ===
swingHigh(len) =>
high > ta.highest(high , len) and high > ta.highest(high , len)
swingLow(len) =>
low < ta.lowest(low , len) and low < ta.lowest(low , len)
// === Swing High and Low Detection ===
var float swing_high = na
var float swing_low = na
if bar_index > input_length
if swingHigh(input_length)
swing_high := high
if swingLow(input_length)
swing_low := low
// === Entry Conditions ===
long_condition = not na(swing_high) and ta.crossover(close, swing_high)
short_condition = not na(swing_low) and ta.crossunder(close, swing_low)
// === Risk Management ===
var float long_entry = na
var float short_entry = na
var float stop_loss = na
var float take_profit = na
if long_condition
long_entry := swing_high
stop_loss := long_entry - input_stop_offset * syminfo.mintick
take_profit := long_entry + input_take_offset * input_risk_reward * syminfo.mintick
if short_condition
short_entry := swing_low
stop_loss := short_entry + input_stop_offset * syminfo.mintick
take_profit := short_entry - input_take_offset * input_risk_reward * syminfo.mintick
// === Plotting ===
// Entry Labels
var label long_label = na
var label short_label = na
if long_condition
if na(long_label)
long_label := label.new(bar_index, swing_high, "Buy", style=label.style_label_up, color=color.new(color.green, 0), textcolor=color.white)
else
label.set_xy(long_label, bar_index, swing_high)
if short_condition
if na(short_label)
short_label := label.new(bar_index, swing_low, "Sell", style=label.style_label_down, color=color.new(color.red, 0), textcolor=color.white)
else
label.set_xy(short_label, bar_index, swing_low)
// Stop Loss and Take Profit Lines
var line stop_loss_line = na
var line take_profit_line = na
if not na(stop_loss)
if na(stop_loss_line)
stop_loss_line := line.new(bar_index, stop_loss, bar_index + 1, stop_loss, color=color.red, width=2, style=line.style_dotted)
else
line.set_xy1(stop_loss_line, bar_index, stop_loss)
line.set_xy2(stop_loss_line, bar_index + 1, stop_loss)
if not na(take_profit)
if na(take_profit_line)
take_profit_line := line.new(bar_index, take_profit, bar_index + 1, take_profit, color=color.green, width=2, style=line.style_dotted)
else
line.set_xy1(take_profit_line, bar_index, take_profit)
line.set_xy2(take_profit_line, bar_index + 1, take_profit)
// Alerts
alertcondition(long_condition, title="Long Alert", message="Buy signal detected at {{close}}")
alertcondition(short_condition, title="Short Alert", message="Sell signal detected at {{close}}")
Adaptive Trend Finder - Pulse Frequency(Basic)The Adaptive Pulse Frequency & Amplitude Trend Indicator is a Pine Script-based tool designed for lower timeframe volume analysis and trend detection. By analyzing volume dynamics and identifying significant "pulses" in market activity, this indicator provides insights into bullish and bearish trends. Here's an overview of its key features and components:
1. Lower Timeframe Volume Analysis
Custom Timeframe Input: The indicator scans lower timeframe data to approximate Up/Down volume, with an optional override to set a custom timeframe.
Volume Delta Calculation: Tracks changes in volume (deltaVolume), representing the difference between up and down volume for each bar.
2. Adaptive Pulse Detection
Rolling Percentile Threshold: Dynamically calculates a threshold based on the pulsePercentile of the absolute delta volume within a specified lookback period (pulseLookback).
Pulse Identification: Bars where the absolute delta volume exceeds the adaptive threshold are classified as "pulses," indicating significant market activity.
Bullish Pulse: Positive delta volume exceeding the threshold.
Bearish Pulse: Negative delta volume exceeding the threshold.
3. Frequency & Amplitude Analysis
Pulse Frequency: Measures the number of bullish or bearish pulses within a rolling window (freqLookback), providing insights into the activity level.
Pulse Amplitude: Computes the cumulative volume delta for bullish and bearish pulses over a defined period (ampLookback), offering a finer view of market strength:
Bullish Amplitude: Sum of positive delta volume for bullish pulses.
Bearish Amplitude: Sum of absolute delta volume for bearish pulses.
4. Trend Logic
Trend Classification:
Bullish Trend: Higher bullish pulse frequency and amplitude.
Bearish Trend: Higher bearish pulse frequency and amplitude.
Neutral Trend: Mixed or inconclusive signals.
Advanced Metrics: Combines frequency and amplitude for robust trend assessment.
5. Visualization
Dynamic Threshold: Plots the adaptive threshold for real-time pulse detection.
Trend Visualization: Colors the chart background based on the identified trend (Bullish, Bearish, Neutral).
Amplitude and Frequency Lines: Displays separate plots for:
Net Frequency (Bullish - Bearish pulses).
Net Amplitude (Bullish amplitude - Bearish amplitude).
Individual bullish and bearish amplitudes for reference.
Use Case
This indicator is ideal for traders seeking to:
Analyze market activity on lower timeframes.
Identify shifts in bullish/bearish momentum through volume dynamics.
Enhance trend-following strategies with adaptive frequency and amplitude metrics.
With its focus on precision and adaptability, the Adaptive Pulse Frequency & Amplitude Trend Indicator is a powerful tool for volume-based market analysis.
Arrow-Trade vol1.2-FinalSkrypt ten jest przydatnym narzędziem dla traderów, którzy chcą szybko zidentyfikować istotne sygnały rynkowe oraz formacje świecowe w czasie rzeczywistym, a także dostosować wygląd wskaźników do swoich potrzeb.
Jest on prosty w obsłudze, wystarczy zaobserwować ruch ceny na wykresie. Dostosować się do wytycznych takie jak strzałki.
Vektor-Kerzen//@version=5
indicator("Vektor-Kerzen", overlay=true)
// Berechnung der Vektorkerzen
openVektor = (open + close) / 2
closeVektor = (high + low) / 2
// Farbe für die Kerzen
col = closeVektor > openVektor ? color.green : color.red
// Vektorkerzen zeichnen
plotcandle(openVektor, high, low, closeVektor, color=col, wickcolor=color.gray, bordercolor=col)