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!
ATF DonMiguel V3ATF Don Miguel V3
This strategy combines trend-following with price structure and momentum analysis:
Trend shifts are detected using adaptive bands based on EMAs and volatility.
A trade is only triggered when the following additional conditions are met:
a Fair Value Gap (FVG) is present in the price structure,
the RSI is in overbought (for Short) or oversold (for Long) territory,
and volume is significantly above average.
Positions are managed using a dynamic ATR-based trailing stop.
Goal: Only trade high-quality signals when trend, structure, momentum, and volume all align.
Lumen Signals Backtestlumen.trading
This strategy spots good trading opportunities by looking at both the big picture and small details. First, it checks if the market is heading up. Then it waits for three key signs to line up before buying. When it's time to sell, Lumen has two special triggers - one that catches early warning signs, and another that spots when momentum is fading. It's designed to catch solid moves while protecting your profits without needing constant attention.
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 :)
SPX/GOLD strategy - SPX LegDesigned to be used in tandem with the GOLD leg, or standalone as a GOLD long-only portfolio hedge. Weekly timeframe.
Pairs trade returns since 1970:
CAGR: 14.73%
Sharpe Ratio: 0.86
Sortino Ratio: 1.20
Volatility: 17.95%
Max Drawdown: -40.01%
Calmar Ratio: 0.37
Win Rate: 57.03%
SPX/GOLD strategy - GOLD legDesigned to be used in tandem with the SPX leg, or standalone as a SPX long-only portfolio hedge. Weekly timeframe.
Pairs trade returns since 1970:
CAGR: 14.73%
Sharpe Ratio: 0.86
Sortino Ratio: 1.20
Volatility: 17.95%
Max Drawdown: -40.01%
Calmar Ratio: 0.37
Win Rate: 57.03%
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.
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 Smart Entry Pro v1.0 – Dynamic Filtered Edition
//@version=5
indicator("Golden Smart Entry Pro v1.0 – Dynamic Filtered Edition", overlay=true)
// === الإعدادات ===
mode = input.string("Auto", title="Trade Mode", options= )
waveTF = input.timeframe("Current", title="Wave Analysis Timeframe", options= )
// === إعدادات الشروط ===
// المؤشرات الفنية (كمثال مبدئي، سيتم تحسينها لاحقاً)
rsiPeriod = input.int(14, title="RSI Period")
rsiOB = input.int(70, title="RSI Overbought")
rsiOS = input.int(30, title="RSI Oversold")
rsi = ta.rsi(close, rsiPeriod)
// ATR للحركة الطبيعية
atrPeriod = input.int(14, title="ATR Period")
atr = ta.atr(atrPeriod)
// === موجة سعرية بسيطة للفكرة الأولية ===
// سيتم تطوير منطق الموجة حسب الفاصل الزمني المختار
waveHigh = ta.highest(high, 20)
waveLow = ta.lowest(low, 20)
waveLength = waveHigh - waveLow
// === إشارات المراقبة ===
watchBuy = ta.crossover(rsi, rsiOS)
watchSell = ta.crossunder(rsi, rsiOB)
// === إشارات الدخول المؤكدة (مبدئيًا) ===
entryBuy = watchBuy and close > ta.sma(close, 20)
entrySell = watchSell and close < ta.sma(close, 20)
// === أوضاع التداول ===
validBuy = (mode == "Auto" or mode == "Calls Only") and entryBuy
validSell = (mode == "Auto" or mode == "Puts Only") and entrySell
// === أهداف ذكية بناءً على الموجة + فيبوناتشي + ATR
tp1 = close + (waveLength * 0.618)
tp2 = close + (waveLength * 1.0)
tp3 = close + (waveLength * 1.618)
tp1Sell = close - (waveLength * 0.618)
tp2Sell = close - (waveLength * 1.0)
tp3Sell = close - (waveLength * 1.618)
// === عرض الإشارات ===
plotshape(validBuy, title="BUY", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(validSell, title="SELL", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
plotshape(watchBuy and not validBuy, title="Watch Buy", location=location.belowbar, color=color.new(color.green, 70), style=shape.circle, text="Buy?")
plotshape(watchSell and not validSell, title="Watch Sell", location=location.abovebar, color=color.new(color.red, 70), style=shape.circle, text="Sell?")
// === أهداف مرئية (BUY)
plot(validBuy ? tp1 : na, title="TP1", color=color.green, linewidth=1, style=plot.style_linebr)
plot(validBuy ? tp2 : na, title="TP2", color=color.green, linewidth=1, style=plot.style_linebr)
plot(validBuy ? tp3 : na, title="TP3", color=color.green, linewidth=1, style=plot.style_linebr)
// === أهداف مرئية (SELL)
plot(validSell ? tp1Sell : na, title="TP1 Sell", color=color.red, linewidth=1, style=plot.style_linebr)
plot(validSell ? tp2Sell : na, title="TP2 Sell", color=color.red, linewidth=1, style=plot.style_linebr)
plot(validSell ? tp3Sell : na, title="TP3 Sell", color=color.red, linewidth=1, style=plot.style_linebr)
Golden DNA Tracker v1.0
//@version=5
indicator("Golden DNA Tracker v1.0", overlay=true)
// === إعدادات ===
rsiPeriod = input.int(14, "RSI Period")
dnaLookback = input.int(200, "DNA Scan Range")
similarityThreshold = input.float(0.85, "Pattern Match Threshold (0-1)")
showSignals = input.bool(true, "Show DNA BUY/SELL Markers")
// === المؤشرات المساعدة (RSI وسلوك السعر) ===
rsi = ta.rsi(close, rsiPeriod)
priceChange = close / close - 1 // نسبة التغير خلال آخر 5 شموع
// === تكرار الأنماط (البصمة الوراثية) ===
// نحاول إيجاد شموع سابقة لها نفس النسبة والتصرف
dnaBuy = false
dnaSell = false
for i = 10 to dnaLookback by 1
pastRsi = rsi
pastChange = close / close - 1
rsiMatch = math.abs(rsi - pastRsi) / pastRsi < (1 - similarityThreshold)
changeMatch = math.abs(priceChange - pastChange) / math.abs(pastChange) < (1 - similarityThreshold)
if rsiMatch and changeMatch
dnaBuy := priceChange > 0 and rsi < 50
dnaSell := priceChange < 0 and rsi > 50
break
// === رسم الإشارات ===
plotshape(showSignals and dnaBuy, location=location.belowbar, style=shape.labelup, color=color.green, size=size.small, text="DNA BUY")
plotshape(showSignals and dnaSell, location=location.abovebar, style=shape.labeldown, color=color.red, size=size.small, text="DNA SELL")
// === تنبيهات ===
alertcondition(dnaBuy, title="DNA BUY Signal", message="إشارة شراء بناءً على نمط متكرر")
alertcondition(dnaSell, title="DNA SELL Signal", message="إشارة بيع بناءً على نمط متكرر")
Spazz bc thrustBreadth trust indy
Bottom signal indicator (s/o bcrossley, s/o Lodson)
Blue: R2k % above 20 SMA with dual R2k + LOWN criterion
Yellow: S&P 500 % above 20 SMA with dual S5TW + LOWN criterion
Purple: Rising S&P 500 % above 5 SMA with below threshold criterion
Lime: S&P 500 "Golden Cross" Ratio between % above 200 SMA and 50 SMA