
সংক্ষিপ্ত বিবরণঃ এই কৌশলটি বিটফিনেক্সের বিটিসি ফিউচার পজিশনের ডেটা ব্যবহার করে ট্রেডিংয়ের নির্দেশ দেয়। যখন সংক্ষিপ্ত পজিশনের সংখ্যা বৃদ্ধি পায় তখন শূন্য করুন এবং যখন সংক্ষিপ্ত পজিশনের সংখ্যা হ্রাস পায় তখন আরও বেশি করুন। এটি কুইন বুদ্ধিজীবী গ্রুপের কুইন ট্রেডিংয়ের আচরণ অনুসরণ করার জন্য প্রযোজ্য।
নীতিমালাঃ
সামর্থ্য বিশ্লেষণঃ
ঝুঁকি বিশ্লেষণঃ
অনুকূলিতকরণঃ
সংক্ষিপ্ত বিবরণঃ এই কৌশলটি বিটফিনেক্সের বিটিসি ফিউচার পেশাদার ব্যবসায়ীদের অনুসরণ করে সময়মতো অবহিত ইনস্টিটিউশন ট্রেডিং সিগন্যাল অর্জন করে। এটি বিনিয়োগকারীদের বাজারের উত্তাপ পর্যবেক্ষণ করতে এবং উচ্চ ও নিম্ন পয়েন্টগুলি বুঝতে সহায়তা করে। এটি বিনিয়োগের ঝুঁকি সম্পর্কেও সতর্ক করে দেয়, যখন পেশাদার ব্যবসায়ীরা প্রচুর পরিমাণে শূন্য থাকে, তখন সাবধানতার সাথে একাধিক পজিশন হ্রাস করুন। সামগ্রিকভাবে, এই কৌশলটি একটি আকর্ষণীয় ট্রেডিং ধারণা হিসাবে ফিউচার পজিশন তথ্যের সুবিধাগুলি ব্যবহার করে।
/*backtest
start: 2023-12-26 00:00:00
end: 2024-01-25 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Bitfinex Shorts Strat",
overlay=true,
default_qty_type=strategy.percent_of_equity,
default_qty_value=10, precision=2, initial_capital=1000,
pyramiding=2,
commission_value=0.05)
//Backtest date range
StartDate = input(timestamp("01 Jan 2021"), title="Start Date")
EndDate = input(timestamp("01 Jan 2024"), title="Start Date")
inDateRange = true
symbolInput = input(title="Bitfinex Short Symbol", defval="BTC_USDT:swap")
Shorts = request.security(symbolInput, "", open)
// RSI Input Settings
length = input(title="Length", defval=7, group="RSI Settings" )
overSold = input(title="High Shorts Threshold", defval=75, group="RSI Settings" )
overBought = input(title="Low Shorts Threshold", defval=30, group="RSI Settings" )
// Calculating RSI
vrsi = ta.rsi(Shorts, length)
RSIunder = ta.crossover(vrsi, overSold)
RSIover = ta.crossunder(vrsi, overBought)
// Stop Loss Input Settings
longLossPerc = input.float(title="Long Stop Loss (%)", defval=25, group="Stop Loss Settings") * 0.01
shortLossPerc = input.float(title="Short Stop Loss (%)", defval=25, group="Stop Loss Settings") * 0.01
// Calculating Stop Loss
longStopPrice = strategy.position_avg_price * (1 - longLossPerc)
shortStopPrice = strategy.position_avg_price * (1 + shortLossPerc)
// Strategy Entry
if (not na(vrsi))
if (inDateRange and RSIover)
strategy.entry("LONG", strategy.long, comment="LONG")
if (inDateRange and RSIunder)
strategy.entry("SHORT", strategy.short, comment="SHORT")
// Submit exit orders based on calculated stop loss price
if (strategy.position_size > 0)
strategy.exit(id="LONG STOP", stop=longStopPrice)
if (strategy.position_size < 0)
strategy.exit(id="SHORT STOP", stop=shortStopPrice)