ইএমএ ট্রেন্ড ক্লাউড

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

এটি ট্রেডিং পরামর্শ নয় - কোন গ্যারান্টি নেই - আপনার নিজের ঝুঁকিতে ব্যবহার করুন

9 এবং 20 সময়ের এক্সপোনেন্সিয়াল মুভিং এভারেজ (ইএমএ) প্লট করে এবং এর মধ্যে একটি মেঘ আঁকে, ভিজ্যুয়ালি ইনট্রাডে ট্রেন্ড এবং এর শক্তি সনাক্ত করে। দীর্ঘ জন্য সবুজ মেঘ, সংক্ষিপ্ত জন্য লাল মেঘ। মেঘটি যত ঘন হবে প্রবণতা তত শক্তিশালী। লং প্লে এন্ট্রি হয় যখন 9 ইএমএ 20 ইএমএর উপরে অতিক্রম করে যার ফলে মেঘটি সবুজ হয়ে যায়, সংক্ষিপ্ত জন্য বিপরীত।

আক্রমণাত্মক এন্ট্রি হল ক্রস ঘটানোর জন্য বার বন্ধ করা। সংরক্ষণশীল এন্ট্রি হল যখন ক্রসের পরে দ্বিতীয় বারটি 9 EMA এর উপরে বন্ধ হয় এবং খেলার দিকের দিকে থাকে।

যখন মূল্য ক্লাউডে বা ক্লাউডের বিপরীত দিকে বন্ধ হয় বা যখন ব্যবসায়ের বিপরীত দিকে গড়গুলি ক্রস হয় তখন ব্যক্তির ঝুঁকি সহনশীলতার উপর নির্ভর করে প্রস্থানগুলি ঘটতে পারে।

এটি ট্রেডিং পরামর্শ নয় - কোন গ্যারান্টি নেই - আপনার নিজের ঝুঁকিতে ব্যবহার করুন

ব্যাকটেস্ট

img


/*backtest
start: 2022-04-17 00:00:00
end: 2022-05-16 23:59:00
period: 30m
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
args: [["v_input_1",10],["v_input_2",18]]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Ron Westbrook (discord: disturbinglymellow#4075)
// Date: 5/17/2021
// Description: Plots two exponential moving averages and places a colored cloud between to indicate trend direction. Default values of 9 and 20 periods have worked well for me, but inputs are available if you choose to change them. If you like my work and want to support more of it please consider leaving me a tip here. https://tinyurl.com/tipron


//@version=5
indicator(title='EMA TREND CLOUD', overlay=true)

fastLen = input(title='Fast EMA Length', defval=9)
slowLen = input(title='Slow EMA Length', defval=20)
useTextLabels = input.bool(true, title='Use Text-Based Crossover Labels?', group='Crossover Moving Averages')

fastEMA = ta.ema(close, fastLen)
slowEMA = ta.ema(close, slowLen)

fema = plot(fastEMA, title='FastEMA', color=color.new(color.green, 0), linewidth=1, style=plot.style_line)
sema = plot(slowEMA, title='SlowEMA', color=color.new(color.red, 0), linewidth=1, style=plot.style_line)

fill(fema, sema, color=fastEMA > slowEMA ? color.new(#417505, 50) : color.new(#890101, 50), title='Cloud')

// Bull and Bear Alerts
Bull = ta.crossover(fastEMA, slowEMA)
Bear = ta.crossunder(fastEMA, slowEMA)

plotshape(Bull, title='Calls Label', color=color.new(color.green, 25), textcolor=useTextLabels ? color.white : color.new(color.white, 100), style=useTextLabels ? shape.labelup : shape.triangleup, text='Calls', location=location.belowbar)

plotshape(Bear, title='Puts Label', color=color.new(color.red, 25), textcolor=useTextLabels ? color.white : color.new(color.white, 100), style=useTextLabels ? shape.labeldown : shape.triangledown, text='Puts', location=location.abovebar)


if Bull
    alert('Calls Alert: 9ema crossed over 20ema', alert.freq_once_per_bar_close)
if Bear
    alert('Puts Alert: 9ema crossed under 20ema', alert.freq_once_per_bar_close)


if Bull
    strategy.entry("Enter Long", strategy.long)
else if Bear
    strategy.entry("Enter Short", strategy.short)

সম্পর্কিত

আরো

বিউসিয়াওকওগো, আমি ইংরেজি বুঝতে পারছি না।