
یہ ایک اعلی درجے کی مقداری تجارتی حکمت عملی ہے جس میں سپر ٹرینڈ اشارے اور ٹرانزیکشن حجم تجزیہ شامل ہیں۔ اس حکمت عملی میں قیمتوں اور سپر ٹرینڈ لائنوں کے ساتھ کراسنگ کی متحرک نگرانی کی جاتی ہے اور ٹرانزیکشن میں غیر معمولی کارکردگی کے ذریعہ ممکنہ رجحانات کی نشاندہی کی جاتی ہے۔ اس حکمت عملی میں حقیقی طول و عرض پر مبنی متحرک اسٹاپ نقصان اور منافع کی ترتیب ہے ، جو تجارت کی لچک کو یقینی بناتی ہے اور خطرے پر قابو پانے کی وشوسنییتا فراہم کرتی ہے۔
حکمت عملی کی بنیادی منطق درج ذیل کلیدی عناصر پر مبنی ہے:
اس حکمت عملی نے ایک ٹریڈنگ سسٹم تشکیل دیا ہے جو قابل اعتماد اور لچکدار ہے ، جس میں ٹرانس ٹرینڈ اشارے کو حجم تجزیہ کے ساتھ جوڑ دیا گیا ہے۔ حکمت عملی کی طاقت سگنل کی تصدیق کی کثیر جہتی اور خطرے کے انتظام کی متحرکیت میں ہے ، لیکن اس حکمت عملی کی کارکردگی پر مارکیٹ کے ماحول کے اثرات کو ابھی بھی دھیان میں رکھنا ہے۔ اس حکمت عملی کو مستقل طور پر بہتر بنانے اور بہتر بنانے کے ذریعے ، مختلف مارکیٹ کے ماحول میں مستحکم کارکردگی کا امکان ہے۔
/*backtest
start: 2019-12-23 08:00:00
end: 2024-12-11 08:00:00
period: 1d
basePeriod: 1d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Supertrend with Volume Strategy", overlay=true)
// Input parameters for Supertrend
atrLength = input(10, title="ATR Length")
multiplier = input(3.0, title="Multiplier")
// Calculate Supertrend
[supertrend, direction] = ta.supertrend(multiplier, atrLength)
// Plot Supertrend
plot(supertrend, color=direction == 1 ? color.green : color.red, title="Supertrend")
// Volume condition
volumeThreshold = input(1.5, title="Volume Threshold (x Average)")
avgVolume = ta.sma(volume, 20) // 20-period average volume
highVolume = volume > (avgVolume * volumeThreshold)
// Define entry conditions
longCondition = ta.crossover(close, supertrend) and highVolume
shortCondition = ta.crossunder(close, supertrend) and highVolume
// Execute trades
if (longCondition)
strategy.entry("Long", strategy.long)
if (shortCondition)
strategy.entry("Short", strategy.short)
// Optional: Add stop loss and take profit
stopLoss = input(1.5, title="Stop Loss (in ATRs)")
takeProfit = input(3.0, title="Take Profit (in ATRs)")
if (longCondition)
strategy.exit("Take Profit/Stop Loss", from_entry="Long",
limit=close + (takeProfit * ta.atr(atrLength)),
stop=close - (stopLoss * ta.atr(atrLength)))
if (shortCondition)
strategy.exit("Take Profit/Stop Loss", from_entry="Short",
limit=close - (takeProfit * ta.atr(atrLength)),
stop=close + (stopLoss * ta.atr(atrLength)))