
এই কৌশলটি একটি উচ্চ মানের স্বনির্ধারণযোগ্য অ্যারেটিং কৌশল যা গড় লাইন (EMA), সরবরাহ অঞ্চল এবং লেনদেনের পরিমাণকে একত্রিত করে। এটি একাধিক প্রযুক্তিগত সূচকের ক্রস-নিশ্চিতকরণের মাধ্যমে বাজারের প্রবণতা সনাক্ত করে এবং মূল সরবরাহ অঞ্চলের কাছাকাছি লেনদেন করে। এই কৌশলটি গতিশীল স্টপ লস এবং লাভের লক্ষ্য গ্রহণ করে এবং এটিআর সূচকের মাধ্যমে বাজারের অস্থিরতার সাথে খাপ খায়।
কৌশলটির মূল যুক্তি নিম্নলিখিত মূল উপাদানগুলির উপর ভিত্তি করে:
বিশেষত, যখন 9 চক্রের ইএমএ 3 টি ধারাবাহিক চক্রের জন্য বৃদ্ধি পায়, 15 চক্রের ইএমএও উত্থানের প্রবণতা দেখায় এবং দাম চাহিদা অঞ্চলের উপরে থাকে এবং 20 চক্রের ট্রেডিং ভলিউম গড় 50 চক্রের ট্রেডিং ভলিউম গড়ের চেয়ে বড় হয়, তখন সিস্টেমটি একাধিক সংকেত প্রেরণ করে। খালি সংকেতের যুক্তি বিপরীত।
ঝুঁকি নিয়ন্ত্রণ ব্যবস্থা:
এটি একটি সম্পূর্ণ ট্রেডিং সিস্টেম যা একাধিক প্রযুক্তিগত বিশ্লেষণ সরঞ্জামকে একত্রিত করে এবং একাধিক নিশ্চিতকরণ প্রক্রিয়া দ্বারা লেনদেনের নির্ভরযোগ্যতা বাড়ায়। কৌশলটির সুবিধা হ’ল এর অভিযোজনযোগ্যতা এবং ঝুঁকি পরিচালনার ক্ষমতা, তবে একই সাথে বিভিন্ন বাজার পরিবেশে পারফরম্যান্সের পার্থক্যগুলিও লক্ষ্য করা দরকার। প্রস্তাবিত অপ্টিমাইজেশনের দিকনির্দেশের মাধ্যমে কৌশলটির আরও উন্নতির জায়গা রয়েছে।
/*backtest
start: 2024-02-08 00:00:00
end: 2025-02-06 08:00:00
period: 1d
basePeriod: 1d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Optimized Scalping Strategy with EMA & Supply/Demand Zones", overlay=true)
// Inputs
ema9_length = input(9, title="EMA 9 Length")
ema15_length = input(15, title="EMA 15 Length")
higher_tf = input.timeframe("15", title="Higher Timeframe for Zones")
atr_mult = input(1.5, title="ATR Multiplier for Stop Loss")
risk_reward = input.float(1.2, title="Risk-Reward Ratio", options=[1.2, 1.3, 1.4])
// Calculating EMAs
ema9 = ta.ema(close, ema9_length)
ema15 = ta.ema(close, ema15_length)
// Function to detect supply & demand zones
get_zone(tf) =>
high_tf_high = request.security(syminfo.tickerid, tf, ta.highest(high, 50))
high_tf_low = request.security(syminfo.tickerid, tf, ta.lowest(low, 50))
[high_tf_high, high_tf_low]
[supply_zone, demand_zone] = get_zone(higher_tf)
// ATR-based Stop Loss and Take Profit
atr = ta.atr(14)
long_sl = close - (atr * atr_mult)
long_tp = close + (atr * atr_mult * risk_reward)
short_sl = close + (atr * atr_mult)
short_tp = close - (atr * atr_mult * risk_reward)
// Entry conditions with volume and trend confirmation
longCondition = ta.rising(ema9, 3) and ta.rising(ema15, 3) and close > demand_zone and ta.sma(volume, 20) > ta.sma(volume, 50)
shortCondition = ta.falling(ema9, 3) and ta.falling(ema15, 3) and close < supply_zone and ta.sma(volume, 20) > ta.sma(volume, 50)
// Exit conditions using ATR-based SL/TP with additional trend confirmation
exitLong = (close >= long_tp or close <= long_sl) and ta.falling(ema9, 2)
exitShort = (close <= short_tp or close >= short_sl) and ta.rising(ema9, 2)
// Executing trades with improved risk management
if longCondition
strategy.entry("Long", strategy.long)
strategy.exit("Long Exit", from_entry="Long", stop=long_sl, limit=long_tp)
if shortCondition
strategy.entry("Short", strategy.short)
strategy.exit("Short Exit", from_entry="Short", stop=short_sl, limit=short_tp)
// Plotting
plot(ema9, color=color.blue, title="EMA 9")
plot(ema15, color=color.red, title="EMA 15")
plot(supply_zone, color=color.orange, title="Supply Zone")
plot(demand_zone, color=color.green, title="Demand Zone")