গোল্ড লিকুইডিটি হান্টার কৌশল

EMA Pivot ATR Liquidity Sweep
সৃষ্টির তারিখ: 2025-11-06 11:42:28 অবশেষে সংশোধন করুন: 2025-11-06 11:42:28
অনুলিপি: 0 ক্লিকের সংখ্যা: 197
2
ফোকাস
319
অনুসারী

গোল্ড লিকুইডিটি হান্টার কৌশল গোল্ড লিকুইডিটি হান্টার কৌশল

এই কৌশলটি আসলে কী করছে?

আপনি কি জানেন? বাজারে এমন কিছু “বুদ্ধিমান অর্থ” আছে যারা সবসময়ই মূল পয়েন্টগুলিতে ফাঁদ স্থাপন করতে পছন্দ করে! এই কৌশলটি একজন অভিজ্ঞ শিকারীর মতো, যারা এই ফাঁদগুলি বিশেষভাবে সনাক্ত করে এবং বিপরীতভাবে কাজ করে।

ট্রিপল ফিল্টারিং সিস্টেম উন্মোচিত

ফোকাস করুন!এই কৌশলটি তিনটি স্তরের সুরক্ষা ব্যবহার করেঃ

🔸 ট্রেন্ড ফিল্টার২০০ চক্রের EMA হল একজন বৃদ্ধ ড্রাইভারের মত, যে আপনাকে বলে যে এখন কোন দিকে যেতে হবে। 🔸 কী-বিট সনাক্তকরণ“সৈনিকদের লড়াইয়ের জায়গা” এর জন্য স্বয়ংক্রিয়ভাবে প্রতিরোধ খুঁজে বের করুন। 🔸 মুদ্রাস্ফীতি পরীক্ষা“মোস্ট ফেক অ্যাকশন” নামের একটি ভিডিও প্রকাশিত হয়েছে।

মাছ ধরার মতোই, মাছ কোথায় আছে, কী দিয়ে মাছ ধরতে হবে, কখন পালঙ্ক লাগাতে হবে, সবই জানা দরকার।

নগদ অর্থের অপব্যবহারের রহস্য

কল্পনা করুন, আপনি একটি দুধের চায়ের জন্য লাইনে দাঁড়িয়ে আছেন এবং হঠাৎ কেউ চিৎকার করে বলে, “বিনামূল্যে!

