Frank's custom indicator with Buy & Sell Signals (30% TP)Setup Conditions:
Works Best for Investment Plans. Keep the chart on Daily timeframe for better clarity.
Buy Conditions :
1. Always plan buy quantities in small, and invest once a Week or Month
2. Green arrows are shown in the buy zone, not necessarily buy everyday.
Sell Conditions :
1. Be aggressive in selling, sell signals are provided usually ahead of the major drawdown.
Indicadores y estrategias
Yearly AVWAP with Buy & Sell Signals (30% TP)Setup Conditions:
Works Best for Investment Plans. Keep the chart on Daily timeframe for better clarity.
Buy Conditions :
1. Always plan buy quantities in small, and invest once a Week or Month
2. Green arrows are shown in the buy zone, not necessarily buy everyday.
Sell Conditions :
1. Be aggressive in selling, sell signals are provided usually ahead of the major drawdown.
Bullish Engulfing with 150% Height//@version=5
indicator("Bullish Engulfing with 150% Height", overlay=true)
// Definisikan candle sebelumnya
previous_candle = close
previous_high = high
previous_low = low
previous_open = open
// Definisikan kondisi Bullish Engulfing
bullish_engulfing = close > open and close < open and close > open and open < close
// Definisikan kriteria tinggi candle sebelumnya lebih dari 150% dari tinggi candle sebelumnya
candle_height_criteria = (previous_high - previous_low) > 1.5 * (high - low )
// Gabungkan kedua kondisi
condition = bullish_engulfing and candle_height_criteria
// Plot sinyal pada chart
plotshape(condition, style=shape.labelup, location=location.belowbar, color=color.green, text="Bullish Engulfing", size=size.small)
Anchored VWAP- STKThis Pine Script (version 5) calculates and plots an **Anchored Volume Weighted Average Price (VWAP)** along with its **standard deviation bands** on a trading chart. The VWAP helps traders identify the average price of an asset, weighted by volume, starting from a specific date chosen by the user.
### Key Components:
1. **Indicator Setup:**
The script is set as an overlay indicator, meaning it will be displayed directly on the price chart.
2. **User Inputs:**
- **VWAP Start Date:** Allows the user to select the date from which the VWAP calculation should begin (default is January 1, 2022).
- **VWAP Data Source:** Users can choose which price data to use for the calculation (default is `hlc3`, which is the average of the high, low, and close prices).
3. **VWAP Calculation:**
- The script keeps track of the cumulative sum of (price × volume) and the cumulative volume starting from the selected date.
- The VWAP is calculated as:
\
4. **Standard Deviation Calculation:**
- The script calculates the variance using the formula:
\
This ensures the variance is not negative.
- The standard deviation is then derived by taking the square root of the variance.
5. **Plotting:**
- **VWAP Line:** Displayed in blue.
- **Upper Band:** Plotted in orange, representing VWAP + standard deviation.
- **Lower Band:** Also in orange, representing VWAP - standard deviation.
### Purpose:
This indicator helps traders analyze price movements relative to the VWAP, providing insights into potential support/resistance levels. The standard deviation bands help identify overbought or oversold conditions based on price volatility.
Multi-timeframe Difference Forecast (MTD)Description:
The Multi-timeframe Difference Forecast indicator projects potential future price levels by comparing open prices across multiple timeframe pairs. It uses 12 predefined timeframe pairs where each pair consists of a lower and a higher timeframe. For each pair, the indicator calculates a forecast value by adding the difference between the lower timeframe’s open and the higher timeframe’s open to the current bar’s close. These forecast values are then plotted as points into the future and connected by blue line segments, forming a continuous projection line on your chart.
How It Works:
Timeframe Pairs:
The indicator defines 12 pairs. For example:
Pair 1: Lower timeframe = 15 minutes; Higher timeframe = 150 minutes
Pair 2: Lower timeframe = 30 minutes; Higher timeframe = 165 minutes
⋮
Pair 12: Lower timeframe = 180 minutes; Higher timeframe = 720 minutes
Forecast Calculation:
For each pair, the forecast is computed as:
forecast = close + (lower timeframe open - higher timeframe open)
This produces a series of forecast values that are then plotted on the chart.
Time Offset:
Each forecast point is offset into the future by a number of bars calculated as the ratio between the lower timeframe’s duration (in seconds) and the current chart’s timeframe (in seconds). This adjustment helps align the forecast points correctly on the time axis.
Visualization:
The indicator draws blue lines (width = 2) connecting the current price to each forecast point sequentially, forming a polyline that visually represents the projected price trajectory.
How to Use:
Overlay on Chart:
Apply this indicator to any chart, and it will automatically overlay the forecast line on your current price chart.
Timeframe Flexibility:
The calculations adjust to the chart’s timeframe, so you can use it on various timeframes without needing to change the code.
Interpretation:
The forecast line is intended to provide a visual estimate of potential future price movement based on historical open price differences. It is meant to serve as an additional analytical tool rather than a standalone trading signal.
Disclaimer:
This script is provided for educational and informational purposes only and should not be construed as financial or trading advice. Trading involves significant risk, and past performance is not indicative of future results. You should perform your own analysis and consult with a qualified professional before making any trading decisions. Use this indicator at your own risk.
Nadaraya-Watson Band AlertNadaraya Watson upper and lower band when they break this strategy gives an alert
Input Parameters
length = input.int(100, title="Smoothing Length") // Controls N-W smoothness
band_multiplier = input.float(2.5, title="Band Multiplier") // Adjusts envelope width
🔴 Compute Band Width Using Standard Deviation
dev = ta.stdev(close, length)
upper_band = mid_band + (band_multiplier * dev)
lower_band = mid_band - (band_multiplier * dev)
Mean reversion threshold levels//@version=5
indicator("Mean reversion threshold levels", overlay=true)
txt = input.string("", title="Input SPX reversion levels:", confirm=true)
color0 = input.color(defval=color.rgb(224, 10, 110))
color1 = input.color(defval=color.rgb(224, 10, 110))
color2 = input.color(defval=color.rgb(224, 10, 110))
color3 = input.color(defval=color.rgb(224, 10, 110))
color4 = input.color(defval=color.rgb(224, 10, 110))
color5 = input.color(defval=color.rgb(224, 10, 110))
color6 = input.color(defval=color.rgb(224, 10, 110))
color7 = input.color(defval=color.rgb(224, 10, 110))
color8 = input.color(defval=color.rgb(224, 10, 110))
color9 = input.color(defval=color.rgb(224, 10, 110))
color10 = input.color(defval=color.rgb(224, 10, 110))
TxtToArray(string origin, string divider) =>
Arr = array.new_string()
Arr := str.split(origin, divider)
Arr
Dividedstrings = TxtToArray(txt, ",")
color temporarycolor = na
plot(array.size(Dividedstrings) >= 2 ? str.tonumber(array.get(Dividedstrings, 1)) : na, title="first line", color=color0, display=display.price_scale)
plot(array.size(Dividedstrings) >= 4 ? str.tonumber(array.get(Dividedstrings, 3)) : na, title="second line", color=color1, display=display.price_scale)
plot(array.size(Dividedstrings) >= 6 ? str.tonumber(array.get(Dividedstrings, 5)) : na, title="third line", color=color2, display=display.price_scale)
plot(array.size(Dividedstrings) >= 8 ? str.tonumber(array.get(Dividedstrings, 7)) : na, title="fourth line", color=color3, display=display.price_scale)
plot(array.size(Dividedstrings) >= 10 ? str.tonumber(array.get(Dividedstrings, 9)) : na, title="fifth line", color=color4, display=display.price_scale)
plot(array.size(Dividedstrings) >= 12 ? str.tonumber(array.get(Dividedstrings, 11)) : na, title="sixth line", color=color5, display=display.price_scale)
plot(array.size(Dividedstrings) >= 14 ? str.tonumber(array.get(Dividedstrings, 13)) : na, title="seventh line", color=color6, display=display.price_scale)
plot(array.size(Dividedstrings) >= 16 ? str.tonumber(array.get(Dividedstrings, 15)) : na, title="eighth line", color=color7, display=display.price_scale)
plot(array.size(Dividedstrings) >= 18 ? str.tonumber(array.get(Dividedstrings, 17)) : na, title="ninth line", color=color8, display=display.price_scale)
plot(array.size(Dividedstrings) >= 20 ? str.tonumber(array.get(Dividedstrings, 19)) : na, title="tenth line", color=color9, display=display.price_scale)
nb_bars = ta.barssince(time == chart.right_visible_bar_time)
if barstate.islastconfirmedhistory and array.size(Dividedstrings) != 0
for i = 0 to array.size(Dividedstrings) - 1
if i % 2 == 0
if i == 0 or i == 1
temporarycolor := color0
if i == 2 or i == 3
temporarycolor := color1
if i == 4 or i == 5
temporarycolor := color2
if i == 6 or i == 7
temporarycolor := color3
if i == 8 or i == 9
temporarycolor := color4
if i == 10 or i == 11
temporarycolor := color5
if i == 12 or i == 13
temporarycolor := color6
if i == 14 or i == 15
temporarycolor := color7
if i == 16 or i == 17
temporarycolor := color8
if i == 18 or i == 19
temporarycolor := color9
if i % 2 == 0
if array.size(Dividedstrings) > i + 1
label.new(bar_index, str.tonumber(array.get(Dividedstrings, i + 1)), array.get(Dividedstrings, i), xloc=xloc.bar_index, color=color.new(color.white, 10), size=size.large, style=label.style_none, textcolor=temporarycolor, textalign=text.align_right)
if i % 2 != 0
if array.size(Dividedstrings) > i
line.new(bar_index, str.tonumber(array.get(Dividedstrings, i)), bar_index + 1, str.tonumber(array.get(Dividedstrings, i)), extend=extend.both, color=temporarycolor)
//Alma
B!!7 wtf dp want itis not midne am dtired cant spellIf I rejected or deleted your annotation, it’s nothing personal. Just doing my job and keeping up with the current Genius standards. Please do not send me angry messages, demanding to know why your annotation was deleted, otherwise, you will be ignored and action may be taken on your account. Send me a constructive and calm message, then we can talk.
Universal Mean-Reverting Swing StrategyThis Universal Mean-Reverting Swing Trading Strategy is designed for all stocks on the 1D timeframe, making it highly adaptable across markets. It generates long/short signals based on key mean reversion indicators:
📌 Indicators Used:
✅ Bollinger Bands – Identifies overbought and oversold conditions.
✅ RSI (Relative Strength Index) – Confirms momentum shifts.
✅ Z-Score – Measures price deviations from the statistical mean.
🎯 Entry Conditions:
🔹 Long Signal 🟢 – Triggered when price is below the lower Bollinger Band, RSI is below 30, and Z-score is extremely negative.
🔹 Short Signal 🔴 – Triggered when price is above the upper Bollinger Band, RSI is above 70, and Z-score is extremely positive.
⚙️ Customizable Inputs:
Bollinger Band Length & Multiplier
RSI Length
Z-Score Sensitivity
This strategy does not execute buy/sell orders but instead provides long/short signals, allowing traders to manually manage risk and execution. Works best in range-bound markets where mean reversion is dominant.
🔹 Recommended Use: Combine with fundamental analysis or additional technical indicators for optimal results.
🚀 Try it out and let me know your feedback!
Grambos Final Countdown - 4 TimeframesA script that shows countdown timers for multiple time frames all in the same place. I edited the original by @SamRecio so that it only shows 4 time frames.
Default time frames are 4H, 1H, 15m, and 5m, and can be changed to any 4 you like.
CHARTIST WAQAR ADVANCE RSI 3 LAYERThis RSI provide support or resistance with buy sell signal :
█ PURPOSE
CHARTIST WAQAR ADVANCE RSI 3 LAYER Strategy Analyzer helps traders :
Identify mean-reversion opportunities through RSI extremes
Backtest entry strategy effectiveness across multiple time horizons
Optimize trade timing through visual historical performance data
Quickly assess strategy robustness with color-coded
█ KEY FEATURES
RSI Calculation
Calculates RSI with customizable period (default 14) and you can use 7 / 14 / 21 / 28 /35 ....
Plots dynamic overbought (80) and oversold (30) levels
Adds background coloring for
Trade Direction :
Users can select a trade bias:
Long: Focuses on oversold reversals (bullish signals)
Short: Focuses on overbought reversals (bearish signals)
AI-Inspired Nifty Options TradingMomentum Trading: Use AI to detect breakout patterns.
Mean Reversion: Identify overbought/oversold conditions using AI.
Options Greeks Analysis: AI can predict IV crush or shifts in Delta for better positioning.
Sentiment Analysis: Train AI on news, tweets, and market sentiment to detect trends.
Sessions On Chart With 3 EMAsThis Indicator script provides two major features:
1. Session Indicators: Highlighting the active trading sessions with color-coded backgrounds for better visual tracking of market hours.
2. Exponential Moving Averages: Displaying three EMAs with different periods to help identify trends and potential entry/exit points.
Session Time Settings:
Each trading session has configurable time inputs that let users adjust session start and end times according to their preferred trading hours or market times. This can be customized directly from the input section for more flexibility.
This part of the script visually highlights the different trading sessions (London, New York, Tokyo, Sydney) by coloring the background of the chart based on which session is currently active. This is useful for traders who want to see at a glance when each major market session is open.
Session Definitions:
London Session: Active from 03:00 to 12:00 UTC.
New York Session: Active from 08:00 to 17:00 UTC.
Tokyo Session: Active from 20:00 to 04:00 UTC.
Sydney Session: Active from 17:00 to 02:00 UTC.
Background Colors:
When the London session is active, the background is colored green.
When the New York session is active, the background is colored red.
When the Tokyo session is active, the background is colored yellow.
When the Sydney session is active, the background is colored blue.
EMA Length Settings:
Users can change the length of the EMAs via the len1, len2, and len3 inputs to adjust the sensitivity of each moving average, depending on the user's trading style.
EMA Lengths:
EMA 1 (Blue Line): A short-term EMA with a length of 9 periods, which reacts quickly to price changes.
EMA 2 (Orange Line): A medium-term EMA with a length of 21 periods, providing a balance between short-term and long-term price movements.
EMA 3 (Purple Line): A long-term EMA with a length of 50 periods, smoothing out more of the price data to show long-term trends.
Together, these features provide a comprehensive view of both time-based market activity and trend-following analysis, making this script a valuable tool for traders.
EMA //@version=5
indicator("Shiba Inu EMA Crossover Alerts", overlay=true)
// Input Parameters
shortLength = input(9, title="Short EMA Length")
longLength = input(21, title="Long EMA Length")
// EMA Calculations
shortEMA = ta.ema(close, shortLength)
longEMA = ta.ema(close, longLength)
// Crossover Conditions
bullishCross = ta.crossover(shortEMA, longEMA)
bearishCross = ta.crossunder(shortEMA, longEMA)
// Plot EMAs
plot(shortEMA, color=color.blue, title="Short EMA", linewidth=2)
plot(longEMA, color=color.red, title="Long EMA", linewidth=2)
// Buy and Sell Signals
plotshape(series=bullishCross, location=location.belowbar, color=color.green, style=shape.labelup, title="Buy Signal")
plotshape(series=bearishCross, location=location.abovebar, color=color.red, style=shape.labeldown, title="Sell Signal")
// Alerts
alertcondition(bullishCross, title="Buy Alert", message="Shiba Inu Buy Signal: Short EMA crossed above Long EMA!")
alertcondition(bearishCross, title="Sell Alert", message="Shiba Inu Sell Signal: Short EMA crossed below Long EMA!")
Aggregation BTC CVDThe script calculates the Cumulative Volume Delta (CVD) for multiple cryptocurrency exchanges, then averages these values and plots them.
Indicator Setup:
The script sets up an indicator called "BTC Cumulative Volume Delta (CVD) for multiple cryptocurrency exchanges", displayed as a separate panel (not overlaid on the price chart) with volume format.
Getting 1-minute data from multiple exchanges:
It retrieves 1-minute data (buy and sell volumes) for Bitcoin (BTC) against USD or USDT from several exchanges: Binance, OKEx, Coinbase (both BTCUSDT and BTCUSD), Bitfinex, Bybit, Huobi, and Kraken.
Calculating total buying and selling volume for each exchange:
For each exchange, it calculates the total buying volume (buy_vol_...), selling volume (sell_vol_...), and the difference between them (delta_vol_...).
It then computes the cumulative delta volume (cum_delta_vol_...), which is a running total of delta_vol_....
Calculating the average CVD:
It calculates the average cumulative delta volume (average_cum_delta_vol) by summing the cumulative delta volumes from all exchanges and dividing by the number of exchanges.
Plotting the average CVD:
Finally, it plots the average CVD with white color, and a line width of 2.
This script essentially provides an averaged Cumulative Volume Delta across multiple exchanges, giving a comprehensive view of buying and selling pressure in the Bitcoin market across these platforms.
Multi-Timeframe Moving Averages by SPThis script is designed to provide traders with a comprehensive view of moving averages across multiple timeframes and types. It allows you to overlay moving averages from different timeframes (e.g., 5-minute, 15-minute, 60-minute, daily) on your current chart, along with customizable moving averages for the current timeframe. The script supports 7 types of moving averages (SMA, EMA, WMA, Hull MA, VWMA, RMA, TEMA) and includes features like color-coded direction, cross signals, and optional secondary moving averages for advanced analysis.
Key Features
Customizable Moving Averages:
Choose from 7 types of moving averages (SMA, EMA, WMA, Hull MA, VWMA, RMA, TEMA).
Adjust the lookback period for each moving average.
Multi-Timeframe Support:
Overlay moving averages from higher timeframes (e.g., 5-minute, 15-minute, 60-minute, daily) on your current chart.
Color-Coded Direction:
Moving averages change color based on their direction (upward or downward) for easy trend identification.
Optional Secondary Moving Average:
Add a second moving average to identify crossovers and potential trading signals.
Cross Signals:
Visual dots or crosses appear when the primary and secondary moving averages cross, signaling potential entry or exit points.
VWAP Integration:
Includes the Volume-Weighted Average Price (VWAP) for additional context.
User Instructions
Inputs to Configure:
Primary Moving Average:
Set the Moving Average Length (lookback period).
Choose the type of moving average (1=SMA, 2=EMA, 3=WMA, 4=Hull MA, 5=VWMA, 6=RMA, 7=TEMA).
Enable Change Color Based On Direction to visualize trend direction.
Secondary Moving Average (optional):
Enable the Optional 2nd Moving Average toggle.
Set the length and type for the second moving average.
Multi-Timeframe Moving Averages:
Configure the EMA lengths for 5-minute, 15-minute, 60-minute, and daily timeframes.
Cross Signals:
Enable Show Dots on Cross of Both MA's to display cross signals.
How to Use:
Trend Identification: Use the color-coded moving averages to identify the current trend direction.
Crossovers: Look for crossovers between the primary and secondary moving averages as potential entry or exit signals.
Multi-Timeframe Analysis: Observe how higher timeframe moving averages (e.g., daily) align with the current price action for confluence.
VWAP: Use the VWAP line to gauge intraday momentum and potential support/resistance levels.
Tips:
Combine this script with other indicators (e.g., RSI, MACD) for confirmation.
Use the cross signals in conjunction with higher timeframe trends for higher-probability trades.
Experiment with different moving average types and lengths to suit your trading style.
Example Use Cases
Trend Following: Use the primary moving average to identify the trend and the secondary moving average for confirmation.
Crossover Strategy: Enter trades when the primary moving average crosses above/below the secondary moving average.
Multi-Timeframe Analysis: Use the daily moving averages to identify long-term trends while using shorter timeframes for precise entries.
Notes
This script is highly customizable, so feel free to adjust the inputs to match your trading strategy.
Ensure you understand the strengths and limitations of each moving average type before relying on them for trading decisions.
Ultimate T3 Fibonacci for BTC Scalping. Look at backtest report!Hey Everyone!
I created another script to add to my growing library of strategies and indicators that I use for automated crypto trading! This strategy is for BITCOIN on the 30 minute chart since I designed it to be a scalping strategy. I calculated for trading fees, and use a small amount of capital in the backtest report. But feel free to modify the capital and how much per order to see how it changes the results:)
It is called the "Ultimate T3 Fibonacci Indicator by NHBprod" that computes and displays two T3-based moving averages derived from price data. The t3_function calculates the Tilson T3 indicator by applying a series of exponential moving averages to a combined price metric and then blending these results with specific coefficients derived from an input factor.
The script accepts several user inputs that toggle the use of the T3 filter, select the buy signal method, and set parameters like lengths and volume factors for two variations of the T3 calculation. Two T3 lines, T3 and T32, are computed with different parameters, and their colors change dynamically (green/red for T3 and blue/purple for T32) based on whether the lines are trending upward or downward. Depending on the selected signal method, the script generates buy signals either when T32 crosses over T3 or when the closing price is above T3, and similarly, sell signals are generated on the respective conditions for crossing under or closing below. Finally, the indicator plots the T3 lines on the chart, adds visual buy/sell markers, and sets alert conditions to notify users when the respective trading signals occur.
The user has the ability to tune the parameters using TP/SL, date timerames for analyses, and the actual parameters of the T3 function including the buy/sell signal! Lastly, the user has the option of trading this long, short, or both!
Let me know your thoughts and check out the backtest report!
Auto Trendline Support (ATS) - 10 PeriodPeriod 10 highest High and lowest low as Resistance and Support
BB Indicator by Ibrahim v2this indicator was made for scalping and quick trades. i will update more as time goes on
EMA Dual + Pivot Points con Etiquetasindicador de doble Ema editable que incluye los puntos pivote estándar editables a la temporalidad del mercado con ello se determina la entrada y salida de las operaciones