
یہ حکمت عملی ایک کثیر جہتی تکنیکی تجزیہ کا تجارتی نظام ہے جو رفتار کے اشارے (RSI، MACD)، رجحان کے اشارے (EMA)، اتار چڑھاؤ کے اشارے (بولنگر بینڈز، اے ٹی آر) اور قیمت کے ڈھانچے کے اشارے (فبونیکی ریٹیسمنٹس) کو مربوط کرتا ہے۔ مارکیٹ کے مواقع پر قبضہ کرنے کے اشارے حکمت عملی کا ڈیزائن 15 منٹ کی مدت پر مبنی ہے اور مضبوط رسک کنٹرول صلاحیتوں کے ساتھ ATR ڈائنامک سٹاپ نقصان اور ٹیک پرافٹ کا استعمال کرتا ہے۔
حکمت عملی کی بنیادی منطق میں درج ذیل جہتیں شامل ہیں:
متعدد جہتی سگنلز باہمی تعاون کے ساتھ متحرک ہونے کے بعد ہی لین دین کیے جاتے ہیں، جس سے لین دین کی درستگی بہتر ہوتی ہے۔
یہ حکمت عملی کثیر جہتی تکنیکی اشارے کے مربوط تعاون کے ذریعے ایک مضبوط تجارتی نظام تیار کرتی ہے۔ اس کے بنیادی فوائد سگنل کراس توثیق اور متحرک رسک کنٹرول میں ہیں، لیکن پیرامیٹر کی اصلاح اور مارکیٹ کے ماحول سے موافقت کے مسائل پر بھی توجہ دی جانی چاہیے۔ بعد میں اصلاح کی ہدایات بنیادی طور پر متحرک پیرامیٹر ایڈجسٹمنٹ اور سگنل کے معیار میں بہتری پر توجہ مرکوز کریں گی۔
/*backtest
start: 2024-12-10 00:00:00
end: 2025-01-08 08:00:00
period: 1h
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT","balance":49999}]
*/
//@version=5
strategy("Optimized Advanced Strategy", overlay=true)
// Bollinger Bandı
length = input(20, title="Bollinger Band Length")
src = close
mult = input.float(2.0, title="Bollinger Band Multiplier")
basis = ta.sma(src, length)
dev = mult * ta.stdev(src, length)
upper = basis + dev
lower = basis - dev
// RSI
rsi = ta.rsi(close, 14)
// MACD
[macdLine, signalLine, _] = ta.macd(close, 12, 26, 9)
// EMA
emaFast = ta.ema(close, 9)
emaSlow = ta.ema(close, 21)
// ATR
atr = ta.atr(14)
// Fibonacci Seviyeleri
lookback = input(100, title="Fibonacci Lookback Period")
highPrice = ta.highest(high, lookback)
lowPrice = ta.lowest(low, lookback)
fiboLevel618 = lowPrice + (highPrice - lowPrice) * 0.618
fiboLevel382 = lowPrice + (highPrice - lowPrice) * 0.382
fiboLevel786 = lowPrice + (highPrice - lowPrice) * 0.786
// Kullanıcı Ayarlı Stop-Loss ve Take-Profit
stopLossATR = atr * 1.5
takeProfitATR = atr * 3
// İşlem Koşulları
longCondition = (rsi < 55) and (macdLine > signalLine) and (emaFast > emaSlow) and (close >= fiboLevel382 and close <= fiboLevel618)
shortCondition = (rsi > 45) and (macdLine < signalLine) and (emaFast < emaSlow) and (close >= fiboLevel618 and close <= fiboLevel786)
// İşlem Girişleri
if (longCondition)
strategy.entry("Long", strategy.long, stop=close - stopLossATR, limit=close + takeProfitATR, comment="LONG SIGNAL")
if (shortCondition)
strategy.entry("Short", strategy.short, stop=close + stopLossATR, limit=close - takeProfitATR, comment="SHORT SIGNAL")
// Bollinger Bandını Çizdir
plot(upper, color=color.red, title="Bollinger Upper Band")
plot(basis, color=color.blue, title="Bollinger Basis")
plot(lower, color=color.green, title="Bollinger Lower Band")
// Fibonacci Seviyelerini Çizdir
// line.new(x1=bar_index[1], y1=fiboLevel382, x2=bar_index, y2=fiboLevel382, color=color.blue, width=1, style=line.style_dotted)
// line.new(x1=bar_index[1], y1=fiboLevel618, x2=bar_index, y2=fiboLevel618, color=color.orange, width=1, style=line.style_dotted)
// line.new(x1=bar_index[1], y1=fiboLevel786, x2=bar_index, y2=fiboLevel786, color=color.purple, width=1, style=line.style_dotted)
// Göstergeleri Görselleştir
plot(macdLine, color=color.blue, title="MACD Line")
plot(signalLine, color=color.orange, title="MACD Signal Line")
plot(emaFast, color=color.green, title="EMA Fast (9)")
plot(emaSlow, color=color.red, title="EMA Slow (21)")
// İşlem İşaretleri
plotshape(series=longCondition, location=location.belowbar, color=color.green, style=shape.labelup, title="Long Entry")
plotshape(series=shortCondition, location=location.abovebar, color=color.red, style=shape.labeldown, title="Short Entry")