[RS]MTF Donchian Range Wave Sync V0

540 0 41
Experimental: using Donchian channels with diferent lengths to extract multiple time frame's to extract price in range rates. the title may be a tiny bit misleading tho -_-''

edit: colors arent correct should be inverted, gives better sense of whats happening.
Remove from Favorite Scripts Add to Favorite Scripts
study("[RS]MTF Donchian Range Wave Sync V0")
    _hh = highest(_length)
    _ll = lowest(_length)
    _range = _hh - _ll
    _value = hl2 - _ll
    _rate = _value/_range

smooth = 4
wave0 = sma(wavesynth(8), smooth)
wave1 = sma(wavesynth(21), smooth)
wave2 = sma(wavesynth(55), smooth)
wave3 = sma(wavesynth(144), smooth)
wave4 = sma(wavesynth(377), smooth)
wave5 = sma(wavesynth(987), smooth)

os_value = 0.25
ob_value = 0.75

hline(0, color=black)
plot(wave0, style=circles, color=wave0 < os_value ? green : wave0 > ob_value ? maroon : gray, linewidth=2)
hline(1, color=silver)
plot(1+wave1, style=circles, color=wave1 < os_value ? green : wave1 > ob_value ? maroon : gray, linewidth=2)
hline(2, color=silver)
plot(2+wave2, style=circles, color=wave2 < os_value ? green : wave2 > ob_value ? maroon : gray, linewidth=2)
hline(3, color=silver)
plot(3+wave3, style=circles, color=wave3 < os_value ? green : wave3 > ob_value ? maroon : gray, linewidth=2)
hline(4, color=silver)
plot(4+wave4, style=circles, color=wave4 < os_value ? green : wave4 > ob_value ? maroon : gray, linewidth=2)
hline(5, color=silver)
plot(5+wave5, style=circles, color=wave5 < os_value ? green : wave5 > ob_value ? maroon : gray, linewidth=2)
hline(6, color=black)
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out