NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © aktifgirisimcilik

//@version=4
study(title="Multi EMA Cross", overlay=true)
ema1 = ema(close, input(5, minval=5, title="EMA 1"))
ema2 = ema(close, input(22, minval=22, title="EMA 2"))
ema3 = ema(close, input(50, minval=50, title="EMA 3"))
ema4 = ema(close, input(100, minval=100, title="EMA 4"))
ema5 = ema(close, input(200, minval=200, title="EMA 5"))

plot(ema1, color=color.yellow, linewidth=2, title="EMA1")
plot(ema2, color=color.orange, linewidth=2, title="EMA2")
plot(ema3, color=color.red, linewidth=2, title="EMA3")
plot(ema4, color=color.blue, linewidth=3, title="EMA4")
plot(ema5, color=color.black, linewidth=4, title="EMA5")

///ema1-2kesişimi
golden2_cross() =>
ema1 > ema2
death2_cross() =>
ema1 < ema2

Golden2() =>
golden2_cross() and death2_cross()[1]
Death2() =>
death2_cross() and golden2_cross()[1]
Death2_1 = Death2()

plotshape(Golden2(), color=color.green, style=shape.triangleup, size=size.normal, text="EMA 1>2", location=location.top)
plotshape(Death2(), color=color.red, style=shape.triangledown, size=size.normal,text="EMA 1<2", location=location.top)

///Golden Cross
golden1_cross() =>
ema3 > ema5
death1_cross() =>
ema3 < ema5

Golden1() =>
golden1_cross() and death1_cross()[1]
Death1() =>
death1_cross() and golden1_cross()[1]
Death1_1 = Death1()
bgcolor(Golden1() ? #FFD700 : Death1_1 ? #D3D3D3 : na, transp=0, title="Golden Background Color")

plotshape(Golden1(), color=color.green, style=shape.triangleup, size=size.normal, text="GOLDEN", location=location.top)
plotshape(Death1(), color=color.red, style=shape.triangledown, size=size.normal,text="DEATH", location=location.top)



// Ichimoku
showIchi = input(false, title="=== Show Ichimoku Cloud? ===")
conversionPeriods = input(9, minval=1, title="Conversion Line Periods"),
basePeriods = input(26, minval=1, title="Base Line Periods")
laggingSpan2Periods = input(52, minval=1, title="Lagging Span 2 Periods"),
displacement = input(26, minval=1, title="Displacement")

donchian(len) => avg(lowest(len), highest(len))

conversionLine = donchian(conversionPeriods)
baseLine = donchian(basePeriods)
leadLine1 = avg(conversionLine, baseLine)
leadLine2 = donchian(laggingSpan2Periods)

plot(showIchi?conversionLine:na, color=#0496ff, title="Conversion Line", linewidth=3)
plot(showIchi?baseLine:na, color=#991515, title="Base Line", linewidth=3)
plot(showIchi?close:na, offset = -displacement + 1, color=#459915, title="Lagging Span")

p1ichi = plot(showIchi?leadLine1:na, offset = displacement - 1, color=color.green,
title="Lead 1")
p2ichi = plot(showIchi?leadLine2:na, offset = displacement - 1, color=color.red,
title="Lead 2")
fill(p1ichi, p2ichi, color = leadLine1 > leadLine2 ? color.green : color.red, title="Ichimoku Cloud")

// SAR
showSAR = input(false, title="=== Show SAR? ===")
start = input(0.02)
increment = input(0.02)
maximum = input(0.2)
out = sar(start, increment, maximum)
plot(showSAR?out:na,title="SAR", style=plot.style_cross, color=color.purple, linewidth=2)

     
 
what is notes.io
 

Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 14 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.