Lemnos

Ersoy-intersection(Kesisme)-Update-1

website: www.ersoytoptas.com
Newspaper : tr.investing.com/members/36623/opinion

hi , Friends
i wanna be someone who wants to help everyone
updated my script he published some time ago.
What happened?

* intersection When ever Bar Color Yellow Be
* Alarms to be more comprehensible
* Short and Long Days Choosing a Opportunities
* Source Opportunities

All Charts Usable( Example ;15,30,60 ... vs) and ALL MARKETS ( Stocks , forex , ... vs)
i strive to improve further

Easy to get

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?
study("Ersoy-İntersection(Kesişme)-Update-1")
/////twitter:@ersoytoptas , ersoytoptas@hotmail.com , @copyright ersoy ///////


len1=input(title="Enter Short  Day", type=integer, defval=1)
src1=input(close, title="Source")
short = sma(src1,len1)

len2=input(title="Enter Long Day", type=integer, defval=10)
src2=input(close, title="Source")
long = sma(src2,len2)

plot(short, color = lime,title="Short",style = areabr)
plot(long, color = red,title="long",style =areabr)

plot(cross(short, long) ? short : na,color=blue,style = circles, linewidth = 3,title="İntersection Point")

src = close, len = 1
out = sma(src, len)

barcolor(cross(short,long) ?  yellow:na)
plotchar(cross(short,long) ? short:na , char='!', location=location.absolute, color=black,title="Alarm", text="!")