Indicadores e estratégias
EMA 8/16 Crossover Strategyema 8/16 cross strategy works well. if you want to change the ema values you can change in inputs
Candlestick Pattern SignalThe “Candlestick Pattern Signal” script is designed to automatically detect key candlestick patterns on lower timeframes and signal potential buy or sell opportunities. This tool is especially useful for traders who focus on lower timeframe chart analysis and want to capture quick reversal or continuation moves based on reliable candlestick formation.
Daily Close Horizontal LineDCHL by ELF
This script is useful for tracking important daily closing levels, which often act as support or resistance in technical analysis.
Z-Score line Daily/WeeklyA linear regression model built around a standard deviation of a z score and a z score EMA.
Top white line is extremely overbought
a flip from green to red signals a bearish shift
if they both happen near the top its becomes a signal to be short or look for shorts.
Bottom white line is extremely oversold
a flip from red to green signals a bullish shift
if they both happen at the bottom its becomes a signal to be long or look for longs.
Golden Unified Entry Pro v6.2 – Adaptive Entry + SL Exit
//@version=5
indicator("Golden Unified Entry Pro v6.2 – Adaptive Entry + SL Exit", overlay=true)
// === INPUTS ===
showSignals = input.bool(true, title="Show Entry Signals")
showTargets = input.bool(true, title="Show TP/SL Levels")
deltaMultiplier = input.float(1.0, title="Delta Strength Multiplier")
threshold = input.float(0.2, title="Delta Threshold")
rsiPeriod = input.int(14, title="RSI Period")
cciPeriod = input.int(20, title="CCI Period")
tpMultiplier = input.float(1.5, title="TP Multiplier")
slMultiplier = input.float(0.5, title="SL Multiplier")
// === INDICATORS ===
delta = volume * (close - open)
normalizedDelta = volume != 0 ? (delta * deltaMultiplier / volume) : 0.0
rsi = ta.rsi(close, rsiPeriod)
cci = ta.cci(close, cciPeriod)
sma20 = ta.sma(close, 20)
upperWick = high - math.max(close, open)
lowerWick = math.min(close, open) - low
bodySize = math.abs(close - open)
isRejection = lowerWick > bodySize * 1.5 or upperWick > bodySize * 1.5
prevHigh = ta.highest(close , 5)
prevLow = ta.lowest(close , 5)
bosUp = close > prevHigh
bosDown = close < prevLow
condDeltaBuy = normalizedDelta > threshold
condDeltaSell = normalizedDelta < -threshold
condRSIBuy = rsi < 40
condRSISell = rsi > 60
condCCIBuy = cci < -100
condCCISell = cci > 100
buyScore = (condDeltaBuy ? 1 : 0) + (condRSIBuy ? 1 : 0) + (condCCIBuy ? 1 : 0) + (isRejection ? 1 : 0) + (bosUp ? 1 : 0)
sellScore = (condDeltaSell ? 1 : 0) + (condRSISell ? 1 : 0) + (condCCISell ? 1 : 0) + (isRejection ? 1 : 0) + (bosDown ? 1 : 0)
extraConfirm = rsi < 50 and close > sma20
// === STATE ===
var string waveDir = ""
var bool inPosition = false
var float entryPrice = na
var float tp = na
var float sl = na
// === ENTRY CONDITIONS ===
newBuy = showSignals and buyScore >= 3 and waveDir != "up" and extraConfirm
newSell = showSignals and sellScore >= 3 and waveDir != "down"
// === ENTRY LOGIC ===
if newBuy
waveDir := "up"
inPosition := true
entryPrice := close
tp := close + (high - low) * tpMultiplier
sl := close - (high - low) * slMultiplier
if newSell
waveDir := "down"
inPosition := true
entryPrice := close
tp := close - (high - low) * tpMultiplier
sl := close + (high - low) * slMultiplier
// === EXIT CONDITIONS ===
exitLong = waveDir == "up" and (buyScore < 3 or close <= sl)
exitShort = waveDir == "down" and (sellScore < 3 or close >= sl)
slHit = (waveDir == "up" and close <= sl) or (waveDir == "down" and close >= sl)
if exitLong or exitShort
waveDir := ""
inPosition := false
entryPrice := na
tp := na
sl := na
// === PLOTS ===
plotshape(newBuy and buyScore == 5, title="BUY", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY", size=size.small)
plotshape(newBuy and buyScore == 4, title="BUY+", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY+", size=size.small)
plotshape(newBuy and buyScore == 3, title="Watch", location=location.belowbar, color=color.new(color.green, 70), style=shape.circle, text="Watch", size=size.tiny)
plotshape(newSell and sellScore == 5, title="SELL", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL", size=size.small)
plotshape(newSell and sellScore == 4, title="SELL+", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL+", size=size.small)
plotshape(newSell and sellScore == 3, title="Watch", location=location.abovebar, color=color.new(color.red, 70), style=shape.circle, text="Watch", size=size.tiny)
plotshape(slHit, title="SL Exit", location=location.abovebar, color=color.orange, style=shape.xcross, size=size.tiny)
plot(showTargets and inPosition and not na(tp) ? tp : na, title="TP", color=color.green, linewidth=1)
plot(showTargets and inPosition and not na(sl) ? sl : na, title="SL", color=color.red, linewidth=1)
barcolor(
normalizedDelta > threshold ? color.lime :
normalizedDelta < -threshold ? color.red : na
)
// === ALERTS ===
alertcondition(newBuy, title="Buy Alert", message="Adaptive BUY signal")
alertcondition(newSell, title="Sell Alert", message="Adaptive SELL signal")
alertcondition(slHit, title="Stop Loss Hit", message="Stop loss triggered")
ETH Smart Buy/Sell System (With Zones, Labels & Cooldown)"ETH Smart Buy/Sell System (With Zones & Price Labels)" is an intelligent trading indicator that relies on multi-condition technical analysis to generate accurate buy and sell signals based on the fulfillment of 4 out of 5 predefined conditions. It also includes clear price targets and a visible stop-loss.
How the Indicator Works:
Automatic Support and Resistance Detection:
Calculates the lowest low and highest high over a set number of candles (lookback) to define support (lowestLow) and resistance (highestHigh) zones.
Multi-Condition Technical Analysis:
Buy Conditions (at least 4 must be met):
Current price is near a support level.
Presence of a bullish reversal candle (e.g., hammer or bullish engulfing).
Trading volume is higher than average.
RSI is below 35 and showing signs of upward movement.
Bullish MACD crossover (MACD line crosses above the signal line).
Sell Conditions (same logic):
Price is near a resistance level.
Bearish reversal candle (e.g., shooting star or bearish engulfing).
High trading volume.
RSI is above 70 and starting to decline.
Bearish MACD crossover.
Target and Stop-Loss Identification:
When a buy signal appears, an upward target (e.g., +2%) and a stop-loss (e.g., -1%) are displayed. The opposite applies for a sell signal.
Visual Signals on the Chart:
"BUY" or "SELL" labels appear as arrows on the candles.
Labels display the current price, target, and stop-loss.
Support and Resistance Levels Visualization:
Shown on the chart to help traders understand the broader market context.
Automated Alerts:
An alert is triggered when a smart buy or sell signal occurs (i.e., when 4 or more conditions are met).
Features:
Integrates price action, candlestick patterns, technical indicators (RSI, MACD), and volume analysis.
Suitable for short timeframes (e.g., 15-minute chart).
Provides a semi-automated trading system with clear targets and calculated stop-losses.
Momentum Indicator for Day TradingThis indicator was built to help you concentrate on the following scenarios:
- Best Entry points on fast momentum breaks:
Momentum takes no longer than several minutes (2 to 5 minutes ~)
Strong break without good entry point along - you should act fast
- Best Entry points on long momentum breaks:
Momentum can take between 15 minutes to 1 hour.
Has good entry points along the trend.
The following are the marks of those trends:
✅ - Long trend possibility entry point.
📈 - Short trend possibility entry point.
👮♂️ - Negative sign - watch out!
📉🛒 - Buying the dip sign which means possible second option after the first trend already finished.
Goodluck!
Goldbach The Algo2 Buy and Sell Signal Tracker[Spec]Goldbach The Algo2 Buy and Sell Signal Tracker – Dual Range Confluence System
This indicator identifies high-probability buy and sell signals using a dual Goldbach range logic: 729 (macro) and 243 (micro). It filters for confluence moments when price behavior aligns across both ranges, delivering precise orange BUY or SELL signals based on engineered liquidity zones and structural levels.
This script does not use the yellow “Special” label. It focuses only on the confirmed orange BUY/SELL signals.
What Is Goldbach Logic in Trading?
Goldbach trading logic divides price into structured dealing ranges (such as 81, 243, or 729 points) and assigns fixed proportional levels within each range. These levels act as reaction zones, similar to Fibonacci, but based on consistent mathematical structure.
Key proportional levels:
0.03 – Rebalance Band (RB)
0.11 – Order Block (OB)
0.17 – Fair Value (FV)
0.50 – Equilibrium (EQ)
0.83 – Reverse FV
0.89 / 0.97 – OB and RB upper zones
These levels define where price is likely to react, reverse, or consolidate.
How the Spec Version Works
This indicator uses two Goldbach ranges at once:
729-point range (macro structure)
243-point range (micro structure)
A signal is only triggered when both ranges show aligned behavior using Algo2 logic — a confirmation method that increases the quality of each signal.
Signal Logic Summary
Buy Signal (Orange Label):
Price enters the discount zone (0.03–0.11)
Accumulation signs appear (wicks, pauses, rejections)
Price breaks above 0.17 (FV) = confirmation
Target zones: EQ (0.50) or upper levels (0.89–0.97)
Sell Signal (Orange Label):
Price reaches premium zone (0.89–0.97)
Distribution or trap behavior appears
Price breaks below 0.83 (reverse FV) = confirmation
Target zones: EQ (0.50) or lower levels (0.11–0.03)
Timeframes for Best Use
5M – 15M: Ideal for live execution during NY and London sessions
30M – 1H: Best for swing-level confirmation setups
1M – 3M: Advanced scalpers can use for micro confluence
Signals are rare but high quality — designed to filter noise and provide clean decision points.
How to Trade It
Watch for confirmed orange BUY/SELL labels
Use them as standalone entry points or confirmation tools
Combine with market session timing and structural analysis for improved accuracy
Backtest on trending assets such as NAS100, BTC, or major Forex pairs
Quick Summary
The Spec version of the Goldbach Algo2 Signal Tracker filters trades using a dual-range confluence model (729/243). Signals only appear when both macro and micro ranges agree, improving confidence and reducing noise. Ideal for traders who want fewer, more precise entries on structured ranges.
The 243 Goldbach - Algo 2 BuySell SignalThis indicator identifies potential buy and sell opportunities using Goldbach-based PO3 (Power of 3) mathematics. Designed for algorithmic and ICT-style trading, it highlights engineered liquidity zones within structured dealing ranges — particularly the 243-unit fractal.
It prints actionable signals (green/red labels) based on price behavior inside manipulation zones like:
RB (Reaccumulation Band)
OB (Order Block)
FV (Fair Value)
MB (Mid Block)
These zones reflect areas where price is likely to reverse, pause, or extend based on institutional liquidity principles.
How It Works:
The script calculates a dynamic PO3 range set to 243 units, then tracks price behavior across engineered Goldbach levels. It prints:
Green = Buy Signal when price enters the lower zone and confirms bullish intent
Red = Sell Signal when price reaches the upper zone and shows bearish confirmation
Best Timeframes:
Scalping: 1M–5M
Day Trading: 15M–30M
Swing Confirmation: 1H+
You can jump across multiple timeframes to find the best setups, especially during New York Killzone (8:00–11:00 EST) and when using your own timing models like the 3-6-9 Tesla Time Indicator.
Bonus Pro Tip:
For best results, combine this indicator with:
Goldbach Algo 2 Buy and Sell Tracker – for advanced 729/243 signals (orange/purple)
Your existing trading model or structure/liquidity analysis
Session timing: Focus on NY Open for optimal momentum
This allows you to track both regular 243 signals (green/red) and Spec signals (orange/purple) for stronger confluence and clarity.
Customizable Settings:
Toggle labels (text or circle)
Show or hide Goldbach lines and zones
Built-in RB/FV/OB markers
Backtesting Suggested:
Test this tool within your existing trading strategy. Use it for confirmations, entries, or re-entries in trending markets — especially on NAS100 or similar algorithmic structures.
Goldbach Take ProfitsGoldbach Take Profit Levels – Algorithmic TP Zones for NAS100 Using 243/729 PO3 Logic
This indicator provides structured Take Profit (TP) levels using a proprietary Goldbach-based PO3 system, designed for algorithmic trading on NAS100 and similar trending instruments.
It calculates four TP zones derived from mathematically precise 243 and 729 ranges, helping traders spot likely reaction, reversal, or continuation points in the trend.
TP Levels Explained:
TP: FV (Fair Value) – Minor reversal zone
TP: MB (Mid Block) – Moderate reaction level
TP: LV (Liquidity Void) – High-probability liquidity target
TP: OB (Order Block) – Likely premium or discount exit
📈 Use Cases:
Pair with Goldbach 243 BuySell Signal for quicker scalps
Pair with Goldbach 729 Signal for higher timeframe entries
Validate whether price has room to reach new TP levels before entering
This TP tool is part of a broader confluence-based system. When used with the 243 and 729 BuySell indicators, it helps structure trade exits after precision-based entries. However, it can also function independently to project logical profit zones.
✅ Best Trading Practices:
Wait for a fresh signal with untouched TP zones
Confirm trend direction using 30M or 1H timeframes
Use lower timeframes (1M–5M) for sniper entries
Avoid trades if TP3 or TP4 have already been hit
🕒 Timeframe Strategy:
Bias: 1H
Signal Confirmation: 15M–30M
Entry Execution: 3M–1M
⚠️ Important Notes:
This tool is built for structured, disciplined execution in algorithmic trading systems. It is especially effective in London and New York sessions, where volatility aligns well with PO3-based projections.
Primarily tested and optimized for NAS100, but adaptable for other trending markets.
🔐 Closed Source Notice:
This script uses proprietary Goldbach PO3 math to calculate take-profit zones and is published as closed source.
FMX Footprint Chart V2.0 [Th16rry]fmx volume indicator Shows the difference between aggressive buys vs. aggressive sells at each price level in a candle.
SETUP ALERTI made a indicator that give you a alert when there is a potential setup
it can be a pullback or reversal that can occur
the indicator only works on 5m
it gonna give you a little black dot above your screen if there is a potential setup, that little black dot doesn't gonna disturb your screen so much and it isn't biased like red or green signals
if go to other tfs than 5m you don't gonna see the black dot to, so only 5m
how i used it is when i got a setup i analyze where price comes from after i got that black dot plotted above my screen, if i see its a potential reversal poi where price comes from i am gonna look for a pullback on the ltfs to buy or sell to go with the trend
and if price didn't took a potential poi for a reversal i see as price took a trap/smt to make a pullback so i look for a setup where i can entry for the continuation after the pullback
more questions about it
@ycenti tg
pssss.... it works on all pairs we don't make differnce about it
just simple as it is!
P1 & P2 Helper by Brighter DataThis script draws the current high & low on the chart for multiple timeframes in P1/P2 format: P1 is either the highest or lowest point of the timeframe, whichever came first. P2 is whichever came second.
For example, on the daily timeframe if the daily low is marked out as P1 and the daily high is P2, it means that the daily low was put in before the daily high. This mapping of highs/lows is used as support for the BD dashboard and its statistics.
Roman OR LevelsThis script is designed by Roman (romanceperiod) on Discord and it is a simple tool for his friends & community members to use.
The tool marks the highs and lows the first 3 bars after the set time and is recommended to use the 1 minute timeframe. It also displays the past 3 days worth of data on that same timeframe.
Cheers & good luck trading! Indicators do not make you win, they're just very helpful to draw things :)
Golden Khaled Recovery v2.0 – Dual Direction Dynamic
//@version=5
indicator("Golden Khaled Recovery v2.0 – Dual Direction Dynamic", overlay=true)
// === الإعدادات ===
mode = input.string("Both", title="Signal Mode", options= )
enableWatch = input.bool(true, title="Show Watch Signals (Weak Setup)")
showConditionCount = input.bool(true, title="Show Conditions Count Below Candle")
// === المؤشرات ===
macdFast = input.int(12, "MACD Fast")
macdSlow = input.int(26, "MACD Slow")
macdSignal = input.int(9, "MACD Signal")
rsiPeriod = input.int(14, "RSI Period")
volumeSpikeMultiplier = input.float(1.5, "Volume Spike Multiplier")
// === حساب المؤشرات ===
= ta.macd(close, macdFast, macdSlow, macdSignal)
rsi = ta.rsi(close, rsiPeriod)
volumeSpike = volume > ta.sma(volume, 20) * volumeSpikeMultiplier
// === شروط الشراء ===
buy1 = macdLine > signalLine
buy2 = rsi < 30
buy3 = ta.crossover(macdLine, signalLine)
buy4 = volumeSpike
buy5 = close > ta.highest(close, 10)
buyCount = (buy1 ? 1 : 0) + (buy2 ? 1 : 0) + (buy3 ? 1 : 0) + (buy4 ? 1 : 0) + (buy5 ? 1 : 0)
// === شروط البيع ===
sell1 = macdLine < signalLine
sell2 = rsi > 70
sell3 = ta.crossunder(macdLine, signalLine)
sell4 = volumeSpike
sell5 = close < ta.lowest(close, 10)
sellCount = (sell1 ? 1 : 0) + (sell2 ? 1 : 0) + (sell3 ? 1 : 0) + (sell4 ? 1 : 0) + (sell5 ? 1 : 0)
// === إشارات الشراء ===
plotshape((mode == "Buy" or mode == "Both") and buyCount == 5, title="BUY", location=location.abovebar, color=color.green, style=shape.labelup, text="BUY", textcolor=color.white)
plotshape((mode == "Buy" or mode == "Both") and buyCount >= 3 and buyCount < 5, title="BUY+", location=location.abovebar, color=color.lime, style=shape.labelup, text="BUY+", textcolor=color.black)
plotshape((mode == "Buy" or mode == "Both") and buyCount == 2 and enableWatch, title="Watch", location=location.abovebar, color=color.yellow, style=shape.triangleup, text="Watch", textcolor=color.black)
// === إشارات البيع ===
plotshape((mode == "Sell" or mode == "Both") and sellCount == 5, title="SELL", location=location.belowbar, color=color.red, style=shape.labeldown, text="SELL", textcolor=color.white)
plotshape((mode == "Sell" or mode == "Both") and sellCount >= 3 and sellCount < 5, title="SELL+", location=location.belowbar, color=color.maroon, style=shape.labeldown, text="SELL+", textcolor=color.white)
plotshape((mode == "Sell" or mode == "Both") and sellCount == 2 and enableWatch, title="WatchSell", location=location.belowbar, color=color.gray, style=shape.triangledown, text="Watch", textcolor=color.black)
// === عداد الشروط تحت الشمعة ===
if showConditionCount and buyCount >= 3
label.new(bar_index, low, str.tostring(buyCount) + "/5", yloc=yloc.belowbar, style=label.style_label_down, textcolor=color.white, size=size.tiny, color=color.black)
if showConditionCount and sellCount >= 3
label.new(bar_index, high, str.tostring(sellCount) + "/5", yloc=yloc.abovebar, style=label.style_label_up, textcolor=color.white, size=size.tiny, color=color.red)
Golden Khaled Recovery v2.0 – Dual Direction Dynamic
//@version=5
indicator("Golden Khaled Recovery v2.0 – Dual Direction Dynamic", overlay=true)
// === الإعدادات ===
mode = input.string("Both", title="Signal Mode", options= )
enableWatch = input.bool(true, title="Show Watch Signals (Weak Setup)")
showConditionCount = input.bool(true, title="Show Conditions Count Below Candle")
// === المؤشرات ===
macdFast = input.int(12, "MACD Fast")
macdSlow = input.int(26, "MACD Slow")
macdSignal = input.int(9, "MACD Signal")
rsiPeriod = input.int(14, "RSI Period")
volumeSpikeMultiplier = input.float(1.5, "Volume Spike Multiplier")
// === حساب المؤشرات ===
= ta.macd(close, macdFast, macdSlow, macdSignal)
rsi = ta.rsi(close, rsiPeriod)
volumeSpike = volume > ta.sma(volume, 20) * volumeSpikeMultiplier
// === شروط الشراء ===
buy1 = macdLine > signalLine
buy2 = rsi < 30
buy3 = ta.crossover(macdLine, signalLine)
buy4 = volumeSpike
buy5 = close > ta.highest(close, 10)
buyCount = (buy1 ? 1 : 0) + (buy2 ? 1 : 0) + (buy3 ? 1 : 0) + (buy4 ? 1 : 0) + (buy5 ? 1 : 0)
// === شروط البيع ===
sell1 = macdLine < signalLine
sell2 = rsi > 70
sell3 = ta.crossunder(macdLine, signalLine)
sell4 = volumeSpike
sell5 = close < ta.lowest(close, 10)
sellCount = (sell1 ? 1 : 0) + (sell2 ? 1 : 0) + (sell3 ? 1 : 0) + (sell4 ? 1 : 0) + (sell5 ? 1 : 0)
// === إشارات الشراء ===
plotshape((mode == "Buy" or mode == "Both") and buyCount == 5, title="BUY", location=location.abovebar, color=color.green, style=shape.labelup, text="BUY", textcolor=color.white)
plotshape((mode == "Buy" or mode == "Both") and buyCount >= 3 and buyCount < 5, title="BUY+", location=location.abovebar, color=color.lime, style=shape.labelup, text="BUY+", textcolor=color.black)
plotshape((mode == "Buy" or mode == "Both") and buyCount == 2 and enableWatch, title="Watch", location=location.abovebar, color=color.yellow, style=shape.triangleup, text="Watch", textcolor=color.black)
// === إشارات البيع ===
plotshape((mode == "Sell" or mode == "Both") and sellCount == 5, title="SELL", location=location.belowbar, color=color.red, style=shape.labeldown, text="SELL", textcolor=color.white)
plotshape((mode == "Sell" or mode == "Both") and sellCount >= 3 and sellCount < 5, title="SELL+", location=location.belowbar, color=color.maroon, style=shape.labeldown, text="SELL+", textcolor=color.white)
plotshape((mode == "Sell" or mode == "Both") and sellCount == 2 and enableWatch, title="WatchSell", location=location.belowbar, color=color.gray, style=shape.triangledown, text="Watch", textcolor=color.black)
// === عداد الشروط تحت الشمعة ===
if showConditionCount and buyCount >= 3
label.new(bar_index, low, str.tostring(buyCount) + "/5", yloc=yloc.belowbar, style=label.style_label_down, textcolor=color.white, size=size.tiny, color=color.black)
if showConditionCount and sellCount >= 3
label.new(bar_index, high, str.tostring(sellCount) + "/5", yloc=yloc.abovebar, style=label.style_label_up, textcolor=color.white, size=size.tiny, color=color.red)
Golden Ultra Entry v1.0 – Scalping & Swing Edition
//@version=5
indicator("Golden Ultra Entry v1.0 – Scalping & Swing Edition", overlay=true, max_bars_back=1000)
// === Input Settings ===
showWatch = input.bool(true, "Show Watch Signals")
showTP = input.bool(true, "Show TP Levels")
mode = input.string("Auto", options= , title="Mode")
// === Indicator Calculations ===
rsi = ta.rsi(close, 14)
cci = ta.cci(close, 20)
volumeDelta = volume - ta.sma(volume, 20)
netLiquidity = volumeDelta * (close - open)
// === Structure Detection (Simplified for demo) ===
var float lastHigh = na
var float lastLow = na
bos = false
choch = false
if not na(high ) and high > high
lastHigh := high
if not na(low ) and low < low
lastLow := low
bos := close > lastHigh
choch := close < lastLow
// === Rejection Candle (Body < 40% of total range) ===
body = math.abs(close - open)
fullRange = high - low
rejectionCandle = body < fullRange * 0.4
// === OB Zone Placeholder ===
inOrderBlock = true // To be improved
// === Conditions ===
cond1 = bos or choch
cond2 = netLiquidity > 0
cond3 = rejectionCandle and inOrderBlock
cond4 = mode == "Calls Only" ? rsi > 50 : mode == "Puts Only" ? rsi < 50 : true
cond5 = mode == "Calls Only" ? cci > 100 : mode == "Puts Only" ? cci < -100 : true
cond6 = inOrderBlock
score = 0
score += cond1 ? 1 : 0
score += cond2 ? 1 : 0
score += cond3 ? 1 : 0
score += cond4 ? 1 : 0
score += cond5 ? 1 : 0
score += cond6 ? 1 : 0
// === Signal Display ===
buySignal = score >= 6 and bos and mode != "Puts Only"
sellSignal = score >= 6 and choch and mode != "Calls Only"
buyPlus = score == 4 or score == 5
sellPlus = score == 4 or score == 5
buyWatch = score == 3
sellWatch = score == 3
plotshape(buySignal, title="BUY Strong", location=location.belowbar, color=color.lime, style=shape.labelup, text="BUY")
plotshape(buyPlus, title="BUY+", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY+")
plotshape(buyWatch and showWatch, title="BUY Watch", location=location.belowbar, color=color.yellow, style=shape.labelup, text="Watch")
plotshape(sellSignal, title="SELL Strong", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
plotshape(sellPlus, title="SELL+", location=location.abovebar, color=color.maroon, style=shape.labeldown, text="SELL+")
plotshape(sellWatch and showWatch, title="SELL Watch", location=location.abovebar, color=color.orange, style=shape.labeldown, text="Watch")
// === TP/SL Placeholder ===
tp1 = close + (close - lastLow) * 0.5
tp2 = close + (close - lastLow)
tp3 = close + (close - lastLow) * 2
sl = lastLow
plot(showTP and buySignal ? tp1 : na, title="TP1", color=color.new(color.green, 50), style=plot.style_linebr)
plot(showTP and buySignal ? tp2 : na, title="TP2", color=color.new(color.green, 70), style=plot.style_linebr)
plot(showTP and buySignal ? tp3 : na, title="TP3", color=color.new(color.green, 90), style=plot.style_linebr)
plot(showTP and buySignal ? sl : na, title="SL", color=color.new(color.red, 80), style=plot.style_linebr)
Z-score filter Daily/Weeklyindicator identifies potential buy and sell signals based on price deviations from a linear regression line. Here's what it does:
Calculates a linear regression line with customizable length (default 21) and offset (default 30)
Computes a z-score by measuring how many standard deviations the current price is from the regression line
Generates signals when:
A "buy" signal occurs when the z-score crosses above a lower threshold (default -4.7), indicating the price was deeply undervalued but is now recovering
A "sell" signal occurs when the z-score crosses below an upper threshold (default 5.1), indicating the price was extremely overvalued but is now declining
The indicator displays triangles with "BUY" or "SELL" text when signals occur, and shows the linear regression line in blue (which can be toggled off). It can operate on either daily or weekly timeframes based on user selection, with corresponding alerts that can be configured.
This indicator essentially identifies potential reversal points when price has moved too far away from its statistical "fair value" as defined by the regression line, making it useful for mean-reversion trading strategies.
REGIME SHIFTis designed to identify market regimes based on price position relative to a linear regression line. Here's what it does:
Calculates a linear regression line (reg)
Identifies three possible states:
"Above regime": When the current close price AND previous close price are both above the regression line
"Below regime": When the current close price AND previous close price are both below the regression line
"Flat regime": When neither of the above conditions are true (transitioning between regimes)
The indicator visualizes these states with:
Green background when price is in the "Above regime"
Red background when price is in the "Below regime"
Yellow "FLAT" arrow markers displayed when in the "Flat regime"
The regression line itself (which can be turned off via user input), colored green when above price and red when below price
This indicator helps traders identify whether the market is in an uptrend regime (price consistently above regression line), downtrend regime (price consistently below regression line), or transitioning between regimes (flat). The regression line provides a statistical reference point for price action, helping to filter out noise and identify the underlying trend direction.
SPAZZ Daily/WeeklyLinear regression model with a standard deviation smoothed with a z-score.
Works on all timeframes but the higher up you go the more reliable.
Green buy signals signal over sold conditions.
Red sell arrows signal overbought conditions.
CANX Multi-Timeframe Trend© CanxStixTrader
CANX Multi Trend Table indicator allows you to monitor the instruments you choose on the timeframes you want without the need to move between them.
Customizable time frames, pairs, colors and size.
1. Different methods of determining trend VIA super trend or EMAs
2. Monitor multiple instruments at the same time
3. Customizable ATR settings
Golden Pattern – Head & Shoulders v2.2//@version=5
indicator("Golden Pattern – Head & Shoulders v2.2", overlay=true)
enable_HS = input.bool(true, "Enable Head & Shoulders Detection")
show_targets = input.bool(true, "Show TP1/TP2/TP3 Levels")
min_dist = input.int(5, "Min Distance Between Points", minval=3)
sensitivity = input.float(1.5, "Deviation %", minval=0.1)
sl_buffer = input.float(0.5, "SL Buffer %")
// نقاط محورية
ph = ta.pivothigh(high, min_dist, min_dist)
pl = ta.pivotlow(low, min_dist, min_dist)
// تخزين الرأس والكتفين
var float sh1 = na
var float head = na
var float sh2 = na
var int sh1_bar = na
var int head_bar = na
var int sh2_bar = na
var float ish1 = na
var float ihead = na
var float ish2 = na
var int ish1_bar = na
var int ihead_bar = na
var int ish2_bar = na
// رأس وكتفين (بيع)
if not na(ph)
if na(sh1)
sh1 := ph
sh1_bar := bar_index
else if na(head) and ph > sh1 and bar_index - sh1_bar > min_dist
head := ph
head_bar := bar_index
else if na(sh2) and ph < head and math.abs(ph - sh1)/sh1 < sensitivity/100 and bar_index - head_bar > min_dist
sh2 := ph
sh2_bar := bar_index
else
sh1 := ph
sh1_bar := bar_index
head := na
sh2 := na
// رأس وكتفين معكوس (شراء)
if not na(pl)
if na(ish1)
ish1 := pl
ish1_bar := bar_index
else if na(ihead) and pl < ish1 and bar_index - ish1_bar > min_dist
ihead := pl
ihead_bar := bar_index
else if na(ish2) and pl > ihead and math.abs(pl - ish1)/ish1 < sensitivity/100 and bar_index - ihead_bar > min_dist
ish2 := pl
ish2_bar := bar_index
else
ish1 := pl
ish1_bar := bar_index
ihead := na
ish2 := na
// خطوط الرقبة
neckline_sell = (sh1 + sh2) / 2
neckline_buy = (ish1 + ish2) / 2
sell_break = enable_HS and not na(sh2) and close < neckline_sell and bar_index > sh2_bar
buy_break = enable_HS and not na(ish2) and close > neckline_buy and bar_index > ish2_bar
// TP / SL
depth_sell = head - neckline_sell
depth_buy = neckline_buy - ihead
tp1_sell = sell_break ? close - depth_sell : na
tp2_sell = sell_break ? close - depth_sell * 1.5 : na
tp3_sell = sell_break ? close - depth_sell * 2.0 : na
sl_sell = sell_break ? head + head * sl_buffer / 100 : na
tp1_buy = buy_break ? close + depth_buy : na
tp2_buy = buy_break ? close + depth_buy * 1.5 : na
tp3_buy = buy_break ? close + depth_buy * 2.0 : na
sl_buy = buy_break ? ihead - ihead * sl_buffer / 100 : na
// منع التكرار
var bool lastBuyPlotted = false
var bool lastSellPlotted = false
var bool plotBuySignal = false
var bool plotSellSignal = false
plotBuySignal := false
plotSellSignal := false
if buy_break and not lastBuyPlotted
plotBuySignal := true
lastBuyPlotted := true
lastSellPlotted := false
if sell_break and not lastSellPlotted
plotSellSignal := true
lastSellPlotted := true
lastBuyPlotted := false
// إشارات الدخول
plotshape(plotBuySignal, location=location.belowbar, style=shape.labelup, color=color.green, text="BUY")
plotshape(plotSellSignal, location=location.abovebar, style=shape.labeldown, color=color.red, text="SELL")
// رسم الأهداف (مع زر تحكم)
if plotBuySignal and show_targets
line.new(bar_index, tp1_buy, bar_index + 20, tp1_buy, color=color.green)
line.new(bar_index, tp2_buy, bar_index + 20, tp2_buy, color=color.teal)
line.new(bar_index, tp3_buy, bar_index + 20, tp3_buy, color=color.blue)
line.new(bar_index, sl_buy, bar_index + 20, sl_buy, color=color.red)
if plotSellSignal and show_targets
line.new(bar_index, tp1_sell, bar_index + 20, tp1_sell, color=color.green)
line.new(bar_index, tp2_sell, bar_index + 20, tp2_sell, color=color.teal)
line.new(bar_index, tp3_sell, bar_index + 20, tp3_sell, color=color.blue)
line.new(bar_index, sl_sell, bar_index + 20, sl_sell, color=color.red)
Z-Score EMA CloudA Z score EMA Cloud designed to signal 4 different strengths.
Normal green is a normal buying area.
Dark green is a strong buying area.
Normal red is a normal selling area.
Dark red is a strong selling area.
Take sells when it flips from green to red and take buys into the green or when it flips red to green, best r/r comes from buying inside the cloud.