
এই কৌশলটি একটি ট্রেন্ড ট্র্যাকিং এবং বিপরীত ট্রেডিং কৌশল যা সরল চলমান গড়ের উপর ভিত্তি করে। এটি ট্রেন্ডের দিক নির্ধারণের জন্য 1 এবং 4 দিনের লাইনের সমান্তরাল ক্রস ব্যবহার করে এবং ক্রয় এবং বিক্রয় সংকেত তৈরি করে।
যখন ১ তারিখের রেখাটি ৪ তারিখের রেখাটিকে উপরের দিক থেকে নীচে অতিক্রম করে তখন একটি বিক্রয় সংকেত তৈরি হয়; যখন ১ তারিখের রেখাটি ৪ তারিখের রেখাটিকে নীচের দিক থেকে অতিক্রম করে তখন একটি ক্রয় সংকেত তৈরি হয়। এইভাবে, দ্রুত চলমান গড় এবং ধীর চলমান গড়ের ক্রস দ্বারা বাজারের প্রবণতার একটি বিপরীত বিন্দু নির্ধারণ করা হয় এবং মুনাফা অর্জন করা হয়।
স্টপ লস এবং স্টপ লস সেট করুন। স্টপ লস সেট করুন 10 পয়েন্টের নীচে এবং স্টপ লস সেট করুন 100 পয়েন্টের উপরে। এটি ক্ষতি সীমাবদ্ধ করতে এবং মুনাফা লক করতে পারে।
গড়রেখার প্যারামিটারগুলি সামঞ্জস্য করে, গতিশীল স্টপ লস স্টপিং সিস্টেম সেট করে বা অন্যান্য সূচক বিচার যুক্ত করে এই ঝুঁকিগুলি হ্রাস করা যেতে পারে।
এই কৌশলটি সামগ্রিকভাবে একটি আদর্শ দ্বি সমান্তরাল ট্রেডিং কৌশল। এটি ধীর এবং ধীর সমান্তরাল ক্রস ট্রেন্ড টার্নিং পয়েন্ট ব্যবহার করে, স্টপ লস স্টপ কন্ট্রোল ঝুঁকি সেট করে, সহজ ব্যবহারিক, সহজেই বোঝা যায়, এবং এটি নতুনদের জন্য উপযুক্ত। প্যারামিটারগুলি সামঞ্জস্য এবং অপ্টিমাইজেশনের মাধ্যমে, এটি বিভিন্ন বাজার পরিবেশের সাথে খাপ খাইয়ে নিতে পারে, তবে অন্যান্য সূচক ফিল্টারগুলি কার্যকারিতা বাড়ানোর জন্য যুক্ত করা যেতে পারে। সামগ্রিকভাবে, এই কৌশলটি একটি প্রাথমিক শিক্ষণ কৌশল হিসাবে খুব ভাল।
/*backtest
start: 2023-11-19 00:00:00
end: 2023-12-19 00:00:00
period: 1h
basePeriod: 15m
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/
// © cesarpieres72
//@version=5
strategy("300% STRATEGY", overlay=true, margin_long=10, margin_short=10)
var float lastLongOrderPrice = na
var float lastShortOrderPrice = na
longCondition = ta.crossover(ta.sma(close, 1), ta.sma(close, 4))
if (longCondition)
strategy.entry("Long Entry", strategy.long) // Enter long
shortCondition = ta.crossunder(ta.sma(close, 1), ta.sma(close, 4))
if (shortCondition)
strategy.entry("Short Entry", strategy.short) // Enter short
if (longCondition)
lastLongOrderPrice := close
if (shortCondition)
lastShortOrderPrice := close
// Calculate stop loss and take profit based on the last executed order's price
stopLossLong = lastLongOrderPrice - 170 // 10 USDT lower than the last long order price
takeProfitLong = lastLongOrderPrice + 150 // 100 USDT higher than the last long order price
stopLossShort = lastShortOrderPrice + 170 // 10 USDT higher than the last short order price
takeProfitShort = lastShortOrderPrice - 150 // 100 USDT lower than the last short order price
// Apply stop loss and take profit to long positions
strategy.exit("Long Exit", from_entry="Long Entry", stop=stopLossLong, limit=takeProfitLong)
// Apply stop loss and take profit to short positions
strategy.exit("Short Exit", from_entry="Short Entry", stop=stopLossShort, limit=takeProfitShort)