
এই কৌশলটি একটি মাল্টি-ফ্যাক্টর ট্রেন্ড ট্র্যাকিং ডায়নামিক ঝুঁকি ব্যবস্থাপনা স্টক ট্রেডিং কৌশল যা ট্রেডিং সিগন্যালের নির্ভুলতা এবং কৌশলটির সামগ্রিক কার্যকারিতা উন্নত করার জন্য একাধিক প্রযুক্তিগত সূচকগুলির সমন্বিত ব্যবহার করে। কৌশলটির কেন্দ্রবিন্দুটি প্রবণতা বিচার, গতিশীলতা নিশ্চিতকরণ, অস্থিরতা ফিল্টারিং এবং ঝুঁকি নিয়ন্ত্রণের চারপাশে রয়েছে, যা বিনিয়োগকারীদের জন্য একটি পদ্ধতিগত ব্যবসায়ের পদ্ধতি সরবরাহ করে।
এই নীতিটি ছয়টি মূল সূচক বিশ্লেষণের উপর ভিত্তি করে তৈরি করা হয়েছেঃ
এই কৌশলটি মাল্টি ফ্যাক্টর, মাল্টি-ডাইমেনশনাল ট্রেডিং সিগন্যাল যাচাইয়ের মাধ্যমে একটি তুলনামূলকভাবে স্থিতিশীল স্টক ট্রেডিং সিস্টেম তৈরি করে। এর মূল সুবিধা হ’ল ট্রেডিং ঝুঁকি হ্রাস করা, তবে এটির জন্য ক্রমাগত অপ্টিমাইজেশন এবং বাজারের পরিবর্তনের সাথে খাপ খাইয়ে নেওয়া প্রয়োজন।
/*backtest
start: 2024-03-31 00:00:00
end: 2025-03-29 08:00:00
period: 1d
basePeriod: 1d
exchanges: [{"eid":"Futures_Binance","currency":"ETH_USDT"}]
*/
//@version=5
strategy("G-Channel Strategy for Stocks", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=10)
// === 1️⃣ G-Channel Indicator ===
gChannel = ta.ema(close, 20) > ta.ema(close, 50) ? 1 : 0
// === 2️⃣ Fantel VMA Confirmation ===
fvma = ta.sma(close, 14) > ta.sma(close, 28) ? 1 : 0
// === 3️⃣ Coral Trend Confirmation ===
coral = ta.sma(close, 10) > ta.sma(close, 20) ? 1 : 0
// === 4️⃣ ADX Confirmation (Volatility) ===
adx = ta.ema(ta.rma(ta.atr(14), 14), 14)
adxMa = ta.sma(adx, 14)
adxConfirmed = adx > adxMa ? 1 : 0
// === 5️⃣ Volume Confirmation ===
volConfirm = volume > ta.sma(volume, 20) * 1.3 ? 1 : 0
// === 6️⃣ Price Above 50-Day SMA ===
sma50 = ta.sma(close, 50)
priceAboveSMA = close > sma50 ? 1 : 0
// === 📌 ENTRY CONDITIONS (LONG & SHORT) ===
longCondition = gChannel and fvma and coral and adxConfirmed and volConfirm and priceAboveSMA
shortCondition = not gChannel and not fvma and not coral and adxConfirmed and volConfirm and close < sma50
// === 7️⃣ ATR Stop-Loss (Lower Than Crypto) ===
atr = ta.atr(14)
stopLoss = close - (atr * 2.0) // Adjusted for stocks
takeProfit = close + (atr * 4.0) // 2:1 Risk/Reward Ratio
// === 📌 EXECUTE TRADES ===
if (longCondition)
strategy.entry("Long", strategy.long)
strategy.exit("Take Profit", from_entry="Long", limit=takeProfit, stop=stopLoss)
if (shortCondition)
strategy.entry("Short", strategy.short)
strategy.exit("Take Profit", from_entry="Short", limit=close - (atr * 4.0), stop=close + (atr * 2.0))
// === 8️⃣ RSI EXIT (Stocks Exit Earlier) ===
rsi = ta.rsi(close, 14)
if (rsi > 75) // Lower exit threshold for stocks
strategy.close("Long")
if (rsi < 25)
strategy.close("Short")
// === 9️⃣ Volume-Based Exit ===
if (volume < ta.sma(volume, 20) * 0.5)
strategy.close("Long")
strategy.close("Short")