traderUS180

EMA 1-377. The points of intersection of lines

116 3 5
EMA 1-377. The points of intersection of lines - elements of the Fibonacci sequence
Remove from Favorite Scripts Add to Favorite Scripts
// @author traderUS180
study(title="EMA 1-377 fiba cross", overlay=true)

ema1 = ema(close, 1)
ema2 = ema(close, 2)
ema3 = ema(close, 3)
ema8 = ema(close, 8)
ema5 = ema(close, 5)
ema13 = ema(close, 13)
ema21 = ema(close, 21)
ema34 = ema(close, 34)
ema55 = ema(close, 55)
ema89 = ema(close, 89)
ema144 = ema(close, 144)
ema233 = ema(close, 233)
ema377 = ema(close, 377)
ema610 = ema(close, 610)
ema987 = ema(close, 987)
ema1597 = ema(close, 1597)

plot(ema1, color =  orange)
plot(ema2, color =  maroon)
plot(ema3, color = red)
plot(ema8, color = green)
plot(ema5, color = white)
plot(ema13, color = blue)
plot(ema21, color = maroon)
plot(ema34, color = orange)
plot(ema55, color = red)
plot(ema89, color = green)
plot(ema144, color = white)
plot(ema233, color = blue)
plot(ema377, color = maroon)
plot(ema610, color = red)
plot(ema987, color = orange)
plot(ema1597, color = blue)

plot(cross(ema1, ema2) ? ema1 : na, style = cross, linewidth = 4, color=orange)
plot(cross(ema1, ema3) ? ema1 : na, style = cross, linewidth = 4, color=yellow)
plot(cross(ema1, ema5) ? ema1 : na, style = cross, linewidth = 4, color=lime)

plot(cross(ema2, ema3) ? ema2 : na, style = cross, linewidth = 4, color=orange)
plot(cross(ema2, ema5) ? ema2 : na, style = cross, linewidth = 4, color=yellow)
plot(cross(ema2, ema8) ? ema2 : na, style = cross, linewidth = 4, color=lime)


plot(cross(ema3, ema8) ? ema3 : na, style = cross, linewidth = 4, color=yellow)
plot(cross(ema5, ema13) ? ema5 : na, style = cross, linewidth = 4, color=yellow)
plot(cross(ema8, ema21) ? ema8 : na, style = cross, linewidth = 4, color=yellow)
plot(cross(ema3, ema13) ? ema3 : na, style = cross, linewidth = 4, color=lime)
plot(cross(ema5, ema21) ? ema5 : na, style = cross, linewidth = 4, color=lime)
plot(cross(ema8, ema34) ? ema8 : na, style = cross, linewidth = 4, color=lime)
plot(cross(ema13, ema34) ? ema13 : na, style = cross, linewidth = 4, color=yellow)
plot(cross(ema13, ema55) ? ema13 : na, style = cross, linewidth = 4, color=lime)
plot(cross(ema21, ema55) ? ema21 : na, style = cross, linewidth = 4, color=yellow)
plot(cross(ema21, ema89) ? ema21 : na, style = cross, linewidth = 4, color=lime)
plot(cross(ema34, ema89) ? ema34 : na, style = cross, linewidth = 4, color=yellow)
plot(cross(ema34, ema144) ? ema34 : na, style = cross, linewidth = 4, color=lime)
plot(cross(ema55, ema144) ? ema55 : na, style = cross, linewidth = 4, color=yellow)
plot(cross(ema55, ema233) ? ema55 : na, style = cross, linewidth = 4, color=lime)
plot(cross(ema89, ema233) ? ema89 : na, style = cross, linewidth = 4, color=yellow)
plot(cross(ema89, ema377) ? ema89 : na, style = cross, linewidth = 4, color=lime)
plot(cross(ema144, ema377) ? ema144 : na, style = cross, linewidth = 4, color=yellow)
plot(cross(ema144, ema610) ? ema144 : na, style = cross, linewidth = 4, color=lime)
plot(cross(ema377, ema987) ? ema377 : na, style = cross, linewidth = 4, color=yellow)
plot(cross(ema377, ema1597) ? ema377 : na, style = cross, linewidth = 4, color=lime)

plot(cross(ema3, ema5) ? ema3 : na, style = cross, linewidth = 4, color=orange)
plot(cross(ema5, ema8) ? ema5 : na, style = cross, linewidth = 4, color=orange)
plot(cross(ema8, ema13) ? ema8 : na, style = cross, linewidth = 4, color=orange)
plot(cross(ema13, ema21) ? ema13 : na, style = cross, linewidth = 4, color=orange)
plot(cross(ema21, ema34) ? ema21 : na, style = cross, linewidth = 4, color=orange)
plot(cross(ema34, ema55) ? ema34 : na, style = cross, linewidth = 4, color=orange)
plot(cross(ema55, ema89) ? ema55 : na, style = cross, linewidth = 4, color=orange)
plot(cross(ema89, ema144) ? ema89 : na, style = cross, linewidth = 4, color=orange)
plot(cross(ema144, ema233) ? ema144 : na, style = cross, linewidth = 4, color=orange)
plot(cross(ema233, ema377) ? ema233 : na, style = cross, linewidth = 4, color=orange)
plot(cross(ema377, ema610) ? ema377 : na, style = cross, linewidth = 4, color=orange)


traderUS180
3 months ago
snapshot
Reply
traderUS180
3 months ago
snapshot

Reply
traderUS180
3 months ago
snapshot
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out