
یہ ایک ایسی حکمت عملی ہے جس کی بنیاد پر 1 منٹ کی K لائن کی بندش کی سمت میں اعلی تعدد تجارت کی جاتی ہے۔ حکمت عملی مارکیٹ کے رجحان کا تعین K لائن کی بندش کی قیمت اور کھلنے کی قیمت کے تعلقات کا فیصلہ کرکے کرتی ہے ، اور بیجنگ K لائن کی تشکیل کے بعد زیادہ کام کرتی ہے ، اور بیجنگ K لائن کی تشکیل کے بعد خالی ہوجاتی ہے۔ حکمت عملی فکسڈ پوزیشن ہولڈنگ ٹائم کا استعمال کرتی ہے ، اور اگلے K لائن کی بندش کے وقت پوزیشن کو صاف کرتی ہے ، اور خطرے کو کنٹرول کرنے کے لئے روزانہ کی زیادہ سے زیادہ تجارت پر پابندی عائد کرتی ہے۔
اس حکمت عملی کا بنیادی منطق قلیل مدتی مارکیٹ کے رجحانات کا اندازہ لگانے کے لئے K لائن کے اختتام کی سمت کا استعمال کرنا ہے:
یہ حکمت عملی ایک K لائن کی طرف سے بند ہونے والی اعلی تعدد ٹریڈنگ سسٹم ہے ، جس میں قلیل مدتی مارکیٹ کے مواقع کو سادہ قیمت کے طرز عمل کے تجزیے کے ذریعے پکڑ لیا جاتا ہے۔ حکمت عملی کا فائدہ یہ ہے کہ اس کی منطق آسان ہے ، اس کی پوزیشن کا وقت مختصر ہے ، اور اس کا خطرہ کنٹرول میں ہے ، لیکن اس کے ساتھ ہی اس کو اعلی تجارتی لاگت ، جھوٹی توڑ اور دیگر چیلنجوں کا سامنا کرنا پڑتا ہے۔ مزید تکنیکی اشارے اور اصلاحی پروگراموں کو متعارف کرانے سے حکمت عملی کی استحکام اور منافع میں مزید اضافہ ہونے کا امکان ہے۔ قلیل مدتی تجارتی مواقع کی تلاش میں سرمایہ کاروں کے لئے ، یہ ایک تجارتی حکمت عملی ہے جو کوشش کرنے اور بہتر بنانے کے قابل ہے۔
/*backtest
start: 2024-01-01 00:00:00
end: 2024-12-10 08:00:00
period: 2d
basePeriod: 2d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Candle Close Strategy", overlay=true)
// Define conditions for bullish and bearish candlesticks
isBullish = close > open
isBearish = close < open
// Track the number of bars since the trade was opened and the number of trades per day
var int barsSinceTrade = na
var int tradesToday = 0
// Define a fixed position size for testing
fixedPositionSize = 1
// Entry condition: buy after the close of a bullish candlestick
if (isBullish and tradesToday < 200) // Limit to 200 trades per day
strategy.entry("Buy", strategy.long, qty=fixedPositionSize)
barsSinceTrade := 0
tradesToday := tradesToday + 1
// Entry condition: sell after the close of a bearish candlestick
if (isBearish and tradesToday < 200) // Limit to 200 trades per day
strategy.entry("Sell", strategy.short, qty=fixedPositionSize)
barsSinceTrade := 0
tradesToday := tradesToday + 1
// Update barsSinceTrade if a trade is open
if (strategy.opentrades > 0)
barsSinceTrade := nz(barsSinceTrade) + 1
// Reset tradesToday at the start of a new day
if (dayofmonth != dayofmonth[1])
tradesToday := 0
// Exit condition: close the trade after the next candlestick closes
if (barsSinceTrade == 2)
strategy.close("Buy")
strategy.close("Sell")
// Plot bullish and bearish conditions
plotshape(series=isBullish, location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(series=isBearish, location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// Plot the candlesticks
plotcandle(open, high, low, close, title="Candlesticks")