বাজারও একই রকম! দাম প্রথমে “অনুবাদ” করে যে এটি সমর্থনকারী স্তরের নীচে নেমে গেছে (<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

ক্যালসিয়াম ঝুঁকি নিয়ন্ত্রণঃ গোল্ডেন অনুপাত 1: 2

গর্ত এড়ানোর নির্দেশিকাঅনেকের কাছে লেনদেনের অর্থ হলো গাড়ি চালানোর সময় সিট বেল্ট না বেঁধে গাড়ি চালানো, এই কৌশলটি ঝুঁকি ও লাভের অনুপাতকে দুই ভাগে ভাগ করে দেয়!

  • স্টপ লস নির্ধারণ করা হয়েছে 0.5 গুণ ATR এর নিচে
  • স্টপ-অফ হল স্টপ-অফের দ্বিগুণ দূরত্ব।
  • এমনকি ৪০% এরও কম সাফল্য দীর্ঘমেয়াদে লাভজনক হতে পারে!

যুদ্ধক্ষেত্রে টিপস প্রয়োগ করুন

এই কৌশলটি 15 মিনিটের চক্রের সোনার ব্যবসায়ের জন্য সবচেয়ে উপযুক্ত, কেন? কারণ সোনার বাজারটি খুব তরল, ভুয়া ব্রেকআপগুলি সুস্পষ্ট এবং 15 মিনিটের চক্রটি প্রচুর শব্দকে ফিল্টার করে।

মনে রাখবেনঃ লোভ করবেন না! কৌশল আপনাকে একটি ভাল অবস্থান খুঁজে পেতে সাহায্য করবে, বাকিটা বাজারে এবং সময়কে ছেড়ে দিন।

কৌশল সোর্স কোড
/*backtest
start: 2025-10-06 00:00:00
end: 2025-11-05 00:00:00
period: 1h
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=6
strategy("Gold 15m: Trend + S/R + Liquidity Sweep (RR 1:2)", overlay=true, default_qty_type=strategy.fixed, default_qty_value=1, commission_type=strategy.commission.percent, commission_value=0.0)

// ---------------------- INPUTS ----------------------
symbol_input = input.string(title="Symbol (for reference only)", defval="XAUUSD")
tf_note = input.timeframe(title="Intended timeframe", defval="15")
ema_len = input.int(200, "Trend EMA length", minval=50)
pivot_left = input.int(5, "Pivot left bars", minval=1)
pivot_right = input.int(5, "Pivot right bars", minval=1)
sweep_atr_mult = input.float(0.6, "Liquidity sweep buffer (ATR ×)", step=0.1)
sl_atr_mult = input.float(0.5, "SL buffer beyond pivot (ATR ×)", step=0.1)
min_sweep_bars = input.int(1, "Max bars between sweep and reclaim", minval=1)
use_only_trend = input.bool(true, "Only trade with trend (EMA filter)")
rr = input.float(2.0, "Reward/Risk (TP = RR × Risk)", minval=1.0, step=0.1)
enable_long = input.bool(true, "Enable Longs")
enable_short = input.bool(true, "Enable Shorts")
show_zones = input.bool(true, "Plot pivots / zones")

// ---------------------- INDICATORS ----------------------
ema_trend = ta.ema(close, ema_len)
atr = ta.atr(14)

// ---------------------- PIVOT S/R DETECTION ----------------------
// Using builtin pivots: returns price of pivot when formed, else na
ph = ta.pivothigh(high, pivot_left, pivot_right)
pl = ta.pivotlow(low, pivot_left, pivot_right)

// We'll track last confirmed pivot prices and bar index
var float lastPivotHigh = na
var int   lastPivotHighBar = na
var float lastPivotLow = na
var int   lastPivotLowBar = na

if not na(ph)
    lastPivotHigh := ph
    lastPivotHighBar := bar_index - pivot_right

if not na(pl)
    lastPivotLow := pl
    lastPivotLowBar := bar_index - pivot_right

// ---------------------- LIQUIDITY SWEEP DETECTION ----------------------
// For a bullish liquidity sweep (buy):
// 1) Price makes a new low wick below lastPivotLow - (atr * sweep_atr_mult) (sweep candle)
// 2) Within `min_sweep_bars` the price reclaims: close > lastPivotLow  => bullish signal
var int sweepLowBar = na
var int sweepHighBar = na

// detect sweep down (wick pierce)
isSweepDown = false
if not na(lastPivotLow)
    // a candle with low sufficiently below pivot
    isSweepDown := low < (lastPivotLow - atr * sweep_atr_mult)

// detect sweep up (wick pierce)
isSweepUp = false
if not na(lastPivotHigh)
    isSweepUp := high > (lastPivotHigh + atr * sweep_atr_mult)

// record bar of sweep
if isSweepDown
    sweepLowBar := bar_index
if isSweepUp
    sweepHighBar := bar_index

// check reclaim after sweep: close back above pivot (buy reclaim) or close back below pivot (sell reclaim)
// ensure reclaim happens within `min_sweep_bars` bars after sweep
bullReclaim = false
bearReclaim = false

if not na(lastPivotLow) and not na(sweepLowBar)
    if (bar_index - sweepLowBar) <= min_sweep_bars and close > lastPivotLow
        bullReclaim := true

if not na(lastPivotHigh) and not na(sweepHighBar)
    if (bar_index - sweepHighBar) <= min_sweep_bars and close < lastPivotHigh
        bearReclaim := true

// ---------------------- TREND FILTER ----------------------
in_uptrend = close > ema_trend
in_downtrend = close < ema_trend

// final entry conditions
longCondition  = enable_long  and bullReclaim and (not use_only_trend or in_uptrend)
shortCondition = enable_short and bearReclaim and (not use_only_trend or in_downtrend)

// Note: variable name required by Pine, we set from input
use_only_trend := use_only_trend  // no-op to fix linter if needed

// ---------------------- ORDER EXECUTION & SL/TP CALC ----------------------
var int tradeId = 0

// For buy: SL = lastPivotLow - (atr * sl_atr_mult)
// risk = entry - SL
// TP = entry + rr * risk
if longCondition
    // compute SL and TP
    sl_price = lastPivotLow - atr * sl_atr_mult
    entry_price = close
    risk_amt = entry_price - sl_price
    tp_price = entry_price + (risk_amt * rr)
    // safety: only place trade if positive distances
    if risk_amt > 0 and tp_price > entry_price
        tradeId += 1
        // send entry and exit with stop & limit
        strategy.entry("Long_"+str.tostring(tradeId), strategy.long)
        strategy.exit("ExitLong_"+str.tostring(tradeId), from_entry="Long_"+str.tostring(tradeId), stop=sl_price, limit=tp_price)

// For sell: SL = lastPivotHigh + (atr * sl_atr_mult)
// risk = SL - entry
// TP = entry - rr * risk
if shortCondition
    sl_price_s = lastPivotHigh + atr * sl_atr_mult
    entry_price_s = close
    risk_amt_s = sl_price_s - entry_price_s
    tp_price_s = entry_price_s - (risk_amt_s * rr)
    if risk_amt_s > 0 and tp_price_s < entry_price_s
        tradeId += 1
        strategy.entry("Short_"+str.tostring(tradeId), strategy.short)
        strategy.exit("ExitShort_"+str.tostring(tradeId), from_entry="Short_"+str.tostring(tradeId), stop=sl_price_s, limit=tp_price_s)

// ---------------------- PLOTTING ----------------------
// EMA (trend)
plot(ema_trend, title="EMA Trend", linewidth=2)

// arrows and markers for entries
plotshape(longCondition, title="Buy Signal", location=location.belowbar, style=shape.labelup, text="BUY", textcolor=color.white, size=size.tiny, color=color.green)
plotshape(shortCondition, title="Sell Signal", location=location.abovebar, style=shape.labeldown, text="SELL", textcolor=color.white, size=size.tiny, color=color.red)

// plot last SL/TP lines for last trade (visual reference)
// find last open position and plot currently active SL/TP if any
if strategy.position_size > 0
    last_sl = strategy.position_avg_price - (strategy.position_avg_price - (lastPivotLow - atr * sl_atr_mult))
    // instead use exit order price from last exit? Simpler: plot SL/TP computed earlier if long
    // This may plot approximate lines; TradingView native order lines will also display.
    // We skip redundant plotting to avoid confusion.