
اس حکمت عملی میں روزانہ تجارت کا ایک مستقل طریقہ کار استعمال کیا جاتا ہے ، جس میں خطرے پر سختی سے قابو پانے کے ساتھ ساتھ چھوٹے ہدف کے منافع کو پکڑنے پر توجہ دی جاتی ہے۔ اس حکمت عملی کا جائزہ 2021 سے لیا گیا ہے ، جس میں 100 فیصد تک تجارت کی کامیابی کے ساتھ مستحکم کارکردگی کا مظاہرہ کیا گیا ہے۔ اس حکمت عملی کا بنیادی خیال یہ ہے کہ پچھلے دن کی مارکیٹ کی صورتحال کے مطابق ، ہر تجارتی دن کے آغاز پر ایک نیا ملٹی ہیڈ یا خالی ہیڈ پوزیشن کھولی جائے۔ کلیدی پیرامیٹرز میں 0.3 فیصد ہدف منافع اور 0.2 فیصد اسٹاپ نقصان شامل ہیں ، جس کی ابتدائی رقم 1000 ڈالر ہے ، اور ہر تجارت پر 0.1 فیصد کمیشن ہے۔
اس حکمت عملی کا بنیادی اصول یہ ہے کہ پچھلے تجارتی دن کی مارکیٹ کی حرکت پر مبنی ہے ، ہر تجارتی دن کے آغاز پر ایک نئی کثیر سر یا خالی سر پوزیشن کھولی جائے۔ خاص طور پر ، اگر پچھلے دن کوئی پوزیشن نہیں تھی تو ، حکمت عملی ایک نئی کثیر سر پوزیشن کھولے گی۔ اگر کثیر سر پوزیشن موجود ہے تو ، حکمت عملی چیک کرے گی کہ آیا 0.3٪ ہدف منافع تک پہنچ گیا ہے یا نہیں۔ اگر یہ پوزیشن پر پہنچ گیا ہے تو ، حکمت عملی چیک کرے گی کہ آیا 0.2٪ اسٹاپ نقصان پہنچا ہے یا نہیں۔ اگر یہ پہنچا ہے تو ، خالی سر پوزیشن کو ختم کردیں ، اور اس کی جگہ ایک نئی کثیر سر پوزیشن کھولی جائے۔ اس سے یہ یقینی بنتا ہے کہ حکمت عملی ہمیشہ مارکیٹ میں کھوکھلی رہتی ہے۔
اس کے علاوہ ، یہ ایک بہت ہی اہم حکمت عملی ہے جس میں آپ کو روزانہ تجارت کرنے کی اجازت دی جاتی ہے۔
اگرچہ اس حکمت عملی نے عمدہ کارکردگی اور خطرے پر قابو پانے کا مظاہرہ کیا ہے ، لیکن اس میں کچھ ممکنہ خطرات موجود ہیں:
ان خطرات کو کم کرنے کے لئے ، مختلف مارکیٹوں اور اثاثوں کی کلاسوں میں اسی طرح کی حکمت عملیوں کو لاگو کرتے ہوئے تنوع میں اضافے پر غور کیا جاسکتا ہے۔ مارکیٹ کے بدلتے ہوئے حالات کے مطابق حکمت عملی کے پیرامیٹرز کی باقاعدگی سے نگرانی اور ان کو ایڈجسٹ کرنا بھی ضروری ہے۔
مجموعی طور پر ، یہ یومیہ تجارتی حکمت عملی دن کے اندر تجارت کرنے کا ایک متوازن طریقہ پیش کرتی ہے ، جس میں خطرے کے انتظام اور مستقل منافع پر توجہ دی جاتی ہے۔ یہ تاجروں کے لئے موزوں ہے جو نظام سازی اور سخت تجارتی طریقوں کی تلاش میں ہیں۔ حکمت عملی نے متاثر کن واپسی کے نتائج ، 100٪ جیت کی شرح اور مستحکم خطرے سے متعلق واپسی کا مظاہرہ کیا۔ تاہم ، یہ جاننا ضروری ہے کہ ماضی کی کارکردگی مستقبل کے نتائج کی ضمانت نہیں دیتی ہے ، خطرے کا انتظام کرنا اور مارکیٹ میں تبدیلیوں کے مطابق ڈھالنا بہت ضروری ہے۔ مزید اصلاح اور بہتری کے ساتھ ، یہ حکمت عملی کسی بھی تاجر کے ٹول باکس میں ایک قابل قدر اضافہ ہوسکتی ہے۔
/*backtest
start: 2023-05-22 00:00:00
end: 2024-05-27 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Daily AUD-JPY Trading", overlay=true, initial_capital=1000, currency="AUD", default_qty_type=strategy.percent_of_equity, default_qty_value=200, commission_type=strategy.commission.percent, commission_value=0.1)
// Input parameters
profit_target = input(0.3, title="Profit Target (%)") / 100
loss_target = input(0.2, title="Loss Target (%)") / 100
start_year = input(2021, title="Start Year")
// Calculate daily open and close
new_day = ta.change(time("D"))
var float entry_price_long = na
var float entry_price_short = na
var bool position_long_open = false
var bool position_short_open = false
// Date check
trade_start = timestamp(start_year, 1, 1, 0, 0)
if new_day and time >= trade_start
// If there was a previous long position, check for profit target
if position_long_open
current_profit_long = (close - entry_price_long) / entry_price_long
if current_profit_long >= profit_target
strategy.close("AUD Trade Long", comment="Take Profit Long")
position_long_open := false
// If there was a previous short position, check for profit target
if position_short_open
current_profit_short = (entry_price_short - close) / entry_price_short
if current_profit_short >= profit_target
strategy.close("AUD Trade Short", comment="Take Profit Short")
position_short_open := false
// Check for daily loss condition for short positions
if position_short_open
current_loss_short = (close - entry_price_short) / entry_price_short
if current_loss_short <= -loss_target
strategy.close("AUD Trade Short", comment="Stop Loss Short")
position_short_open := false
// Open a new long position to replace the stopped short position
strategy.entry("AUD Trade Long Replacement", strategy.long)
entry_price_long := close
position_long_open := true
// Open a new long position at the start of the new day if no long position is open
if not position_long_open and not position_short_open
strategy.entry("AUD Trade Long", strategy.long)
entry_price_long := close
position_long_open := true
// Open a new short position at the start of the new day if no short position is open
if not position_short_open and not position_long_open
strategy.entry("AUD Trade Short", strategy.short)
entry_price_short := close
position_short_open := true
// Check for continuous profit condition for long positions
if position_long_open
current_profit_long = (close - entry_price_long) / entry_price_long
if current_profit_long >= profit_target
strategy.close("AUD Trade Long", comment="Take Profit Long")
position_long_open := false
// Check for continuous profit condition for short positions
if position_short_open
current_profit_short = (entry_price_short - close) / entry_price_short
if current_profit_short >= profit_target
strategy.close("AUD Trade Short", comment="Take Profit Short")
position_short_open := false
// Plot the entry prices on the chart
plot(position_long_open ? entry_price_long : na, title="Entry Price Long", color=color.green, linewidth=2)
plot(position_short_open ? entry_price_short : na, title="Entry Price Short", color=color.red, linewidth=2)
// Display current profit/loss percentage for long positions
var label profit_label_long = na
if position_long_open and not na(entry_price_long)
current_profit_long = (close - entry_price_long) / entry_price_long * 100
label.delete(profit_label_long)
profit_label_long := label.new(x=time, y=high, text="Long P/L: " + str.tostring(current_profit_long, format.percent), style=label.style_label_down, color=color.white, textcolor=color.black,xloc=xloc.bar_time)
// Display current profit/loss percentage for short positions
var label profit_label_short = na
if position_short_open and not na(entry_price_short)
current_profit_short = (entry_price_short - close) / entry_price_short * 100
label.delete(profit_label_short)
profit_label_short := label.new(x=time, y=high, text="Short P/L: " + str.tostring(current_profit_short, format.percent), style=label.style_label_down, color=color.white, textcolor=color.black,xloc=xloc.bar_time)