Ichimoku Lagging Background ColorThis script colors the background, 26 bars ago, based upon the lagging line being above or below the closing price of 26 bars ago. The lagging line is used as a confirmation for your current entry.
Recherche dans les scripts pour "entry"
Momentum Linear RegressionThe original script was posted on ProRealCode by user Nicolas.
This is an indicator made of the linear regression applied to the rate of change of price (or momentum). I made a simple signal line just by duplicating the first one within a period decay in the past, to make those 2 lines cross. You can add more periods decay to made signal smoother with less false entry.
Vix FIX / StochRSI StrategyThis strategy is based off of Chris Moody's Vix Fix Indicator . I simply used his indicator and added some rules around it, specifically on entry and exits.
Rules :
Enter upon a filtered or aggressive entry
If there are multiple entry signals, allow pyramiding
Exit when there is Stochastic RSI crossover above 80
This works great on a number of stocks. I am keeping a list of stocks with decent Profit Factors and clean equity curves here .
Possible ways to use this:
Modify this script and setup alerts around the various entries
Use as is with different stocks or currency pairs
Modify entry / exit points to make it more profitable for even more symbols and currencies
Forex Master v2.0 (EUR/USD)This is version 2 of my Forex Master algorithm originally posted here:
BACKTEST CONDITIONS:
Initial equity = $100,000 (no leverage)
Order size = 100% of equity
Pyramiding = disabled
TRADING RULES:
Long entry = EMA5(RSI20) cross> 50
Profit limit = 50 pips
Stop loss = 50 pips
Short entry = EMA5(RSI20) cross< 50
Profit limit = 50 pips
Stop loss = 50 pips
Long entry = Short exit
Short entry = long exit
DISCLAIMER: None of my ideas and posts are investment advice. Past performance is not an indication of future results. This strategy was constructed with the benefit of hindsight and its future performance cannot be guaranteed.
Forex Master (EUR/USD)ATTENTION:
This is a symmetrical algorithm designed only for trading EUR/USD on the 1h time frame. For other currency pairs and time frames, you need to re-calibrate the RSI-EMAs as well as the profit targets and stop losses.
BACKTEST CONDITIONS:
Initial equity = $100,000 (no leverage)
Order size = 100% of equity
Pyramiding = disabled
TRADING RULES:
Long entry = EMA20(RSI10) cross> 50
Profit limit = 50 pips
Stop loss = 50 pips
Short entry = EMA30(RSI30) cross< 50
Profit limit = 50 pips
Stop loss = 50 pips
Long entry = Short exit
Short entry = long exit
DISCLAIMER: None of my ideas and posts are investment advice. Past performance is not an indication of future results. This strategy was constructed with the benefit of hindsight and its future performance cannot be guaranteed.
[ZLu]Volume Reversal Indicator**Created by Shanghai Reed Asset Management Co., Ltd.**
5 Entry Conditions by the Original Idea:
1. Absolute Value of 5-day Price Change is larger than Standard Deviation of Price Change
2. 5-day Average Volume is smaller than 75% of 5-day Average Volume ten days ago.
3. 5-day Price Change is negative ( Long Entry )
4. 5-day Price Change is positive ( Short Entry )
5. All Positions will be closed 5 days after the entry
Enter Long when Price Change Ratio crosses under the Lower Band and Volume Ratio is under the Level
Enter Short when Price Change Ratio crosses over the Upper Band and Volume Ratio is over the Level
GetTrendStrategyA simple strategy is to determine the trend. Do not use it for real-time transactions. Use it as a Reaffirmation trade entry.
GetTrendStrategyA simple strategy is to determine the trend. Do not use it for real-time transactions. Use it as a Reaffirmation trade entry.
The Zone Trades v1.0The Zone is mention in New Trading Dimensions by Bill Williams,PhD.
The Zone is used for Entry Signal
Green Zone are painting Green Bars when Awesome Oscillator (AO) and Accelerater/Decelerator (AC) are both increasing.
Red Zone are painting Red Bars when Awesome Oscillator (AO) and Accelerater/Decelerator (AC) are both decreasing.
Gray Zone are painting Gray Bars AO and AC in difference changing
Gray Zone are indicate the indecision between bulls and bears.
Bill Williams, PhD. mention that Green Zone or Red Zone usually happen 6-8 bars Continuously.
The First Bar that change to be Green or Red color is the Signal Bar.
Entry Signal is the second bar in the same color as the Signal bar happen with Volume
Price go higher the high of previous Green Bar is Buy Signal. Entry Buy (Long) and place Stop at 1 tick lower the Low of previous bar.
Price go ;ower the Low of previous Red Bars is Sell Signal. Entry Sell (Short) and place Stop at 1 tick higher the High of previous bar.
Do not Entry if Green Bars or Red Bars completed 5 bars continuously.
The Zone Trades v1.0The Zone v.1.0
The Zone is mention in New Trading Dimensions by Bill Williams,PhD. The Zone is used for Entry Signal of Both Long and Short side.
Green Zone are painting Green Bars when Awesome Oscillator (AO) and Accelerater/Decelerator (AC) are both increasing.
Red Zone are painting Red Bars when Awesome Oscillator (AO) and Accelerater/Decelerator (AC) are both decreasing.
Gray Zone are painting Gray Bars AO and AC in difference changing. Gray Zone are indicate the indecision between bulls and bears.
Bill Williams, PhD. mention that Green Zone or Red Zone usually happen 6-8 bars Continuously.
The First Bar that change to be Green or Red color is the Signal Bar.
Entry Signal is the second bar in the same color as the Signal bar happen with Volume
Price go higher the high of previous Green Bar is Buy Signal. Entry Buy (Long) and place Stop at 1 tick lower the Low of previous bar.
Price go ;ower the Low of previous Red Bars is Sell Signal. Entry Sell (Short) and place Stop at 1 tick higher the High of previous bar.
Do not Entry if Green Bars or Red Bars completed 5 bars continuously.
Madrid Trend TradingMadrid Trend Trading is an indicator that shows Momentum direction and strength based on a given trend (pair of MA's). It is useful to detect the direction of the trend, Momentum divergences with the trend and possible trend reversals.
Parameters
1. Fast MA Length
2. Slow MA Length
3. Signal Length
Trading with MTT
1. MTT > 0 and increasing (Lime) : Long position
2. MTT > 0 and decreasing (Green) : entry/exit long position, take profits or plan an entry
3. MTT < 0 and decreasing (Red) : Short position
4. MTT <0 and increasing (Maroon) : entry/exit short position, take profits or plan entry
This shows the market waves, it's a good indicator for swing trading since it shows the change of direction of the trend, signals profit areas and entry/exit regions. Change in the direction of the trend can be spotted by the cross over the zero line or by trend divergences, H-H in the trend and L-H in the MTT indicator means a downtrend is close. L-L in the trend and H-L in the indicator means an uptrend is forming.
There is a bar in the zero line that shows the momentum direction, simple, green it's increasing, red, it's decreasing.
This indicator is meant to be a companion of the MTS indicator. When combined MTS shows the direction and strength of the trend, meanwhile MTT shows if the trend is weakening, gaining strength, confirms continuation or warns a reversal.
What I look from my indicators is to create a tool that filters out as much noise as possible without losing much sensitivity, they have to be easy to tune and simple to analyze, so I normally use contrasting colors, using cold colors for long positions and warm colors for short positions. I try to use the least possible number of parameters and the defaults have been set after several months of testing in Beta mode against hundreds of charts before publishing them.
I hope this effort can help you to have a simpler point of view of the market.
[COG]MTF RZP Heatmap MTF RZP Heatmap (Range Zone Pulse)
What It Does
This indicator creates three visual heatmaps that show how current price movement compares to the average range of different timeframes. It helps traders:
Identify when price moves are overextended
Compare momentum across different timeframes
Spot potential reversal points
Understand the relative strength of price movements
How It Works
Range Calculation:
For each selected timeframe, it calculates an average range based on the specified number of periods
The range is measured from high to low for each period
A moving average of these ranges creates a dynamic "normal" range for that timeframe
Position Calculation:
Measures how far price has moved from the period's opening price
Compares this movement to the average range
Converts the movement into a percentage (-100% to +100%)
Visual Display:
Shows three vertical heatmaps, one for each timeframe
Colors graduate from bearish (typically red) to bullish (typically green)
A dot indicator shows the current position within each range
Percentage labels show exact movement relative to average range
Trading Applications
Trend Trading:
Multiple timeframes aligned in the same color suggest strong trend
Use larger timeframes (Daily/Weekly) for trend direction
Use smaller timeframes (4H/1H) for entry timing
Mean Reversion:
Extreme readings (near +100% or -100%) suggest overextended moves
Look for divergences between timeframes
Use when shorter timeframes show extremes but larger timeframes don't
Volatility Trading:
Compare current moves to average ranges
Identify when markets are more volatile than usual
Adjust position sizes based on range expansion/contraction
Multi-Timeframe Analysis:
Compare price action across different time horizons
Identify conflicting signals between timeframes
Use for timeframe alignment in trading decisions
Best Practices for Usage
Timeframe Selection:
Set the first timeframe to your trading timeframe
Set the second timeframe to your trend timeframe
Set the third timeframe to your entry timeframe
Range Period Settings:
Default is 5 periods
Increase for more stable readings
Decrease for more responsive readings
Color Interpretation:
Darker colors indicate stronger moves
Look for alignment across timeframes
Watch for extremes in any timeframe
Trading Setups:
Wait for alignment in multiple timeframes
Use extreme readings for counter-trend trades
Combine with other indicators for confirmation
Scalping trading system based on 4 ema linesScalping Trading System Based on 4 EMA Lines
Overview:
This is a scalping trading strategy built on signals from 4 EMA moving averages: EMA(8), EMA(12), EMA(24) and EMA(72).
Conditions:
- Time frame: H1 (1 hour).
- Trading assets: Applicable to major currency pairs with high volatility
- Risk management: Use a maximum of 1-2% of capital for each transaction. The order holding time can be from a few hours to a few days, depending on the price fluctuation amplitude.
Trading rules:
Determine the main trend:
Uptrend: EMA(8), EMA(12) and EMA(24) are above EMA(72).
Downtrend: EMA(8), EMA(12) and EMA(24) are below EMA(72).
Trade in the direction of the main trend** (buy in an uptrend and sell in a downtrend).
Entry conditions:
- Only trade in a clearly trending market.
Uptrend:
- Wait for the price to correct to the EMA(24).
- Enter a buy order when the price closes above the EMA(24).
- Place a stop loss below the bottom of the EMA(24) candle that has just been swept.
Downtrend:
- Wait for the price to correct to the EMA(24).
- Enter a sell order when the price closes below the EMA(24).
- Place a stop loss above the top of the EMA(24) candle that has just been swept.
Take profit and order management:
- Take profit when the price moves 20 to 40 pips in the direction of the trade.
Use Trailing Stop to optimize profits instead of setting a fixed Take Profit.
Note:
- Do not trade within 30 minutes before and after the announcement of important economic news, as the price may fluctuate abnormally.
Additional filters:
To increase the success rate and reduce noise, this strategy uses additional conditions:
1. The price is calculated only when the candle closes (no repaint).
2. When sweeping through EMA(24), the price needs to close above EMA(24).
3. The closing price must be higher than 50% of the candle's length.
4. **The bottom of the candle sweeping through EMA(24) must be lower than the bottom of the previous candle (liquidity sweep).
---
Alert function:
When the EMA(24) sweep conditions are met, the system will trigger an alert if you have set it up.
- Entry point: The closing price of the candle sweeping through EMA(24).
- Stop Loss:
- Buy Order: Place at the bottom of the sweep candle.
- Sell Order: Place at the top of the sweep candle.
---
Note:
This strategy is designed to help traders identify profitable trading opportunities based on trends. However, no strategy is 100% guaranteed to be successful. Please test it thoroughly on a demo account before using it.
Trend Retest Strategy1. The Two Lines: Support & Resistance Levels
Red Line (recentHigh):
Plots the highest price level over the last 7 days (42 bars on the 4-hour timeframe). This acts as a dynamic resistance level.
Example: If price approaches this line and reverses, it signals a potential resistance retest.
Green Line (recentLow):
Plots the lowest price level over the last 7 days (42 bars on 4H). This acts as a dynamic support level.
Example: If price bounces off this line, it signals a support retest.
These lines update automatically as new price data forms.
Why 42 bars?
4-hour chart = 6 bars per day (24 hours / 4 = 6).
6 bars/day × 7 days = 42 bars.
2. Entry Signals (Arrows)
The arrows appear when all your strategy’s conditions align:
For Long Entries (▲ Green Triangle Below Bar):
Daily Trend: Daily RSI ≥ 50 (bullish).
MA Crossover: 20-period SMA crosses above 50-period SMA on the 4H chart.
RSI Confirmation: 4H RSI is ≥ 50 and rising (bullish momentum).
Retest: Price is within 0.5% of either the recentHigh (resistance) or recentLow (support).
Volume: Current volume > 20-period average volume.
Candle Confirmation: A bullish candle closes above the open.
For Short Entries (▼ Red Triangle Above Bar):
Daily Trend: Daily RSI < 50 (bearish).
MA Crossover: 20-period SMA crosses below 50-period SMA on the 4H chart.
RSI Confirmation: 4H RSI is ≤ 50 and falling (bearish momentum).
Retest: Price is near recentHigh or recentLow (same 0.5% threshold).
Volume: Volume exceeds its 20-period average.
Candle Confirmation: A bearish candle closes below the open.
3. How It All Fits Together
Step 1: The indicator checks the daily RSI to confirm the broader trend.
Step 2: On the 4H chart, it tracks the moving averages (MA20 and MA50) and RSI for momentum.
Step 3: When price retests the dynamic support/resistance lines (red/green), it waits for volume and candle confirmation to validate the retest.
Step 4: If all rules align, an arrow appears (long or short).
Example Scenario (Long Entry):
Daily Chart: RSI = 60 (bullish).
4H Chart:
MA20 crosses above MA50.
RSI = 55 and rising.
Price dips to the green support line (within 0.5%).
Volume spikes above average.
A bullish candle closes higher.
Result: A green ▲ appears below the bar.
8888325335/@version=5
indicator("Bit Bite ht",shorttitle = "Bit Bite hindi technical", overlay = true)
src = input(hl2, title="Source",group = "Trend Continuation Signals with TP & SL")
Multiplier = input.float(2,title="Sensitivity (0.5 - 5)", step=0.1, defval=2, minval=0.5, maxval=5,group = "Trend Continuation Signals with TP & SL")
atrPeriods = input.int(14,title="ATR Length", defval=10,group = "Trend Continuation Signals with TP & SL")
atrCalcMethod= input.string("Method 1",title = "ATR Calculation Methods",options = ,group = "Trend Continuation Signals with TP & SL")
cloud_val = input.int(10,title = "Cloud Moving Average Length", defval = 10, minval = 5, maxval = 500,group = "Trend Continuation Signals with TP & SL")
stopLossVal = input.float(2.0, title="Stop Loss Percent (0 for Disabling)", minval=0,group = "Trend Continuation Signals with TP & SL")
showBuySellSignals = input.bool(true,title="Show Buy/Sell Signals", defval=true,group = "Trend Continuation Signals with TP & SL")
showMovingAverageCloud = input.bool(true, title="Show Cloud MA",group = "Trend Continuation Signals with TP & SL")
percent(nom, div) =>
100 * nom / div
src1 = ta.hma(open, 5)
src2 = ta.hma(close, 12)
momm1 = ta.change(src1)
momm2 = ta.change(src2)
f1(m, n) => m >= n ? m : 0.0
f2(m, n) => m >= n ? 0.0 : -m
m1 = f1(momm1, momm2)
m2 = f2(momm1, momm2)
sm1 = math.sum(m1, 1)
sm2 = math.sum(m2, 1)
cmoCalc = percent(sm1-sm2, sm1+sm2)
hh = ta.highest(2)
h1 = ta.dev(hh, 2) ? na : hh
hpivot = fixnan(h1)
ll = ta.lowest(2)
l1 = ta.dev(ll, 2) ? na : ll
lpivot = fixnan(l1)
rsiCalc = ta.rsi(close,9)
lowPivot = lpivot
highPivot = hpivot
sup = rsiCalc < 25 and cmoCalc > 50 and lowPivot
res = rsiCalc > 75 and cmoCalc < -50 and highPivot
atr2 = ta.sma(ta.tr, atrPeriods)
atr= atrCalcMethod == "Method 1" ? ta.atr(atrPeriods) : atr2
up=src-(Multiplier*atr)
up1 = nz(up ,up)
up := close > up1 ? math.max(up,up1) : up
dn=src+(Multiplier*atr)
dn1 = nz(dn , dn)
dn := close < dn1 ? math.min(dn, dn1) : dn
trend = 1
trend := nz(trend , trend)
trend := trend == -1 and close > dn1 ? 1 : trend == 1 and close < up1 ? -1 : trend
buySignal = trend == 1 and trend == -1
sellSignal = trend == -1 and trend == 1
pos = 0.0
pos:= buySignal? 1 : sellSignal ? -1 : pos
longCond = buySignal and pos != 1
shortCond = sellSignal and pos !=-1
entryOfLongPosition = ta.valuewhen(longCond , close, 0)
entryOfShortPosition = ta.valuewhen(shortCond, close, 0)
sl = stopLossVal > 0 ? stopLossVal / 262 : 99999
stopLossForLong = entryOfLongPosition * (1 - sl)
stopLossForShort = entryOfShortPosition * (1 + sl)
takeProfitForLong1R = entryOfLongPosition * (1 + sl)
takeProfitForShort1R = entryOfShortPosition * (1 - sl)
takeProfitForLong2R = entryOfLongPosition * (1 + sl*2)
takeProfitForShort2R = entryOfShortPosition * (1 - sl*2)
takeProfitForLong3R = entryOfLongPosition * (1 + sl*3)
takeProfitForShort3R = entryOfShortPosition * (1 - sl*3)
long_sl = low < stopLossForLong and pos ==1
short_sl = high> stopLossForShort and pos ==-1
takeProfitForLongFinal = high>takeProfitForLong3R and pos ==1
takeProfitForShortFinal = low 0?entryOfLongPosition :entryOfShortPosition , pos>0?lindex:sindex, pos>0?entryOfLongPosition :entryOfShortPosition , color=entryColor )
line.delete(lineEntry )
stopLine = line.new(bar_index, pos>0?stopLossForLong :stopLossForShort , pos>0?lindex:sindex, pos>0?stopLossForLong :stopLossForShort , color=color.red )
tpLine1 = line.new(bar_index, pos>0?takeProfitForLong1R:takeProfitForShort1R, pos>0?lindex:sindex, pos>0?takeProfitForLong1R:takeProfitForShort1R, color=color.green)
tpLine2 = line.new(bar_index, pos>0?takeProfitForLong2R:takeProfitForShort2R, pos>0?lindex:sindex, pos>0?takeProfitForLong2R:takeProfitForShort2R, color=color.green)
tpLine3 = line.new(bar_index, pos>0?takeProfitForLong3R:takeProfitForShort3R, pos>0?lindex:sindex, pos>0?takeProfitForLong3R:takeProfitForShort3R, color=color.green)
line.delete(stopLine )
line.delete(tpLine1 )
line.delete(tpLine2 )
line.delete(tpLine3 )
labelEntry = label.new(bar_index, pos>0?entryOfLongPosition :entryOfShortPosition , color=entryColor , textcolor=#000000, style=label.style_label_left, text="Entry Price: " + str.tostring(pos>0?entryOfLongPosition :entryOfShortPosition ))
label.delete(labelEntry )
labelStop = label.new(bar_index, pos>0?stopLossForLong :stopLossForShort , color=color.red , textcolor=#000000, style=label.style_label_left, text="Stop Loss Price: " + str.tostring(math.round((pos>0?stopLossForLong :stopLossForShort) *100)/100))
labelTp1 = label.new(bar_index, pos>0?takeProfitForLong1R:takeProfitForShort1R, color=color.green, textcolor=#000000, style=label.style_label_left, text="(1-1) Take Profit: " +str.tostring(math.round((pos>0?takeProfitForLong1R:takeProfitForShort1R) * 100)/100))
labelTp2 = label.new(bar_index, pos>0?takeProfitForLong2R:takeProfitForShort2R, color=color.green, textcolor=#000000, style=label.style_label_left, text="(2-1) Take Profit: " + str.tostring(math.round((pos>0?takeProfitForLong2R:takeProfitForShort2R) * 100)/100))
labelTp3 = label.new(bar_index, pos>0?takeProfitForLong3R:takeProfitForShort3R, color=color.green, textcolor=#000000, style=label.style_label_left, text="(3-1) Take Profit: " + str.tostring(math.round((pos>0?takeProfitForLong3R:takeProfitForShort3R) * 100)/100))
label.delete(labelStop )
label.delete(labelTp1 )
label.delete(labelTp2 )
label.delete(labelTp3 )
changeCond = trend != trend
smaSrcHigh = ta.ema(high,cloud_val)
smaSrcLow = ta.ema(low, cloud_val)
= ta.macd(close, 12, 26, 9)
plot_high = plot(showMovingAverageCloud? smaSrcHigh : na, color = na, transp = 1, editable = false)
plot_low = plot(showMovingAverageCloud? smaSrcLow : na, color = na, transp = 1, editable = false)
plotshape(longCond ? up : na, title="UpTrend Begins", location=location.belowbar, style=shape.circle, size=size.tiny, color=color.new(color.teal,transp = 50) )
plotshape(longCond and showBuySellSignals ? up : na, title="Buy kar lo", text="Buy kar lo", location=location.belowbar, style=shape.labelup, size=size.tiny, color=color.new(color.teal,transp = 50), textcolor=color.white )
plotshape(shortCond ? dn : na, title="DownTrend Begins", location=location.abovebar, style=shape.circle, size=size.tiny, color=color.new(color.red,transp = 50) )
plotshape(shortCond and showBuySellSignals ? dn : na, title="Sell kar do", text="Sell kar do", location=location.abovebar, style=shape.labeldown, size=size.tiny, color=color.new(color.red,transp = 50), textcolor=color.white)
fill(plot_high, plot_low, color = (macdLine > 0) and (macdLine > macdLine ) ? color.new(color.aqua,transp = 85) : na, title = "Positive Cloud Uptrend")
fill(plot_high, plot_low, color = macdLine > 0 and macdLine < macdLine ? color.new(color.aqua,transp = 85) : na, title = "Positive Cloud Downtrend")
fill(plot_high, plot_low, color = macdLine < 0 and macdLine < macdLine ? color.new(color.red,transp = 85) : na, title = "Negative Cloud Uptrend")
fill(plot_high, plot_low, color = macdLine < 0 and macdLine > macdLine ? color.new(color.red,transp = 85) : na, title = "Negative Cloud Downtrend")
mPlot = plot(ohlc4, title="", style=plot.style_circles, linewidth=0)
alertcondition(changeCond, title="Trend Direction Change ", message="Trend direction has changed ! ")
alertLongText = str.tostring(syminfo.ticker) + " BUY ALERT! " +
"Entry Price: " + str.tostring(entryOfLongPosition) +
", Take Profit 1: " + str.tostring(takeProfitForLong1R) +
", Take Profit 2: " + str.tostring(takeProfitForLong2R) +
", Take Profit 3: " + str.tostring(takeProfitForLong3R) +
", Stop Loss Price: " + str.tostring(stopLossForLong)
alertShortText = str.tostring(syminfo.ticker) + " SELL ALERT!" +
", Entry Price: " + str.tostring(entryOfShortPosition) +
", Take Profit 1: " + str.tostring(takeProfitForShort1R) +
", Take Profit 2: " + str.tostring(takeProfitForShort2R) +
", Take Profit 3: " + str.tostring(takeProfitForShort3R) +
", Stop Loss Price: " + str.tostring(stopLossForShort)
longJson = '{"content": "' + alertLongText + '"}'
shortJson = '{"content": "' + alertShortText + '"}'
if longCond
alert(longJson, alert.freq_once_per_bar_close)
if shortCond
alert(shortJson, alert.freq_once_per_bar_close)
Breakout Trading with RSI and ATR Enhancements 2.0 MENATitle: Breakout Trading with RSI and ATR Enhancements
Description:
This script combines key technical analysis tools, including RSI, ATR, and moving averages, to provide breakout trading signals with enhanced precision. Designed for traders who want to capture market breakouts while filtering false signals, this script integrates the following components:
ATR-Based Breakout Levels:
The script calculates upper and lower breakout levels using the Average True Range (ATR). These levels are dynamically adjusted to reflect recent volatility, helping traders identify potential price breakout zones.
RSI Signals (Buy and Sell):
RSI Buy Signal: The script identifies oversold conditions (RSI < 30) in an uptrend, confirmed by price trading above the longer-term moving average (200-period SMA).
RSI Sell Signal: The script identifies overbought conditions (RSI > 70) in a downtrend, confirmed by price trading below the longer-term moving average.
These signals help traders detect potential reversals and avoid trading against the trend.
Moving Average Crossovers:
Short-term and long-term moving averages are included to detect momentum shifts. The crossover of a short-period MA (9) and a long-period MA (21) acts as an additional confirmation for entry and exit points.
Custom Alerts for Breakouts and RSI Signals:
Alerts are built into the script, enabling traders to receive real-time notifications for breakout levels or when RSI-based buy/sell conditions are met.
How It Works:
The script uses ATR to determine dynamic breakout zones based on the highest resistance and lowest support within a specified lookback period.
The RSI-based signals are filtered using the 200-period moving average, ensuring signals align with the dominant trend.
Moving average crossovers provide additional confirmation for trend reversals.
How to Use:
Breakout Trading: Monitor the breakout levels plotted on the chart (green for upper and red for lower levels). Enter a trade when the price crosses these levels and aligns with the trend.
RSI Signals: Look for RSI Buy/Sell labels on the chart to identify potential entry and exit points. These signals are filtered to avoid whipsaws in trending markets.
Alerts: Set custom alerts for breakout levels or RSI signals using the built-in alert conditions for seamless trading.
Why It’s Useful:
This script combines volatility-based breakout detection with trend-following RSI signals, providing a robust framework for breakout traders. By filtering signals based on moving averages and ATR levels, it minimizes noise and helps traders focus on high-probability setups.
Note:
This script is designed for educational purposes and should be used alongside proper risk management and additional analysis.
IU Range Trading StrategyIU Range Trading Strategy
The IU Range Trading Strategy is designed to identify range-bound markets and take trades based on defined price ranges. This strategy uses a combination of price ranges and ATR (Average True Range) to filter entry conditions and incorporates a trailing stop-loss mechanism for better trade management.
User Inputs:
- Range Length: Defines the number of bars to calculate the highest and lowest price range (default: 10).
- ATR Length: Sets the length of the ATR calculation (default: 14).
- ATR Stop-Loss Factor: Determines the multiplier for the ATR-based stop-loss (default: 2.00).
Entry Conditions:
1. A range is identified when the difference between the highest and lowest prices over the selected range is less than or equal to 1.75 times the ATR.
2. Once a valid range is formed:
- A long trade is triggered at the range high.
- A short trade is triggered at the range low.
Exit Conditions:
1. Trailing Stop-Loss:
- The stop-loss adjusts dynamically using ATR targets.
- The strategy locks in profits as the trade moves in your favor.
2. The stop-loss and take-profit levels are visually plotted for transparency and easier decision-making.
Features:
- Automated box creation to visualize the trading range.
- Supports one position at a time, canceling opposite-side entries.
- ATR-based trailing stop-loss for effective risk management.
- Clear visual representation of stop-loss and take-profit levels with colored bands.
This strategy works best in markets with defined ranges and can help traders identify breakout opportunities when the price exits the range.
Invest SMA|MACD|ADX Long Weekly Strategy (BtTL)Diese Strategie kombiniert drei bewährte technische Indikatoren (SMA, MACD und ADX) für präzise Long-Einstiege auf dem Wochenchart.
Hauptmerkmale:
Einstiegssignale basieren auf einer Kombination aus SMA (30), MACD (9,18,9) und ADX (14)
Intelligentes Stop-Loss-Management durch Swing-Low-Erkennung
Trendbestätigung durch ADX > 25
Optimiert für Wochencharts
Konservatives Risikomanagement durch mehrfache Signalbestätigung
Einstiegsbedingungen:
Kurs über SMA
MACD über Signallinie und im positiven Bereich
ADX zeigt starken Trend (>25)
Ausstiegsstrategie:
Stop-Loss wird automatisch am vorletzten Swing-Low gesetzt
Position wird geschlossen, wenn der Kurs unter den SMA fällt
🇬🇧 English:
This strategy combines three proven technical indicators (SMA, MACD, and ADX) for precise long entries on the weekly chart.
Key Features:
Entry signals based on a combination of SMA (30), MACD (9,18,9), and ADX (14)
Intelligent stop-loss management through swing low detection
Trend confirmation using ADX > 25
Optimized for weekly charts
Conservative risk management through multiple signal confirmation
Entry Conditions:
Price above SMA
MACD above signal line and in positive territory
ADX showing strong trend (>25)
Exit Strategy:
Stop-loss automatically set at second-last swing low
Position closes when price falls below SMA
EMA DSWThis Pine Script indicator implements a trading strategy based on the crossover of 5-period and 9-period Exponential Moving Averages (EMA). It generates entry signals when the 5 EMA crosses above the 9 EMA, and exit signals when the 5 EMA crosses below the 9 EMA. The script also calculates and displays stop-loss and target levels for each trade. Users can customize the EMA periods, stop-loss percentage, and target percentage through input parameters. The indicator plots the EMAs on the chart and displays entry and exit markers for visual reference
Keltner Channel + RSI / Owl of ProfitKeltner Channel + RSI Strategy
This strategy combines the Keltner Channel and RSI indicators to identify trading opportunities based on price levels and momentum.
Features
Keltner Channel
Calculated using EMA and ATR.
Upper and lower bounds provide a dynamic range for price action.
Default parameters:
EMA Period: 20
ATR Period: 10
ATR Multiplier: 1.5
RSI (Relative Strength Index)
Identifies overbought and oversold conditions.
Default parameters:
RSI Period: 14
Overbought Level: 70
Oversold Level: 30
Strategy Conditions
Long Entry
Price crosses above the lower Keltner Channel.
RSI is below the oversold level.
Short Entry
Price crosses below the upper Keltner Channel.
RSI is above the overbought level.
Exit Logic
Close Long
Price crosses below the EMA.
RSI rises above 50.
Close Short
Price crosses above the EMA.
RSI falls below 50.
Visualization
Keltner Channel:
Upper and lower bounds plotted with transparent fill for better clarity.
EMA line for midpoint reference.
RSI:
Plots RSI with dotted horizontal lines for overbought and oversold levels.
Signal Markers:
Buy (green) and Sell (red) labels plotted for entry signals.
This strategy is ideal for traders who want to combine price action with momentum-based signals to capture dynamic market moves.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
Donchian Breakout Indicator apthaTo trade using the Donchian Breakout Indicator, you can follow a trend-following approach, where the goal is to catch strong price movements as they break out of a consolidation range. Here's a step-by-step guide on how you can trade with this indicator:
1. Identifying Breakouts
The Donchian Channels display the highest high and the lowest low over a certain period (20 periods by default). When price breaks above the upper channel, it signals a potential bullish breakout, and when it breaks below the lower channel, it signals a potential bearish breakout.
2. Bullish Breakout (Buying)
Entry Signal: Look for a bullish breakout when the price closes above the upper channel. This indicates that the price is moving higher, breaking out of a recent range.
Confirmation: The middle channel acts as an additional confirmation. If the price is above the middle channel (or multiplied by the confirmation factor), it further strengthens the buy signal.
Exit: You can exit the position either when the price falls back inside the channel or based on other indicators like stop losses, take profits, or another price action signal.
3. Bearish Breakout (Selling/Shorting)
Entry Signal: Look for a bearish breakout when the price closes below the lower channel. This indicates a potential downward move, where the price is breaking below a recent support level.
Confirmation: Similarly, if the price is below the middle channel (or multiplied by the confirmation factor), it provides more confidence in the short position.
Exit: Exit the short position when the price breaks back above the lower channel or based on other indicators/price action.
4. Stop Loss and Take Profit Suggestions
Stop Loss:
For long positions, set the stop loss below the upper channel breakout point, or use a percentage-based stop from your entry price.
For short positions, set the stop loss above the lower channel breakout point.
Take Profit: Consider using a risk-reward ratio (like 2:1 or 3:1). Alternatively, you could exit when price closes back inside the channel or use trailing stops for dynamic exits.
5. Trade Example:
Bullish Example (Long Trade)
Signal: The price closes above the upper Donchian channel, indicating a potential breakout.
Confirmation: The price is above the middle channel (optional for stronger confirmation).
Action: Enter a long position.
Stop Loss: Place a stop loss just below the upper channel or a set percentage under the breakout point.
Take Profit: Set a profit target based on a risk-reward ratio or exit when the price shows signs of reversing.
Bearish Example (Short Trade)
Signal: The price closes below the lower Donchian channel, signaling a potential bearish breakout.
Confirmation: The price is below the middle channel (optional for added confidence).
Action: Enter a short position.
Stop Loss: Place a stop loss just above the lower channel or a set percentage above the breakout point.
Take Profit: Set a profit target based on a risk-reward ratio or exit when the price shows signs of reversing.
Things to Keep in Mind:
False Breakouts: Occasionally, price might break out temporarily and then reverse, which is a false breakout. To minimize this risk, use volume confirmation, momentum indicators (like RSI), or wait for a couple of candlesticks to confirm the breakout before entering.
Market Conditions: This strategy works best in trending markets. In ranging or consolidating markets, breakouts might not always follow through, leading to false signals.
Risk Management: Always apply good risk management techniques, such as defining your position size, setting stop losses, and using a proper risk-reward ratio.
Donchian Breakout IndicatorTo trade using the Donchian Breakout Indicator, you can follow a trend-following approach, where the goal is to catch strong price movements as they break out of a consolidation range. Here's a step-by-step guide on how you can trade with this indicator:
1. Identifying Breakouts
The Donchian Channels display the highest high and the lowest low over a certain period (20 periods by default). When price breaks above the upper channel, it signals a potential bullish breakout, and when it breaks below the lower channel, it signals a potential bearish breakout.
2. Bullish Breakout (Buying)
Entry Signal: Look for a bullish breakout when the price closes above the upper channel. This indicates that the price is moving higher, breaking out of a recent range.
Confirmation: The middle channel acts as an additional confirmation. If the price is above the middle channel (or multiplied by the confirmation factor), it further strengthens the buy signal.
Exit: You can exit the position either when the price falls back inside the channel or based on other indicators like stop losses, take profits, or another price action signal.
3. Bearish Breakout (Selling/Shorting)
Entry Signal: Look for a bearish breakout when the price closes below the lower channel. This indicates a potential downward move, where the price is breaking below a recent support level.
Confirmation: Similarly, if the price is below the middle channel (or multiplied by the confirmation factor), it provides more confidence in the short position.
Exit: Exit the short position when the price breaks back above the lower channel or based on other indicators/price action.
4. Stop Loss and Take Profit Suggestions
Stop Loss:
For long positions, set the stop loss below the upper channel breakout point, or use a percentage-based stop from your entry price.
For short positions, set the stop loss above the lower channel breakout point.
Take Profit: Consider using a risk-reward ratio (like 2:1 or 3:1). Alternatively, you could exit when price closes back inside the channel or use trailing stops for dynamic exits.
5. Trade Example:
Bullish Example (Long Trade)
Signal: The price closes above the upper Donchian channel, indicating a potential breakout.
Confirmation: The price is above the middle channel (optional for stronger confirmation).
Action: Enter a long position.
Stop Loss: Place a stop loss just below the upper channel or a set percentage under the breakout point.
Take Profit: Set a profit target based on a risk-reward ratio or exit when the price shows signs of reversing.
Bearish Example (Short Trade)
Signal: The price closes below the lower Donchian channel, signaling a potential bearish breakout.
Confirmation: The price is below the middle channel (optional for added confidence).
Action: Enter a short position.
Stop Loss: Place a stop loss just above the lower channel or a set percentage above the breakout point.
Take Profit: Set a profit target based on a risk-reward ratio or exit when the price shows signs of reversing.
Things to Keep in Mind:
False Breakouts: Occasionally, price might break out temporarily and then reverse, which is a false breakout. To minimize this risk, use volume confirmation, momentum indicators (like RSI), or wait for a couple of candlesticks to confirm the breakout before entering.
Market Conditions: This strategy works best in trending markets. In ranging or consolidating markets, breakouts might not always follow through, leading to false signals.
Risk Management: Always apply good risk management techniques, such as defining your position size, setting stop losses, and using a proper risk-reward ratio.
Wave Trend Oscillator (LazyBear) / Owl of Profit remakeWave Trend Oscillator Strategy (by LazyBear)
This strategy leverages the powerful WaveTrend Oscillator developed by LazyBear to identify overbought and oversold market conditions, providing dynamic signals for trend-based trading.
Features
WaveTrend Oscillator (WT):
Calculates two smoothed WaveTrend lines (WT1 and WT2) for visualizing momentum.
Uses channel and average lengths to adjust sensitivity.
Overbought/Oversold Levels:
Predefined levels for detecting extreme price conditions:
Overbought: 60, 53.
Oversold: -60, -53.
Fully customizable levels to match different trading preferences.
Color-Coded Visualization:
WT1 (green) and WT2 (red) show smoothed momentum oscillations.
Area between WT1 and WT2 filled in blue for additional clarity.
Strategy Logic
Long Entry Condition:
WT1 crosses above WT2, indicating a bullish reversal.
WT1 is below the Oversold Level (-60) during the crossover.
Short Entry Condition:
WT1 crosses below WT2, signaling a bearish reversal.
WT1 is above the Overbought Level (60) during the crossover.
Exit Logic:
Positions are automatically closed based on opposing signals.
Customization
Oscillator Lengths:
Channel Length (n1): Default 10.
Average Length (n2): Default 21.
Overbought/Oversold Levels:
Default Levels: 60 (Overbought), -60 (Oversold).
Optional secondary levels for finer adjustments.
Visual Enhancements:
Overlay the oscillator with additional chart elements for trend confirmation.
This strategy is ideal for traders looking to combine momentum analysis with overbought/oversold signals, ensuring precise entries and exits in trending markets.
Visit my website for more tools and strategies: bybitindicators.com
Happy Trading! 😊