Directional Movement Index 2.0.1directional movement index with two horizontal line of 60 and 10 for overbought and oversell zones
Indicators and strategies
Heikin Ashi with EMA 18 (Buy/Sell Only on First Cross)Credit HMUZ CRYPTO FUTURES
@Ittipon Pornpibul (TAW)
Accumulation & Distribution Zones with Manipulation//@version=5
indicator("Accumulation & Distribution Zones with Manipulation", overlay=true)
// Parameters
fastLength = input.int(9, title="Fast MA Length")
slowLength = input.int(21, title="Slow MA Length")
manipulationThreshold = input.float(2.0, title="Manipulation Threshold (%)", minval=0)
// Moving Averages
fastMA = ta.sma(close, fastLength)
slowMA = ta.sma(close, slowLength)
// Plot Moving Averages
plot(fastMA, color=color.blue, title="Fast MA")
plot(slowMA, color=color.red, title="Slow MA")
// Identify Accumulation and Distribution
accumulation = ta.crossover(fastMA, slowMA) // Bullish crossover
distribution = ta.crossunder(fastMA, slowMA) // Bearish crossover
// Plot Accumulation and Distribution Zones
bgcolor(accumulation ? color.new(color.green, 90) : na, title="Accumulation Zone")
bgcolor(distribution ? color.new(color.red, 90) : na, title="Distribution Zone")
// Draw Boxes for Accumulation
var float accumulationStart = na
var float accumulationEnd = na
if accumulation
accumulationStart := low // Start of accumulation candle
accumulationEnd := na // Reset end on new accumulation
if not na(accumulationStart) and not distribution
accumulationEnd := high // Keep updating the end of the accumulation candle
if not na(accumulationEnd)
box.new(bar_index - 1, accumulationStart, bar_index, accumulationEnd, bgcolor=color.new(color.green, 70), border_color=color.green)
// Labels for Accumulation and Distribution
if accumulation and not accumulation
label.new(bar_index, high, "Accumulation", style=label.style_label_down, color=color.green, textcolor=color.white)
if distribution and not distribution
label.new(bar_index, low, "Distribution", style=label.style_label_up, color=color.red, textcolor=color.white)
// Manipulation Detection: Assume manipulation if the price moves significantly within the threshold
manipulation = (close - ta.lowest(low, 5)) / ta.lowest(low, 5) * 100 > manipulationThreshold
// Draw Boxes for Manipulation
var float manipulationStart = na
var float manipulationEnd = na
if manipulation
manipulationStart := low // Start of manipulation candle
manipulationEnd := high // End of manipulation candle
if not na(manipulationStart)
box.new(bar_index - 1, manipulationStart, bar_index, manipulationEnd, bgcolor=color.new(color.yellow, 70), border_color=color.yellow)
// Plot Manipulation Labels
if manipulation
label.new(bar_index, close, "Manipulation", style=label.style_label_down, color=color.yellow, textcolor=color.black)
// Alerts
alertcondition(accumulation, title="Accumulation Alert", message="Potential Accumulation Zone identified!")
alertcondition(distribution, title="Distribution Alert", message="Potential Distribution Zone identified!")
alertcondition(manipulation, title="Manipulation Alert", message="Potential Manipulation detected!")
Alex JMA RSX Clone with Price & Divergence [LazyBear]Indicator Description:
RSX Indicator (RSXC_LB): This script is based on a clone of the JMA RSX (Relative Strength Index clone by LazyBear). It is a momentum-based indicator that helps identify overbought and oversold levels, as well as potential trend reversals.
Functional Changes:
Convergence is now marked with a white line on the RSX plot.
Bullish Divergence is marked with a green line, indicating potential upward movement.
Bearish Divergence is marked with a red line, indicating potential downward movement.
The default state is marked with a blue line.
Strong Divergences (both bullish and bearish) are highlighted with triangle markers on the chart.
Updated Features:
The script now visualizes convergence and divergence more clearly using distinct colors:
White: Convergence (indicates potential trend strength).
Green: Bullish divergence (possible price increase).
Red: Bearish divergence (possible price decrease).
Blue: Neutral/default state.
Triangle markers indicate strong divergences, making it easier for the user to spot critical moments.
This visual enhancement aims to provide clearer and more intuitive signals for traders using the RSX indicator, helping them identify trend changes and reversals more effectively.
atheromeri RSI//@version=5
indicator(title="Relative Strength Index", shorttitle="RSI", format=format.price, precision=2, timeframe="", timeframe_gaps=true)
rsiLengthInput = input.int(14, minval=1, title="RSI Length", group="RSI Settings")
rsiSourceInput = input.source(close, "Source", group="RSI Settings")
calculateDivergence = input.bool(false, title="Calculate Divergence", group="RSI Settings", display = display.data_window, tooltip = "Calculating divergences is needed in order for divergence alerts to fire.")
change = ta.change(rsiSourceInput)
up = ta.rma(math.max(change, 0), rsiLengthInput)
down = ta.rma(-math.min(change, 0), rsiLengthInput)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
rsiPlot = plot(rsi, "RSI", color=#7E57C2)
rsiUpperBand = hline(70, "RSI Upper Band", color=#787B86)
midline = hline(50, "RSI Middle Band", color=color.new(#787B86, 50))
rsiLowerBand = hline(30, "RSI Lower Band", color=#787B86)
fill(rsiUpperBand, rsiLowerBand, color=color.rgb(126, 87, 194, 90), title="RSI Background Fill")
midLinePlot = plot(50, color = na, editable = false, display = display.none)
fill(rsiPlot, midLinePlot, 100, 70, top_color = color.new(color.green, 0), bottom_color = color.new(color.green, 100), title = "Overbought Gradient Fill")
fill(rsiPlot, midLinePlot, 30, 0, top_color = color.new(color.red, 100), bottom_color = color.new(color.red, 0), title = "Oversold Gradient Fill")
// Smoothing MA inputs
GRP = "Moving Average"
TT_BB = "Only applies when 'SMA + Bollinger Bands' is selected. Determines the distance between the SMA and the bands."
maTypeInput = input.string("SMA", "Type", options = , group = GRP, display = display.data_window)
maLengthInput = input.int(14, "Length", group = GRP, display = display.data_window)
bbMultInput = input.float(2.0, "BB StdDev", minval = 0.001, maxval = 50, step = 0.5, tooltip = TT_BB, group = GRP, display = display.data_window)
var enableMA = maTypeInput != "None"
var isBB = maTypeInput == "SMA + Bollinger Bands"
// Smoothing MA Calculation
ma(source, length, MAtype) =>
switch MAtype
"SMA" => ta.sma(source, length)
"SMA + Bollinger Bands" => ta.sma(source, length)
"EMA" => ta.ema(source, length)
"SMMA (RMA)" => ta.rma(source, length)
"WMA" => ta.wma(source, length)
"VWMA" => ta.vwma(source, length)
// Smoothing MA plots
smoothingMA = enableMA ? ma(rsi, maLengthInput, maTypeInput) : na
smoothingStDev = isBB ? ta.stdev(rsi, maLengthInput) * bbMultInput : na
plot(smoothingMA, "RSI-based MA", color=color.yellow, display = enableMA ? display.all : display.none)
bbUpperBand = plot(smoothingMA + smoothingStDev, title = "Upper Bollinger Band", color=color.green, display = isBB ? display.all : display.none)
bbLowerBand = plot(smoothingMA - smoothingStDev, title = "Lower Bollinger Band", color=color.green, display = isBB ? display.all : display.none)
fill(bbUpperBand, bbLowerBand, color= isBB ? color.new(color.green, 90) : na, title="Bollinger Bands Background Fill", display = isBB ? display.all : display.none)
// Divergence
lookbackRight = 5
lookbackLeft = 5
rangeUpper = 60
rangeLower = 5
bearColor = color.red
bullColor = color.green
textColor = color.white
noneColor = color.new(color.white, 100)
_inRange(bool cond) =>
bars = ta.barssince(cond)
rangeLower <= bars and bars <= rangeUpper
plFound = false
phFound = false
bullCond = false
bearCond = false
rsiLBR = rsi
if calculateDivergence
//------------------------------------------------------------------------------
// Regular Bullish
// rsi: Higher Low
plFound := not na(ta.pivotlow(rsi, lookbackLeft, lookbackRight))
rsiHL = rsiLBR > ta.valuewhen(plFound, rsiLBR, 1) and _inRange(plFound )
// Price: Lower Low
lowLBR = low
priceLL = lowLBR < ta.valuewhen(plFound, lowLBR, 1)
bullCond := priceLL and rsiHL and plFound
//------------------------------------------------------------------------------
// Regular Bearish
// rsi: Lower High
phFound := not na(ta.pivothigh(rsi, lookbackLeft, lookbackRight))
rsiLH = rsiLBR < ta.valuewhen(phFound, rsiLBR, 1) and _inRange(phFound )
// Price: Higher High
highLBR = high
priceHH = highLBR > ta.valuewhen(phFound, highLBR, 1)
bearCond := priceHH and rsiLH and phFound
plot(
plFound ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bullish",
linewidth=2,
color=(bullCond ? bullColor : noneColor),
display = display.pane
)
plotshape(
bullCond ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bullish Label",
text=" Bull ",
style=shape.labelup,
location=location.absolute,
color=bullColor,
textcolor=textColor
)
plot(
phFound ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bearish",
linewidth=2,
color=(bearCond ? bearColor : noneColor),
display = display.pane
)
plotshape(
bearCond ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bearish Label",
text=" Bear ",
style=shape.labeldown,
location=location.absolute,
color=bearColor,
textcolor=textColor
)
alertcondition(bullCond, title='Regular Bullish Divergence', message="Found a new Regular Bullish Divergence, `Pivot Lookback Right` number of bars to the left of the current bar.")
alertcondition(bearCond, title='Regular Bearish Divergence', message='Found a new Regular Bearish Divergence, `Pivot Lookback Right` number of bars to the left of the current bar.')
Advanced Multi-Indicator BTC/USD StrategyThis strategy combines several indicators to achieve precise entries and exits when trading BTC/USD. It focuses on signals of upward and downward movements based on trends, oscillators, and momentum indicators, with the requirement that most conditions are met before opening or closing a position.
MathsTrade Nifty Option StrikeOption Type and Strike Price Selection:
1.Calls:
In-the-money (ITM): If the strike price is below the current market price. Provides intrinsic value and is less risky.
Out-of-the-money (OTM): If the strike price is above the current market price. Provides a leverage play with lower premiums.
At-the-money (ATM): Strike price is equal to the underlying asset’s market price, offering a balance of cost and potential reward.
Puts:
In-the-money (ITM): The strike price is above the current market price. Higher premiums but higher chances of profitability.
Out-of-the-money (OTM): The strike price is below the current market price, cheaper with greater risk but also higher reward potential if the market moves significantly.
2. Consider the Bid-Ask Spread:
Narrower bid-ask spreads are generally a sign of better liquidity, making it easier to enter and exit trades at favorable prices. Avoid options with wide bid-ask spreads as they can lead to higher transaction costs and slippage.
3. Liquidity and Open Interest:
Look for Liquidity: Higher open interest and volume generally mean that the option has better liquidity, ensuring you can enter or exit trades more efficiently.
Strike Selection: Ensure there is adequate open interest at the selected strike price. Too little open interest can make it harder to exit a trade.
Conclusion:
Selecting the right strike price depends on your market outlook, time frame, risk tolerance, and the volatility of the underlying asset. A careful evaluation of these factors will help you choose an optimal strike price and increase the probability of success in your options trades. Always make sure to balance the risk/reward profile of the chosen strike with the capital you're willing to invest.
Zig Zag + Aroon StrategyBelow is a trading strategy that combines the Zig Zag indicator and the Aroon indicator. This combination can help identify trends and potential reversal points.
Zig Zag and Aroon Strategy Overview
Zig Zag Indicator:
The Zig Zag indicator helps to identify significant price movements and eliminates smaller fluctuations. It is useful for spotting trends and reversals.
Aroon Indicator:
The Aroon indicator consists of two lines: Aroon Up and Aroon Down. It measures the time since the highest high and the lowest low over a specified period, indicating the strength of a trend.
Strategy Conditions
Long Entry Conditions:
Aroon Up crosses above Aroon Down (indicating a bullish trend).
The Zig Zag indicator shows an upward movement (indicating a potential continuation).
Short Entry Conditions:
Aroon Down crosses above Aroon Up (indicating a bearish trend).
The Zig Zag indicator shows a downward movement (indicating a potential continuation).
Exit Conditions:
Exit long when Aroon Down crosses above Aroon Up.
Exit short when Aroon Up crosses above Aroon Down.
High Volume Candle BY TRADING STUDIOMany patterns are preferred and deemed the most reliable by different traders. Some of the most popular are: bullish/bearish engulfing lines; bullish/bearish long-legged doji; and bullish/bearish abandoned baby top and bottom.
Trading Copter Ribbon EMATrading Copter Ribbon EMA is a versatile technical analysis tool designed to help traders identify trends and potential reversals in the market. This indicator utilizes multiple Exponential Moving Averages (EMAs) with varying lengths to create a dynamic ribbon effect, offering clear visual cues of market direction.
MERCURY by Dr.Abiram Sivprasad - Adaptive Pivot and Ema AlertSYSThe MERCURY indicator is an advanced, adaptive indicator designed to support traders in detecting critical price movements and trend reversals in real time. Developed with precision by Dr. Abhiram Sivprasad, this tool combines a sophisticated Central Pivot Range (CPR), EMA crossovers, VWAP levels, and multiple support and resistance indicators into one streamlined solution.
Key Features:
Central Pivot Range (CPR): MERCURY calculates the central pivot along with below-central (BC) and top-central (TC) pivots, helping traders anticipate areas of potential reversal or breakout.
EMA Crossovers: The indicator includes up to nine EMAs with customizable lengths. An integrated EMA crossover alert system provides timely signals for potential trend shifts.
VWAP Integration: The VWAP levels are used in conjunction with EMA crossovers to refine trend signals, making it easier for traders to spot high-probability entries and exits.
Adaptive Alerts for Breakouts and Breakdowns: MERCURY continuously monitors the chart for conditions such as all EMAs turning green or red. The alerts trigger when a candle body closes above/below the VWAP and EMA1 and EMA2 levels, confirming a breakout or breakdown.
Customizable EMA Dashboard: An on-chart table displays the status of EMAs in real-time, with color-coded indicators for easy readability. It highlights long/short conditions based on the EMA setup, guiding traders in decision-making at a glance.
How to Use:
Trend Confirmation: Use the CPR and EMA alignment to identify uptrends and downtrends. The table colors and alerts provide a clear, visual cue for entering long or short positions.
Breakout and Breakdown Alerts: The alert system enables traders to set continuous alerts for critical price levels. When all EMAs align in one color (green for long, red for short), combined with a candle closing above or below VWAP and EMA levels, the indicator generates breakout or breakdown signals.
VWAP & EMA Filtering: VWAP acts as a dynamic support/resistance level, while the EMAs provide momentum direction. Traders can refine entry/exit points based on this multi-layered setup.
Usage Scenarios:
Day Trading & Scalping: Traders can use the CPR, VWAP, and EMA table to make swift, informed decisions. The multiple EMA settings allow scalpers to set shorter EMAs for quicker responses.
Swing Trading: Longer EMA settings combined with VWAP and CPR can provide insights into sustained trends, making it useful for holding positions over several days.
Risk Management: MERCURY dashboard and alert functionality allow traders to set clear boundaries, reducing impulsive decisions and enhancing trading discipline.
Indicator Composition:
Open-Source: The core logic for CPR and EMA crossovers is presented open-source, ensuring transparency and user adaptability.
Advanced Logic Integration: This indicator implements custom calculations and filtering, optimizing entry and exit signals by merging VWAP, CPR, and EMA in a logical and user-friendly manner.
Chart Requirements:
For best results, use MERCURY on a clean chart without additional indicators. The default settings are optimized for simplicity and clarity, so avoid cluttering the chart with other tools unless necessary.
Timeframes: MERCURY is suitable for timeframes as low as 5&15 minutes for intraday trading and up to daily timeframes for trend analysis.
Symbol Settings: Works well across forex, stocks, and crypto assets. Adjust EMA lengths based on the asset’s volatility.
Example Chart Settings:
Symbol/Timeframe: BTCUSD, 1-hour timeframe (or any symbol as per user preference).
Settings: Default settings for CPR and EMA table.
Chart Style: Clean chart with MERCURY as the primary indicator.
Publishing Considerations:
Invite-Only Access: If setting to invite-only, ensure compliance with the Vendor requirements.
Limit Claims: Avoid making unsubstantiated claims about accuracy, as MERCURY should be viewed as a tool to aid analysis, not as a guaranteed performance predictor.
Example Strategy
This indicator provides signals primarily for trend-following and reversal strategies:
1. Trend Continuation:
- Buy Signal: When the price crosses above both EMA1 and EMA2 and holds above the daily CPR level, a bullish trend continuation is confirmed.
- Sell Signal: When the price crosses below both EMA1 and EMA2 and holds below the daily CPR level, a bearish trend continuation is confirmed.
2. Reversal at Pivot Levels:
- If the price approaches a resistance (R1, R2, or R3) from below with an uptrend and then begins to cross under EMA1 or EMA2, it may signal a bearish reversal.
- If the price approaches a support (S1, S2, or S3) from above in a downtrend and then crosses above EMA1 or EMA2, it may signal a bullish reversal.
Example Setup
- Long Entry
- When the price crosses above the daily pivot point and closes above both EMA1 and EMA2.
- Hold the position if the price remains above the VWAP band and monitor for any EMA crossunder as an exit signal.
- Short Entry:
- When the price drops below the daily pivot and both EMA1 and EMA2 cross under the price.
- Consider covering the position if the price breaks above the VWAP band or if a crossover of EMA1 and EMA2 occurs.
Alerts
Alerts are customizable based on EMA1 & EMA2 crossovers to notify the trader of potential trend shifts.
ATH y ATLEste script muestra el nivel de precio máximo y mínimo de la acción del gráfico, con el objetivo de poder efectuar análisis más precisos en los escenarios donde el precio alcanza esos niveles históricos para poder evaluar la posible acción del precio
Magic multiple indicatorThis is a indicator with combination of multiple indicator(like-03 ema, bollinger band, vwap , baby candle), This is only a packet of bunch of indicator not any sureity of profit, I will not be responsible for any kind of profit/loss.(note:- stock name is just a example not any recomndation)
Ichimoku + RSI + MACD Strategy1. Relative Strength Index (RSI)
Overview:
The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. It ranges from 0 to 100 and is typically used to identify overbought or oversold conditions in a market.
How to Use with Ichimoku:
Long Entry: Look for RSI to be above 30 (indicating it is not oversold) when the price is above the Ichimoku Cloud.
Short Entry: Look for RSI to be below 70 (indicating it is not overbought) when the price is below the Ichimoku Cloud.
2. Moving Average Convergence Divergence (MACD)
Overview:
The MACD is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price. It consists of the MACD line, signal line, and histogram.
How to Use with Ichimoku:
Long Entry: Enter a long position when the MACD line crosses above the signal line while the price is above the Ichimoku Cloud.
Short Entry: Enter a short position when the MACD line crosses below the signal line while the price is below the Ichimoku Cloud.
Combined Strategy Example
Here’s a brief outline of how to structure a trading strategy using Ichimoku, RSI, and MACD:
Long Entry Conditions:
Price is above the Ichimoku Cloud.
RSI is above 30.
MACD line crosses above the signal line.
Short Entry Conditions:
Price is below the Ichimoku Cloud.
RSI is below 70.
MACD line crosses below the signal line.
Exit Conditions:
Exit long when MACD line crosses below the signal line.
Exit short when MACD line crosses above the signal line.
Arshtiq - Multi-Timeframe Trend StrategyMulti-Timeframe Setup:
The script uses two distinct timeframes: a higher (daily) timeframe for identifying the trend and a lower (hourly) timeframe for making trades. This combination allows the script to follow the larger trend while timing entries and exits with more precision on a shorter timeframe.
Moving Averages Calculation:
higher_ma: The 20-period Simple Moving Average (SMA) calculated based on the daily timeframe. This average gives a sense of the larger trend direction.
lower_ma: The 20-period SMA calculated on the hourly (current) timeframe, providing a dynamic level for detecting entry and exit points within the broader trend.
Trend Identification:
Bullish Trend: The script determines that a bullish trend is present if the current price is above the daily moving average (higher_ma).
Bearish Trend: Similarly, a bearish trend is identified when the current price is below this daily moving average.
Trade Signals:
Buy Signal: A buy signal is generated when the price on the hourly chart crosses above the hourly 20-period MA, but only if the higher (daily) timeframe trend is bullish. This ensures that buy trades align with the larger upward trend.
Sell Signal: A sell signal is generated when the price on the hourly chart crosses below the hourly 20-period MA, but only if the daily trend is bearish. This ensures that sell trades are consistent with the broader downtrend.
Plotting and Visual Cues:
Higher Timeframe MA: The daily 20-period moving average is plotted in red to help visualize the long-term trend.
Buy and Sell Signals: Buy signals appear as green labels below the price bars with the text "BUY," while sell signals appear as red labels above the bars with the text "SELL."
Background Coloring: The background changes color based on the identified trend for easier trend recognition:
Green (with transparency) when the daily trend is bullish.
Red (with transparency) when the daily trend is bearish.
WiseOwl Indicator - 1.0 The WiseOwl Indicator - 1.0 is a technical analysis tool designed to help traders identify potential entry points and market trends based on Exponential Moving Averages (EMAs) across multiple timeframes. It focuses on providing clear visual cues for bullish and bearish market conditions, as well as potential breakout opportunities.
Key Features
Multi-Timeframe EMA Analysis: Calculates EMAs on the current timeframe, Daily timeframe, and 15-minute timeframe to confirm trends.
Bullish and Bearish Market Identification: Determines market conditions based on the 200-period EMA on the Daily timeframe.
Directional Candle Coloring: Highlights candles based on their position relative to EMAs to provide immediate visual feedback.
Entry Signals: Plots buy and sell signals on the chart when specific conditions are met on the 1-hour and 4-hour timeframes.
Breakout Candle Highlighting: Colors candles differently when significant price movements occur, indicating potential breakout opportunities.
How It Works
Market Condition Determination:
Bullish Market: When the close price is above the 200-period EMA on the Daily timeframe.
Bearish Market: When the close price is below the 200-period EMA on the Daily timeframe.
Directional Candle Coloring:
Green Background: Applied when the close is above the 50-period EMA and the market is not bearish.
Red Background: Applied when the close is below the 50-period EMA and the market is not bullish.
Uses the Average True Range (ATR) to define a range threshold.
Suppresses signals when EMAs are within this range, indicating a sideways market.
Plotting Entry Signals:
Plots arrows on the chart for potential long and short entries on the 1-hour and 4-hour timeframes.
Breakout Candle Coloring:
Colors candles blue when a bullish breakout condition is met.
Colors candles orange when a bearish breakout condition is met.
How to Use
Trend Identification: Use the background coloring to quickly identify the overall market trend.
Green Background: Suggests bullish conditions; consider looking for long opportunities.
Red Background: Suggests bearish conditions; consider looking for short opportunities.
Entry Signals: Look for plotted arrows on the chart.
Green Upward Arrow: Indicates a potential long entry signal on the 1-hour or 4-hour timeframe.
Red Downward Arrow: Indicates a potential short entry signal on the 1-hour or 4-hour timeframe.
Breakout Opportunities: Watch for candles colored blue or orange.
Blue Candles: Highlight significant upward price movements.
Orange Candles: Highlight significant downward price movements.
Avoiding Ranging Markets: Be cautious when signals are suppressed due to ranging conditions; the market may not have a clear direction.
Example Usage
Identifying a Bullish Market:
The background turns green.
Price crosses above the 50 EMA.
A green upward arrow appears below a candle on the 1-hour or 4-hour chart.
Identifying a Bearish Market:
The background turns red.
Price crosses below the 50 EMA.
A red downward arrow appears above a candle on the 1-hour or 4-hour chart.
Notes
Open-Source Code: The script is open-source, allowing users to review and understand the logic behind the indicator.
Educational Purpose: This indicator is intended to aid in technical analysis and should not be used as the sole basis for trading decisions.
Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Trading involves risk, and you should consult with a qualified financial advisor before making any investment decisions.
ULTIME RSI Buy/Sell 70%- by Baptiste Impact tradingConditions for Buy/Sell:
1: Do not take trades when the RSI curve is flat (even if there is an indication).
2: Place the stop-loss (SL) a few points above the relevant candle.
3: Use a 2:1 risk-reward (RR) ratio and set break-even (BE) at the entry price once RR1 is reached.
4: Take partial profit at RR2 with 50% closure and let the remaining position run. Cut if there is a change in direction.
Your indicator "Baptiste ULTIME RSI Buy/Sell 70%- Impact Trading" is an advanced tool based on the Relative Strength Index (RSI) designed to display buy and sell signals with specific crossover conditions and a cooldown logic to avoid consecutive signals. It includes:
Enhanced RSI calculated with configurable smoothing methods (EMA, SMA, RMA, TMA).
Trading signals based on bullish and bearish crossovers of the RSI with a signal line, integrating a 15-bar delay between signals to limit the frequency of alerts.
Customizable overbought/oversold levels with zone fill for clear visualization of market extremes.
Visual display of buy/sell signals with arrows and level lines, all presented in a separate window for better readability.
This indicator helps identify potential entry and exit points while reducing false signals through its cooldown logic.
Engulfing BoxThe Engulfing Box indicator is a custom script designed to visually highlight and track bullish and bearish engulfing candlestick patterns on a price chart. These patterns are often used to identify potential reversal points, making them valuable for technical analysis. The script dynamically draws colored boxes around these patterns, helping users easily spot them in the price action.
Key Features:
Bullish Engulfing Pattern: When a candlestick fully engulfs the previous bearish candle (i.e., the close of the current candle is higher than the open of the previous candle, and the open is lower than the close of the previous candle), the script draws a green box around the bullish engulfing candle. This box is drawn from the open of the previous candle to the low of the previous candle.
Bearish Engulfing Pattern: When a candlestick fully engulfs the previous bullish candle (i.e., the close of the current candle is lower than the open of the previous candle, and the open is higher than the close of the previous candle), a red box is drawn around the bearish engulfing candle. This box is drawn from the open of the previous candle to the high of the previous candle.
Dynamic Box Management: Once an engulfing pattern is detected, a box is drawn with the following attributes:
Bullish Engulfing Box: Green, with a transparent background.
Bearish Engulfing Box: Red, with a transparent background.
The box will adjust its color to gray if the price moves past certain thresholds, indicating that the engulfing pattern may no longer be as relevant.
Max Pattern Tracking: The script limits the number of engulfing boxes tracked on the chart to prevent clutter. The maximum number of bullish and bearish engulfing patterns shown is customizable (set to 500 by default), and once this limit is exceeded, older boxes are deleted to maintain a clean chart.
Pattern Expiry: Boxes are deleted if price action moves beyond the pattern’s range, ensuring that outdated signals are removed. If the low price falls below the bottom of the bullish engulfing box, or the high price rises above the top of the bearish engulfing box, the respective box is removed. Additionally, if the low price moves below the top of the bullish box or the high price exceeds the bottom of the bearish box, the box's color is changed to a more neutral tone.
How it Works:
Pattern Detection: The script compares the current price data with the previous candlestick to detect the bullish or bearish engulfing patterns.
Box Creation: If a pattern is detected, a colored box is drawn around the candle to visually highlight the pattern.
Pattern Expiry and Cleanup: The script continuously monitors past boxes. If the price moves too far from the box’s range, the box is either deleted or altered to reflect the reduced significance of the pattern.
B ox Count Limit: To avoid clutter, the script ensures that no more than 500 bullish or bearish engulfing boxes are shown at any time.
Customization:
The number of previous bars to scan for engulfing patterns can be adjusted (maxBarsback).
The maximum number of patterns displayed at any time can be modified.
Alikyy//@version=5
indicator("Fibonacci ve SMA", overlay=true)
// SMA hesaplama
ma5 = ta.sma(close, 5)
ma8 = ta.sma(close, 8)
ma13 = ta.sma(close, 13)
// 144 Günlük Fibonacci ayarları
len = input(144, 'Auto Fibo Length')
hl1272a = input(1.272, 'Adjustable Fibo Level')
AFL = input(false, title='Show Adjustable Fibo Level?')
AFL1 = input(false, title='Show 1.618 Fibo Level?')
AFL2 = input(false, title='Show 2.618 Fibo Level?')
AFL3 = input(false, title='Show 3.618 Fibo Level?')
// 144 günlük yüksek ve düşük hesaplama
h1 = ta.highest(high, len)
l1 = ta.lowest(low, len)
fark = h1 - l1
// Fibonacci seviyeleri
hl236 = l1 + fark * 0.236
hl382 = l1 + fark * 0.382
hl500 = l1 + fark * 0.5
hl618 = l1 + fark * 0.618
hl786 = l1 + fark * 0.786
hl1272 = l1 + fark * hl1272a
hl1618 = l1 + fark * 1.618
hl2618 = l1 + fark * 2.618
hl3618 = l1 + fark * 3.618
lh236 = h1 - fark * 0.236
lh382 = h1 - fark * 0.382
lh500 = h1 - fark * 0.5
lh618 = h1 - fark * 0.618
lh786 = h1 - fark * 0.786
lh1272 = h1 - fark * hl1272a
lh1618 = h1 - fark * 1.618
lh2618 = h1 - fark * 2.618
lh3618 = h1 - fark * 3.618
// Hangi değerlerin gösterileceği
hbars = -ta.highestbars(high, len)
lbars = -ta.lowestbars(low, len)
f236 = hbars > lbars ? hl236 : lh236
f382 = hbars > lbars ? hl382 : lh382
f500 = hbars > lbars ? hl500 : lh500
f618 = hbars > lbars ? hl618 : lh618
f786 = hbars > lbars ? hl786 : lh786
f1272 = hbars > lbars ? hl1272 : lh1272
f1618 = hbars > lbars ? hl1618 : lh1618
f2618 = hbars > lbars ? hl2618 : lh2618
f3618 = hbars > lbars ? hl3618 : lh3618
// SMA'ları çizme
plot(ma5, color=color.blue, title="5 Günlük SMA")
plot(ma8, color=color.red, title="8 Günlük SMA")
plot(ma13, color=color.green, title="13 Günlük SMA")
// Fibonacci seviyelerini çizme
plot(l1, trackprice=true, offset=-9999, color=color.new(#4B0082, 0), linewidth=3)
plot(h1, trackprice=true, offset=-9999, color=color.new(#4B0082, 0), linewidth=3)
plot(f236, trackprice=true, offset=-9999, color=color.new(color.black, 0), title='0.236')
plot(f382, trackprice=true, offset=-9999, color=color.new(color.blue, 0), linewidth=1, title='0.382')
plot(f500, trackprice=true, offset=-9999, color=color.new(color.gray, 0), linewidth=1, title='0.5')
plot(f618, trackprice=true, offset=-9999, color=color.new(#800000, 0), linewidth=2, title='0.618')
plot(f786, trackprice=true, offset=-9999, color=color.new(color.black, 0), title='0.786')
plot(AFL and f1272 ? f1272 : na, trackprice=true, offset=-9999, color=color.new(color.red, 0), linewidth=2, title='1.272')
plot(AFL1 and f1618 ? f1618 : na, trackprice=true, offset=-9999, color=color.new(color.red, 0), linewidth=2, title='1.618')
plot(AFL2 and f2618 ? f2618 : na, trackprice=true, offset=-9999, color=color.new(color.red, 0), linewidth=2, title='2.618')
plot(AFL3 and f3618 ? f3618 : na, trackprice=true, offset=-9999, color=color.new(color.red, 0), linewidth=2, title='3.618')
BAR COLORthis indicator is to analyse the speed of trend you can trade when candel changes his color and exit with change in another color
MDM Customizable 5 EMA
//@version=5
indicator("MDM Customizable 5 EMA", overlay=true)
// Define inputs for EMA lengths and colors
emaLength1 = input.int(8, title="EMA Length 1")
emaColor1 = input.color(color.new(color.purple, 0), title="EMA Color 1")
emaLength2 = input.int(21, title="EMA Length 2")
emaColor2 = input.color(color.new(color.green, 0), title="EMA Color 2")
emaLength3 = input.int(55, title="EMA Length 3")
emaColor3 = input.color(color.new(color.blue, 0), title="EMA Color 3")
emaLength4 = input.int(144, title="EMA Length 4")
emaColor4 = input.color(color.new(color.orange, 0), title="EMA Color 4")
emaLength5 = input.int(233, title="EMA Length 5")
emaColor5 = input.color(color.new(color.gray, 0), title="EMA Color 5")
// Calculate the EMAs
ema1 = ta.ema(close, emaLength1)
ema2 = ta.ema(close, emaLength2)
ema3 = ta.ema(close, emaLength3)
ema4 = ta.ema(close, emaLength4)
ema5 = ta.ema(close, emaLength5)
// Plot the EMAs with the selected colors
plot(ema1, title="EMA 1", color=emaColor1, linewidth=2)
plot(ema2, title="EMA 2", color=emaColor2, linewidth=2)
plot(ema3, title="EMA 3", color=emaColor3, linewidth=2)
plot(ema4, title="EMA 4", color=emaColor4, linewidth=2)
plot(ema5, title="EMA 5", color=emaColor5, linewidth=2)
//mean0 =(a8 + a13 + a21)/3
//mean1 = (a21 + a34 + a55)/3
////mean2 = (a34 + a55 + a89)/3
//mean3 = (a55 + a89 + a144)/3
// Define the length of the EMA
emaLength = 8
// Calculate the EMA for each time frame
//ema_3min = ta.ema(request.security(syminfo.tickerid, "3", close), emaLength)
//ema_15min = ta.ema(request.security(syminfo.tickerid, "15", close), emaLength)
//ema_8min = ta.ema(request.security(syminfo.tickerid, "8", close), emaLength)
// Plot the EMAs with respective colors
//plot(ema_3min, color=color.rgb(130, 232, 162, 32), linewidth=2, title="3-Min EMA 8 (Red)")
//plot(ema_15min, color=color.rgb(233, 167, 167), linewidth=2, title="5-Min EMA 8 (Cyan)")
//(ema_8min, color=#5e54e06b, linewidth=2, title="8-Min EMA 8 (Green)")
Combined HalfTrend + Willy EMA StrategyAl dene /@version=5
indicator("Combined HalfTrend + Willy EMA Strategy", overlay=true)
// HalfTrend Ayarları
amplitude = input(2, title="HalfTrend Amplitude")
channelDeviation = input(2, title="HalfTrend Channel Deviation")
emaLength = input(12, title="EMA Length") // Williams %R için EMA uzunluğu
wrLength = input(45, title="Williams %R Length") // Williams %R uzunluğu
// HalfTrend Değişkenleri
var int trend = 0
var int nextTrend = 0
var float maxLowPrice = nz(low , low)
var float minHighPrice = nz(high , high)
var float up = 0.0
var float down = 0.0
float atr2 = ta.atr(100) / 2
float arrowUp = na
Fun Numbers Resistance (10k-1M)round numbers and human tradeable levels
eg
11111 "Repeating 1's"
12345 "Ascending 12345"
42069 "420 + 69 Meme"
71717.1 "Repeating 71's"
76543.21 "Countdown"