ChrisMoody

CM_Parabolic SAR

Enhanced Parabolic Sar

Simply Enhances Default Parabolic SAR by creating Two Color Options, One for UpTrend, Other for DownTrend

Ability To Turn On/Off The Up Trending Parabolic SAR , And The Down Trending Parabolic SAR

Great Indicator For Trailing Stops.
Remove from Favorite Scripts Add to Favorite Scripts
//Created By ChrisMoody on 7/25/2014
//Simply Enhances Default Parabolic SAR by creating Two Color Options, One for UpTrend, Other for DownTrend
//Ability To Turn On/Off The Up Trending Parabolic SAR, And The Down Trending Parabolic SAR
study(title="CM_Parabolic SAR", shorttitle="CM_P-SAR", overlay=true)
start = input(2, minval=0, maxval=10, title="Start - Default = 2 - Multiplied by .01")
increment = input(2, minval=0, maxval=10, title="Step Setting (Sensitivity) - Default = 2 - Multiplied by .01" )
maximum = input(2, minval=1, maxval=10, title="Maximum Step (Sensitivity) - Default = 2 - Multiplied by .10")
sus = input(true, "Show Up Trending Parabolic Sar")
sds = input(true, "Show Down Trending Parabolic Sar")
disc = input(false, title="Start and Step settings are *.01 so 2 = .02 etc, Maximum Step is *.10 so 2 = .2")
//"------Step Setting Definition------"
//"A higher step moves SAR closer to the price action, which makes a reversal more likely."
//"The indicator will reverse too often if the step is set too high."

//"------Maximum Step Definition-----")
//"The sensitivity of the indicator can also be adjusted using the Maximum Step."
//"While the Maximum Step can influence sensitivity, the Step carries more weight"
//"because it sets the incremental rate-of-increase as the trend develops"

startCalc = start * .01
incrementCalc = increment * .01
maximumCalc = maximum * .10

sarUp = sar(startCalc, incrementCalc, maximumCalc)
sarDown = sar(startCalc, incrementCalc, maximumCalc)

colUp = close >= sarDown ? lime : na
colDown = close <= sarUp ? red : na

plot(sus and sarUp ? sarUp : na, title="Up Trending SAR", style=circles, linewidth=4,color=colUp)
plot(sds and sarDown ? sarDown : na, title="Up Trending SAR", style=circles, linewidth=4,color=colDown)
Drat
2 years ago
Thanks Chris!
Reply
ChrisMoody PRO Drat
2 years ago
Thank You Drat
Reply
DelGue
2 years ago
Turning one off reduces clutter on the chart, very nice.
Reply
ChrisMoody PRO DelGue
2 years ago
I Agree...Thank For The Comment!!!
Reply
grahvity
2 years ago
snapshot

https://www.tradingview.com/e/NQPmh1wG/
Reply
ChrisMoody PRO grahvity
2 years ago
On the Link Above...The Williams Vix Fix along with the Trend Bars changing Color for Confirmation...Works Nice...Good Job
+1 Reply
vdubus PRO
2 years ago
'merged Down' nice :)
snapshot
Reply
ChrisMoody PRO vdubus
2 years ago
Good work...Glad you like it
Reply
DigitalMan PRO ChrisMoody
a year ago
Thanks Chris. Do you know how to set an alert for this?
Reply
Chris, great indicator. I did revise the Inputs to Floating Point in order to match up closer with issues I follow.
Thanks,
Bill
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