KayVee Buy Sell Gold Indicator//@version=6
indicator(title="KayTest", overlay=true)
// Input Parameters
src = input(defval=close, title="Source")
per = input.int(defval=100, minval=1, title="Sampling Period")
mult = input.float(defval=3.0, minval=0.1, title="Range Multiplier")
// Smooth Range Function
smoothrng(x, t, m) =>
wper = t * 2 - 1
avrng = ta.ema(math.abs(x - x ), t)
smoothVal = ta.ema(avrng, wper) * m
smoothVal
// Compute Smooth Range
smrng = smoothrng(src, per, mult)
// Range Filter Function
rngfilt(x, r) =>
filtVal = x
filtVal := x > nz(filtVal ) ? (x - r < nz(filtVal ) ? nz(filtVal ) : x - r) : (x + r > nz(filtVal ) ? nz(filtVal ) : x + r)
filtVal
// Apply Filter
filt = rngfilt(src, smrng)
// Trend Detection
upward = 0.0
upward := filt > filt ? nz(upward ) + 1 : filt < filt ? 0 : nz(upward )
downward = 0.0
downward := filt < filt ? nz(downward ) + 1 : filt > filt ? 0 : nz(downward )
// Bands
hband = filt + smrng
lband = filt - smrng
// Colors
filtcolor = upward > 0 ? color.lime : downward > 0 ? color.red : color.orange
barcolor = src > filt and src > src and upward > 0 ? color.lime :
src > filt and src < src and upward > 0 ? color.green :
src < filt and src < src and downward > 0 ? color.red :
src < filt and src > src and downward > 0 ? color.maroon : color.orange
// Plot Indicators
plot(filt, color=filtcolor, linewidth=3, title="Range Filter")
plot(hband, color=color.new(color.aqua, 90), title="High Target")
plot(lband, color=color.new(color.fuchsia, 90), title="Low Target")
// Fill the areas between the bands and filter line
fill1 = plot(hband, color=color.new(color.aqua, 90), title="High Target")
fill2 = plot(filt, color=color.new(color.aqua, 90), title="Range Filter")
fill(fill1, fill2, color=color.new(color.aqua, 90), title="High Target Range")
fill3 = plot(lband, color=color.new(color.fuchsia, 90), title="Low Target")
fill4 = plot(filt, color=color.new(color.fuchsia, 90), title="Range Filter")
fill(fill3, fill4, color=color.new(color.fuchsia, 90), title="Low Target Range")
barcolor(barcolor)
// Buy and Sell Conditions (adjusting for correct line continuation)
longCond1 = (src > filt) and (src > src ) and (upward > 0)
longCond2 = (src > filt) and (src < src ) and (upward > 0)
longCond = longCond1 or longCond2
shortCond1 = (src < filt) and (src < src ) and (downward > 0)
shortCond2 = (src < filt) and (src > src ) and (downward > 0)
shortCond = shortCond1 or shortCond2
// Initialization of Condition
CondIni = 0
CondIni := longCond ? 1 : shortCond ? -1 : CondIni
// Long and Short Signals
longCondition = longCond and CondIni == -1
shortCondition = shortCond and CondIni == 1
// Plot Signals
plotshape(longCondition, title="Buy Signal", text="Buy", textcolor=color.white, style=shape.labelup, size=size.normal, location=location.belowbar, color=color.green)
plotshape(shortCondition, title="Sell Signal", text="Sell", textcolor=color.white, style=shape.labeldown, size=size.normal, location=location.abovebar, color=color.red)
// Alerts
alertcondition(longCondition, title="Buy Alert", message="BUY")
alertcondition(shortCondition, title="Sell Alert", message="SELL")
Indicators and strategies
Altcoin Exit Signal👉 This indicator is designed to help traders identify optimal times to sell altcoins during the peak of a bull market. By analyzing the historical ratio of the "OTHERS" market cap (all altcoins excluding the top 10) to Bitcoin, it signals when altcoins are nearing their cycle peaks and may be due for a decline. This is a good indicator to use for smaller altcoins outside of the top 10 by marketcap. Designed to be used on the daily timeframe.
⭐ YouTube: Money On The Move
⭐ www.youtube.com
⭐ Crypto Patreon: www.patreon.com
👉 HOW TO USE: Historically, when the white line touches or crosses the red line, it has signaled that the top of the altcoin market cycle is approaching, making it an ideal time to consider exiting altcoins before a potential decline. While the primary focus is on smaller altcoins, this tool can also be useful for larger coins by identifying trends and shifts in market dominance. The indicator uses a predefined threshold tailored for smaller altcoins as a key signal for an exit strategy.
Disclaimer: As with all indicators, past performance is not indicative of future results. Cryptocurrency trading involves significant risk and can result in the loss of your investment. This indicator should not be considered as financial advice, nor is it a recommendation to buy or sell any financial asset. Always conduct your own research and consult with a licensed financial advisor before making any investment decisions. Trading cryptocurrencies is speculative and inherently volatile, and you should only trade with money you are willing to lose.
BBSS+This Pine Script implements a custom indicator overlaying Bollinger Bands with additional features for trend analysis using Exponential Moving Averages (EMAs). Here's a breakdown of its functionality:
Bollinger Bands:
The script calculates the Bollinger Bands using a 20-period Simple Moving Average (SMA) as the basis and a multiplier of 2 for the standard deviation.
It plots the Upper Band and Lower Band in red.
EMA Calculations:
Three EMAs are calculated for the close price with periods of 5, 10, and 40.
The EMAs are plotted in green (5-period), cyan (10-period), and orange (40-period) to distinguish between them.
Trend Detection:
The script determines bullish or bearish EMA alignments:
Bullish Order: EMA 5 > EMA 10 > EMA 40.
Bearish Order: EMA 5 < EMA 10 < EMA 40.
Entry Signals:
Long Entry: Triggered when:
The close price crosses above the Upper Bollinger Band.
The Upper Band is above its 5-period SMA (indicating momentum).
The EMAs are in a bullish order.
Short Entry: Triggered when:
The close price crosses below the Lower Bollinger Band.
The Lower Band is below its 5-period SMA.
The EMAs are in a bearish order.
Trend State Tracking:
A variable tracks whether the market is in a Long or Short trend based on conditions:
A Long trend continues unless conditions for a Short Entry are met or the Upper Band dips below its average.
A Short trend continues unless conditions for a Long Entry are met or the Lower Band rises above its average.
Visual Aids:
Signal Shapes:
Triangle-up shapes indicate Long Entry points below the bar.
Triangle-down shapes indicate Short Entry points above the bar.
Bar Colors:
Green bars indicate a Long trend.
Red bars indicate a Short trend.
This script combines Bollinger Bands with EMA crossovers to generate entry signals and visualize market trends, making it a versatile tool for identifying momentum and trend reversals.
Custom ATR with ColorsFeatures
ATR Length and Calculation Method: You can adjust the length of the ATR and choose between RMA, SMA, and EMA.
Color Customization: Define different colors for when ATR is above or below the threshold.
Custom Timeframe: Use the chart's timeframe or a specific interval (e.g., 1D, 1H).
How to Use
Copy and paste the script into the Pine Script Editor on TradingView.
Click "Add to Chart" after saving the script.
Adjust the input parameters (length, threshold, colors, timeframe) to fit your needs.
Nandha StrategyCombination of Supertrend and EMA's. Which indicates buy and sell signal your analysis. It may vary but please ensure you test indicator before you use.
Custom Trend TableManual input of trend starting with Daily Time frame, then H4 and H1.
If Daily and H4 are the same trend we can ignore H1 trend (N/A).
M15 Buy or Sell comes automatically depending on what the higher time frame trends are.
If Daily and H4 are bearish, then we look for Selling opportunities on M15.
If Daily and H4 are bullish, then we look for Buying opportunities on M15.
If Daily and H4 are different trends, then H1 trend will determine M15 Buy or Sell.
Works for up to 4 pairs / Symbols. If you need more, just add the indicator twice and on the second settings, move the placement of the table to a different location (Eg: Top, Middle) so you can see up to 8 Symbols. Repeat this process if required.
Buy/Sell Signals with Multi-Indicator Trend ConfirmationTrend-Filtered Buy/Sell Signals with Multiple Indicators
This strategy combines multiple technical indicators to generate buy and sell signals, while also filtering the signals based on the prevailing market trend. The core idea is to provide more reliable trading signals by confirming them with trend direction and using several popular indicators.
Key Components:
MACD (Moving Average Convergence Divergence):
Purpose: The MACD is used to detect changes in momentum. When the MACD line crosses above the signal line, it is a bullish signal (buy). Conversely, when the MACD line crosses below the signal line, it is a bearish signal (sell).
RSI (Relative Strength Index):
Purpose: The RSI helps identify whether a market is overbought or oversold. An RSI below 30 suggests an oversold condition (potential buy), and an RSI above 70 suggests an overbought condition (potential sell).
Stochastic Oscillator:
Purpose: The stochastic oscillator is another momentum indicator that compares the closing price to its price range over a specified period. It generates signals when the %K line crosses above or below the %D line. A reading above 80 suggests overbought conditions, while a reading below 20 suggests oversold conditions.
SMA (Simple Moving Average):
Purpose: The SMA is used to determine the general market trend. If the price is above the SMA, the market is considered to be in an uptrend (bullish), and if the price is below the SMA, the market is in a downtrend (bearish). The SMA acts as a filter for the signals — buy signals are only considered valid when the price is above the SMA (bullish trend), and sell signals are considered only when the price is below the SMA (bearish trend).
How It Works:
Buy Signal:
The strategy generates a buy signal when:
The MACD line crosses above the signal line (bullish crossover).
The RSI is below 70, indicating the market is not overbought.
The stochastic %K line is below 70, suggesting there is still room for upward movement.
The price is above the SMA, confirming the market is in an uptrend (when trend filtering is enabled).
Sell Signal:
The strategy generates a sell signal when:
The MACD line crosses below the signal line (bearish crossover).
The RSI is above 30, indicating the market is not oversold.
The stochastic %K line is above 30, suggesting there is still room for downward movement.
The price is below the SMA, confirming the market is in a downtrend (when trend filtering is enabled).
Trend Filtering (Optional):
An optional feature of the strategy is the trend filter, which ensures that buy signals only appear when the market is in an uptrend (price above the SMA) and sell signals only appear when the market is in a downtrend (price below the SMA). This filter can be toggled on or off based on user preference.
Stop Loss:
The strategy includes a stop-loss feature where the user can define a percentage to determine where to exit the trade if the market moves against the position. This is designed to limit losses if the market moves in the opposite direction.
Benefits of This Strategy:
Reduced False Signals: By combining multiple indicators, the strategy filters out false signals, especially during sideways market conditions.
Trend Confirmation: The trend filter ensures that trades align with the overall market trend, improving the probability of success.
Customizable: Users can adjust parameters such as the length of indicators, stop-loss percentage, and trend filter settings according to their trading preferences.
Conclusion:
This strategy is suitable for traders looking for a robust approach to generate buy and sell signals based on a combination of momentum and trend indicators. The trend filter adds an extra layer of confirmation, making the strategy more reliable and reducing the chances of entering trades against the market direction.
Min/Max of Last 4(N) Candles Track previous 4 candles high and low. Green line is the previous 4 candle's highest high, and Red line is the the previous 4 candle's lowest low.
If the current candle break the Green line, and close as a bullish candle, the green line will stop painting, and a red line will appear, you can try to go long and stop loss will be the red line.
If the current candle break the red line and close as a bearish candle, the red line will stop paining, and a green line will appear, you can try to go short and stop loss will be the green line.
However you should not just automatically place the buy or sell stop order at the line, because unless the trend is super strong, there could some level of consolidation and fake out.
You should use this indicator after assess ing the market condition, and your trading size and product.
If the trend is super strong, you will likely catch a really big move without hitting stop loss and with minimal drawdown.
خطوط عمودی تایمفریم//@version=5
indicator("خطوط عمودی تایمفریم", overlay=true)
var line_color_daily = color.new(color.blue, 50) // رنگ خطوط روزانه
var line_color_weekly = color.new(color.green, 50) // رنگ خطوط هفتگی
var line_color_monthly = color.new(color.red, 50) // رنگ خطوط ماهانه
// بررسی تایمفریم
is_daily = timeframe.isintraday and timeframe.multiplier == 5 or timeframe.multiplier == 30
is_weekly = timeframe.isintraday and timeframe.multiplier == 60
is_monthly = timeframe.isintraday and timeframe.multiplier == 240
// رسم خطوط روزانه
if is_daily and ta.change(time("D")) != 0
line.new(x1=bar_index, y1=high, x2=bar_index, y2=low, color=line_color_daily, width=1)
// رسم خطوط هفتگی
if is_weekly and ta.change(time("W")) != 0
line.new(x1=bar_index, y1=high, x2=bar_index, y2=low, color=line_color_weekly, width=2)
// رسم خطوط ماهانه
if is_monthly and ta.change(time("M")) != 0
line.new(x1=bar_index, y1=high, x2=bar_index, y2=low, color=line_color_monthly, width=3)
Multi-Stock Price AlertThis indicator is designed to track up to 25 stock tickers and trigger price alerts whenever their respective price targets are reached. The indicator allows users to input ticker symbols and corresponding price targets for multiple stocks. It continuously monitors the stock prices and generates alerts when the current price crosses or equals the specified target.
Moving Average with 3 Std deviations - #ChannelDaytrading on YTUse this script to identify the maximum Risk. If the price goes beyond 2 or 3 standard deviation in the opposite direction, get out.
Simplified Indicator: Single Buy SignalScript Overview: Simplified Indicator for Smart Entry and Exit Signals
This Pine Script is designed to provide clear BUY, SUPER BUY, and SELL signals based on simple, reliable conditions, specifically targeting users who trade based on momentum, trend strength, and volume. The indicator ensures a clutter-free chart by generating non-repetitive signals, making it ideal for daily chart traders.
Features and Logic
1. BUY Signal
Condition: A BUY signal is triggered when:
The RSI crosses above 60 from below (indicating strong momentum).
The Rate of Change (ROC) is above 0 (indicating upward price movement).
The price is above the 21-period Exponential Moving Average (EMA) (indicating an uptrend).
Frequency: The BUY signal appears only once while the conditions are met and remains suppressed until a SELL signal resets the state.
2. SUPER BUY Signal
Condition: A SUPER BUY signal is triggered when all the BUY conditions are met, plus:
The trading volume is at least 1.5 times the 20-period average volume.
Purpose: This highlights moments of significant buying pressure, signaling a potential breakout or continuation of a strong trend.
3. SELL Signal
Condition: A SELL signal is triggered when:
The RSI moves below 50 (indicating weakening momentum).
Two consecutive daily closes are lower than the previous candle’s close (indicating a downtrend is forming).
Effect: A SELL resets the state, allowing new BUY or SUPER BUY signals to be generated when conditions are met again.
How the Script Works
Momentum & Trend Detection:
The script uses RSI and ROC to detect the strength of the trend and momentum.
The 21-period EMA acts as a trend filter to ensure signals align with the broader market direction.
Volume-Based Enhancements:
Average volume conditions ensure only significant buying moments trigger SUPER BUY signals, reducing noise from low-volume moves.
Signal Optimization:
The script prevents repeated signals by tracking whether a position is currently active (using the inPosition variable).
This creates a cleaner chart, focusing only on actionable signals.
Flexibility:
Adjustable inputs for RSI, ROC, EMA period, and volume multiplier make it customizable for various trading styles.
How to Use This Indicator
BUY: Look for BUY signals to enter long positions when the stock shows strength in momentum and aligns with the uptrend.
SUPER BUY: Prioritize SUPER BUY signals for more aggressive entries, as these indicate high conviction moments with strong volume.
SELL: Use SELL signals to exit positions when momentum and price action weaken.
Customizable Inputs
ROC Length: The period for the Rate of Change calculation.
RSI Length: The period for the Relative Strength Index.
EMA Period: The period for the Exponential Moving Average.
Volume Multiplier: The factor for detecting high-volume conditions for SUPER BUY signals.
Average Volume Period: The period for calculating average volume.
Visualization
BUY: Appears as green text below the candle when conditions are met.
SUPER BUY: Appears as blue text below the candle, signifying stronger buying conditions.
SELL: Appears as red text above the candle to mark exit opportunities.
This indicator simplifies decision-making by combining robust technical criteria into actionable signals. It's ideal for swing traders and long-term investors looking for clear, data-driven entry and exit points.
DoCrypto Fibonacci//@version=6
indicator("DoCrypto Fibonacci", overlay=true)
devTooltip = "Deviation is a multiplier that affects how much the price should deviate from the previous pivot in order for the bar to become a new pivot."
depthTooltip = "The minimum number of bars that will be taken into account when calculating the indicator."
// pivots threshold
threshold_multiplier = input.float(title="Deviation", defval=3, minval=0, tooltip=devTooltip)
depth = input.int(title="Depth", defval=10, minval=2, tooltip=depthTooltip)
//reverse = input(false, "Reverse", display = display.data_window)
var extendLeft = input(false, "Extend Left | Extend Right", inline = "Extend Lines")
var extendRight = input(true, "", inline = "Extend Lines")
var extending = extend.none
if extendLeft and extendRight
extending := extend.both
if extendLeft and not extendRight
extending := extend.left
if not extendLeft and extendRight
extending := extend.right
prices = input(true, "Show Prices", display = display.data_window)
levels = input(true, "Show Levels", inline = "Levels", display = display.data_window)
levelsFormat = input.string("Values", "", options = , inline = "Levels", display = display.data_window)
labelsPosition = input.string("Left", "Labels Position", options = , display = display.data_window)
var int backgroundTransparency = input.int(85, "Background Transparency", minval = 0, maxval = 100, display = display.data_window)
import TradingView/ZigZag/7 as zigzag
update()=>
var settings = zigzag.Settings.new(threshold_multiplier, depth, color(na), false, false, false, false, "Absolute", true)
var zigzag.ZigZag zigZag = zigzag.newInstance(settings)
var zigzag.Pivot lastP = na
var float startPrice = na
var float height = na
if barstate.islast and zigZag.pivots.size() < 2
runtime.error("Not enough data to calculate Auto Fib Retracement on the current symbol. Change the chart's timeframe to a lower one or select a smaller calculation depth using the indicator's `Depth` settings.")
settings.devThreshold := ta.atr(10) / close * 100 * threshold_multiplier
if zigZag.update()
lastP := zigZag.lastPivot()
if not na(lastP)
var line lineLast = na
if na(lineLast)
lineLast := line.new(lastP.start, lastP.end, xloc=xloc.bar_time, color=color.gray, width=1, style=line.style_dashed)
else
line.set_first_point(lineLast, lastP.start)
line.set_second_point(lineLast, lastP.end)
startPrice := lastP.end.price
endPrice = lastP.start.price
height := (startPrice > endPrice ? -1 : 1) * math.abs(startPrice - endPrice)
= update()
updateR()=>
var settings = zigzag.Settings.new(threshold_multiplier, depth, color(na), false, false, false, false, "Absolute", true)
var zigzag.ZigZag zigZag = zigzag.newInstance(settings)
var zigzag.Pivot lastPR = na
var float startPriceR = na
var float heightR = na
if barstate.islast and zigZag.pivots.size() < 2
runtime.error("Not enough data to calculate Auto Fib Retracement on the current symbol. Change the chart's timeframe to a lower one or select a smaller calculation depth using the indicator's `Depth` settings.")
settings.devThreshold := ta.atr(10) / close * 100 * threshold_multiplier
if zigZag.update()
lastPR := zigZag.lastPivot()
if not na(lastPR)
var line lineLastR = na
if na(lineLastR)
lineLastR := line.new(lastPR.start, lastPR.end, xloc=xloc.bar_time, color=color.gray, width=1, style=line.style_dashed)
else
line.set_first_point(lineLastR, lastPR.start)
line.set_second_point(lineLastR, lastPR.end)
startPriceR := lastP.start.price
endPriceR = lastP.end.price
heightR := (startPriceR > endPriceR ? -1 : 1) * math.abs(startPriceR - endPriceR)
= updateR()
_draw_line(price, col) =>
var id = line.new(lastP.start.time, lastP.start.price, time, price, xloc=xloc.bar_time, color=col, width=1, extend=extending)
line.set_xy1(id, lastP.start.time, price)
line.set_xy2(id, lastP.end.time, price)
id
_draw_label(price, txt, txtColor) =>
x = labelsPosition == "Left" ? lastP.start.time : not extendRight ? lastP.end.time : time
labelStyle = labelsPosition == "Left" ? label.style_label_right : label.style_label_left
align = labelsPosition == "Left" ? text.align_right : text.align_left
labelsAlignStrLeft = txt + ' '
labelsAlignStrRight = ' ' + txt + ' '
labelsAlignStr = labelsPosition == "Left" ? labelsAlignStrLeft : labelsAlignStrRight
var id = label.new(x=x, y=price, xloc=xloc.bar_time, text=labelsAlignStr, textcolor=txtColor, style=labelStyle, textalign=align, color=#00000000)
label.set_xy(id, x, price)
label.set_text(id, labelsAlignStr)
label.set_textcolor(id, txtColor)
_wrap(txt) =>
"(" + str.tostring(txt, format.mintick) + ")"
_label_txt(level, price) =>
l = levelsFormat == "Values" ? str.tostring(level) : str.tostring(level * 100) + "%"
(levels ? l : "") + (prices ? _wrap(price) : "")
_crossing_level(series float sr, series float r) =>
(r > sr and r < sr ) or (r < sr and r > sr )
processLevelR(bool show, float value, color colorL, line lineIdOther) =>
float m = value
r = startPriceR + heightR * m
//crossed = _crossing_level(close, r)
if show and not na(lastP)
lineId = _draw_line(r, #f44336)
_draw_label(r," Short "+ _label_txt(m, r), #f44336)
//if crossed
// alert("Autofib: " + syminfo.ticker + " crossing level " + str.tostring(value))
if not na(lineIdOther)
linefill.new(lineId, lineIdOther, color = color.new(colorL, backgroundTransparency))
lineId
else
lineIdOther
processLevel(bool show, float value, color colorL, line lineIdOther) =>
float m = value
r = startPrice + height * m
//crossed = _crossing_level(close, r)
if show and not na(lastP)
lineId = _draw_line(r, #81c784)
_draw_label(r,"Long "+ _label_txt(m, r), #81c784)
//if crossed
// alert("Autofib: " + syminfo.ticker + " crossing level " + str.tostring(value))
if not na(lineIdOther)
linefill.new(lineId, lineIdOther, color = color.new(#81c784, backgroundTransparency))
lineId
else
lineIdOther
show_0 = input(true, "", inline = "Level0", display = display.data_window)
value_0 = input(0, "", inline = "Level0", display = display.data_window)
color_0 = input(#787b86, "", inline = "Level0", display = display.data_window)
show_0_236 = input(true, "", inline = "Level0", display = display.data_window)
value_0_236 = input(0.236, "", inline = "Level0", display = display.data_window)
color_0_236 = input(#f44336, "", inline = "Level0", display = display.data_window)
show_0_382 = input(true, "", inline = "Level1", display = display.data_window)
value_0_382 = input(0.382, "", inline = "Level1", display = display.data_window)
color_0_382 = input(#81c784, "", inline = "Level1", display = display.data_window)
show_0_5 = input(true, "", inline = "Level1", display = display.data_window)
value_0_5 = input(0.5, "", inline = "Level1", display = display.data_window)
color_0_5 = input(#4caf50, "", inline = "Level1", display = display.data_window)
show_0_618 = input(true, "", inline = "Level2", display = display.data_window)
value_0_618 = input(0.618, "", inline = "Level2", display = display.data_window)
color_0_618 = input(#009688, "", inline = "Level2", display = display.data_window)
show_0_65 = input(true, "", inline = "Level2", display = display.data_window)
value_0_65 = input(0.65, "", inline = "Level2", display = display.data_window)
color_0_65 = input(#009688, "", inline = "Level2", display = display.data_window)
show_0_786 = input(true, "", inline = "Level3", display = display.data_window)
value_0_786 = input(0.786, "", inline = "Level3", display = display.data_window)
color_0_786 = input(#64b5f6, "", inline = "Level3", display = display.data_window)
show_1 = input(true, "", inline = "Level3", display = display.data_window)
value_1 = input(1, "", inline = "Level3", display = display.data_window)
color_1 = input(#787b86, "", inline = "Level3", display = display.data_window)
show_1_272 = input(true, "", inline = "Level4", display = display.data_window)
value_1_272 = input(1.272, "", inline = "Level4", display = display.data_window)
color_1_272 = input(#81c784, "", inline = "Level4", display = display.data_window)
show_1_414 = input(true, "", inline = "Level4", display = display.data_window)
value_1_414 = input(1.414, "", inline = "Level4", display = display.data_window)
color_1_414 = input(#f44336, "", inline = "Level4", display = display.data_window)
show_1_618 = input(true, "", inline = "Level5", display = display.data_window)
value_1_618 = input(1.618, "", inline = "Level5", display = display.data_window)
color_1_618 = input(#2962ff, "", inline = "Level5", display = display.data_window)
show_1_65 = input(true, "", inline = "Level5", display = display.data_window)
value_1_65 = input(1.65, "", inline = "Level5", display = display.data_window)
color_1_65 = input(#2962ff, "", inline = "Level5", display = display.data_window)
show_2_618 = input(true, "", inline = "Level6", display = display.data_window)
value_2_618 = input(2.618, "", inline = "Level6", display = display.data_window)
color_2_618 = input(#f44336, "", inline = "Level6", display = display.data_window)
show_2_65 = input(true, "", inline = "Level6", display = display.data_window)
value_2_65 = input(2.65, "", inline = "Level6", display = display.data_window)
color_2_65 = input(#f44336, "", inline = "Level6", display = display.data_window)
show_3_618 = input(true, "", inline = "Level7", display = display.data_window)
value_3_618 = input(3.618, "", inline = "Level7", display = display.data_window)
color_3_618 = input(#9c27b0, "", inline = "Level7", display = display.data_window)
show_3_65 = input(true, "", inline = "Level7", display = display.data_window)
value_3_65 = input(3.65, "", inline = "Level7", display = display.data_window)
color_3_65 = input(#9c27b0, "", inline = "Level7", display = display.data_window)
show_4_236 = input(true, "", inline = "Level8", display = display.data_window)
value_4_236 = input(4.236, "", inline = "Level8", display = display.data_window)
color_4_236 = input(#e91e63, "", inline = "Level8", display = display.data_window)
show_4_618 = input(true, "", inline = "Level8", display = display.data_window)
value_4_618 = input(4.618, "", inline = "Level8", display = display.data_window)
color_4_618 = input(#81c784, "", inline = "Level8", display = display.data_window)
show_neg_0_236 = input(true, "", inline = "Level9", display = display.data_window)
value_neg_0_236 = input(-0.236, "", inline = "Level9", display = display.data_window)
color_neg_0_236 = input(#f44336, "", inline = "Level9", display = display.data_window)
show_neg_0_382 = input(true, "", inline = "Level9", display = display.data_window)
value_neg_0_382 = input(-0.382, "", inline = "Level9", display = display.data_window)
color_neg_0_382 = input(#81c784, "", inline = "Level9", display = display.data_window)
show_neg_0_618 = input(true, "", inline = "Level10", display = display.data_window)
value_neg_0_618 = input(-0.618, "", inline = "Level10", display = display.data_window)
color_neg_0_618 = input(#009688, "", inline = "Level10", display = display.data_window)
show_neg_0_65 = input(true, "", inline = "Level10", display = display.data_window)
value_neg_0_65 = input(-0.65, "", inline = "Level10", display = display.data_window)
color_neg_0_65 = input(#009688, "", inline = "Level10", display = display.data_window)
RlineId0 = processLevelR(show_neg_0_65, value_neg_0_65, color_neg_0_65, line(na))
RlineId1 = processLevelR(show_neg_0_618, value_neg_0_618, color_neg_0_618, RlineId0)
RlineId2 = processLevelR(show_neg_0_382, value_neg_0_382, color_neg_0_382, RlineId1)
RlineId3 = processLevelR(show_neg_0_236, value_neg_0_236, color_neg_0_236, RlineId2)
RlineId4 = processLevelR(show_0, value_0, color_0, RlineId3)
RlineId5 = processLevelR(show_0_236, value_0_236, color_0_236, RlineId4)
RlineId6 = processLevelR(show_0_382, value_0_382, color_0_382, RlineId5)
RlineId7 = processLevelR(show_0_5, value_0_5, color_0_5, RlineId6)
RlineId8 = processLevelR(show_0_618, value_0_618, color_0_618, RlineId7)
RlineId9 = processLevelR(show_0_65, value_0_65, color_0_65, RlineId8)
RlineId10 = processLevelR(show_0_786, value_0_786, color_0_786, RlineId9)
RlineId11 = processLevelR(show_1, value_1, color_1, RlineId10)
RlineId12 = processLevelR(show_1_272, value_1_272, color_1_272, RlineId11)
RlineId13 = processLevelR(show_1_414, value_1_414, color_1_414, RlineId12)
RlineId14 = processLevelR(show_1_618, value_1_618, color_1_618, RlineId13)
RlineId15 = processLevelR(show_1_65, value_1_65, color_1_65, RlineId14)
RlineId16 = processLevelR(show_2_618, value_2_618, color_2_618, RlineId15)
RlineId17 = processLevelR(show_2_65, value_2_65, color_2_65, RlineId16)
RlineId18 = processLevelR(show_3_618, value_3_618, color_3_618, RlineId17)
RlineId19 = processLevelR(show_3_65, value_3_65, color_3_65, RlineId18)
RlineId20 = processLevelR(show_4_236, value_4_236, color_4_236, RlineId19)
RlineId21 = processLevelR(show_4_618, value_4_618, color_4_618, RlineId20)
lineId0 = processLevel(show_neg_0_65, value_neg_0_65, color_neg_0_65, line(na))
lineId1 = processLevel(show_neg_0_618, value_neg_0_618, color_neg_0_618, lineId0)
lineId2 = processLevel(show_neg_0_382, value_neg_0_382, color_neg_0_382, lineId1)
lineId3 = processLevel(show_neg_0_236, value_neg_0_236, color_neg_0_236, lineId2)
lineId4 = processLevel(show_0, value_0, color_0, lineId3)
lineId5 = processLevel(show_0_236, value_0_236, color_0_236, lineId4)
lineId6 = processLevel(show_0_382, value_0_382, color_0_382, lineId5)
lineId7 = processLevel(show_0_5, value_0_5, color_0_5, lineId6)
lineId8 = processLevel(show_0_618, value_0_618, color_0_618, lineId7)
lineId9 = processLevel(show_0_65, value_0_65, color_0_65, lineId8)
lineId10 = processLevel(show_0_786, value_0_786, color_0_786, lineId9)
lineId11 = processLevel(show_1, value_1, color_1, lineId10)
lineId12 = processLevel(show_1_272, value_1_272, color_1_272, lineId11)
lineId13 = processLevel(show_1_414, value_1_414, color_1_414, lineId12)
lineId14 = processLevel(show_1_618, value_1_618, color_1_618, lineId13)
lineId15 = processLevel(show_1_65, value_1_65, color_1_65, lineId14)
lineId16 = processLevel(show_2_618, value_2_618, color_2_618, lineId15)
lineId17 = processLevel(show_2_65, value_2_65, color_2_65, lineId16)
lineId18 = processLevel(show_3_618, value_3_618, color_3_618, lineId17)
lineId19 = processLevel(show_3_65, value_3_65, color_3_65, lineId18)
lineId20 = processLevel(show_4_236, value_4_236, color_4_236, lineId19)
lineId21 = processLevel(show_4_618, value_4_618, color_4_618, lineId20)
// Calculate prices for each Fibonacci level
price_0 = startPrice + height * value_0
price_0_236 = startPrice + height * value_0_236
price_0_382 = startPrice + height * value_0_382
price_0_5 = startPrice + height * value_0_5
price_0_618 = startPrice + height * value_0_618
price_0_65 = startPrice + height * value_0_65
price_0_786 = startPrice + height * value_0_786
price_1 = startPrice + height * value_1
price_1_272 = startPrice + height * value_1_272
price_1_414 = startPrice + height * value_1_414
price_1_618 = startPrice + height * value_1_618
price_1_65 = startPrice + height * value_1_65
price_2_618 = startPrice + height * value_2_618
price_2_65 = startPrice + height * value_2_65
price_3_618 = startPrice + height * value_3_618
price_3_65 = startPrice + height * value_3_65
price_4_236 = startPrice + height * value_4_236
price_4_618 = startPrice + height * value_4_618
price_neg_0_236 = startPrice + height * value_neg_0_236
price_neg_0_382 = startPrice + height * value_neg_0_382
price_neg_0_618 = startPrice + height * value_neg_0_618
price_neg_0_65 = startPrice + height * value_neg_0_65
Rprice_0 = startPriceR + heightR * value_0
Rprice_0_236 = startPriceR + heightR * value_0_236
Rprice_0_382 = startPriceR + heightR * value_0_382
Rprice_0_5 = startPriceR + heightR * value_0_5
Rprice_0_618 = startPriceR + heightR * value_0_618
Rprice_0_65 = startPriceR + heightR * value_0_65
Rprice_0_786 = startPriceR + heightR * value_0_786
Rprice_1 = startPriceR + heightR * value_1
Rprice_1_272 = startPriceR + heightR * value_1_272
Rprice_1_414 = startPriceR + heightR * value_1_414
Rprice_1_618 = startPriceR + heightR * value_1_618
Rprice_1_65 = startPriceR + heightR * value_1_65
Rprice_2_618 = startPriceR + heightR * value_2_618
Rprice_2_65 = startPriceR + heightR * value_2_65
Rprice_3_618 = startPriceR + heightR * value_3_618
Rprice_3_65 = startPriceR + heightR * value_3_65
Rprice_4_236 = startPriceR + heightR * value_4_236
Rprice_4_618 = startPriceR + heightR * value_4_618
Rprice_neg_0_236 = startPriceR + heightR * value_neg_0_236
Rprice_neg_0_382 = startPriceR + heightR * value_neg_0_382
Rprice_neg_0_618 = startPriceR + heightR * value_neg_0_618
Rprice_neg_0_65 = startPriceR + heightR * value_neg_0_65
// Alert logic with prices
alert_message = "Fibonacci"+","+ syminfo.ticker +","+ timeframe.period +", "
alert_message := alert_message + "Level Long -0.65 : " + str.tostring(price_neg_0_65, format.mintick) + " "
alert_message := alert_message + "Level Long -0.618 : " + str.tostring(price_neg_0_618, format.mintick) + " "
alert_message := alert_message + "Level Long -0.382 : " + str.tostring(price_neg_0_382, format.mintick) + " "
alert_message := alert_message + "Level Long -0.236 : " + str.tostring(price_neg_0_236, format.mintick) + " "
alert_message := alert_message + "Level Long 0 : " + str.tostring(price_0, format.mintick) + " "
alert_message := alert_message + "Level Long 0.236 : " + str.tostring(price_0_236, format.mintick) + " "
alert_message := alert_message + "Level Long 0.382 : " + str.tostring(price_0_382, format.mintick) + " "
alert_message := alert_message + "Level Long 0.5 : " + str.tostring(price_0_5, format.mintick) + " "
alert_message := alert_message + "Level Long 0.618 : " + str.tostring(price_0_618, format.mintick) + " "
alert_message := alert_message + "Level Long 0.65 : " + str.tostring(price_0_65, format.mintick) + " "
alert_message := alert_message + "Level Long 0.786 : " + str.tostring(price_0_786, format.mintick) + " "
alert_message := alert_message + "Level Long 1 : " + str.tostring(price_1, format.mintick) + " "
alert_message := alert_message + "Level Long 1.272 : " + str.tostring(price_1_272, format.mintick) + " "
alert_message := alert_message + "Level Long 1.414 : " + str.tostring(price_1_414, format.mintick) + " "
alert_message := alert_message + "Level Long 1.618 : " + str.tostring(price_1_618, format.mintick) + " "
alert_message := alert_message + "Level Long 1.65 : " + str.tostring(price_1_65, format.mintick) + " "
alert_message := alert_message + "Level Long 2.618 : " + str.tostring(price_2_618, format.mintick) + " "
alert_message := alert_message + "Level Long 2.65 : " + str.tostring(price_2_65, format.mintick) + " "
alert_message := alert_message + "Level Long 3.618 : " + str.tostring(price_3_618, format.mintick) + " "
alert_message := alert_message + "Level Long 3.65 : " + str.tostring(price_3_65, format.mintick) + " "
alert_message := alert_message + "Level Long 4.236 : " + str.tostring(price_4_236, format.mintick) + " "
alert_message := alert_message + "Level Long 4.618 : " + str.tostring(price_4_618, format.mintick) + " "
alert_message := alert_message + "Level Short -0.65 : " + str.tostring(Rprice_neg_0_65, format.mintick) + " "
alert_message := alert_message + "Level Short -0.618 : " + str.tostring(Rprice_neg_0_618, format.mintick) + " "
alert_message := alert_message + "Level Short -0.382 : " + str.tostring(Rprice_neg_0_382, format.mintick) + " "
alert_message := alert_message + "Level Short -0.236 : " + str.tostring(Rprice_neg_0_236, format.mintick) + " "
alert_message := alert_message + "Level Short 0 : " + str.tostring(Rprice_0, format.mintick) + " "
alert_message := alert_message + "Level Short 0.236 : " + str.tostring(Rprice_0_236, format.mintick) + " "
alert_message := alert_message + "Level Short 0.382 : " + str.tostring(Rprice_0_382, format.mintick) + " "
alert_message := alert_message + "Level Short 0.5 : " + str.tostring(Rprice_0_5, format.mintick) + " "
alert_message := alert_message + "Level Short 0.618 : " + str.tostring(Rprice_0_618, format.mintick) + " "
alert_message := alert_message + "Level Short 0.65 : " + str.tostring(Rprice_0_65, format.mintick) + " "
alert_message := alert_message + "Level Short 0.786 : " + str.tostring(Rprice_0_786, format.mintick) + " "
alert_message := alert_message + "Level Short 1 : " + str.tostring(Rprice_1, format.mintick) + " "
alert_message := alert_message + "Level Short 1.272 : " + str.tostring(Rprice_1_272, format.mintick) + " "
alert_message := alert_message + "Level Short 1.414 : " + str.tostring(Rprice_1_414, format.mintick) + " "
alert_message := alert_message + "Level Short 1.618 : " + str.tostring(Rprice_1_618, format.mintick) + " "
alert_message := alert_message + "Level Short 1.65 : " + str.tostring(Rprice_1_65, format.mintick) + " "
alert_message := alert_message + "Level Short 2.618 : " + str.tostring(Rprice_2_618, format.mintick) + " "
alert_message := alert_message + "Level Short 2.65 : " + str.tostring(Rprice_2_65, format.mintick) + " "
alert_message := alert_message + "Level Short 3.618 : " + str.tostring(Rprice_3_618, format.mintick) + " "
alert_message := alert_message + "Level Short 3.65 : " + str.tostring(Rprice_3_65, format.mintick) + " "
alert_message := alert_message + "Level Short 4.236 : " + str.tostring(Rprice_4_236, format.mintick) + " "
alert_message := alert_message + "Level Short 4.618 : " + str.tostring(Rprice_4_618, format.mintick) + " "
alert(alert_message, alert.freq_once_per_bar)
SMA Cross Signal with Backgrounduse this strategy only in trend market bullish or bearish dont use this on range market
Checklist CazadoresEs una checklist de los pasos a seguir antes de abrir una operación, te ayuda a no olvidar cada detalle, porque todo cuenta.
Bullish Engulfing BidzaNow you can set alerts to trigger on bullish engulfing candle detection. :) With custom messages!
The JewelThe Jewel is a comprehensive momentum and trend-based indicator designed to give traders clear insights into potential market shifts. By integrating RSI, Stochastic, and optional ADX filters with an EMA-based trend filter, this script helps identify high-conviction entry and exit zones for multiple trading styles, from momentum-based breakouts to mean-reversion setups.
Features
Momentum Integration:
Leverages RSI and Stochastic crossovers for real-time momentum checks, reducing noise and highlighting potential turning points.
Optional ADX Filter:
Analyzes market strength; only triggers signals when volatility and directional movement suggest strong follow-through.
EMA Trend Filter:
Identifies broad market bias (bullish vs. bearish), helping traders focus on higher-probability setups by aligning with the prevailing trend.
Caution Alerts:
Flags potentially overbought or oversold conditions when both RSI and Stochastic reach extreme zones, cautioning traders to manage risk or tighten stops.
Customizable Parameters:
Fine-tune RSI, Stochastic, ADX, and EMA settings to accommodate various assets, timeframes, and trading preferences.
How to Use
Momentum Breakouts: Watch for RSI cross above a set threshold and Stochastic cross up, confirmed by ADX strength and alignment with the EMA filter for potential breakout entries.
Mean Reversion: Look for caution signals (RSI & Stoch extremes) as early warnings for trend slowdown or reversal opportunities.
Trend Continuation: In trending markets, rely on the EMA filter to stay aligned with the primary direction. Use momentum crosses (RSI/Stochastic) to time add-on entries or exits.
Important Notes
Non-Investment Advice
The Jewel is a technical analysis tool and does not constitute financial advice. Always use proper risk management and consider multiple confirmations when making trading decisions.
No Warranty
This indicator is provided as-is, without warranty or guarantees of performance. Traders should backtest and verify its effectiveness on their specific instruments and timeframes.
Collaborate & Share
Feedback and suggestions are welcome! Engaging with fellow traders can help refine and adapt The Jewel for diverse market conditions, strengthening the TradingView community as a whole.
Happy Trading!
If you find this script valuable, please share your feedback, ideas, or enhancements. Collaboration fosters a more insightful trading experience for everyone.
Binary Options Pro Helper By Himanshu AgnihotryThe Binary Options Pro Helper is a custom indicator designed specifically for one-minute binary options trading. This tool combines technical analysis methods like moving averages, RSI, Bollinger Bands, and pattern recognition to provide precise Buy and Sell signals. It also includes a time-based filter to ensure trades are executed only during optimal market conditions.
Features:
Moving Averages (EMA):
Uses short-term (7-period) and long-term (21-period) EMA crossovers for trend detection.
RSI-Based Signals:
Identifies overbought/oversold conditions for entry points.
Bollinger Bands:
Highlights market volatility and potential reversal zones.
Chart Pattern Recognition:
Detects double tops (sell signals) and double bottoms (buy signals).
Time-Based Filter:
Trades only within specified hours (e.g., 9:30 AM to 11:30 AM) to avoid unnecessary noise.
Visual Signals:
Plots buy and sell markers directly on the chart for ease of use.
How to Use:
Setup:
Add this script to your TradingView chart and select a 1-minute timeframe.
Signal Interpretation:
Buy Signal: Triggered when EMA crossover occurs, RSI is oversold (<30), and a double bottom pattern is detected.
Sell Signal: Triggered when EMA crossover occurs, RSI is overbought (>70), and a double top pattern is detected.
Timing:
Ensure trades are executed only during the specified time window for better accuracy.
Best Practices:
Use this indicator alongside fundamental analysis or market sentiment.
Test it thoroughly with historical data (backtesting) and in a demo account before live trading.
Adjust parameters (e.g., EMA periods, RSI thresholds) based on your trading style.
FuTech : MACD Crossovers Advanced Alert Lines=============================================================
Indicator : FuTech: MACD Crossovers Advanced Alert Lines
Overview:
The "FuTech: MACD Crossovers Advanced Alert Lines" indicator is designed to assist traders in identifying key technical patterns using the :-
1. MACD (Moving Average Convergence Divergence) and
2. Golden/Death Crossovers
By visualizing these indicators directly on the chart with advanced lines, it helps traders make more informed decisions on when to enter or exit trades.
=============================================================
Key Features of "FuTech: MACD Crossovers Advanced Alert Lines":
1. MACD Crossovers:
a) The MACD is one of the most widely used indicators for identifying momentum shifts and potential buy/sell signals. This indicator plots vertical lines on the chart whenever the MACD line crosses the signal line.
b) Upward Crossover (Bullish Signal) : When the MACD line crosses above the signal line, a green vertical line will appear, indicating a potential buying opportunity.
c) Downward Crossover (Bearish Signal) : When the MACD line crosses below the signal line, a red vertical line will appear, signaling a potential selling opportunity.
2. Golden Cross & Death Cross:
a) The Golden Cross occurs when the price moves above a long-term moving average (like the 50-day moving average), signaling a potential upward trend.
b) The Death Cross occurs when the price moves below a long-term moving average, signaling a potential downward trend.
c) These crossovers are displayed with customizable lines on the chart to easily spot when the market is shifting direction.
d) Golden Cross (Bullish Signal) : A blue vertical line appears when the price crosses above the selected long-term moving average.
e) Death Cross (Bearish Signal) : A purple vertical line appears when the price crosses below the selected long-term moving average.
=============================================================
Customization Options:
This indicator offers several customization options to suit your trading preferences:
1) MACD Settings:
a) Choose between different moving average types (EMA, SMA, or VWMA) for calculating the MACD.
b) Adjust the lengths of the fast, slow, and signal MACD periods.
c) Control the width and color of the vertical lines drawn on the chart for both up and down crossovers.
2) Golden Cross / Death Cross Settings:
a) Select the moving average type for the Golden Cross / Death Cross (EMA, SMA, or VWMA).
b) Define the lookback period for calculating the Golden Cross / Death Cross.
c) Customize the appearance of the Golden and Death Cross lines, including their width and color.
You can use both as well as either of the MACD lines or Golden Crossover / Death Crossover Lines respectively as per your trading strategies
=============================================================
How "FuTech: MACD Crossovers Advanced Alert Lines" indicator Works:
a) The indicator monitors the price and calculates the MACD and Golden/Death Crosses.
b) When the MACD line crosses above or below the signal line, or when the price crosses above or below the long-term moving average, it plots a vertical line on the chart.
c) These lines help traders quickly spot potential turning points in the market, providing clear signals to act upon.
=============================================================
Use Case:
a) Swing Traders: The indicator is useful for spotting momentum shifts and trend reversals, helping you time entries and exits for short- to medium-term trades.
b) Long-Term Traders: The Golden and Death Cross signals help identify major trend changes, giving insights into potential market shifts.
=============================================================
Why Use This "FuTech: MACD Crossovers Advanced Alert Lines" Indicator ?
a) Clear Visuals : The vertical lines provide clear and easy-to-spot signals for MACD crossovers and Golden/Death Crosses.
b) Customizable : Adjust settings for your personal trading strategy, whether you're focusing on short-term momentum or long-term trend shifts.
c) Supports Decision Making : With its advanced line plotting and customizable features, this indicator helps you make quicker and more informed trading decisions.
=============================================================
How to Use:
a) MACD Crossovers: Look for green lines to signal potential buying opportunities (when the MACD line crosses above the signal line) and red lines for selling opportunities (when the MACD line crosses below the signal line).
b) Golden Cross / Death Cross: Use the blue lines to confirm when a positive trend may begin (Golden Cross) and purple lines to warn when a negative trend may start (Death Cross).
=============================================================
Conclusion:
"FuTech: MACD Crossovers Advanced Alert Lines" indicator combines two powerful technical analysis tools, the MACD and Golden/Death Crosses, to provide clear, actionable signals on your chart.
By customizing the appearance of these signals and combining them with your trading strategy, you can enhance your decision-making process and improve your trading outcomes.
=============================================================
Thank you !
Jai Swaminarayan Dasna Das !
He Hari ! Bas Ek Tu Raji Tha !
=============================================================
FVG Detector (Gholam version)The Fair Value Gap (FVG) Detector is a powerful tool designed to identify and highlight potential imbalance areas in the market. Fair Value Gaps, also known as "FVG" or "Liquidity Gaps," are price ranges where there has been little or no trading activity. These gaps can often act as key levels of support or resistance and may represent areas where price is likely to return to for a fill, providing potential trading opportunities.
This indicator automatically scans and marks these gaps on the chart, helping traders quickly spot areas of interest for potential reversals or continuation patterns.
WPR45789This indicator helps in identifying trend to catch moves in intraday and gains decent moves in stocks and index as well as futures and options
This indicator helps in identifying trend to catch moves in intraday and gains decent moves in stocks and index as well as futures and options