মিডাস এম কে ২ - চূড়ান্ত ক্রিপ্টো সুইং

লেখক:চাওঝাং, তারিখঃ ২০২২-০৫-০৯ ২৩ঃ০৬ঃ২১
ট্যাগঃএসএমএএমএসিডি

এই স্ক্রিপ্টটি শুধুমাত্র ৪ ঘণ্টার ক্রিপ্টো চার্টে ব্যবহারের জন্য।

এটি কীভাবে কাজ করে - 4 ঘন্টা মোমবাতিতে সুইং ট্রেড করার জন্য, যা স্বল্প সময়সীমার মোমবাতিগুলির তুলনায় অনেক বড় পরিসীমা রয়েছে, স্ক্রিপ্টটি দীর্ঘ সময়সীমার ইএমএ, এসএমএ এবং এমএসিডি ব্যবহার করে। যখন ইএমএ এবং এসএমএ ক্রস হয় এবং এমএসিডি হিস্টোগ্রামের পরিবর্তনের হার দিকের পক্ষে হয়, তখন সিস্টেম একটি দীর্ঘ / সংক্ষিপ্ত সংকেত সরবরাহ করে। কিভাবে ব্যবহার করবেন - স্ক্রিপ্টটি যখন সিগন্যালটি অন্যান্য বিশ্লেষণের সাথে সমান হয় (প্রবণতা, হারমোনিক প্যাটার্ন ইত্যাদি) তখন স্ক্রিপ্টটি সবচেয়ে ভাল কাজ করে। এই স্ক্রিপ্টটি কোনও প্রস্থান সংকেত সরবরাহ করে না, তাই আমি যখন মোমবাতিটি কাঠামো থেকে বেরিয়ে আসে তখন বা অন্যান্য কৌশলগুলি থেকে বেরিয়ে আসার পরামর্শ দিই।

আপডেট বা সংশোধন মন্তব্যে রেকর্ড করা হবে। এই স্ক্রিপ্টের সাথে শুভকামনা!

ব্যাকটেস্ট img


/*backtest
start: 2022-04-08 00:00:00
end: 2022-05-07 23:59:00
period: 15m
basePeriod: 5m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Bhangerang

 // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Bhangerang

//@version=5
indicator(title="Midas Mk. II - Ultimate Crypto Swing", overlay=true)

[MACD_line, Signal_line, hist] = ta.macd(close, 55, 89, 9)

// Strategy conditions
crossover = ta.crossover(ta.ema(close, 21), ta.sma(close, 55))
crossunder = ta.crossunder(ta.ema(close, 21), ta.sma(close, 55))

long_entry_condition = crossover and (hist >= 0 or (hist[0] > hist[1] and hist[1] > hist[2]))
short_entry_condition = crossunder and (hist <= 0 or (hist[0] < hist[1] and hist[1] < hist[2]))

simple_crossover = crossover and not long_entry_condition
simple_crossunder = crossunder and not short_entry_condition


// Plot on the chart
plotchar(long_entry_condition,  "Go Long",  "▲", location.belowbar, color.lime, size = size.small, text = "long")
plotchar(short_entry_condition, "Go Short", "▼", location.abovebar, color.red, size = size.small, text = "short")
plotchar(simple_crossover, "Crossing Up", "▲", location.belowbar, color.lime, size = size.tiny)
plotchar(simple_crossunder, "Crossing Down", "▼", location.abovebar, color.red, size = size.tiny)


if long_entry_condition
    strategy.entry("Enter Long", strategy.long)
else if short_entry_condition
    strategy.entry("Enter Short", strategy.short)

সম্পর্কিত

আরো