PROTECTED SOURCE SCRIPT
מעודכן EMA GOLDEN & DEATH CROSS

Golden Cross And Death Cross
A golden cross and a death cross are exact opposites. A golden cross indicates a long-term bull market going forward, while death cross signals a long-term bear market. Both refer to the solid confirmation of a long-term trend by the occurrence of a short-term moving average crossing over a major long-term moving average. (source: investopedia)
----
In this indicator we are using Exponential Moving Averages. Use this indicator with TradingView black template chart for a better view
A golden cross and a death cross are exact opposites. A golden cross indicates a long-term bull market going forward, while death cross signals a long-term bear market. Both refer to the solid confirmation of a long-term trend by the occurrence of a short-term moving average crossing over a major long-term moving average. (source: investopedia)
----
In this indicator we are using Exponential Moving Averages. Use this indicator with TradingView black template chart for a better view
הערות שחרור
//version=4study(title="EMA GOLDEN & DEATH CROSS", shorttitle="CROSS", overlay=true)
CrossBarColor = input(true, title = "Filtered Bar/Candle Color")
GoldenCrossBG = input(true, title= "Cross Background Color")
len = input(8, minval=1, title="Fast Filter")
src = input(close, title="Source")
FILTER1 = ema(src, len)
len2 = input(13, minval=1, title="Slow Filter")
src2 = input(close, title="Source")
FILTER2 = ema(src2, len2)
len3 = input(100, minval=1, title="Fast EMA")
src3 = input(close, title="Source")
FAST = ema(src3, len3)
len4 = input(200, minval=1, title="Slow EMA")
src4 = input(close, title="Source")
SLOW = ema(src4, len4)
ColorMe = FAST >= SLOW ? color.lime : color.red
FillColor = FILTER1 >= FILTER2 ? color.lime : color.red
p1 = plot(FILTER1, color=color.white, linewidth=1, title="Filter Fast")
p2 = plot(FAST, color=color.lime, linewidth=2, title="Fast EMA")
p3 = plot(FILTER2, color=color.yellow, linewidth=1, title="Filter Slow")
p4 = plot(SLOW, color=color.red, linewidth=2, title="Slow EMA")
fill(p1, p2, color=FillColor, transp=80, title="Fill Filter")
fill(p2, p3, color=color.silver, transp=90, title="Silver Cross")
bgcolors = GoldenCrossBG ? ColorMe[1]: na
bgcolor(color=bgcolors, transp=80)
barcolor(CrossBarColor ? close >= FILTER1 ? color.lime : color.red : na)
GoldenCross = crossover(FAST, SLOW)
DeathCross = crossunder(FAST, SLOW)
plotshape(series = GoldenCross, location=location.bottom, style=shape.triangleup, color=color.lime, transp=0, text="GOLDEN CROSS", size=size.normal)
plotshape(series = DeathCross, location=location.top, style=shape.triangledown, color=color.red, transp=0, text="DEATH CROSS", size=size.normal)
הערות שחרור
.הערות שחרור
tidy upסקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, אתה יכול להשתמש בו באופן חופשי וללא כל הגבלה - למד עוד כאן.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, אתה יכול להשתמש בו באופן חופשי וללא כל הגבלה - למד עוד כאן.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.