
এটি একটি সূচকীয় চলমান গড় (ইএমএ) ভিত্তিক বুদ্ধিমান ট্রেডিং কৌশল সিস্টেম। এই কৌশলটি সংক্ষিপ্ত-কালীন এবং দীর্ঘ-কালীন ইএমএর ক্রস-সিগন্যাল ব্যবহার করে, দামের সাথে সংক্ষিপ্ত-কালীন ইএমএর সম্পর্ককে সংযুক্ত করে বাজারের প্রবণতা এবং ব্যবসায়ের সুযোগগুলি সনাক্ত করতে। এই কৌশলটি এআই-সহকারী বিকাশ ব্যবহার করে, দামের গতিশীলতা বিশ্লেষণের মাধ্যমে স্বয়ংক্রিয় ট্রেডিংয়ের জন্য।
কৌশলটির মূল যুক্তি নিম্নলিখিত মূল উপাদানগুলির উপর ভিত্তি করে:
এটি একটি কাঠামোগত, যুক্তিসঙ্গতভাবে সুস্পষ্ট প্রবণতা ট্র্যাকিং কৌশল। ইএমএ সূচকগুলির সমন্বিত ব্যবহারের মাধ্যমে, বাজারের প্রবণতা সম্পর্কে কার্যকরভাবে উপলব্ধি করা সম্ভব। কৌশলটির অপ্টিমাইজেশনের স্থানটি মূলত সংকেত ফিল্টারিং এবং ঝুঁকি পরিচালনার দিকগুলিতে রয়েছে। ক্রমাগত উন্নতির মাধ্যমে কৌশলটির স্থায়িত্ব এবং লাভজনকতা আরও বাড়ানো যেতে পারে।
/*backtest
start: 2024-12-19 00:00:00
end: 2024-12-25 08:00:00
period: 45m
basePeriod: 45m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Jerryorange
//@version=6
strategy("Smart EMA Algo", overlay=true)
// Inputs
emaShortLength = input.int(9, title="Short EMA Length", minval=1)
emaLongLength = input.int(21, title="Long EMA Length", minval=1)
src = input(close, title="Source")
// EMA Calculations
emaShort = ta.ema(src, emaShortLength)
emaLong = ta.ema(src, emaLongLength)
// Market Direction
isUptrend = emaShort > emaLong
isDowntrend = emaShort < emaLong
// Entry Conditions
longCondition = isUptrend and ta.crossover(close, emaShort)
shortCondition = isDowntrend and ta.crossunder(close, emaShort)
// Exit Conditions
exitLong = ta.crossunder(close, emaShort)
exitShort = ta.crossover(close, emaShort)
// Strategy Logic
if (longCondition)
strategy.entry("Buy", strategy.long)
if (shortCondition)
strategy.entry("Sell", strategy.short)
if (exitLong)
strategy.close("Buy")
if (exitShort)
strategy.close("Sell")
// Plot EMAs
plot(emaShort, color=color.blue, title="Short EMA")
plot(emaLong, color=color.red, title="Long EMA")