
یہ حکمت عملی ایک ٹریڈنگ سسٹم ہے جو رجحان چینل ، قیمتوں میں الٹ اور متحرک اشارے پر مبنی ہے۔ یہ رجحان کی سمت کا تعین کرنے کے لئے ایک مساوی لائن سسٹم (ای ایم اے) کے ساتھ مل کر کام کرتا ہے ، جس میں نسبتا strong مضبوط اشارے (آر ایس آئی) کا استعمال کرتے ہوئے صفائی کے فاصلے کی نشاندہی کی جاتی ہے ، اور غوطہ خوری کی شکل کے ذریعہ داخلے کے عین مطابق لمحات کی تلاش کی جاتی ہے۔ حکمت عملی متحرک اتار چڑھاؤ اشارے (اے ٹی آر) کے ذریعہ خطرے کا انتظام کرتی ہے ، جس سے تیزی سے منافع ہوتا ہے۔
حکمت عملی کا بنیادی منطق متعدد تکنیکی اشارے کی ہم آہنگی کی توثیق پر مبنی ہے:
یہ حکمت عملی تکنیکی تجزیہ کے اوزار کے جامع استعمال کے ذریعے ایک منظم تجارتی نظام کی تعمیر کرتی ہے۔ یہ رجحانات پر عمل پیرا ہونے اور قیمتوں میں ردوبدل پر توجہ دینے کے ساتھ ساتھ ، متعدد اشارے کی توثیق کے ذریعہ تجارت کی کامیابی کی شرح کو بہتر بناتا ہے۔ اگرچہ اس میں کچھ حدود موجود ہیں ، لیکن مسلسل اصلاح اور خطرے کے انتظام کے ذریعہ ، یہ تاجروں کو قابل اعتماد تجارتی حوالہ فراہم کرنے کے قابل ہے۔
/*backtest
start: 2019-12-23 08:00:00
end: 2024-12-09 08:00:00
period: 1d
basePeriod: 1d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Gold Scalping Strategy with Precise Entries", overlay=true)
// Inputs for EMAs and ATR
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
atr = ta.atr(14)
rsi = ta.rsi(close, 14)
// Set 50 pips for gold (assuming 1 pip = 0.10 movement in XAU/USD)
pip_target = 20 * 0.10
// Bullish/Bearish Engulfing Pattern
bullish_engulfing = close > open and close[1] < open[1] and close > close[1] and open < close[1]
bearish_engulfing = close < open and close[1] > open[1] and close < close[1] and open > close[1]
// Define trend and exact entry conditions
longCondition = (ema50 > ema200) and (rsi >= 45 and rsi <= 55) and (bullish_engulfing) and (close > ema50)
shortCondition = (ema50 < ema200) and (rsi >= 45 and rsi <= 55) and (bearish_engulfing) and (close < ema50)
// ATR-based stop loss
longStopLoss = close - atr
shortStopLoss = close + atr
// Entry Conditions with precise points
if (longCondition)
strategy.entry("Long", strategy.long)
strategy.exit("Take Profit/Stop Loss", "Long", limit=close + pip_target, stop=longStopLoss)
if (shortCondition)
strategy.entry("Short", strategy.short)
strategy.exit("Take Profit/Stop Loss", "Short", limit=close - pip_target, stop=shortStopLoss)
// Plot EMAs
plot(ema50, color=color.green, title="50 EMA")
plot(ema200, color=color.red, title="200 EMA")
// Plot Buy/Sell Signals
plotshape(series=longCondition, location=location.belowbar, color=color.green, style=shape.labelup, title="Buy Signal", text="BUY")
plotshape(series=shortCondition, location=location.abovebar, color=color.red, style=shape.labeldown, title="Sell Signal", text="SELL")