
یہ حکمت عملی 15 منٹ کے کینڈل سٹک چارٹ پر مبنی ایک پیش رفت کا تجارتی نظام ہے جس کا بنیادی خیال یہ ہے کہ ہر تجارتی دن کے پہلے 15 منٹ کی کینڈل سٹک کے اعلیٰ اور کم پوائنٹس کو ایک قیمت چینل بنانے اور توڑ کر مارکیٹ کے رجحانات کو حاصل کرنے کے لیے استعمال کیا جائے۔ چینل حکمت عملی آغاز کے آغاز میں قیمت کے اتار چڑھاؤ کی حد کا تجزیہ کر کے انٹرا ڈے ٹریڈنگ کے لیے واضح اندراج کے اشارے فراہم کرتی ہے۔
حکمت عملی درج ذیل بنیادی اصولوں پر کام کرتی ہے:
یہ حکمت عملی ابتدائی اوقات کے دوران قیمتوں کے وقفے کی نگرانی کرکے ایک سادہ لیکن موثر تجارتی طریقہ فراہم کرتی ہے۔ اس کے بنیادی فائدے اس کی سادہ منطق اور واضح عمل میں مضمر ہیں، لیکن تاجروں کو جھوٹی پیش رفت کے خطرے اور مارکیٹ کے ماحول سے موافقت پر بھی توجہ دینے کی ضرورت ہے۔ خطرے کے انتظام میں مسلسل اصلاح اور بہتری کے ذریعے، حکمت عملی سے حقیقی لڑائی میں بہتر کارکردگی کی توقع کی جاتی ہے۔ حکمت عملیوں کے کامیاب اطلاق کے لیے تاجروں کو مارکیٹ کی خصوصیات کی گہرائی سے آگاہی حاصل کرنے اور ان کے اپنے خطرے کو برداشت کرنے کی بنیاد پر معقول ایڈجسٹمنٹ کرنے کی ضرورت ہوتی ہے۔
/*backtest
start: 2024-01-17 00:00:00
end: 2024-07-25 00:00:00
period: 15m
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT","balance":49999}]
*/
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © OLYANGO
//@version=5
strategy("15 Min Breakout Strategy by https://x.com/iamgod43 (Yallappa) ", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100)
// Define the start of backtest period
startDate = timestamp(2023, 1, 1, 0, 0)
// Ensure the script is run on a 15-minute chart
// if (timeframe.period != "15")
// alert("Switch to a 15-minute chart for this strategy.", alert.freq_once_per_bar_close)
// Variables to store the first 15-minute candle's high and low
var float firstCandleHigh = na
var float firstCandleLow = na
var bool isFirstCandleCaptured = false
// Detect the first candle of the session
isFirstCandle = (hour == 9 and minute == 15)
// Reset first candle values for the new session
if isFirstCandle
firstCandleHigh := high
firstCandleLow := low
isFirstCandleCaptured := true
// Check for breakout conditions
longCondition = isFirstCandleCaptured and close > firstCandleHigh
shortCondition = isFirstCandleCaptured and close < firstCandleLow
// Entry signals
if longCondition
strategy.entry("Buy Signal", strategy.long)
if shortCondition
strategy.entry("Sell Signal", strategy.short)
// Plot the first 15-minute candle high and low
plot(isFirstCandleCaptured ? firstCandleHigh : na, color=color.green, linewidth=2, title="First Candle High")
plot(isFirstCandleCaptured ? firstCandleLow : na, color=color.red, linewidth=2, title="First Candle Low")
// Backtesting start date logic
if time < startDate
strategy.close_all("Pre-Backtest Period")