MarcoValente

Leading Oscillator

433 0 41
Leading Oscillator and trigger from Ehlers , John F. - Cybernetic Analysis for Stocks and Futures
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
// from Ehlers, John F. - Cybernetic Analysis for Stocks and Futures
study(title="Leading Oscillator",overlay=false)
pr=hl2
l=input(1,title="Moment len")
a1=input(.25,title="alfa 1",step=0.01)
a2=input(.33,title="alfa 2",step=0.01)
le=2*pr+(a1-2)*pr[l]+(1-a1)*nz(le[1])
nl=a2*le+(1-a2)*nz(nl[1])
ema=.5*pr+.5*nz(ema[1])
dif=nl-ema
ll=2*dif-dif[2]
plot(dif, color=silver,histbase=0, linewidth=2,transp=40,style=columns,title="lead")
plot(ll,title="trigger",color=lime,linewidth=1,transp=0)
English
English (UK)
English (IN)
Deutsch
Français
Español
Italiano
Polski
Türkçe
Русский
Português
Bahasa Indonesia
Bahasa Melayu
ภาษาไทย
Tiếng Việt
日本語
한국어
简体
台灣
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