
विलियम शार्क समरेखा प्रवृत्ति पकड़ने की रणनीति एक प्रवृत्ति ट्रैकिंग रणनीति है जो विलियम शार्क सूचक और चलती औसत को जोड़ती है। यह रणनीति प्रवृत्ति की दिशा का न्याय करने के लिए विलियम शार्क सूचक की तीन लाइनों (शंकु, दांत और होंठ लाइन) की सापेक्ष स्थिति का उपयोग करती है, जबकि गतिशील औसत को प्रवृत्ति की दोहरी पुष्टि के रूप में उपयोग करती है। जब कीमत चलती औसत को तोड़ती है और विलियम शार्क सूचक की तीन लाइनें बहु-सिरों की पंक्ति दिखाती हैं, तो रणनीति अधिक होती है; जब कीमत चलती औसत को तोड़ती है और विलियम शार्क सूचक की तीन लाइनें खाली सिरों की पंक्ति दिखाती हैं, तो रणनीति खाली होती है। यह रणनीति उन बाजारों के लिए उपयुक्त है जिनमें स्पष्ट रूप से प्रवृत्ति की विशेषता होती है, जैसे कि विशेष मुद्राएं और एथेरियम।
विल्हेम शार्क इक्वेड्रियन ट्रेंड कैप्चर रणनीति के केंद्र में विल्हेम शार्क सूचकांक और चलती औसत का उपयोग करके रुझानों की पहचान और पुष्टि करना है। विल्हेम शार्क सूचकांक तीन लाइनों से बना हैः जांघ, दांत और होंठ, जो अलग-अलग चक्रों के समतल स्लाइडिंग चलती औसत हैं। जब बाजार में एक उछाल की प्रवृत्ति होती है, तो होंठ दांत की रेखा के ऊपर होता है, दांत की रेखा के ऊपर होता है; जब बाजार में एक गिरावट की प्रवृत्ति होती है, तो होंठ दांत की रेखा के नीचे होती है, दांत की रेखा के नीचे होती है।
विलियम शार्प रेखीय प्रवृत्ति पकड़ने की रणनीति विलियम शार्प सूचकांक और चलती औसत के संयोजन के माध्यम से एक सरल और प्रभावी प्रवृत्ति ट्रैकिंग रणनीति बनाती है। यह रणनीति मजबूत प्रवृत्ति वाले बाजारों के लिए उपयुक्त है, दोहरी पुष्टि तंत्र के माध्यम से प्रवृत्ति पहचान की सटीकता में वृद्धि हुई है। हालांकि, यह रणनीति अस्थिर बाजारों में खराब प्रदर्शन कर सकती है, और स्पष्ट जोखिम प्रबंधन उपायों की कमी है। भविष्य में प्रवृत्ति की ताकत से फ़िल्टरिंग, बाहर निकलने की व्यवस्था का अनुकूलन, गतिशील पैरामीटर समायोजन और जोखिम प्रबंधन जैसे पहलुओं में रणनीति का अनुकूलन करने पर विचार किया जा सकता है ताकि रणनीति की स्थिरता और लाभप्रदता में सुधार हो सके।
/*backtest
start: 2024-05-09 00:00:00
end: 2024-05-16 00:00:00
period: 5m
basePeriod: 1m
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/
// © tradedots
//@version=5
strategy("Alligator + MA Trend Catcher [TradeDots]", overlay=true, initial_capital = 10000, default_qty_type = strategy.percent_of_equity, default_qty_value = 80, commission_type = strategy.commission.percent, commission_value = 0.01)
// william alligator
smma(src, length) =>
smma = 0.0
smma := na(smma[1]) ? ta.sma(src, length) : (smma[1] * (length - 1) + src) / length
smma
jawLength = input.int(8, minval=1, title="Jaw Length", group = "william alligator settings")
teethLength = input.int(5, minval=1, title="Teeth Length", group = "william alligator settings")
lipsLength = input.int(3, minval=1, title="Lips Length", group = "william alligator settings")
jawOffset = input(8, title="Jaw Offset", group = "william alligator settings")
teethOffset = input(5, title="Teeth Offset", group = "william alligator settings")
lipsOffset = input(3, title="Lips Offset", group = "william alligator settings")
jaw = smma(hl2, jawLength)
teeth = smma(hl2, teethLength)
lips = smma(hl2, lipsLength)
// ma
input_trendline_length = input.int(200, "Trendline Length", group = "moving average settings")
trendline = ta.ema(close, input_trendline_length)
// strategy settings
input_long_orders = input.bool(true, "Long", group = "Strategy Settings")
input_short_orders = input.bool(true, "Short", group = "Strategy Settings")
//long
if close > trendline and lips > teeth and teeth > jaw and input_long_orders and strategy.opentrades == 0
strategy.entry("Long", strategy.long)
label.new(bar_index, low, text = "🟢 Long", style = label.style_label_up, color = #9cff87)
if close < trendline and lips < teeth and teeth < jaw
strategy.close("Long")
//short
if close < trendline and lips < teeth and teeth < jaw and input_short_orders and strategy.opentrades == 0
strategy.entry("Short", strategy.short)
label.new(bar_index, high, text = "🔴 Short", style = label.style_label_down, color = #f9396a, textcolor = color.white)
if close > trendline and lips > teeth and teeth > jaw
strategy.close("Short")
//ploting
plot(trendline, "Trendline", color = #9cff87, linewidth = 3)
plot(jaw, "Jaw", offset = jawOffset, color=#b3e9c7)
plot(teeth, "Teeth", offset = teethOffset, color=#c2f8cb)
plot(lips, "Lips", offset = lipsOffset, color=#f0fff1)