Professional Documents
Culture Documents
2 Indicator
2 Indicator
paste
Search...
LOGIN SIGN UP
Advertisement
SHARE
TWEET
Guest User
Indicators
A GUEST
JUN 23RD, 2019
307
0
NEVER
ADD COMMENT
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
3.79 KB | None |
//@version=3
study("PRS+EMACloud+PSAR+Ichi", overlay=true)
//
// author: Kozlod
// date: 2018-04-11
// https://www.tradingview.com/u/Kozlod/
//
// Inputs
leftBars = input(4)
rightBars = input(4)
hprice = 0.0
hprice := swh_cond ? swh : hprice[1]
lprice = 0.0
lprice := swl_cond ? swl : lprice[1]
// Signals
long = crossover(high, hprice + syminfo.mintick)
short = crossunder(low, lprice - syminfo.mintick)
last_signal = 0
// Plotting
plotshape(long_final, style = shape.arrowup, color = lime, location =
location.belowbar, text = "LONG")
plotshape(short_final, style = shape.arrowdown, color = red, location =
location.abovebar, text = "SHORT")
// Alerts
alertcondition(long_final, "Pivot Long", "Pivot Long")
alertcondition(short_final, "Pivot Short", "Pivot Short")
// Inputs
start = input(0.02)
increment = input(0.02)
maximum = input(0.2)
// Signals
psar_long = high[1] < psar[2] and high >= psar[1]
psar_short = low[1] > psar[2] and low <= psar[1]
// Plot PSAR
plotshape(psar, location = location.absolute, style = shape.cross, size =
size.tiny, color = low <= psar[1] and not psar_long ? lime : red)
// Plot Signals
//plotshape(psar_long, title = "PSAR Long", text = "PSAR Long", style =
shape.arrowup, location = location.belowbar, color = blue)
//plotshape(psar_short, title = "PSAR Short", text = "PSAR Short", style =
shape.arrowdown, location = location.abovebar, color = red)
// Alerts
alertcondition(psar_long, "PSAR Long", "PSAR Long")
//@version=1
//study(title="EMA Cloud", shorttitle="cloud", overlay=true)
//@version=3
//study(title="Ichimoku Cloud", shorttitle="Ichimoku", overlay=true)
conversionLine = donchian(conversionPeriods)
baseLine = donchian(basePeriods)
leadLine1 = avg(conversionLine, baseLine)
leadLine2 = donchian(laggingSpan2Periods)
By using Pastebin.com you agree to our cookies policy to enhance your experience.
Site design & logo � 2023 Pastebin
We use cookies for various purposes including analytics. By continuing to use
Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK,
I Understand